feat: 新增多语言文案与组件国际化适配
本次提交完成了大量多语言相关的新增与优化工作: 1. 新增充值、案例、会员资产、订单等页面的中文/英文翻译文案 2. 新增企业微信客服、时间选择、支付弹窗等组件的多语言包 3. 优化工具函数与自定义页面的多语言适配,替换硬编码提示文案 4. 新增会员等级规则、积分商品、退款管理等页面的国际化支持 5. 修复企业微信JS-SDK的错误提示文案硬编码问题
This commit is contained in:
25
lang/zh-cn/components/ns-select-time.js
Normal file
25
lang/zh-cn/components/ns-select-time.js
Normal file
@@ -0,0 +1,25 @@
|
||||
export const lang = {
|
||||
// ===== ns-select-time 组件 =====
|
||||
'nsSelectTime': {
|
||||
// 弹窗标题
|
||||
selectDeliveryTime: '选择送达时间',
|
||||
selectPickupTime: '选择自提时间',
|
||||
|
||||
// 日期标签
|
||||
today: '今天',
|
||||
tomorrow: '明天',
|
||||
|
||||
// 星期名称(按周日到周六顺序,索引 0-6 对应 getDay() 返回值)
|
||||
sunday: '周日',
|
||||
monday: '周一',
|
||||
tuesday: '周二',
|
||||
wednesday: '周三',
|
||||
thursday: '周四',
|
||||
friday: '周五',
|
||||
saturday: '周六',
|
||||
|
||||
// 立即配送前后缀(用于拼接时间范围,如"立即配送(09:00-10:00)")
|
||||
immediateDeliveryPrefix: '立即配送(',
|
||||
immediateDeliverySuffix: ')',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user