feat: 新增多语言文案并修复动态国际化调用问题
1. 新增多语言文件覆盖组件、页面、公共模块的翻译文案 2. 修复多处动态拼接lang key的调用,增加兜底逻辑避免空值或原始key暴露 3. 补全DIY组件、业务页面的国际化适配 4. 新增P2动态key国际化处理方案文档
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Agreement',
|
||||
// agreement/contenr.vue page new translation items
|
||||
agreement: {
|
||||
// No content
|
||||
noContent: 'No content',
|
||||
// This agreement content has not been set
|
||||
noContentDesc: 'This agreement content has not been set',
|
||||
// Reload
|
||||
reload: 'Reload',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user