mirror of
https://github.com/unraid/api.git
synced 2026-01-07 00:59:48 -06:00
chore(web): clean up testing i18n
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
import { createI18n } from 'vue-i18n';
|
||||
|
||||
import en_US from '@/locales/en_US.json';
|
||||
|
||||
export default defineNuxtPlugin(({ vueApp }) => {
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
globalInjection: true,
|
||||
locale: 'ja',
|
||||
locale: 'en_US',
|
||||
fallbackLocale: 'en_US',
|
||||
messages: {
|
||||
en: {
|
||||
hello: 'Hello!'
|
||||
},
|
||||
ja: {
|
||||
hello: 'こんにちは!'
|
||||
}
|
||||
}
|
||||
en_US,
|
||||
},
|
||||
});
|
||||
|
||||
vueApp.use(i18n);
|
||||
|
||||
Reference in New Issue
Block a user