2
0

Merge remote-tracking branch 'origin/main'

This commit is contained in:
zhongzm
2025-06-19 12:27:33 +08:00
6 changed files with 21 additions and 6 deletions

View File

@@ -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;

View File

@@ -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">