feat: add and optimize multilingual text resources
- 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
This commit is contained in:
22
lang/zh-cn/fenxiao/promote.js
Normal file
22
lang/zh-cn/fenxiao/promote.js
Normal file
@@ -0,0 +1,22 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '推广',
|
||||
|
||||
// 收益区域
|
||||
totalEarnings: '累计收益',
|
||||
currencyUnit: '元',
|
||||
|
||||
// Tab 标签
|
||||
invitedFriends: '已邀请好友',
|
||||
orderedFriends: '已下单好友',
|
||||
|
||||
// 空状态
|
||||
noInvitedFriends: '暂无已邀请好友,快去邀请吧',
|
||||
noActivityRules: '暂无活动规则',
|
||||
|
||||
// 按钮
|
||||
inviteFriends: '邀请好友',
|
||||
|
||||
// Toast 提示
|
||||
merchantNotOpenFenxiao: '商家未开启分销',
|
||||
}
|
||||
21
lang/zh-cn/fenxiao/relation.js
Normal file
21
lang/zh-cn/fenxiao/relation.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '',
|
||||
|
||||
// 订单状态
|
||||
statusRefunded: '已退款',
|
||||
statusSettled: '已结算',
|
||||
statusPendingSettlement: '待结算',
|
||||
|
||||
// 佣金相关
|
||||
earnPrefix: '返',
|
||||
|
||||
// 订单合计
|
||||
totalLabel: '合计:',
|
||||
|
||||
// 空状态
|
||||
noOrders: '暂无订单',
|
||||
|
||||
// 标题后缀
|
||||
orderSuffix: '订单'
|
||||
}
|
||||
19
lang/zh-cn/fenxiao/withdrawal_detail.js
Normal file
19
lang/zh-cn/fenxiao/withdrawal_detail.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: '提现详情',
|
||||
title: '',
|
||||
|
||||
// 详情标签
|
||||
withdrawalDetail: {
|
||||
currentStatus: '当前状态',
|
||||
transactionNo: '交易号',
|
||||
serviceFee: '手续费',
|
||||
applyTime: '申请时间',
|
||||
auditTime: '审核时间',
|
||||
bankName: '银行名称',
|
||||
receivingAccount: '收款账号',
|
||||
refuseReason: '拒绝理由',
|
||||
transferTypeName: '转账方式名称',
|
||||
transferTime: '转账时间',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user