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 component =====
nsBirthdayGift: {
// Title
birthdayGift: 'Birthday Gift',
// Blessing message
defaultBlessing: 'Thank you for your continued support. On your birthday, we send you our most sincere blessings!',
// Points
points: 'points',
pointDesc: 'Use for cash deduction or product exchange',
// Red packet
yuanRedPacket: ' yuan red packet',
nonWithdrawable: 'Non-withdrawable red packet',
withdrawable: 'Withdrawable red packet',
// Coupon
yuanCoupon: ' yuan coupon',
discount: '% off',
couponDesc: 'Use for cash deduction or product exchange',
// Action button
viewNow: 'View Now',
}
}

View File

@@ -0,0 +1,24 @@
export const lang = {
// ===== ns-new-gift component =====
nsNewGift: {
// Thank you hint - with activity name parameter
thankYouHint: 'Thank you for your continued support. As a token of appreciation, we offer the following benefits for our members during the {activityName} festival',
// Points
points: 'points',
pointDesc: 'Use for deduction when purchasing products in activities',
// Red packet
yuanRedPacket: ' yuan red packet',
nonWithdrawableDesc: 'Non-withdrawable red packet',
withdrawableDesc: 'Withdrawable red packet',
// Coupon
yuanCoupon: ' yuan coupon',
discount: '% off',
couponDesc: 'Use for cash deduction or product exchange when ordering',
// Action button
viewNow: 'View Now',
}
}

View File

@@ -0,0 +1,16 @@
export const lang = {
// ===== ns-goods-promotion component =====
'nsGoodsPromotion': {
// Promotion tags
discount: 'Limited Discount',
groupbuy: 'Group Buy',
pintuan: 'Group Bargain',
seckill: 'Flash Sale',
topic: 'Topic Event',
bargain: 'Bargain',
pinfan: 'Group Rebate',
// Title text
participatingTip: 'This product is participating in {promotionName}',
}
}