mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
feat(i18n): add Japanese language
This commit is contained in:
@@ -19,7 +19,8 @@ const DAYJS_LOADER: Record<LOCALE_IDS, () => Promise<typeof import("dayjs/locale
|
|||||||
"ku": () => import("dayjs/locale/ku.js"),
|
"ku": () => import("dayjs/locale/ku.js"),
|
||||||
"ro": () => import("dayjs/locale/ro.js"),
|
"ro": () => import("dayjs/locale/ro.js"),
|
||||||
"ru": () => import("dayjs/locale/ru.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() {
|
export async function initializeTranslations() {
|
||||||
|
|||||||
@@ -50,6 +50,11 @@ const UNSORTED_LOCALES: Locale[] = [
|
|||||||
name: "Русский",
|
name: "Русский",
|
||||||
electronLocale: "ru"
|
electronLocale: "ru"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "ja",
|
||||||
|
name: "日本語",
|
||||||
|
electronLocale: "ja"
|
||||||
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Right to left languages
|
* Right to left languages
|
||||||
|
|||||||
Reference in New Issue
Block a user