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/en-us/fenxiao/promote.js
Normal file
22
lang/en-us/fenxiao/promote.js
Normal file
@@ -0,0 +1,22 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Promote',
|
||||
|
||||
// Earnings section
|
||||
totalEarnings: 'Total Earnings',
|
||||
currencyUnit: ' Yuan',
|
||||
|
||||
// Tab labels
|
||||
invitedFriends: 'Invited Friends',
|
||||
orderedFriends: 'Friends Who Ordered',
|
||||
|
||||
// Empty state
|
||||
noInvitedFriends: 'No invited friends yet, go invite some',
|
||||
noActivityRules: 'No activity rules',
|
||||
|
||||
// Buttons
|
||||
inviteFriends: 'Invite Friends',
|
||||
|
||||
// Toast messages
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
||||
}
|
||||
21
lang/en-us/fenxiao/relation.js
Normal file
21
lang/en-us/fenxiao/relation.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export const lang = {
|
||||
// title of each page
|
||||
title: '',
|
||||
|
||||
// Order status
|
||||
statusRefunded: 'Refunded',
|
||||
statusSettled: 'Settled',
|
||||
statusPendingSettlement: 'Pending Settlement',
|
||||
|
||||
// Commission related
|
||||
earnPrefix: 'Earn ',
|
||||
|
||||
// Order total
|
||||
totalLabel: 'Total: ',
|
||||
|
||||
// Empty state
|
||||
noOrders: 'No orders yet',
|
||||
|
||||
// Title suffix
|
||||
orderSuffix: ' Orders'
|
||||
}
|
||||
19
lang/en-us/fenxiao/withdrawal_detail.js
Normal file
19
lang/en-us/fenxiao/withdrawal_detail.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export const lang = {
|
||||
//title is the page title
|
||||
// title: 'Withdrawal Details',
|
||||
title: '',
|
||||
|
||||
// Detail labels
|
||||
withdrawalDetail: {
|
||||
currentStatus: 'Current Status',
|
||||
transactionNo: 'Transaction No.',
|
||||
serviceFee: 'Service Fee',
|
||||
applyTime: 'Apply Time',
|
||||
auditTime: 'Audit Time',
|
||||
bankName: 'Bank Name',
|
||||
receivingAccount: 'Receiving Account',
|
||||
refuseReason: 'Rejection Reason',
|
||||
transferTypeName: 'Transfer Method',
|
||||
transferTime: 'Transfer Time',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user