feat(i18n): add Japanese language

This commit is contained in:
Elian Doran 2025-08-14 14:51:53 +03:00
parent dbf3bcfacf
commit 9bdc51a3fb
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View file

@ -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() {

View file

@ -50,6 +50,11 @@ const UNSORTED_LOCALES: Locale[] = [
name: "Русский",
electronLocale: "ru"
},
{
id: "ja",
name: "日本語",
electronLocale: "ja"
},
/*
* Right to left languages