From 8a2fb353c61e0b7bd14bd76e8092f1e596b8ad13 Mon Sep 17 00:00:00 2001 From: Henry Li Date: Sat, 31 Jan 2026 22:49:59 +0800 Subject: [PATCH] fix: add translations --- .../src/components/workspace/settings/skill-settings-page.tsx | 2 +- frontend/src/core/i18n/locales/en-US.ts | 1 + frontend/src/core/i18n/locales/types.ts | 1 + frontend/src/core/i18n/locales/zh-CN.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/workspace/settings/skill-settings-page.tsx b/frontend/src/components/workspace/settings/skill-settings-page.tsx index 63f5017..cae4a8d 100644 --- a/frontend/src/components/workspace/settings/skill-settings-page.tsx +++ b/frontend/src/components/workspace/settings/skill-settings-page.tsx @@ -80,7 +80,7 @@ function SkillSettingsList({
diff --git a/frontend/src/core/i18n/locales/en-US.ts b/frontend/src/core/i18n/locales/en-US.ts index bd276d3..ebade4f 100644 --- a/frontend/src/core/i18n/locales/en-US.ts +++ b/frontend/src/core/i18n/locales/en-US.ts @@ -152,6 +152,7 @@ export const enUS: Translations = { title: "Agent Skills", description: "Manage the configuration and enabled status of the agent skills.", + createSkill: "Create skill", }, notification: { title: "Notification", diff --git a/frontend/src/core/i18n/locales/types.ts b/frontend/src/core/i18n/locales/types.ts index f1e9c76..245d67f 100644 --- a/frontend/src/core/i18n/locales/types.ts +++ b/frontend/src/core/i18n/locales/types.ts @@ -143,6 +143,7 @@ export interface Translations { skills: { title: string; description: string; + createSkill: string; }; notification: { title: string; diff --git a/frontend/src/core/i18n/locales/zh-CN.ts b/frontend/src/core/i18n/locales/zh-CN.ts index cf1ecfa..e16c0bd 100644 --- a/frontend/src/core/i18n/locales/zh-CN.ts +++ b/frontend/src/core/i18n/locales/zh-CN.ts @@ -147,6 +147,7 @@ export const zhCN: Translations = { skills: { title: "技能", description: "管理 Agent Skill 配置和启用状态。", + createSkill: "新建技能", }, notification: { title: "通知",