feat: 新增多语言README并优化文档结构

新增德语、俄语、韩语、繁体中文多语言README,英文与简体中文README同步优化,统一下载链接与徽章样式,完善多语言入口。提升国际化支持与文档可读性。
This commit is contained in:
谦君
2025-12-24 01:45:17 +08:00
parent a475b1b554
commit 5e3557e2da
105 changed files with 12459 additions and 1690 deletions

View File

@@ -169,6 +169,14 @@
@update:checked="(val: boolean) => updateTypeSetting('research', val)"
/>
</div>
<!-- 解锁通知 -->
<div class="flex items-center justify-between">
<Label class="font-normal cursor-pointer" @click="toggleType('unlock')">{{ t('settings.unlockNotification') }}</Label>
<Switch
:checked="gameStore.notificationSettings?.types.unlock"
@update:checked="(val: boolean) => updateTypeSetting('unlock', val)"
/>
</div>
</div>
</div>
</CardContent>
@@ -338,8 +346,8 @@
import pkg from '../../package.json'
import { checkLatestVersion, canCheckVersion } from '@/utils/versionCheck'
import type { VersionInfo } from '@/utils/versionCheck'
import UpdateDialog from '@/components/UpdateDialog.vue'
import PrivacyDialog from '@/components/PrivacyDialog.vue'
import UpdateDialog from '@/components/dialogs/UpdateDialog.vue'
import PrivacyDialog from '@/components/dialogs/PrivacyDialog.vue'
import { useHints } from '@/composables/useHints'
const { t } = useI18n()
@@ -364,7 +372,7 @@
browser: false,
inApp: true,
suppressInFocus: false,
types: { construction: true, research: true }
types: { construction: true, research: true, unlock: true }
}
}
@@ -390,13 +398,13 @@
}
}
const updateTypeSetting = (key: 'construction' | 'research', val: boolean) => {
const updateTypeSetting = (key: 'construction' | 'research' | 'unlock', val: boolean) => {
if (gameStore.notificationSettings) {
gameStore.notificationSettings.types[key] = val
}
}
const toggleType = (key: 'construction' | 'research') => {
const toggleType = (key: 'construction' | 'research' | 'unlock') => {
if (gameStore.notificationSettings) {
const current = gameStore.notificationSettings.types[key]
gameStore.notificationSettings.types[key] = !current