1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块 2. 优化底部导航组件,使用多语言配置替代硬编码文案 3. 重构工具函数,新增从后端数据提取多语言文案的工具方法 4. 修复邀请好友页面的保存提示文案,替换为多语言版本 5. 修复商品SKU组件的提示文案,使用多语言配置 6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置 7. 优化空状态组件,支持多语言默认文案 8. 修复跳转逻辑,补全参数传递 9. 新增本地开发环境配置
58 lines
1.7 KiB
JavaScript
58 lines
1.7 KiB
JavaScript
export const lang = {
|
|
//title为每个页面的标题
|
|
title: 'Point Mall',
|
|
|
|
// 搜索
|
|
searchPlaceholder: 'Search products',
|
|
|
|
// 头部
|
|
myPoints: 'My Points',
|
|
points: 'points',
|
|
reminder: 'Reminder',
|
|
remarkText: 'Redeem great gifts with points, new items daily!',
|
|
|
|
// 储值套餐
|
|
rechargeAmount: 'Recharge {price}',
|
|
earnPoints: 'Earn {point} points',
|
|
goRecharge: 'Recharge',
|
|
|
|
// 分类标题
|
|
exchangeCoupon: 'Points for Coupons',
|
|
exchangeHongbao: 'Points for Red Packets',
|
|
exchangeGift: 'Points for Gifts',
|
|
|
|
// 优惠券
|
|
discountSuffix: '% off',
|
|
noThresholdCoupon: 'No threshold coupon',
|
|
minSpendAvailable: 'Min. spend {amount}',
|
|
allStoreCoupon: 'Store-wide',
|
|
designatedCoupon: 'Designated items',
|
|
exchange: 'Redeem',
|
|
|
|
// 商品
|
|
yuan: '',
|
|
stock: 'Stock:',
|
|
exchanged: 'Redeemed:',
|
|
|
|
// 积分说明弹窗
|
|
pointDescription: 'Point Description',
|
|
pointAcquisition: 'Earning Points',
|
|
acquisitionItem1: '1. Points can be earned through registration, check-in, sharing, consumption, and recharge.',
|
|
acquisitionItem2: '2. Points can be earned when purchasing certain products.',
|
|
pointUsage: 'Using Points',
|
|
usageItem1: '1. Points can be used to redeem products in the Points Center.',
|
|
usageItem2: '2. Points can be used when participating in certain activities.',
|
|
usageItem3: '3. Points cannot be transferred, sold, and have no expiration date.',
|
|
pointQuery: 'Checking Points',
|
|
queryItem1: '1. Points balance and details can be checked in the Member Center.',
|
|
|
|
// 分类列表
|
|
categoryExchangeGoods: 'Points for Goodies',
|
|
categoryExchangeCoupon: 'Points for Coupons',
|
|
categoryExchangeHongbao: 'Points for Red Packets',
|
|
|
|
// 提示
|
|
merchantNotEnabled: 'Merchant has not enabled the points mall',
|
|
noActivity: 'No related activities available'
|
|
}
|