BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
Update index.ts
zanf82da21e7e6f
diff --git a/core/frontend/src/i18n/index.ts b/core/frontend/src/i18n/index.tsindex edd312dd..b308cbf8 100644--- a/core/frontend/src/i18n/index.ts+++ b/core/frontend/src/i18n/index.ts@@ -1,6 +1,7 @@import { createI18n } from 'vue-i18n'import en from './lang/en.json'import zh from './lang/zh.json'+import ja from './lang/ja.json'const i18n = createI18n({legacy: false,@@ -10,12 +11,13 @@ const i18n = createI18n({messages: {en,zh,+ ja,},})// 提供切换语言的方法export const setLanguage = (locale: string) => {- i18n.global.locale.value = locale as 'zh' | 'en'+ i18n.global.locale.value = locale as 'en' | 'zh' | 'ja'}export default i18n