refactor: 完成多语言国际化全量替换与补充
1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案 2. 替换硬编码文本为多语言调用,统一全局文案管理 3. 优化语言包结构,拆分公共模块与业务模块 4. 修复部分语言加载与国际化适配问题
This commit is contained in:
91
lang/en-us/order/invoice.js
Normal file
91
lang/en-us/order/invoice.js
Normal file
@@ -0,0 +1,91 @@
|
||||
export const lang = {
|
||||
//title for each page
|
||||
title: 'Invoice Application',
|
||||
|
||||
// ====== Header ======
|
||||
header: {
|
||||
title: 'Invoice Information',
|
||||
desc: 'Please fill in the invoice information'
|
||||
},
|
||||
|
||||
// ====== Invoice Type ======
|
||||
invoiceType: {
|
||||
title: 'Invoice Type',
|
||||
paper: 'Paper Invoice',
|
||||
paperDesc: 'Invoice will be mailed to the specified address',
|
||||
electronic: 'Electronic Invoice',
|
||||
electronicDesc: 'Invoice will be sent to your email'
|
||||
},
|
||||
|
||||
// ====== Invoice Title ======
|
||||
invoiceTitle: {
|
||||
title: 'Invoice Title',
|
||||
personal: 'Personal',
|
||||
company: 'Company',
|
||||
label: 'Invoice Title',
|
||||
personalPlaceholder: 'Please enter your name',
|
||||
companyPlaceholder: 'Please enter company name',
|
||||
taxpayerId: 'Taxpayer ID',
|
||||
taxpayerIdPlaceholder: 'Please enter taxpayer ID'
|
||||
},
|
||||
|
||||
// ====== Invoice Content ======
|
||||
invoiceContent: {
|
||||
title: 'Invoice Content',
|
||||
label: 'Invoice Content',
|
||||
placeholder: 'Please select invoice content'
|
||||
},
|
||||
|
||||
// ====== Mail Info (Paper Invoice) ======
|
||||
mailInfo: {
|
||||
title: 'Mailing Information',
|
||||
receiver: 'Recipient',
|
||||
receiverPlaceholder: 'Please enter recipient name',
|
||||
mobile: 'Contact Phone',
|
||||
mobilePlaceholder: 'Please enter phone number',
|
||||
address: 'Mailing Address',
|
||||
regionPlaceholder: 'Please select region',
|
||||
detailAddress: 'Detailed Address',
|
||||
detailAddressPlaceholder: 'Please enter detailed address'
|
||||
},
|
||||
|
||||
// ====== Email Info (Electronic Invoice) ======
|
||||
emailInfo: {
|
||||
title: 'Email Information',
|
||||
receiverEmail: 'Receiver Email',
|
||||
emailPlaceholder: 'Please enter the email address to receive the invoice'
|
||||
},
|
||||
|
||||
// ====== Fee Section ======
|
||||
fee: {
|
||||
taxFee: 'Invoice Tax',
|
||||
deliveryFee: 'Delivery Fee'
|
||||
},
|
||||
|
||||
// ====== Footer Submit Section ======
|
||||
footer: {
|
||||
tip: 'Tip: Invoice applications will be processed within {days} working days',
|
||||
submit: 'Submit Application'
|
||||
},
|
||||
|
||||
// ====== Form Validation Messages ======
|
||||
validation: {
|
||||
pleaseEnterTitle: 'Please enter invoice title',
|
||||
pleaseEnterTaxpayerId: 'Please enter taxpayer ID',
|
||||
pleaseSelectContent: 'Please select invoice content',
|
||||
pleaseEnterReceiver: 'Please enter recipient name',
|
||||
pleaseEnterMobile: 'Please enter phone number',
|
||||
pleaseSelectRegion: 'Please select region',
|
||||
pleaseEnterAddress: 'Please enter detailed address',
|
||||
pleaseEnterEmail: 'Please enter receiver email',
|
||||
invalidEmail: 'Please enter a valid email address'
|
||||
},
|
||||
|
||||
// ====== API Messages ======
|
||||
api: {
|
||||
getConfigFailed: 'Failed to get invoice configuration',
|
||||
submitSuccess: 'Invoice application submitted successfully',
|
||||
submitFailed: 'Submission failed, please try again later',
|
||||
networkError: 'Network error, please try again later'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user