Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import zhCN from './langs/zh-cn';
|
||||
import enUS from './langs/en-us';
|
||||
import localeZhCN from './langs/zh-cn';
|
||||
import localeEnUS from './langs/en-us';
|
||||
|
||||
const fullZhCN = { ...localeZhCN, ...zhCN };
|
||||
const fullEnUS = { ...localeEnUS, ...enUS };
|
||||
|
||||
const locales: Record<App.I18n.LangType, App.I18n.Schema> = {
|
||||
'zh-CN': zhCN,
|
||||
'en-US': enUS
|
||||
'zh-CN': fullZhCN,
|
||||
'en-US': fullEnUS
|
||||
};
|
||||
|
||||
export default locales;
|
||||
|
||||
@@ -62,7 +62,7 @@ const bgColor = computed(() => {
|
||||
</header>
|
||||
<main>
|
||||
<div class="flex justify-between items-center">
|
||||
<h3 class="text-28px text-primary font-500 lt-sm:text-22px">{{ "WANFi" }}</h3>
|
||||
<h3 class="text-28px text-primary font-500 lt-sm:text-22px">{{ $t('system.title') }}</h3>
|
||||
<LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" />
|
||||
</div>
|
||||
<div class="animation-slide-in-left">
|
||||
|
||||
Reference in New Issue
Block a user