- 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
56 lines
1.7 KiB
JavaScript
56 lines
1.7 KiB
JavaScript
export const lang = {
|
|
//title is the title of each page
|
|
title: 'Shopping Cart',
|
|
complete: 'Complete',
|
|
edit: 'Manage',
|
|
allElection: 'Select All',
|
|
total: 'Total',
|
|
settlement: 'Checkout',
|
|
emptyTips: 'No products yet',
|
|
goForStroll: 'Go shopping',
|
|
del: 'Delete',
|
|
login: 'Go to login',
|
|
// cart header
|
|
totalKinds: '{count} item(s)',
|
|
// coupon tips
|
|
coupon: 'Coupon',
|
|
couponMaxDiscount: 'Save up to {money} with coupons',
|
|
receive: 'Receive',
|
|
view: 'View',
|
|
clickToReceive: 'Click to receive',
|
|
clickToView: 'Click to view',
|
|
// full reduction
|
|
fullReduction: 'Full Reduction',
|
|
fullReductionItem: 'Spend {limit}, get {discount} off',
|
|
// invalid goods
|
|
invalidGoods: '{count} invalid item(s)',
|
|
clear: 'Clear',
|
|
invalid: 'Invalid',
|
|
// empty cart
|
|
cartEmpty: 'Shopping cart is empty',
|
|
cartEmptySubText: 'Go browse and find your favorite products',
|
|
// discount detail popup
|
|
discountDetail: 'Discount Details',
|
|
goodsTotal: 'Subtotal',
|
|
// coupon popup
|
|
discountLabel: 'off',
|
|
minSpend: 'Min. spend {amount}',
|
|
noThreshold: 'No threshold',
|
|
maxDiscount: 'Max discount {symbol}{limit}',
|
|
validityPeriod: 'Valid: ',
|
|
validFromReceive: 'Valid for {days} days from receipt',
|
|
longTermValid: 'Long-term valid',
|
|
received: 'Received',
|
|
// settlement button
|
|
receiveCouponSettle: 'Receive & Checkout ({count})',
|
|
settleImmediately: 'Checkout ({count})',
|
|
// action tips
|
|
tip: 'Tip',
|
|
selectDeleteGoods: 'Please select items to delete',
|
|
confirmDeleteGoods: 'Are you sure you want to delete these items?',
|
|
confirmDeleteGood: 'Are you sure you want to delete this item?',
|
|
confirmClearInvalid: 'Are you sure you want to clear these items?',
|
|
purchaseLimit: 'Limited to {maxBuy} pieces per person for this item',
|
|
outOfStock: 'Out of stock'
|
|
}
|