diff --git a/.vitepress/data/locales/en.ts b/.vitepress/data/locales/en.ts index 1209aa4..2def1e0 100644 --- a/.vitepress/data/locales/en.ts +++ b/.vitepress/data/locales/en.ts @@ -53,7 +53,7 @@ export const en: LocaleMessages = { tipArm64: '**ARM64** is for devices like Surface Pro X', tipUnsure: 'Unsure? Try **X64** first', privacyTitle: 'Privacy Notice', - privacyDesc: 'By downloading and running, you agree to our privacy policy:', + privacyDesc: 'By downloading and running, You agree to our privacy policy:', mirrorChyanTitle: 'MirrorChyan Download', mirrorChyanDesc: 'Use MirrorChyan CDK for high-speed download', mirrorChyanBtn: 'MirrorChyan Download', @@ -69,8 +69,8 @@ export const en: LocaleMessages = { }, region: { - blocked: 'Downloads are not available in your country or region', - hint: 'Sorry, this content is currently unavailable in your region.', + blocked: 'Downloads are not available in Your country or region', + hint: 'Sorry, this content is currently unavailable in Your region.', }, history: { diff --git a/.vitepress/data/locales/zh.ts b/.vitepress/data/locales/zh.ts index 7047b9b..54babd1 100644 --- a/.vitepress/data/locales/zh.ts +++ b/.vitepress/data/locales/zh.ts @@ -56,7 +56,7 @@ export const zh: LocaleMessages = { privacyDesc: '如果您点击下方任意下载并运行程序,代表同意我们的隐私协议,隐私协议请点击下方链接查看:', mirrorChyanTitle: 'Mirror 酱高速下载', - mirrorChyanDesc: '如果你有 Mirror 酱 CDK 可以直接使用此高速下载源', + mirrorChyanDesc: '如果您有 Mirror 酱 CDK 可以直接使用此高速下载源', mirrorChyanBtn: 'Mirror 酱下载', downloadLinks: '下载链接', x64Version: 'X64 版本', @@ -66,7 +66,7 @@ export const zh: LocaleMessages = { historicalVersions: '历史版本下载', historicalDesc: '如果您需要旧版本的 PCL CE,可以从以下链接下载:', historicalBtn: '历史版本', - alsoDownload: '你也可以直接在下方的链接中下载', + alsoDownload: '您也可以直接在下方的链接中下载', }, region: { diff --git a/.vitepress/theme/components/HistoryReleases.vue b/.vitepress/theme/components/HistoryReleases.vue index e263bdc..a804177 100644 --- a/.vitepress/theme/components/HistoryReleases.vue +++ b/.vitepress/theme/components/HistoryReleases.vue @@ -56,11 +56,7 @@ const messages = computed(() => { }); // biome-ignore lint/correctness/noUnusedVariables: used in Vue template -const { - blocked, - message: blockedMessage, - hint: blockedHint, -} = useRegionGuard(); +const { blocked, message: blockedText, hint: blockedHint } = useRegionGuard(); function formatDate(value: string) { if (!value) return ''; @@ -200,10 +196,15 @@ function handleOutsideClick(event: MouseEvent) {
{{ messages.subtitle }}
+{{ messages.subtitle }}