refactor(i18n): 扁平化所有国际化语言文件的翻译结构

移除多层嵌套的翻译对象,将所有翻译项直接挂载到顶层lang对象上,统一代码结构
This commit is contained in:
2026-07-03 16:36:28 +08:00
parent e4c9b7fd59
commit a27e3518da
22 changed files with 237 additions and 351 deletions

View File

@@ -1,11 +1,7 @@
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?',
},
},
// Risk warning
riskWarningTitle: 'Risk Warning',
// Confirm account cancellation
cancelAccountConfirm: 'Are you sure you want to cancel the current account?',
}