mirror of
https://github.com/zadam/trilium.git
synced 2025-10-18 19:38:16 +08:00
feat(i18n): add Japanese language
This commit is contained in:
parent
dbf3bcfacf
commit
9bdc51a3fb
2 changed files with 7 additions and 1 deletions
|
@ -19,7 +19,8 @@ const DAYJS_LOADER: Record<LOCALE_IDS, () => Promise<typeof import("dayjs/locale
|
|||
"ku": () => import("dayjs/locale/ku.js"),
|
||||
"ro": () => import("dayjs/locale/ro.js"),
|
||||
"ru": () => import("dayjs/locale/ru.js"),
|
||||
"tw": () => import("dayjs/locale/zh-tw.js")
|
||||
"tw": () => import("dayjs/locale/zh-tw.js"),
|
||||
"ja": () => import("dayjs/locale/ja.js")
|
||||
}
|
||||
|
||||
export async function initializeTranslations() {
|
||||
|
|
|
@ -50,6 +50,11 @@ const UNSORTED_LOCALES: Locale[] = [
|
|||
name: "Русский",
|
||||
electronLocale: "ru"
|
||||
},
|
||||
{
|
||||
id: "ja",
|
||||
name: "日本語",
|
||||
electronLocale: "ja"
|
||||
},
|
||||
|
||||
/*
|
||||
* Right to left languages
|
||||
|
|
Loading…
Add table
Reference in a new issue