refactor(i18n): 扁平化所有国际化语言文件的翻译结构

移除多层嵌套的翻译对象,将所有翻译项直接挂载到顶层lang对象上,统一代码结构
This commit is contained in:
2026-07-03 16:36:28 +08:00
parent e4c9b7fd59
commit a27e3518da
22 changed files with 237 additions and 351 deletions

View File

@@ -2,47 +2,45 @@ export const lang = {
// title is the page title
title: 'Bind Mobile',
bindMobile: {
// One-click authorization binding
oneClickAuthBind: 'One-Click Authorization Binding',
// Manual binding
manualBind: 'Manual Binding',
// One-click authorization binding
oneClickAuthBind: 'One-Click Authorization Binding',
// Manual binding
manualBind: 'Manual Binding',
// Phone number
phoneNumber: 'Phone Number',
// Please enter phone number
pleInputMobile: 'Please enter phone number',
// Please enter a valid phone number
surePhoneNumber: 'Please enter a valid phone number',
// Phone number
phoneNumber: 'Phone Number',
// Please enter phone number
pleInputMobile: 'Please enter phone number',
// Please enter a valid phone number
surePhoneNumber: 'Please enter a valid phone number',
// Verification code
confirmCode: 'Verification Code',
// Please enter verification code
confirmCodeInput: 'Please enter verification code',
// Verification code
confirmCode: 'Verification Code',
// Please enter verification code
confirmCodeInput: 'Please enter verification code',
// SMS verification code
smsCode: 'SMS Verification Code',
// Please enter dynamic code
animateCodeInput: 'Please enter dynamic code',
// Get dynamic code
findanimateCode: 'Get Dynamic Code',
// Code sent
codeSent: 'Sent ({seconds}s)',
// Do not click repeatedly
doNotRepeatedlyClick: 'Do not click repeatedly',
// SMS verification code
smsCode: 'SMS Verification Code',
// Please enter dynamic code
animateCodeInput: 'Please enter dynamic code',
// Get dynamic code
findanimateCode: 'Get Dynamic Code',
// Code sent
codeSent: 'Sent ({seconds}s)',
// Do not click repeatedly
doNotRepeatedlyClick: 'Do not click repeatedly',
// Save / Bind
save: 'Bind',
// Binding successful
bindSuccess: 'Binding Successful',
// Same as original phone number, no need to modify
alikePhone: 'Same as original phone number, no need to modify',
// Save / Bind
save: 'Bind',
// Binding successful
bindSuccess: 'Binding Successful',
// Same as original phone number, no need to modify
alikePhone: 'Same as original phone number, no need to modify',
// Tip text
tipTitle: 'Notice',
// Enjoy more services after binding your mobile number
bindBenefitTip: 'Enjoy more services after binding your mobile number',
// Send code tip
sendCodeTip: 'Click "Get Dynamic Code" and a verification code will be sent to your mobile number {mobile}',
},
// Tip text
tipTitle: 'Notice',
// Enjoy more services after binding your mobile number
bindBenefitTip: 'Enjoy more services after binding your mobile number',
// Send code tip
sendCodeTip: 'Click "Get Dynamic Code" and a verification code will be sent to your mobile number {mobile}',
}