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,16 +1,10 @@
export const lang = {
//title为每个页面的标题
title: 'Bill',
// fenxiao/bill.vue page new translation items
fenxiao: {
// Bill
bill: {
// Bill number prefix
billNoPrefix: 'Bill No.:',
// No bill information
noBill: 'No bill information',
// Distribution is not enabled by merchant
addonClosed: 'Distribution is not enabled by merchant',
},
},
// Bill number prefix
billNoPrefix: 'Bill No.:',
// No bill information
noBill: 'No bill information',
// Distribution is not enabled by merchant
addonClosed: 'Distribution is not enabled by merchant',
}