feat(i18n): 添加登录、实名认证等页面的多语言支持

This commit is contained in:
scout 2025-01-15 13:05:06 +08:00
parent c92cfa672f
commit 4d92cc13fc
4 changed files with 143 additions and 63 deletions

View File

@ -19,10 +19,14 @@
"home": "Home",
"profile": "Profile"
},
"unocss_page": {
"hello": "Hello {0}",
"desc": "This is a simple example of Unocss in action.",
"btn_txt": "Button"
"login": {
"title": "Login",
"phonePlaceholder": "Please enter your phone number",
"getCode": "Get verification code",
"login": "Login",
"back": "Back",
"hasSendTo": "Verification code has been sent to",
"reSend": "Re-send"
},
"error_page": {
"back_btn": "Back",
@ -31,20 +35,38 @@
"profile_page": {
"txt": "WIP"
},
"keepalive_page": {
"label": "The current component will be cached"
},
"counter_page": {
"label": "This is a simple example of persisting Pinia state. To verify its effectiveness, you can refresh the interface and observe it.",
"label_num": "Number",
"btn_add": "Add"
},
"prose_page": {
"btn_fetch": "Fetch",
"btn_clear": "Clear",
"btn_empty_desc": "No data"
},
"countryRegion": {
"searchPlaceholder": "Please enter the country and region"
"title": "Country and Region",
"searchPlaceholder": "Please enter the country and region",
"frequentCountry": "Frequent"
},
"realAuth": {
"title": "Real-name Authentication",
"cnTab": "Mainland Residents",
"otherTab": "Non-Mainland Residents",
"cnTabDesc": "Please fill in ID card information",
"otherTabDesc": "Please upload personal information",
"idCard": "ID Card Number",
"idCardPlaceholder": "Please enter ID card number",
"name": "Name",
"namePlaceholder": "Please enter your name",
"gender": "Gender",
"male": "Male",
"female": "Female",
"birthday": "Date of Birth",
"birthdayPlaceholder": "Please enter date of birth",
"adress": "Home Address",
"adressPlaceholder": "Please enter home address",
"bank": "Bank",
"bankPlaceholder": "Please select your bank",
"bankCard": "Bank Card Number",
"bankCardPlaceholder": "Please enter bank card number",
"cancel": "Cancel",
"confirm": "Confirm"
}
}

View File

@ -19,32 +19,51 @@
"home": "ホーム",
"profile": "マイページ"
},
"unocss_page": {
"hello": "こんにちは {0}",
"desc": "これは unocss の簡単な例です。",
"btn_txt": "ボタン"
"login": {
"title": "ログイン",
"phonePlaceholder": "携帯番号を入力してください",
"getCode": "認証コードを取得",
"login": "ログイン",
"back": "戻る",
"hasSendTo": "認証コードは",
"reSend": "再送"
},
"error_page": {
"back_btn": "戻る",
"txt": "ページが見つかりません"
},
"profile_page": {
"txt": "未完成"
},
"keepalive_page": {
"label": "このコンポーネントはキャッシュされます"
},
"counter_page": {
"label": "これは Pinia の状態永続化の簡単な例です。有効性を確認するには、ページを更新して観察してください。",
"label_num": "数字",
"btn_add": "増加"
},
"prose_page": {
"btn_fetch": "取得",
"btn_clear": "クリア",
"btn_empty_desc": "データなし"
},
"countryRegion": {
"searchPlaceholder": "国と地域を入力してください"
"title": "国と地域",
"searchPlaceholder": "国と地域を入力してください",
"frequentCountry": "よく使う"
},
"realAuth": {
"title": "実名認証",
"cnTab": "中国本土住民",
"otherTab": "非中国本土住民",
"cnTabDesc": "身分証情報を入力してください",
"otherTabDesc": "個人情報をアップロードしてください",
"idCard": "身分証番号",
"idCardPlaceholder": "身分証番号を入力してください",
"name": "氏名",
"namePlaceholder": "氏名を入力してください",
"gender": "性別",
"male": "男性",
"female": "女性",
"birthday": "生年月日",
"birthdayPlaceholder": "生年月日を入力してください",
"adress": "住所",
"adressPlaceholder": "住所を入力してください",
"bank": "所属銀行",
"bankPlaceholder": "所属銀行を選択してください",
"bankCard": "銀行カード番号",
"bankCardPlaceholder": "銀行カード番号を入力してください",
"cancel": "キャンセル",
"confirm": "確定"
}
}
}

View File

@ -19,36 +19,55 @@
"home": "主页",
"profile": "我的"
},
"login": {
"title": "登录",
"phonePlaceholder": "请输入手机号",
"getCode": "获取验证码",
"login": "登录",
"back": "返回",
"hasSendTo": "已发送验证码至",
"reSend": "重新发送"
},
"profile": {
"name": "姓名",
"phone": "手机号"
},
"unocss_page": {
"hello": "你好 {0}",
"desc": "这是 unocss 一个简单例子。",
"btn_txt": "按钮"
},
"error_page": {
"back_btn": "返回",
"txt": "没有找到"
},
"profile_page": {
"txt": "未完成"
},
"keepalive_page": {
"label": "当前组件将会被缓存"
},
"counter_page": {
"label": "这是一个简单的持久化 Pinia 状态的例子。为了验证其有效性,你可以刷新界面并观察它。",
"label_num": "数字",
"btn_add": "增加"
},
"prose_page": {
"btn_fetch": "拉取",
"btn_clear": "清空",
"btn_empty_desc": "暂无数据"
},
"countryRegion": {
"searchPlaceholder": "请输入国家和地区"
"title": "国家地区",
"searchPlaceholder": "请输入国家和地区",
"frequentCountry": "常用"
},
"realAuth": {
"title": "实名认证",
"cnTab": "大陆居民",
"otherTab": "非大陆居民",
"cnTabDesc": "请填写身份证相关信息",
"otherTabDesc": "请上传个人相关信息",
"idCard": "身份证号",
"idCardPlaceholder": "请输入身份证号",
"name": "姓名",
"namePlaceholder": "请输入姓名",
"gender": "性别",
"male": "男",
"female": "女",
"birthday": "出生日期",
"birthdayPlaceholder": "请输入出生日期",
"adress":"家庭住址",
"adressPlaceholder": "请输入家庭住址",
"bank": "所属银行",
"bankPlaceholder": "请选择所属银行",
"bankCard": "银行卡号码",
"bankCardPlaceholder": "请输入银行卡号码",
"cancel": "取消",
"confirm": "确定"
}
}

View File

@ -19,32 +19,52 @@
"home": "首頁",
"profile": "我的"
},
"unocss_page": {
"hello": "你好 {0}",
"desc": "這是 unocss 一個簡單例子。",
"btn_txt": "按鈕"
"login": {
"title": "登入",
"phonePlaceholder": "請輸入手機號",
"getCode": "獲取驗證碼",
"login": "登入",
"back": "返回",
"hasSendTo": "已發送驗證碼至",
"reSend": "重新發送"
},
"error_page": {
"back_btn": "返回",
"txt": "沒有找到"
},
"profile_page": {
"txt": "未完成"
},
"keepalive_page": {
"label": "當前元件將會被快取"
},
"counter_page": {
"label": "這是一個簡單的持久化 Pinia 狀態的例子。為了驗證其有效性,你可以重新整理介面並觀察它。",
"label_num": "數字",
"btn_add": "增加"
},
"prose_page": {
"btn_fetch": "拉取",
"btn_clear": "清空",
"btn_empty_desc": "暫無數據"
},
"countryRegion": {
"searchPlaceholder": "請輸入國家和地區"
"title": "國家地區",
"searchPlaceholder": "請輸入國家和地區",
"frequentCountry": "常用"
},
"realAuth": {
"title": "實名認證 ",
"cnTab": "大陸居民",
"otherTab": "非大陸居民",
"cnTabDesc": "請填寫身份證相關信息",
"otherTabDesc": "請上傳個人相關信息",
"idCard": "身份證號",
"idCardPlaceholder": "請輸入身份證號",
"name": "姓名",
"namePlaceholder": "請輸入姓名",
"gender": "性別",
"male": "男",
"female": "女",
"birthday": "出生日期",
"birthdayPlaceholder": "請輸入出生日期",
"adress":"家庭住址",
"adressPlaceholder": "請輸入家庭住址",
"bank": "所屬銀行",
"bankPlaceholder": "請選擇所屬銀行",
"bankCard": "銀行卡號碼",
"bankCardPlaceholder": "請輸入銀行卡號碼",
"cancel": "取消",
"confirm": "確定"
}
}