feat: add and optimize multiple multilingual language packs

1. 新增拼团、砍价、分销、支付、地址、账户等多业务场景的中英文本地化文案
2. 替换项目中硬编码的文本为多语言调用,统一前端页面文案展示
3. 新增多个业务组件的国际化语言配置文件
This commit is contained in:
2026-06-26 10:17:33 +08:00
parent 066ca61d97
commit 66a579d48c
73 changed files with 1378 additions and 380 deletions

View File

@@ -0,0 +1,27 @@
export const lang = {
// ===== ns-birthday-gift 组件 =====
nsBirthdayGift: {
// 标题
birthdayGift: '生日贺礼',
// 祝福语
defaultBlessing: '感谢您一直以来的支持,在您生日到来之际,特为您送上最真诚的祝福!',
// 积分
points: '积分',
pointDesc: '用于下单时抵现或兑换商品等',
// 红包
yuanRedPacket: '元红包',
nonWithdrawable: '不可提现红包',
withdrawable: '可提现红包',
// 优惠券
yuanCoupon: '元优惠劵',
discount: '折',
couponDesc: '用于下单时抵现或兑换商品等',
// 操作按钮
viewNow: '立即查看',
}
}

View File

@@ -0,0 +1,24 @@
export const lang = {
// ===== ns-new-gift 组件 =====
nsNewGift: {
// 感谢语 - 带活动名参数
thankYouHint: '感谢您一直以来的支持,为回馈会员,商城{activityName}节日,为您提供以下福利',
// 积分
points: '积分',
pointDesc: '用于参与活动购买商品时抵扣',
// 红包
yuanRedPacket: '元红包',
nonWithdrawableDesc: '不可提现红包',
withdrawableDesc: '可提现红包',
// 优惠券
yuanCoupon: '元优惠劵',
discount: '折',
couponDesc: '用于下单时抵现或兑换商品等',
// 操作按钮
viewNow: '立即查看',
}
}

View File

@@ -0,0 +1,16 @@
export const lang = {
// ===== ns-goods-promotion 组件 =====
'nsGoodsPromotion': {
// 促销活动标签
discount: '限时折扣',
groupbuy: '团购',
pintuan: '拼团',
seckill: '秒杀',
topic: '专题活动',
bargain: '砍价',
pinfan: '拼团返利',
// 标题文案
participatingTip: '当前商品正在参加{promotionName}',
}
}