feat(projects): add menu translate [翻译菜单]

This commit is contained in:
Soybean
2023-05-13 14:20:06 +08:00
parent 85b8ef8f88
commit f68285fbe5
12 changed files with 244 additions and 8 deletions

View File

@ -303,6 +303,7 @@ declare namespace App {
declare namespace I18nType {
type langType = 'en' | 'zh-CN';
interface Schema {
system: {
title: string;
@ -313,9 +314,73 @@ declare namespace I18nType {
analysis: string;
workbench: string;
};
about: {
about: string;
document: {
_value: string;
vue: string;
vite: string;
naive: string;
project: string;
'project-link': string;
};
component: {
_value: string;
button: string;
card: string;
table: string;
};
plugin: {
_value: string;
charts: {
_value: string;
antv: string;
echarts: string;
};
copy: string;
editor: {
_value: string;
markdown: string;
quill: string;
};
icon: string;
map: string;
print: string;
swiper: string;
video: string;
};
'auth-demo': {
_value: string;
permission: string;
super: string;
};
function: {
_value: string;
tab: string;
};
exception: {
_value: string;
403: string;
404: string;
500: string;
};
'multi-menu': {
_value: string;
first: {
_value: string;
second: string;
'second-new': {
_value: string;
third: string;
};
};
};
management: {
_value: string;
auth: string;
role: string;
route: string;
user: string;
};
about: string;
};
}
}