fix: add translations

This commit is contained in:
Henry Li
2026-01-31 22:49:59 +08:00
parent ca83ed00f8
commit f5b1412ac0
4 changed files with 4 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ function SkillSettingsList({
</div> </div>
<div> <div>
<Button variant="outline" size="sm" onClick={handleCreateSkill}> <Button variant="outline" size="sm" onClick={handleCreateSkill}>
Create Skill {t.settings.skills.createSkill}
</Button> </Button>
</div> </div>
</header> </header>

View File

@@ -152,6 +152,7 @@ export const enUS: Translations = {
title: "Agent Skills", title: "Agent Skills",
description: description:
"Manage the configuration and enabled status of the agent skills.", "Manage the configuration and enabled status of the agent skills.",
createSkill: "Create skill",
}, },
notification: { notification: {
title: "Notification", title: "Notification",

View File

@@ -143,6 +143,7 @@ export interface Translations {
skills: { skills: {
title: string; title: string;
description: string; description: string;
createSkill: string;
}; };
notification: { notification: {
title: string; title: string;

View File

@@ -147,6 +147,7 @@ export const zhCN: Translations = {
skills: { skills: {
title: "技能", title: "技能",
description: "管理 Agent Skill 配置和启用状态。", description: "管理 Agent Skill 配置和启用状态。",
createSkill: "新建技能",
}, },
notification: { notification: {
title: "通知", title: "通知",