fix: localize English UI strings

This commit is contained in:
Heatherm Huang committed 2026-06-30 20:05:23 +08:00
1 parent d3acd8e96e
commit 6e54776509
24 files changed
+322 -196

No files matched your search

@@ -295,7 +295,7 @@ const totpTempToken = ref('')
const totpCode = ref('')
const totpError = ref('')
const totpUserEmailMasked = ref('')
const providerName = '钉钉'
const providerName = t('auth.dingtalkProviderName')
const needsCreateAccount = computed(() => pendingAccountAction.value === 'create_account')
const needsChooser = computed(() => pendingAccountAction.value === 'choose_account_action')
+2 -2
View File
@@ -397,7 +397,7 @@ function rejectLoginAgreement(): void {
localStorage.removeItem(LOGIN_AGREEMENT_STORAGE_KEY)
agreementAccepted.value = false
showAgreementModal.value = false
appStore.showWarning('未同意最新条款前,无法输入账号密码或使用快捷登录。')
appStore.showWarning(t('legal.loginAgreementPrompt.loginRejectedWarning'))
}
// ==================== Turnstile Handlers ====================
@@ -428,7 +428,7 @@ function validateForm(): boolean {
let isValid = true
if (agreementGateActive.value) {
appStore.showWarning('请先阅读并同意最新条款后再登录。')
appStore.showWarning(t('legal.loginAgreementPrompt.loginRequiredWarning'))
if (loginAgreementMode.value !== 'checkbox') {
showAgreementModal.value = true
}
+2 -2
View File
@@ -567,7 +567,7 @@ function rejectLoginAgreement(): void {
localStorage.removeItem(LOGIN_AGREEMENT_STORAGE_KEY)
agreementAccepted.value = false
showAgreementModal.value = false
appStore.showWarning('未同意最新条款前,无法注册或使用快捷登录。')
appStore.showWarning(t('legal.loginAgreementPrompt.registerRejectedWarning'))
}
// ==================== Promo Code Validation ====================
@@ -757,7 +757,7 @@ function validateForm(): boolean {
let isValid = true
if (agreementGateActive.value) {
appStore.showWarning('请先阅读并同意最新条款后再注册。')
appStore.showWarning(t('legal.loginAgreementPrompt.registerRequiredWarning'))
if (loginAgreementMode.value !== 'checkbox') {
showAgreementModal.value = true
}