- add new language packs for multiple pages and components including category, cart, order, member center, distribution, etc. - add Chinese and English translations for new features and UI text - fix navigation service error message to use multilingual text - update component templates to use dynamic language translation instead of hardcoded text - adjust code indentation and formatting for consistency
115 lines
2.8 KiB
JavaScript
115 lines
2.8 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',
|
|
copy: 'Copy'
|
|
},
|
|
|
|
// ====== Form ======
|
|
form: {
|
|
labelWithColon: '{label}:'
|
|
},
|
|
|
|
// ====== Toast Messages ======
|
|
toast: {
|
|
orderInfoNotFound: 'Order information not found!'
|
|
}
|
|
}
|