1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块 2. 优化底部导航组件,使用多语言配置替代硬编码文案 3. 重构工具函数,新增从后端数据提取多语言文案的工具方法 4. 修复邀请好友页面的保存提示文案,替换为多语言版本 5. 修复商品SKU组件的提示文案,使用多语言配置 6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置 7. 优化空状态组件,支持多语言默认文案 8. 修复跳转逻辑,补全参数传递 9. 新增本地开发环境配置
64 lines
1.7 KiB
JavaScript
64 lines
1.7 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',
|
|
mobilePlaceholder: 'Please enter your mobile number',
|
|
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'
|
|
},
|
|
|
|
// ====== Order Money ======
|
|
orderMoney: {
|
|
buyerMessage: 'Buyer Message',
|
|
buyerMessagePlaceholder: 'Please coordinate with the merchant before leaving a message',
|
|
pointsRequired: 'Points Required',
|
|
pointsSuffix: ' pts',
|
|
shippingFee: 'Shipping'
|
|
},
|
|
|
|
// ====== Settlement Bar ======
|
|
settlement: {
|
|
totalItems: '{count} items',
|
|
total: 'Total:',
|
|
pointsSuffix: ' pts',
|
|
submitOrder: 'Submit Order',
|
|
shortByForMinimum: '{amount} more for minimum order'
|
|
}
|
|
}
|