feat(i18n): 添加构件详情和显示全部的国际化文本

This commit is contained in:
yuding
2026-01-28 12:02:14 +08:00
parent 89789e003b
commit a61c7f45d1
3 changed files with 17 additions and 2 deletions

View File

@@ -34,6 +34,8 @@ export const enUS: TranslationDictionary = {
menu: {
info: 'Info',
home: 'Home',
componentDetail: 'Component Detail',
showAll: 'Show All'
},
tree: {
searchPlaceholder: 'Please enter content to search',
@@ -56,6 +58,9 @@ export const enUS: TranslationDictionary = {
props: 'Properties',
material: 'Material'
}
},
componentDetail: {
title: 'Component Detail'
}
},
measure: {

View File

@@ -40,7 +40,10 @@ export interface TranslationDictionary {
props: string;
material: string;
}
}
};
componentDetail: {
title: string;
};
};
dialog: {
testTitle: string;
@@ -49,6 +52,8 @@ export interface TranslationDictionary {
menu: {
info: string;
home: string;
componentDetail: string;
showAll: string;
};
tree: {
searchPlaceholder: string;

View File

@@ -33,7 +33,9 @@ export const zhCN: TranslationDictionary = {
},
menu: {
info: '信息',
home: '首页'
home: '首页',
componentDetail: '构件详情',
showAll: '显示全部'
},
tree: {
searchPlaceholder: '请输入要搜索的内容',
@@ -56,6 +58,9 @@ export const zhCN: TranslationDictionary = {
props: '属性',
material: '材质'
}
},
componentDetail: {
title: '构件详情'
}
},
measure: {