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

172 lines
4.6 KiB
JavaScript

export const lang = {
//title为每个页面的标题
title: '确认订单',
// ====== 虚拟商品区 ======
virtual: {
tips: '购买虚拟类商品需填写手机号,方便商家与您联系',
mobile: '手机号码',
mobilePlaceholder: '请输入您的手机号码'
},
// ====== 地址区 ======
address: {
setAddress: '请设置收货地址',
deliveryTime: '送达时间',
selectDeliveryTime: '请选择送达时间'
},
// ====== 本地配送区 ======
localDelivery: {
providedBy: '由',
deliveredBy: '提供配送',
switchStore: '点击切换',
noStoreNearby: '您的附近没有可配送的门店,请选择其他配送方式'
},
// ====== 门店自提区 ======
store: {
businessHours: '营业时间:',
name: '姓名',
reservedMobile: '预留手机',
pickupTime: '提货时间',
noPickupStore: '当前无自提门店,请选择其它配送方式',
address: '地址:'
},
// ====== 门店列表弹窗 ======
storePopup: {
title: '已为您甄选出附近所有相关门店',
businessHours: '营业时间:',
address: '地址:',
noStoreNearby: '所选择收货地址附近没有可以自提的门店'
},
// ====== 商品区 ======
goods: {
notSupportDeliveryType: '该商品不支持{deliveryType}'
},
// ====== 订单金额区 ======
orderMoney: {
buyerMessage: '买家留言',
noMessage: '无留言',
coupon: '优惠券',
couponSelected: '已选择{count}张优惠券',
noCoupon: '不使用优惠券',
totalItems: '共{count}件',
subtotal: '小计:',
goodsAmount: '商品金额',
shippingFee: '运费',
discount: '优惠',
pointsDeduction: '积分抵扣'
},
// ====== 会员卡区 ======
memberCard: {
activate: '开通',
expectedSave: '本单预计可省',
yuan: '元',
weekCard: '周卡',
week: '周',
monthCard: '月卡',
month: '月',
quarterCard: '季卡',
quarter: '季',
yearCard: '年卡',
year: '年'
},
// ====== 交易协议区 ======
agreement: {
tipPrefix: '购买前请先阅读',
tipSuffix: ',下单即代表同意该协议'
},
// ====== 底部结算区 ======
settlement: {
totalItems: '共{count}件',
total: '合计:',
submitOrder: '提交订单'
},
// ====== 活动优惠弹窗 ======
promotionPopup: {
title: '活动优惠',
confirm: '确定'
},
// ====== 满减送活动描述 ======
promotion: {
title: '满减送',
yuan: '元',
piece: '件',
points: '积分',
manjianFirst: '购买可享受满{limit}{unit}减{money}元',
manjianMore: ';满{limit}{unit}减{money}元',
couponDiscountFirst: '送{num}张{discount}折优惠券',
couponDiscountMore: '、送{num}张{discount}折优惠券',
couponMoneyFirst: '送{num}张{money}元优惠券',
couponMoneyMore: '、送{num}张{money}元优惠券',
mansongFirst: '购物满{limit}{unit}{text}',
mansongMore: ';满{limit}{unit}{text}',
pointGain: '可得{point}积分',
pointFirst: '购物满{limit}{unit}{pointText}',
pointMore: ';满{limit}{unit}{pointText}',
freeShipping: '购物满{limit}{unit}包邮'
},
// ====== 买家留言弹窗 ======
buyerMessagePopup: {
title: '买家留言',
placeholder: '留言前建议先与商家协调一致',
confirm: '确定'
},
// ====== 优惠券弹窗 ======
couponPopup: {
title: '优惠券',
discount: '折',
minSpend: '满{amount}可用',
noThreshold: '无门槛',
maxDiscount: '最多可抵¥{amount}',
validPeriod: '有效期:',
permanentValid: '长期有效',
noAvailableCoupon: '暂无可用的优惠券',
confirm: '确定'
},
// ====== 表单修改弹窗 ======
formPopup: {
title: '买家信息',
confirm: '确定'
},
// ====== 次卡选择弹窗 ======
memberCardPopup: {
title: '选择次卡',
unlimited: '不限次数',
remaining: '剩余{count}次',
permanentValid: '长期有效',
confirm: '确定'
},
// ====== 验证提示 ======
toast: {
enterReservedMobile: '请输入预留手机',
enterValidMobile: '请输入正确的手机号',
noDeliveryMethod: '商家未设置配送方式',
selectAddressFirst: '请先选择您的收货地址',
noPickupStore: '没有可提货的门店,请选择其他配送方式',
selectPickupTime: '请选择提货时间',
noDeliveryStore: '没有可配送的门店,请选择其他配送方式',
selectDeliveryTime: '请选择送达时间',
enterInvoiceTitle: '请填写发票抬头',
enterTaxpayerNumber: '请填写纳税人识别号',
enterInvoiceAddress: '请填写发票邮寄地址',
enterEmail: '请填写邮箱',
enterValidEmail: '请填写正确的邮箱',
selectInvoiceContent: '请选择发票内容'
}
}