The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(webapp): localize the browser Export profile message
unsupportedpastels779298cd6853
diff --git a/apps/desktop/src/i18n/ar_command_center.ts b/apps/desktop/src/i18n/ar_command_center.tsindex 2ecaad7fea2..7ee5750254b 100644--- a/apps/desktop/src/i18n/ar_command_center.ts+++ b/apps/desktop/src/i18n/ar_command_center.ts@@ -397,6 +397,7 @@ export const arCommandCenter = {exported: 'تم تصدير الملف الشخصي',failedImport: 'فشل استيراد الملف الشخصي',failedExport: 'فشل تصدير الملف الشخصي',+ exportNeedsHost: name => `لا يمكن للمتصفح حفظ أرشيف الملف الشخصي. على مضيف Hermes، شغّل: hermes profile export ${name}`,allProfiles: 'كل الملفات الشخصية',showAllProfiles: 'إظهار كل الملفات الشخصية',switchToProfile: name => `التبديل إلى ${name}`,diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.tsindex 2349812799e..aa912671abd 100644--- a/apps/desktop/src/i18n/de.ts+++ b/apps/desktop/src/i18n/de.ts@@ -3204,6 +3204,7 @@ export const deOverrides = {exported: 'Profil exportiert',failedImport: 'Profil konnte nicht importiert werden',failedExport: 'Profil konnte nicht exportiert werden',+ exportNeedsHost: name => `Der Browser kann kein Profilarchiv speichern. Führe auf dem Hermes-Host aus: hermes profile export ${name}`,allProfiles: 'Alle Profile',showAllProfiles: 'Alle Profile anzeigen',switchToProfile: name => `Zu ${name} wechseln`,diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex 14a6b4533b2..b7517c66145 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -2769,6 +2769,7 @@ export const en: Translations = {exported: 'Profile exported',failedImport: 'Failed to import profile',failedExport: 'Failed to export profile',+ exportNeedsHost: name => `The browser can't save a profile archive. On the Hermes host, run: hermes profile export ${name}`,allProfiles: 'All profiles',showAllProfiles: 'Show all profiles',switchToProfile: name => `Switch to ${name}`,diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.tsindex d906e8fb6f4..020415bbec0 100644--- a/apps/desktop/src/i18n/es.ts+++ b/apps/desktop/src/i18n/es.ts@@ -3193,6 +3193,7 @@ export const esOverrides = {exported: 'Perfil exportado',failedImport: 'No se pudo importar el perfil',failedExport: 'No se pudo exportar el perfil',+ exportNeedsHost: name => `El navegador no puede guardar un archivo de perfil. En el host de Hermes, ejecuta: hermes profile export ${name}`,allProfiles: 'Todos los perfiles',showAllProfiles: 'Mostrar todos los perfiles',switchToProfile: name => `Cambiar a ${name}`,diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.tsindex 539bcc970b1..14049bedd03 100644--- a/apps/desktop/src/i18n/fr.ts+++ b/apps/desktop/src/i18n/fr.ts@@ -3209,6 +3209,7 @@ export const frOverrides = {exported: 'Profil exporté',failedImport: "Échec de l'importation du profil",failedExport: "Échec de l'exportation du profil",+ exportNeedsHost: name => `Le navigateur ne peut pas enregistrer une archive de profil. Sur l'hôte Hermes, exécutez : hermes profile export ${name}`,allProfiles: 'Tous les profils',showAllProfiles: 'Afficher tous les profils',switchToProfile: name => `Basculer vers ${name}`,diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.tsindex 5b4c66d2954..9dd3d249ca8 100644--- a/apps/desktop/src/i18n/ja.ts+++ b/apps/desktop/src/i18n/ja.ts@@ -1778,6 +1778,7 @@ export const jaOverrides = {exported: 'プロファイルをエクスポートしました',failedImport: 'プロファイルのインポートに失敗しました',failedExport: 'プロファイルのエクスポートに失敗しました',+ exportNeedsHost: name => `ブラウザーではプロファイルのアーカイブを保存できません。Hermes ホストで次を実行してください: hermes profile export ${name}`,allProfiles: 'すべてのプロファイル',showAllProfiles: 'すべてのプロファイルを表示',switchToProfile: name => `${name} に切り替え`,diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.tsindex a85f52d51f6..f8257ea18d8 100644--- a/apps/desktop/src/i18n/ru.ts+++ b/apps/desktop/src/i18n/ru.ts@@ -2070,6 +2070,7 @@ export const ruOverrides = {exported: 'Профиль экспортирован',failedImport: 'Не удалось импортировать профиль',failedExport: 'Не удалось экспортировать профиль',+ exportNeedsHost: name => `Браузер не может сохранить архив профиля. На хосте Hermes выполните: hermes profile export ${name}`,allProfiles: 'Все профили',showAllProfiles: 'Показать все профили',switchToProfile: name => `Переключиться на ${name}`,diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.tsindex 08a6ce86002..8635f7d3890 100644--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@ -2438,6 +2438,7 @@ catalog: CatalogTranslationsexported: stringfailedImport: stringfailedExport: string+ exportNeedsHost: (name: string) => stringallProfiles: stringshowAllProfiles: stringswitchToProfile: (name: string) => stringdiff --git a/apps/desktop/src/i18n/zh-hant_command_center.ts b/apps/desktop/src/i18n/zh-hant_command_center.tsindex ac847a9d077..483d40fc27b 100644--- a/apps/desktop/src/i18n/zh-hant_command_center.ts+++ b/apps/desktop/src/i18n/zh-hant_command_center.ts@@ -320,6 +320,7 @@ export const zhHantCommandCenter = {exported: '設定檔已匯出',failedImport: '匯入設定檔失敗',failedExport: '匯出設定檔失敗',+ exportNeedsHost: name => `瀏覽器無法儲存設定檔封存。請在 Hermes 主機上執行:hermes profile export ${name}`,allProfiles: '全部設定檔',showAllProfiles: '顯示全部設定檔',switchToProfile: name => `切換至 ${name}`,diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 18c168f528a..507d3a5e09d 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -2688,6 +2688,7 @@ export const zhOverrides = {exported: '配置档案已导出',failedImport: '导入配置档案失败',failedExport: '导出配置档案失败',+ exportNeedsHost: name => `浏览器无法保存配置档案归档。请在 Hermes 主机上运行:hermes profile export ${name}`,allProfiles: '全部配置档案',showAllProfiles: '显示全部配置档案',switchToProfile: name => `切换到 ${name}`,diff --git a/apps/desktop/src/store/profile-share.ts b/apps/desktop/src/store/profile-share.tsindex 97155150325..3d2ba3f0d32 100644--- a/apps/desktop/src/store/profile-share.ts+++ b/apps/desktop/src/store/profile-share.ts@@ -163,8 +163,7 @@ export async function runExportProfileFlow(profile?: string): Promise<null | str// The browser Webapp has no save dialog for a host-side archive. Say how to// export there instead of doing nothing.if (!pick) {- const reason = `The browser can't save a profile archive. On the Hermes host, run: hermes profile export ${target}`- notifyError(new Error(reason), translateNow('profiles.failedExport'))+ notifyError(new Error(translateNow('profiles.exportNeedsHost', target)), translateNow('profiles.failedExport'))return null}diff --git a/locales/_keys.desktop.json b/locales/_keys.desktop.jsonindex cf5e7ea73ac..8f6fc5ed365 100644--- a/locales/_keys.desktop.json+++ b/locales/_keys.desktop.json@@ -2450,6 +2450,7 @@"profiles.emptySoul","profiles.env","profiles.exportMenu",+ "profiles.exportNeedsHost","profiles.exportProfile","profiles.exported","profiles.failedCopy",