feat: add and optimize multiple multilingual language packs
1. 新增拼团、砍价、分销、支付、地址、账户等多业务场景的中英文本地化文案 2. 替换项目中硬编码的文本为多语言调用,统一前端页面文案展示 3. 新增多个业务组件的国际化语言配置文件
This commit is contained in:
27
lang/en-us/components/ns-birthday-gift.js
Normal file
27
lang/en-us/components/ns-birthday-gift.js
Normal 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',
|
||||
}
|
||||
}
|
||||
24
lang/en-us/components/ns-new-gift.js
Normal file
24
lang/en-us/components/ns-new-gift.js
Normal 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',
|
||||
}
|
||||
}
|
||||
16
lang/en-us/components/nsGoodsPromotion.js
Normal file
16
lang/en-us/components/nsGoodsPromotion.js
Normal 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}',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user