本次提交完成了大量多语言相关的新增与优化工作: 1. 新增充值、案例、会员资产、订单等页面的中文/英文翻译文案 2. 新增企业微信客服、时间选择、支付弹窗等组件的多语言包 3. 优化工具函数与自定义页面的多语言适配,替换硬编码提示文案 4. 新增会员等级规则、积分商品、退款管理等页面的国际化支持 5. 修复企业微信JS-SDK的错误提示文案硬编码问题
61 lines
1.9 KiB
JavaScript
61 lines
1.9 KiB
JavaScript
export const lang = {
|
|
//title is the title of each page
|
|
title: 'Member Level',
|
|
defaultLevelTips: 'You are already the highest level member!',
|
|
tag: 'Exclusive Tag',
|
|
tagDesc: 'Tag Expert',
|
|
discount: 'Exclusive Discount',
|
|
discountDesc: 'Exclusive {0}% Off',
|
|
service: 'Premium Service',
|
|
serviceDesc: '360-degree comprehensive',
|
|
memberLevel: 'Member Level',
|
|
condition: 'Condition',
|
|
equity: 'Benefits',
|
|
giftPackage: 'Upgrade Gift Pack',
|
|
levelExplain: 'Level Explanation',
|
|
upgradeTips: 'Upgrade membership to enjoy exclusive benefits',
|
|
// Current level label
|
|
currentLevelLabel: 'Current Level: ',
|
|
// Growth rules
|
|
growthRules: 'Growth Rules',
|
|
// Current level tag
|
|
currentLevelTag: 'Current Level',
|
|
// Current growth value
|
|
currentGrowthValue: 'Current Growth',
|
|
// Next level progress tip
|
|
growthToNextLevel: 'Earn {needGrowth} more growth points to become {levelName}',
|
|
// Max level reached
|
|
maxLevelReached: 'You have reached the highest level',
|
|
// Member benefits
|
|
memberBenefits: 'Member Benefits',
|
|
// Free shipping
|
|
freeShipping: 'Free Shipping',
|
|
freeShippingDesc: 'Free shipping on all products',
|
|
// Consumption discount
|
|
consumptionDiscount: 'Consumption Discount',
|
|
noDiscountDesc: 'No consumption discount or other benefits',
|
|
discountDescWithValue: 'Enjoy {discount}% consumption discount',
|
|
// Points reward
|
|
pointsReward: 'Points Reward',
|
|
pointsRewardDesc: 'Earn {multiplier}x points multiplier',
|
|
// Member gift pack
|
|
memberGift: 'Member Gift Pack',
|
|
// Points gift
|
|
pointsGift: 'Points Gift',
|
|
giftPoints: 'Gift: {points} points',
|
|
// Red packet gift
|
|
redPacketGift: 'Red Packet Gift',
|
|
giftRedPacket: 'Gift: {amount} yuan red packet',
|
|
// Coupon gift
|
|
couponGift: 'Coupon Gift',
|
|
giftCoupons: 'Gift: {count} coupons',
|
|
// Coupon popup
|
|
coupons: 'Coupons',
|
|
// Currency unit
|
|
yuan: ' yuan',
|
|
// Discount unit
|
|
zhe: '% off',
|
|
// Loading tip
|
|
navigatingToDetail: 'Navigating to detail page'
|
|
}
|