diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 69412eb..6eeda41 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -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: { diff --git a/src/locales/types.ts b/src/locales/types.ts index 16dd24f..f8f9405 100644 --- a/src/locales/types.ts +++ b/src/locales/types.ts @@ -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; diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index e549627..a80a525 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -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: {