1. 新增多语言文件覆盖组件、页面、公共模块的翻译文案 2. 修复多处动态拼接lang key的调用,增加兜底逻辑避免空值或原始key暴露 3. 补全DIY组件、业务页面的国际化适配 4. 新增P2动态key国际化处理方案文档
47 lines
1.3 KiB
JavaScript
47 lines
1.3 KiB
JavaScript
export const lang = {
|
|
//title为每个页面的标题
|
|
title: 'Apply for Refund',
|
|
|
|
// ====== Refund Type Selection ======
|
|
refundType: {
|
|
refundOnly: 'Refund Only',
|
|
refundOnlyDesc: 'Item not received, or seller agreed to refund without return',
|
|
returnRefund: 'Return & Refund',
|
|
returnRefundDesc: 'Item received, need to return the goods'
|
|
},
|
|
|
|
// ====== Refund Form ======
|
|
form: {
|
|
refundReason: 'Refund Reason:',
|
|
refundAmount: 'Refund Amount:',
|
|
refundRemark: 'Refund Remark',
|
|
pleaseSelect: 'Please Select',
|
|
remarkPlaceholder: 'Please enter refund remark (optional)'
|
|
},
|
|
|
|
// ====== Refund Reason Popup ======
|
|
reasonPopup: {
|
|
title: 'Refund Reason',
|
|
confirm: 'Confirm'
|
|
},
|
|
|
|
// ====== Toast Messages ======
|
|
toast: {
|
|
noRefundInfo: 'Failed to get refund information for this order item'
|
|
},
|
|
|
|
// ====== Form Validation ======
|
|
validate: {
|
|
pleaseSelectRefundReason: 'Please select a refund reason'
|
|
},
|
|
|
|
// ====== Refund Method Popup ======
|
|
// pages_order/public/js/refundMethod.js new translation items
|
|
refund: {
|
|
// After cancellation, this application will be closed; you can reapply later if needed
|
|
cancelRefundContent: 'After cancellation, this application will be closed; you can reapply later if needed.',
|
|
// Do not cancel for now
|
|
cancelRefundCancelText: 'Do not cancel for now',
|
|
},
|
|
}
|