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:
2026-06-26 13:49:26 +08:00
parent 66a579d48c
commit f7fb9f34f9
116 changed files with 1640 additions and 525 deletions

View 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',
}

View 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'
}

View 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',
},
}