mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
feat: Fix Translation Issue in Input Field Placeholder on First Login (#7369)
This commit is contained in:
parent
2ff1e3a245
commit
836f6c3520
@ -5,7 +5,7 @@ import en from './modules/en';
|
|||||||
|
|
||||||
const i18n = createI18n({
|
const i18n = createI18n({
|
||||||
legacy: false,
|
legacy: false,
|
||||||
locale: localStorage.getItem('lang') || 'zh',
|
locale: localStorage.getItem('lang') || 'en',
|
||||||
fallbackLocale: 'en',
|
fallbackLocale: 'en',
|
||||||
globalInjection: true,
|
globalInjection: true,
|
||||||
messages: {
|
messages: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user