perf(projects): complete dynamic route translate [补充动态路由的翻译]

This commit is contained in:
Soybean
2023-05-24 23:16:37 +08:00
parent b7fea53107
commit 7b746fa053
9 changed files with 154 additions and 18 deletions

View File

@ -7,7 +7,7 @@ const locale: LocaleMessages<I18nType.Schema> = {
},
routes: {
dashboard: {
dashboard: 'Dashboard',
_value: 'Dashboard',
analysis: 'Analysis',
workbench: 'Workbench'
},

View File

@ -5,7 +5,7 @@ import kmKH from './km-KH';
const locales = {
'zh-CN': zhCN,
en,
'km-KH': kmKH,
'km-KH': kmKH
};
export type LocaleKey = keyof typeof locales;

View File

@ -7,7 +7,7 @@ const locale: LocaleMessages<I18nType.Schema> = {
},
routes: {
dashboard: {
dashboard: 'ផ្ទាំងទិន្នន័យ',
_value: 'ផ្ទាំងទិន្នន័យ',
analysis: 'ផ្ទាំងវិភាគ',
workbench: 'ផ្ទាំងការងារ'
},

View File

@ -7,7 +7,7 @@ const locale: LocaleMessages<I18nType.Schema> = {
},
routes: {
dashboard: {
dashboard: '仪表盘',
_value: '仪表盘',
analysis: '分析页',
workbench: '工作台'
},