feat: 新增多语言文案并修复动态国际化调用问题
1. 新增多语言文件覆盖组件、页面、公共模块的翻译文案 2. 修复多处动态拼接lang key的调用,增加兜底逻辑避免空值或原始key暴露 3. 补全DIY组件、业务页面的国际化适配 4. 新增P2动态key国际化处理方案文档
This commit is contained in:
9
lang/zh-cn/components/ns-goods-sku.js
Normal file
9
lang/zh-cn/components/ns-goods-sku.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export const lang = {
|
||||
// ns-goods-sku 商品 SKU 组件
|
||||
components: {
|
||||
nsGoodsSku: {
|
||||
// 积分后缀: {point} 为积分数量占位符
|
||||
pointSuffix: '{point}积分',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user