refactor: 完成多语言国际化全量替换与补充
1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案 2. 替换硬编码文本为多语言调用,统一全局文案管理 3. 优化语言包结构,拆分公共模块与业务模块 4. 修复部分语言加载与国际化适配问题
This commit is contained in:
@@ -1,17 +1,27 @@
|
||||
export const lang = {
|
||||
// page title
|
||||
title: 'Search Results',
|
||||
|
||||
// action buttons
|
||||
exportImage: 'Export Image',
|
||||
exportPdf: 'Export PDF',
|
||||
// Seal detail
|
||||
seal: {
|
||||
medium: {
|
||||
detail: {
|
||||
// Page title
|
||||
title: 'Seal Details',
|
||||
// Export image
|
||||
exportImage: 'Export Image',
|
||||
// Export PDF
|
||||
exportPdf: 'Export PDF',
|
||||
// Loading
|
||||
loading: 'Loading',
|
||||
// File does not exist
|
||||
fileNotExist: 'File does not exist',
|
||||
// Save success
|
||||
saveSuccess: 'Saved successfully',
|
||||
// Save failed
|
||||
saveFailed: 'Save failed',
|
||||
// Download failed
|
||||
downloadFailed: 'Download failed',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// loading tips
|
||||
loading: 'Loading',
|
||||
|
||||
// toast messages
|
||||
fileNotExist: 'File does not exist',
|
||||
saveSuccess: 'Saved successfully',
|
||||
saveFailed: 'Save failed, please try again later',
|
||||
downloadFailed: 'Download failed',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user