From ee720107fad01ae2aada4802657b2acae2080d10 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Fri, 28 Feb 2025 15:29:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor(i18n):=20=E6=9B=B4=E6=96=B0=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E6=96=87=E6=A1=88=E5=B9=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=96=B0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在多个语言文件中添加新的翻译字段 idTypeString 和 incompleteForm - 修改个人身份信息页面中的证件类型文本 - 更新错误提示信息 --- app/pages/collectCode/signature/personal-Info/index.vue | 2 +- i18n/locales/en-US.json | 6 ++++-- i18n/locales/ja-JP.json | 6 ++++-- i18n/locales/zh-CN.json | 6 ++++-- i18n/locales/zh-TW.json | 6 ++++-- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/app/pages/collectCode/signature/personal-Info/index.vue b/app/pages/collectCode/signature/personal-Info/index.vue index 9426f12..3983ce7 100644 --- a/app/pages/collectCode/signature/personal-Info/index.vue +++ b/app/pages/collectCode/signature/personal-Info/index.vue @@ -20,7 +20,7 @@ const columns = ref([ {text: t('realAuth.female'), value: 2}, ]) const columns1 = ref([ - {text: t('realAuth.idCard'), value: 1}, + {text: t('realAuth.idTypeString'), value: 1}, {text: t('realAuth.passport'), value: 2}, {text: t('realAuth.other'), value: 3}, ]) diff --git a/i18n/locales/en-US.json b/i18n/locales/en-US.json index 51769ff..3a2ffbd 100644 --- a/i18n/locales/en-US.json +++ b/i18n/locales/en-US.json @@ -162,7 +162,8 @@ "passport": "passport", "other": "other", "idNumber": "ID number", - "idNumberPlaceholder": "Please enter your ID number" + "idNumberPlaceholder": "Please enter your ID number", + "idTypeString": "ID card" }, "detail": { "text1": "Artist", @@ -296,7 +297,8 @@ "transfer": "Auction Transfer Confirmation" }, "error": { - "getRecord": "Failed to get auction record" + "getRecord": "Failed to get auction record", + "incompleteForm": "Please fill in the complete information" }, "action": { "agree": "Agree and Sign", diff --git a/i18n/locales/ja-JP.json b/i18n/locales/ja-JP.json index d0241e6..d6f053a 100644 --- a/i18n/locales/ja-JP.json +++ b/i18n/locales/ja-JP.json @@ -162,7 +162,8 @@ "passport": "パスポート", "other": "他の", "idNumber": "ID番号", - "idNumberPlaceholder": "ID番号を入力してください" + "idNumberPlaceholder": "ID番号を入力してください", + "idTypeString": "IDカード" }, "detail": { "text1": "アーティスト", @@ -296,7 +297,8 @@ "transfer": "オークション譲渡確認" }, "error": { - "getRecord": "オークション記録の取得に失敗しました" + "getRecord": "オークション記録の取得に失敗しました", + "incompleteForm": "完全な情報を入力してください" }, "action": { "agree": "同意して署名", diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index 32cd535..60e8d0f 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -162,7 +162,8 @@ "passport": "护照", "other": "其他", "idNumber": "证件号", - "idNumberPlaceholder": "请输入证件号" + "idNumberPlaceholder": "请输入证件号", + "idTypeString": "身份证" }, "detail": { "text1": "作者", @@ -297,7 +298,8 @@ "transfer": "《拍卖移交确认书》" }, "error": { - "getRecord": "获取拍卖笔录失败" + "getRecord": "获取拍卖笔录失败", + "incompleteForm": "请填写完整信息" }, "action": { "agree": "同意并签字", diff --git a/i18n/locales/zh-TW.json b/i18n/locales/zh-TW.json index 1b009e3..aa08434 100644 --- a/i18n/locales/zh-TW.json +++ b/i18n/locales/zh-TW.json @@ -213,7 +213,8 @@ "passport": "護照", "other": "其他", "idNumber": "證件號", - "idNumberPlaceholder": "請輸入證件號" + "idNumberPlaceholder": "請輸入證件號", + "idTypeString": "身份證" }, "detail": { "text1": "作者", @@ -347,7 +348,8 @@ "transfer": "《拍賣移交確認書》" }, "error": { - "getRecord": "獲取拍賣筆錄失敗" + "getRecord": "獲取拍賣筆錄失敗", + "incompleteForm": "請填寫完整信息" }, "action": { "agree": "同意並簽字",