refactor: 完成多语言国际化全量替换与补充
1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案 2. 替换硬编码文本为多语言调用,统一全局文案管理 3. 优化语言包结构,拆分公共模块与业务模块 4. 修复部分语言加载与国际化适配问题
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Article Details'
|
||||
}
|
||||
title: 'Article Details',
|
||||
// publish time label
|
||||
publishTime: 'Published:',
|
||||
// read count label
|
||||
readCount: 'Views: ',
|
||||
// liked suffix (count + people liked)
|
||||
likedSuffix: ' likes'
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
//title is the title of each page
|
||||
title: 'Article List',
|
||||
emptyText: "No article information available currently"
|
||||
}
|
||||
emptyText: 'No articles'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user