feat: 新增多语言文案并修复动态国际化调用问题
1. 新增多语言文件覆盖组件、页面、公共模块的翻译文案 2. 修复多处动态拼接lang key的调用,增加兜底逻辑避免空值或原始key暴露 3. 补全DIY组件、业务页面的国际化适配 4. 新增P2动态key国际化处理方案文档
This commit is contained in:
11
lang/en-us/member/public.js
Normal file
11
lang/en-us/member/public.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export const lang = {
|
||||
// member/public member common mixin
|
||||
member: {
|
||||
public: {
|
||||
// Risk warning
|
||||
riskWarningTitle: 'Risk Warning',
|
||||
// Confirm account cancellation
|
||||
cancelAccountConfirm: 'Are you sure you want to cancel the current account?',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user