Files
lucky_shop/lang/en-us/order/payment.js
ZF sun 2d8846c64c feat: 新增多语言文案、优化导航及工具函数,修复部分业务逻辑
1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块
2. 优化底部导航组件,使用多语言配置替代硬编码文案
3. 重构工具函数,新增从后端数据提取多语言文案的工具方法
4. 修复邀请好友页面的保存提示文案,替换为多语言版本
5. 修复商品SKU组件的提示文案,使用多语言配置
6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置
7. 优化空状态组件,支持多语言默认文案
8. 修复跳转逻辑,补全参数传递
9. 新增本地开发环境配置
2026-06-25 18:15:31 +08:00

152 lines
4.0 KiB
JavaScript

export const lang = {
//title for each page
title: 'Confirm Order',
// ====== Virtual Goods ======
virtual: {
tips: 'Please provide your mobile number for virtual goods so the merchant can contact you',
mobile: 'Mobile Number',
mobilePlaceholder: 'Please enter your mobile number'
},
// ====== Address ======
address: {
setAddress: 'Please set your delivery address',
deliveryTime: 'Delivery Time',
selectDeliveryTime: 'Please select delivery time'
},
// ====== Local Delivery ======
localDelivery: {
providedBy: 'Delivered by ',
deliveredBy: '',
switchStore: 'Switch',
noStoreNearby: 'No stores available for delivery nearby, please choose another delivery method'
},
// ====== Store Pickup ======
store: {
businessHours: 'Business Hours:',
name: 'Name',
reservedMobile: 'Reserved Phone',
pickupTime: 'Pickup Time',
noPickupStore: 'No pickup store available, please choose another delivery method',
address: 'Address:'
},
// ====== Store List Popup ======
storePopup: {
title: 'All relevant stores nearby have been selected for you',
businessHours: 'Business Hours:',
address: 'Address:',
noStoreNearby: 'No pickup stores available near the selected address'
},
// ====== Goods ======
goods: {
notSupportDeliveryType: 'This product does not support {deliveryType}'
},
// ====== Order Money ======
orderMoney: {
buyerMessage: 'Buyer Message',
noMessage: 'No message',
coupon: 'Coupon',
couponSelected: '{count} coupon selected',
noCoupon: 'No coupon',
totalItems: '{count} items',
subtotal: 'Subtotal:',
goodsAmount: 'Goods Amount',
shippingFee: 'Shipping',
discount: 'Discount',
pointsDeduction: 'Points Deduction'
},
// ====== Member Card ======
memberCard: {
activate: 'Activate ',
expectedSave: 'Estimated savings for this order',
yuan: '',
weekCard: 'Weekly Card',
week: 'week',
monthCard: 'Monthly Card',
month: 'month',
quarterCard: 'Quarterly Card',
quarter: 'quarter',
yearCard: 'Yearly Card',
year: 'year'
},
// ====== Agreement ======
agreement: {
tipPrefix: 'Please read the ',
tipSuffix: ' before purchase. Placing an order means you agree to this agreement'
},
// ====== Settlement Bar ======
settlement: {
totalItems: '{count} items',
total: 'Total:',
submitOrder: 'Submit Order'
},
// ====== Promotion Popup ======
promotionPopup: {
title: 'Promotion Discount',
confirm: 'OK'
},
// ====== Buyer Message Popup ======
buyerMessagePopup: {
title: 'Buyer Message',
placeholder: 'Please coordinate with the merchant before leaving a message',
confirm: 'OK'
},
// ====== Coupon Popup ======
couponPopup: {
title: 'Coupons',
discount: '% off',
minSpend: 'Min. spend {amount}',
noThreshold: 'No threshold',
maxDiscount: 'Max discount ¥{amount}',
validPeriod: 'Valid Period:',
permanentValid: 'Permanent',
noAvailableCoupon: 'No available coupons',
confirm: 'OK'
},
// ====== Form Popup ======
formPopup: {
title: 'Buyer Info',
confirm: 'OK'
},
// ====== Member Card Popup ======
memberCardPopup: {
title: 'Select Card',
unlimited: 'Unlimited',
remaining: '{count} remaining',
permanentValid: 'Permanent',
confirm: 'OK'
},
// ====== Toast Messages ======
toast: {
enterReservedMobile: 'Please enter reserved mobile number',
enterValidMobile: 'Please enter a valid mobile number',
noDeliveryMethod: 'Merchant has not set delivery method',
selectAddressFirst: 'Please select your delivery address first',
noPickupStore: 'No pickup store available, please choose another delivery method',
selectPickupTime: 'Please select pickup time',
noDeliveryStore: 'No stores available for delivery, please choose another delivery method',
selectDeliveryTime: 'Please select delivery time',
enterInvoiceTitle: 'Please enter invoice title',
enterTaxpayerNumber: 'Please enter taxpayer identification number',
enterInvoiceAddress: 'Please enter invoice mailing address',
enterEmail: 'Please enter email',
enterValidEmail: 'Please enter a valid email',
selectInvoiceContent: 'Please select invoice content'
}
}