From a61c7f45d108ea5af2a62160a6f79060ca3ce3fe Mon Sep 17 00:00:00 2001 From: yuding <1023798085@qq.com> Date: Wed, 28 Jan 2026 12:02:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(i18n):=20=E6=B7=BB=E5=8A=A0=E6=9E=84?= =?UTF-8?q?=E4=BB=B6=E8=AF=A6=E6=83=85=E5=92=8C=E6=98=BE=E7=A4=BA=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E7=9A=84=E5=9B=BD=E9=99=85=E5=8C=96=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en-US.ts | 5 +++++ src/locales/types.ts | 7 ++++++- src/locales/zh-CN.ts | 7 ++++++- 3 files changed, 17 insertions(+), 2 deletions(-) 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: {