refactor: 完成多语言国际化全量替换与补充
1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案 2. 替换硬编码文本为多语言调用,统一全局文案管理 3. 优化语言包结构,拆分公共模块与业务模块 4. 修复部分语言加载与国际化适配问题
This commit is contained in:
14
lang/en-us/components-diy/diy-index-page.js
Normal file
14
lang/en-us/components-diy/diy-index-page.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export const lang = {
|
||||
'components-diy': {
|
||||
diyIndexPage: {
|
||||
// Home (default category name)
|
||||
home: 'Home',
|
||||
// Sales text: Sold X units
|
||||
soldCount: 'Sold {count}{unit}',
|
||||
// Sales unit: piece
|
||||
soldUnit: 'pcs',
|
||||
// Empty state prompt when no goods in category
|
||||
noGoodsInCategory: 'No goods in this category',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user