1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块 2. 优化底部导航组件,使用多语言配置替代硬编码文案 3. 重构工具函数,新增从后端数据提取多语言文案的工具方法 4. 修复邀请好友页面的保存提示文案,替换为多语言版本 5. 修复商品SKU组件的提示文案,使用多语言配置 6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置 7. 优化空状态组件,支持多语言默认文案 8. 修复跳转逻辑,补全参数传递 9. 新增本地开发环境配置
50 lines
2.1 KiB
JavaScript
50 lines
2.1 KiB
JavaScript
export const lang = {
|
|
//title为每个页面的标题
|
|
// title: 'Distributor Level',
|
|
title: '',
|
|
|
|
// 页面标题后缀
|
|
levelSuffix: 'Level',
|
|
|
|
// 分佣比率
|
|
firstLevelCommissionRate: 'First Level Commission Rate',
|
|
secondLevelCommissionRate: 'Second Level Commission Rate',
|
|
thirdLevelCommissionRate: 'Third Level Commission Rate',
|
|
|
|
// 升级任务
|
|
quickUpgradeTips: 'Quick Upgrade Tips',
|
|
completed: 'Completed',
|
|
incomplete: 'Incomplete',
|
|
|
|
// 提示弹窗
|
|
tip: 'Tip',
|
|
anyConditionUpgrade: 'Upgrade when any condition is met',
|
|
allConditionsUpgrade: 'All conditions must be met to upgrade',
|
|
|
|
// Toast 提示
|
|
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
|
|
|
// 升级任务 - 下级消费
|
|
subordinateConsumption: 'Subordinate Consumption',
|
|
subordinateOrderCount: '{count} subordinate orders required',
|
|
subordinateOrderCountTip: 'The number of orders placed by the distributor and their direct referrals reaches {count}',
|
|
subordinateOrderAmount: 'Subordinate order amount reaches {amount} yuan',
|
|
subordinateOrderAmountTip: 'The total order amount from the distributor and their direct referrals reaches {amount} yuan',
|
|
subordinateCommissionAmount: 'Commission from subordinate consumption reaches {amount} yuan',
|
|
subordinateCommissionAmountTip: 'The total commission from orders of the distributor and their direct referrals reaches {amount} yuan',
|
|
|
|
// 升级任务 - 自身消费
|
|
selfConsumption: 'Self Consumption',
|
|
selfOrderCount: '{count} self orders required',
|
|
selfOrderCountTip: 'The number of orders placed by the distributor reaches {count}',
|
|
selfOrderAmount: 'Self order amount reaches {amount} yuan',
|
|
selfOrderAmountTip: 'The total order amount from the distributor reaches {amount} yuan',
|
|
|
|
// 升级任务 - 邀请好友
|
|
inviteFriends: 'Invite Friends',
|
|
inviteFriendCount: 'Invite {count} friends',
|
|
inviteFriendCountTip: 'The number of direct subordinate members reaches {count} (including those who have applied to become distributors)',
|
|
inviteFenxiaoCount: 'Invite {count} friends to become distributors',
|
|
inviteFenxiaoCountTip: 'The number of direct subordinate distributors reaches {count}',
|
|
}
|