1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块 2. 优化底部导航组件,使用多语言配置替代硬编码文案 3. 重构工具函数,新增从后端数据提取多语言文案的工具方法 4. 修复邀请好友页面的保存提示文案,替换为多语言版本 5. 修复商品SKU组件的提示文案,使用多语言配置 6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置 7. 优化空状态组件,支持多语言默认文案 8. 修复跳转逻辑,补全参数传递 9. 新增本地开发环境配置
58 lines
1.6 KiB
JavaScript
58 lines
1.6 KiB
JavaScript
export const lang = {
|
|
//title is the page title
|
|
title: 'Membership Card',
|
|
|
|
// Member info
|
|
validUntil: 'Valid until: ',
|
|
|
|
// Membership card description
|
|
enjoyDiscountAnd: 'can enjoy consumption discounts and',
|
|
memberGiftBenefits: 'member gift package benefits',
|
|
|
|
// Card type selection
|
|
cardTypeSelection: 'Card Type',
|
|
weekCardName: 'Weekly Card',
|
|
weekCardUnit: 'week',
|
|
monthCardName: 'Monthly Card',
|
|
monthCardUnit: 'month',
|
|
quarterCardName: 'Quarterly Card',
|
|
quarterCardUnit: 'quarter',
|
|
yearCardName: 'Annual Card',
|
|
yearCardUnit: 'year',
|
|
|
|
// Member benefits
|
|
memberBenefits: 'Member Benefits',
|
|
freeShipping: 'Free Shipping',
|
|
enjoyFreeShipping: 'Enjoy free shipping on all products',
|
|
consumptionDiscount: 'Consumption Discount',
|
|
enjoyDiscountOnSomeProducts: 'Enjoy {discount}% off on some products',
|
|
pointsReward: 'Points Reward',
|
|
earnPointsMultiplier: 'Earn {multiplier}x points on orders',
|
|
|
|
// Welcome gift
|
|
welcomeGift: 'Welcome Gift',
|
|
pointsGift: 'Points Gift',
|
|
giftPoints: '{points} points as gift',
|
|
redPacketGift: 'Red Packet Gift',
|
|
giftRedPacket: '{amount} yuan red packet as gift',
|
|
couponGift: 'Coupon Gift',
|
|
giftCoupons: '{count} coupons as gift',
|
|
|
|
// Action buttons
|
|
renewNow: 'Renew Now',
|
|
rechargeToActivate: 'Recharge to Activate',
|
|
activateNow: 'Activate Now',
|
|
|
|
// Agreement
|
|
purchaseAgreement: 'By purchasing, you agree to',
|
|
|
|
// Popup
|
|
cardDescription: 'Card Description',
|
|
|
|
// Empty data
|
|
noCardsAvailable: 'No membership cards available',
|
|
|
|
// Confirmation
|
|
cardOverrideConfirm: 'You have an unexpired membership card. Purchasing again will override your current card. Continue?',
|
|
}
|