The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): localize Bots pane label
KoNit-K25f6ef421b7f
diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.tsindex 95e4f98287b..5c28ebd392e 100644--- a/apps/desktop/src/i18n/ar.ts+++ b/apps/desktop/src/i18n/ar.ts@@ -71,6 +71,7 @@ export const ar = defineLocale({connect: 'اتصال',connecting: 'جار الاتصال',continue: 'متابعة',+ bots: 'الروبوتات',copied: 'تم النسخ',copy: 'نسخ',copyFailed: 'فشل النسخ',diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex d9dc0f9e193..55b4ddab2d6 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -85,6 +85,7 @@ export const en: Translations = {connect: 'Connect',connecting: 'Connecting',continue: 'Continue',+ bots: 'Bots',copied: 'Copied',copy: 'Copy',copyFailed: 'Copy failed',diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.tsindex fe6f8fff6a1..5688ddf44b9 100644--- a/apps/desktop/src/i18n/ja.ts+++ b/apps/desktop/src/i18n/ja.ts@@ -51,6 +51,7 @@ export const ja = defineLocale({connect: '接続',connecting: '接続中',continue: '続ける',+ bots: 'ボット',copied: 'コピーしました',copy: 'コピー',copyFailed: 'コピーに失敗しました',diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.tsindex 9c600590ca2..57101c8bccf 100644--- a/apps/desktop/src/i18n/ru.ts+++ b/apps/desktop/src/i18n/ru.ts@@ -73,6 +73,7 @@ export const ru = defineLocale({connect: 'Подключить',connecting: 'Подключение',continue: 'Продолжить',+ bots: 'Боты',copied: 'Скопировано',copy: 'Копировать',copyFailed: 'Не удалось скопировать',@@ -1460,6 +1461,7 @@ export const ru = defineLocale({fallbackAdd: 'Добавить запасную',fallbackEmpty: 'Запасных моделей нет — используется модель по умолчанию, если она не падает.',notInCatalog: 'нет в списке моделей этого провайдера — вызовы могут уходить на запасную.',+ moaTitle: 'Смесь агентов',tasks: {vision: { label: 'Зрение', hint: 'Анализ изображений' },web_extract: { label: 'Веб-извлечение', hint: 'Суммаризация страниц' },diff --git a/apps/desktop/src/i18n/runtime.test.ts b/apps/desktop/src/i18n/runtime.test.tsindex dcf743dc5a6..e6db4f2c6db 100644--- a/apps/desktop/src/i18n/runtime.test.ts+++ b/apps/desktop/src/i18n/runtime.test.ts@@ -52,6 +52,13 @@ describe('desktop i18n runtime translator', () => {)})+ it('translates Russian model and Bot Mode labels', () => {+ setRuntimeI18nLocale('ru')++ expect(translateNow('settings.model.moaTitle')).toBe('Смесь агентов')+ expect(translateNow('common.bots')).toBe('Боты')+ })+it('keeps translated settings field copy addressable from schema keys', () => {const field = ['display', 'show_reasoning'].join('.')diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.tsindex c9f507570ab..8ce9c42e2b3 100644--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@ -139,6 +139,7 @@ export interface Translations {connect: stringconnecting: stringcontinue: string+ bots: stringcopied: stringcopy: stringcopyFailed: stringdiff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.tsindex 6ea1c64ed88..1acdb95bc4e 100644--- a/apps/desktop/src/i18n/zh-hant.ts+++ b/apps/desktop/src/i18n/zh-hant.ts@@ -51,6 +51,7 @@ export const zhHant = defineLocale({connect: '連線',connecting: '連線中',continue: '繼續',+ bots: '機器人',copied: '已複製',copy: '複製',copyFailed: '複製失敗',diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex f2685a08132..e1ea38abf38 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -79,6 +79,7 @@ export const zh = defineLocale({connect: '连接',connecting: '连接中',continue: '继续',+ bots: '机器人',copied: '已复制',copy: '复制',copyFailed: '复制失败',diff --git a/apps/desktop/src/plugins/hermes-bots/plugin.tsx b/apps/desktop/src/plugins/hermes-bots/plugin.tsxindex 0ede39b119f..e15c7d3b783 100644--- a/apps/desktop/src/plugins/hermes-bots/plugin.tsx+++ b/apps/desktop/src/plugins/hermes-bots/plugin.tsx@@ -92,7 +92,7 @@ interface ComposerDraftPayload {export default {id: ID,- name: 'Bots',+ name: translateNow('common.bots'),description:'Bot Mode — a one-chat-per-agent roster with avatars, routines, group chats, and bot-to-bot messaging. Ships with the app; disable here if unwanted.',register(ctx: PluginContext) {@@ -367,7 +367,7 @@ export default {ctx.register({id: 'pane',area: 'panes',- title: 'Bots',+ title: translateNow('common.bots'),// dock: explicit adoption gesture — CENTER-STACK into the sessions zone// so the sidebar grows a SESSIONS | BOTS tab strip instead of splitting// two cramped panes down the column. Center is safe now: insertAtGroup