refactor: 完成多语言国际化全量替换与补充
1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案 2. 替换硬编码文本为多语言调用,统一全局文案管理 3. 优化语言包结构,拆分公共模块与业务模块 4. 修复部分语言加载与国际化适配问题
This commit is contained in:
14
lang/zh-cn/components-diy/diy-index-page.js
Normal file
14
lang/zh-cn/components-diy/diy-index-page.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export const lang = {
|
||||
'components-diy': {
|
||||
diyIndexPage: {
|
||||
// 首页(默认分类名称)
|
||||
home: '首页',
|
||||
// 销量文案:已售X件
|
||||
soldCount: '已售{count}{unit}',
|
||||
// 销量单位:件
|
||||
soldUnit: '件',
|
||||
// 分类下无商品的空状态提示
|
||||
noGoodsInCategory: '该分类下暂无商品',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user