diff --git a/frontend/src/components/workspace/settings/skill-settings-page.tsx b/frontend/src/components/workspace/settings/skill-settings-page.tsx index 7d95f99f1..014770d7a 100644 --- a/frontend/src/components/workspace/settings/skill-settings-page.tsx +++ b/frontend/src/components/workspace/settings/skill-settings-page.tsx @@ -35,7 +35,7 @@ export function SkillSettingsPage() { description={t.settings.skills.description} > {isLoading ? ( -
Loading...
+
{t.common.loading}
) : error ? (
Error: {error.message}
) : ( diff --git a/frontend/src/components/workspace/settings/tool-settings-page.tsx b/frontend/src/components/workspace/settings/tool-settings-page.tsx index b61609271..dd3cd0d9d 100644 --- a/frontend/src/components/workspace/settings/tool-settings-page.tsx +++ b/frontend/src/components/workspace/settings/tool-settings-page.tsx @@ -24,7 +24,7 @@ export function ToolSettingsPage() { description={t.settings.tools.description} > {isLoading ? ( -
Loading...
+
{t.common.loading}
) : error ? (
Error: {error.message}
) : ( diff --git a/frontend/src/core/i18n/locales/en-US.ts b/frontend/src/core/i18n/locales/en-US.ts index 7fc04801d..5807aa935 100644 --- a/frontend/src/core/i18n/locales/en-US.ts +++ b/frontend/src/core/i18n/locales/en-US.ts @@ -21,6 +21,7 @@ export const enUS: Translations = { public: "Public", custom: "Custom", notAvailableInDemoMode: "Not available in demo mode", + loading: "Loading...", }, // Welcome diff --git a/frontend/src/core/i18n/locales/types.ts b/frontend/src/core/i18n/locales/types.ts index b70ccd237..dbdbb574c 100644 --- a/frontend/src/core/i18n/locales/types.ts +++ b/frontend/src/core/i18n/locales/types.ts @@ -19,6 +19,7 @@ export interface Translations { public: string; custom: string; notAvailableInDemoMode: string; + loading: string; }; // Welcome diff --git a/frontend/src/core/i18n/locales/zh-CN.ts b/frontend/src/core/i18n/locales/zh-CN.ts index 4c6d0a826..000fd92cf 100644 --- a/frontend/src/core/i18n/locales/zh-CN.ts +++ b/frontend/src/core/i18n/locales/zh-CN.ts @@ -21,6 +21,7 @@ export const zhCN: Translations = { public: "公共", custom: "自定义", notAvailableInDemoMode: "在演示模式下不可用", + loading: "加载中...", }, // Welcome