refactor(i18n): 扁平化多语言文件结构,移除嵌套的components对象

统一调整所有组件级多语言配置,将原有的components.[componentName]嵌套结构改为直接顶层键值对,简化语言包的调用层级
This commit is contained in:
2026-06-30 16:53:53 +08:00
parent eef59211d3
commit 4adaa945a1
20 changed files with 141 additions and 223 deletions

View File

@@ -1,22 +1,18 @@
export const lang = {
// mescroll 下拉刷新/上拉加载组件
components: {
mescroll: {
// 下拉刷新提示文本
down: {
textInOffset: '下拉刷新',
textOutOffset: '释放更新',
textLoading: '加载中 ...',
},
// 上拉加载提示文本
up: {
textLoading: '加载中 ...',
textNoMore: '-- END --',
},
// 空布局提示
empty: {
tip: '~ 暂无相关数据 ~',
},
},
// 下拉刷新提示文本
down: {
textInOffset: '下拉刷新',
textOutOffset: '释放更新',
textLoading: '加载中 ...',
},
// 上拉加载提示文本
up: {
textLoading: '加载中 ...',
textNoMore: '-- END --',
},
// 空布局提示
empty: {
tip: '~ 暂无相关数据 ~',
},
}