feat: 新增多语言文案并修复动态国际化调用问题
1. 新增多语言文件覆盖组件、页面、公共模块的翻译文案 2. 修复多处动态拼接lang key的调用,增加兜底逻辑避免空值或原始key暴露 3. 补全DIY组件、业务页面的国际化适配 4. 新增P2动态key国际化处理方案文档
This commit is contained in:
@@ -262,4 +262,17 @@ export const lang = {
|
||||
locationParamFormatError: 'Invalid location parameter format',
|
||||
keyCannotBeEmpty: 'Key cannot be empty',
|
||||
},
|
||||
|
||||
// Common JS text
|
||||
auth: {
|
||||
miniProgramConfigError: 'Mini program configuration error',
|
||||
},
|
||||
|
||||
map: {
|
||||
openMapFailed: 'Failed to open map, please try again later',
|
||||
},
|
||||
|
||||
unit: {
|
||||
piece: 'pc',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user