Files
lucky_shop/lang/en-us/goods/coupon_receive.js
ZF sun 066ca61d97 feat: 新增多语言文案与组件国际化适配
本次提交完成了大量多语言相关的新增与优化工作:
1. 新增充值、案例、会员资产、订单等页面的中文/英文翻译文案
2. 新增企业微信客服、时间选择、支付弹窗等组件的多语言包
3. 优化工具函数与自定义页面的多语言适配,替换硬编码提示文案
4. 新增会员等级规则、积分商品、退款管理等页面的国际化支持
5. 修复企业微信JS-SDK的错误提示文案硬编码问题
2026-06-26 09:09:46 +08:00

48 lines
1.8 KiB
JavaScript

export const lang = {
//title is the title of each page
title: 'Receive Coupon',
// ====== Coupon Info ======
// Discount display: {discount} off
discountText: '{discount}% off',
// Minimum spend condition: Spend {atLeast} yuan to use
minSpendUsage: 'Spend {atLeast} yuan to use',
// No threshold coupon
noThresholdCoupon: 'No threshold coupon',
// Valid until: Valid until {endTime}
validUntil: 'Valid until {endTime}',
// Valid for N days after receipt: Valid for {fixedTerm} days after receipt
validDaysAfterReceive: 'Valid for {fixedTerm} days after receipt',
// Long-term valid
longTermValid: 'Long-term valid',
// Applicable stores: Applicable stores: {storeName}
applicableStores: 'Applicable stores: {storeName}',
// Scan QR code share tip
scanShareTip: 'Note: Scan QR code or click top-right to share',
// ====== Button Text ======
receive: 'Receive',
// Coupon sold out
couponSoldOut: 'Sorry, this coupon has been fully claimed!',
// Activity ended
activityEnded: 'This coupon activity has ended!',
// Activity closed
activityClosed: 'This coupon activity has been closed',
// Receive limit reached
receiveLimitReached: 'Coupon receive limit reached!',
// ====== Toast Messages ======
// Merchant not enabled coupons
merchantNotEnabled: 'Merchant has not enabled coupons',
// Receive success
receiveSuccess: 'Successfully received',
// ====== Share Text ======
// Congrats money coupon: Congratulations, you got a {money} yuan coupon
congratsMoneyCoupon: 'Congratulations, you got a {money} yuan coupon',
// Congrats discount coupon: Congratulations, you got a {discount}% off coupon
congratsDiscountCoupon: 'Congratulations, you got a {discount}% off coupon',
// Minimum spend available: Available with {atLeast} yuan spend
minSpendAvailable: 'Available with {atLeast} yuan spend'
}