1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块 2. 优化底部导航组件,使用多语言配置替代硬编码文案 3. 重构工具函数,新增从后端数据提取多语言文案的工具方法 4. 修复邀请好友页面的保存提示文案,替换为多语言版本 5. 修复商品SKU组件的提示文案,使用多语言配置 6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置 7. 优化空状态组件,支持多语言默认文案 8. 修复跳转逻辑,补全参数传递 9. 新增本地开发环境配置
109 lines
2.7 KiB
JavaScript
109 lines
2.7 KiB
JavaScript
export const lang = {
|
|
//title for each page
|
|
title: 'Order Details',
|
|
|
|
// ====== Order Status ======
|
|
status: {
|
|
estimatedDelivery: 'Estimated delivery in {days} days',
|
|
orderCloseReason: 'Order close reason:',
|
|
remainingTime: 'Remaining time:'
|
|
},
|
|
|
|
// ====== Address ======
|
|
address: {
|
|
receivingAddress: 'Shipping Address:',
|
|
deliveryTime: 'Delivery Time:',
|
|
deliverer: 'Deliverer:',
|
|
delivererMobile: 'Delivery Phone:'
|
|
},
|
|
|
|
// ====== Store Pickup ======
|
|
store: {
|
|
businessHours: 'Business Hours:',
|
|
address: 'Address:',
|
|
noPickupStore: 'No pickup store available',
|
|
pickupName: 'Name',
|
|
reservedMobile: 'Reserved Phone',
|
|
pickupTime: 'Pickup Time',
|
|
pickupCode: 'Pickup Code:'
|
|
},
|
|
|
|
// ====== Goods ======
|
|
goods: {
|
|
cardDeduction: 'Card Deduction',
|
|
applyAfterSales: 'After-sales',
|
|
applyRefund: 'Refund',
|
|
viewAfterSales: 'View After-sales',
|
|
viewRefund: 'View Refund'
|
|
},
|
|
|
|
// ====== Order Info ======
|
|
orderInfo: {
|
|
orderType: 'Order Type:',
|
|
orderNo: 'Order No.:',
|
|
outTradeNo: 'Trade No.:',
|
|
createTime: 'Created:',
|
|
closeTime: 'Closed:',
|
|
payType: 'Payment Method:',
|
|
payTime: 'Paid At:',
|
|
deliveryType: 'Delivery Method:',
|
|
buyerMessage: 'Buyer Message:',
|
|
promotionDiscount: 'Promotion Discount:',
|
|
invoiceType: 'Invoice Type:',
|
|
invoiceTypePaper: 'Paper Invoice',
|
|
invoiceTypeElectronic: 'Electronic Invoice',
|
|
invoiceTitleType: 'Invoice Title Type:',
|
|
invoiceTitlePersonal: 'Personal',
|
|
invoiceTitleCompany: 'Company',
|
|
invoiceTitle: 'Invoice Title:',
|
|
invoiceContent: 'Invoice Content:',
|
|
invoiceMailAddress: 'Invoice Mailing Address:',
|
|
invoiceEmail: 'Invoice Email:',
|
|
myCardPack: 'My Card Pack:',
|
|
view: 'View'
|
|
},
|
|
|
|
// ====== Virtual Goods Verification ======
|
|
virtualGoods: {
|
|
showCodeToVerifier: 'Please show the barcode or QR code to the verifier',
|
|
verifyInfo: 'Verification Info',
|
|
verifyCount: 'Verification Count',
|
|
verifyCountText: '{remaining} remaining / {total} total',
|
|
validPeriod: 'Valid Period',
|
|
permanentValid: 'Permanent',
|
|
verifyRecord: 'Verification Records',
|
|
verifier: 'Verified By',
|
|
verifyTime: 'Verification Time',
|
|
noVerifyRecord: 'No verification records',
|
|
cardInfo: 'Card Info',
|
|
cardNo: 'Card No.:',
|
|
cardPassword: 'Password:'
|
|
},
|
|
|
|
// ====== Amount ======
|
|
amount: {
|
|
goodsMoney: 'Goods Amount',
|
|
deliveryFee: 'Shipping',
|
|
memberCard: 'Member Card',
|
|
taxFee: 'Tax',
|
|
invoiceDeliveryFee: 'Invoice Delivery',
|
|
orderAdjust: 'Order Adjustment',
|
|
promotionDiscount: 'Discount',
|
|
coupon: 'Coupon',
|
|
balanceUsed: 'Balance Used',
|
|
pointDeduction: 'Points Deduction',
|
|
totalPayable: 'Total Payable:'
|
|
},
|
|
|
|
// ====== Buttons ======
|
|
button: {
|
|
evaluate: 'Review',
|
|
additionalEvaluate: 'Add Review'
|
|
},
|
|
|
|
// ====== Toast Messages ======
|
|
toast: {
|
|
orderInfoNotFound: 'Order information not found!'
|
|
}
|
|
}
|