Skip to content

The agent that grows with you

refactor(desktop): split the boot catalog area out of en/de/es/fr and types

Tekniumb960f9f73bb8
diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.ts
index 77f0da7ef16..7b7c7e3531b 100644
--- a/apps/desktop/src/i18n/de.ts
+++ b/apps/desktop/src/i18n/de.ts
@@ -1,6 +1,7 @@
import { defineFieldCopy } from '@/app/settings/field-copy'
import { deAuxTasks } from './de_aux_tasks'
+import { deBoot } from './de_boot'
import { deModelMenu } from './de_model_menu'
import { deSharedMetrics } from './de_shared_metrics'
import { defineLocale, type TranslationOverrides } from './define-locale'
@@ -405,111 +406,7 @@ export const deOverrides = {
revealUnavailable:
'Dieser Pfad befindet sich nicht auf diesem Computer, sondern auf dem Backend-Rechner. Verwenden Sie „Im Dateibaum anzeigen“.'
},
- boot: {
- ready: 'Hermes Desktop ist bereit',
- desktopBootFailedWithMessage: message => `Desktop-Start fehlgeschlagen: ${message}`,
- steps: {
- connectingGateway: 'Live-Desktop-Gateway wird verbunden',
- loadingSettings: 'Hermes-Einstellungen werden geladen',
- loadingSessions: 'Letzte Sessions werden geladen',
- retryingRemoteBackend: 'Wird mit dem Remote-Hermes-Backend neu verbunden…',
- startingDesktopConnection: 'Desktop-Verbindung wird gestartet',
- startingHermesDesktop: 'Hermes Desktop wird gestartet…'
- },
- errors: {
- backgroundExited: 'Der Hermes-Hintergrundprozess wurde beendet.',
- backgroundExitedDuringStartup: 'Der Hermes-Hintergrundprozess wurde während des Starts beendet.',
- backendStopped: 'Backend gestoppt',
- restartHermes: 'Hermes neu starten',
- openLogs: 'Logs öffnen',
- desktopBootFailed: 'Desktop-Start fehlgeschlagen',
- gatewayConnectionLost: 'Verbindung zum Gateway verloren',
- gatewayConnectionLostDetail:
- 'Im Hintergrund wird weiterhin versucht, die Verbindung herzustellen. Sie können weiterlesen und weiterschreiben – öffnen Sie die Gateway-Einstellungen, falls das anhält.',
- reconnectNow: 'Jetzt neu verbinden',
- connectionSettings: 'Verbindungseinstellungen',
- gatewaySignInRequired: 'Gateway-Sign-in erforderlich',
- gatewaySignInRequiredDetail:
- 'Melden Sie sich erneut an, um die Verbindung wiederherzustellen. Ihre Chats und Einstellungen sind sicher.',
- signInAgain: 'Erneut anmelden',
- ipcBridgeUnavailable: 'Der Desktop-IPC-Bridge ist nicht verfügbar.'
- },
- causes: {
- exitedEarly: 'Der Hintergrunddienst von Hermes hat direkt nach dem Start aufgehört.',
- timedOut: 'Der Hintergrunddienst von Hermes hat nicht rechtzeitig geantwortet.',
- permission: 'Hermes konnte nicht in seinen Datenordner schreiben (Berechtigungsproblem).',
- diskFull: 'Die Festplatte ist voll, deshalb konnte Hermes nicht starten.',
- portInUse: 'Ein anderes Programm verwendet den Netzwerkport, den Hermes braucht.',
- installMissing:
- 'Ein Teil der Hermes-Installation fehlt. Wählen Sie „Installation reparieren“, um sie wiederherzustellen.'
- },
- failure: {
- title: 'Hermes konnte nicht gestartet werden',
- description:
- 'Das Hintergrund-Gateway ist nicht gestartet. Probieren Sie einen der Wiederherstellungsschritte unten. Keiner davon löscht Ihre Chats oder Einstellungen.',
- details: 'Details',
- remoteTitle: 'Remote-Gateway-Sign-in erforderlich',
- remoteDescription:
- 'Ihre Remote-Gateway-Session ist abgelaufen. Melden Sie sich erneut an, um die Verbindung wiederherzustellen. Keiner dieser Schritte löscht Ihre Chats oder Einstellungen.',
- retry: 'Erneut versuchen',
- repairInstall: 'Installation reparieren',
- useLocalGateway: 'Lokales Gateway verwenden',
- gatewaySettings: 'Gateway-Einstellungen',
- back: 'Zurück',
- openLogs: 'Logs öffnen',
- repairHint:
- 'Die Reparatur führt den Installer erneut aus und kann auf einem frischen Computer ein paar Minuten dauern.',
- remoteSignInHint: signInLabel =>
- `Meldet Sie von der gespeicherten Remote-Browser-Session ab und öffnet dann ${signInLabel}. Verwenden Sie das lokale Gateway, um stattdessen zum integrierten Backend zu wechseln.`,
- signOutAndSignIn: 'Abmelden & anmelden',
- remoteFailureHint:
- 'Überprüfen Sie die Gateway-URL und die Anmeldung in den Gateway-Einstellungen, oder wechseln Sie zum lokalen Gateway.',
- cloudDownTitle: 'Nous Cloud Agent ist down',
- cloudDownDescription:
- 'Der von Nous verwaltete Cloud-Agent, mit dem sich dieses Gateway verbindet, meldet einen Serverfehler. Er kann von hier aus nicht neu gestartet werden – prüfen Sie seinen Status, wechseln Sie zum lokalen Gateway oder wenden Sie sich an den Support.',
- cloudDownHint:
- 'Die Schaltflächen unten öffnen das Nous Portal (Instanzstatus und Steuerung) und unseren Discord für Support.',
- cloudDownCheckPortal: 'Portal-Status prüfen',
- cloudDownDiscord: 'Hilfe auf Discord holen',
- hideRecentLogs: 'Neueste Logs ausblenden',
- showRecentLogs: 'Neueste Logs anzeigen',
- signedInTitle: 'Angemeldet',
- signedInMessage: 'Wird mit dem Remote-Gateway neu verbunden…',
- signInIncompleteTitle: 'Sign-in unvollständig',
- signInIncompleteMessage: 'Das Anmeldefenster wurde geschlossen, bevor die Authentifizierung abgeschlossen war.',
- signInFailed: 'Sign-in fehlgeschlagen',
- signInToRemoteGateway: 'Beim Remote-Gateway anmelden',
- signInWithProvider: provider => `Mit ${provider} anmelden`,
- identityProvider: 'Ihr Identity-Provider'
- },
- updateHold: {
- title: 'Ein früheres Update hält Hermes noch fest',
- titleUnverified: 'Hermes kann nicht bestätigen, dass das letzte Update fertig ist',
- description:
- 'Hermes startet noch nicht, damit es keine Dateien lädt, die ein Update womöglich noch ändert. Sobald die Sperre endet, startet Hermes von selbst.',
- heldByProcess: pid =>
- `Das Update (Prozess ${pid}) wurde beendet, aber ein von ihm gestarteter Prozess hält die Hermes-Installation noch fest.`,
- heldUnknown:
- 'Ein Update wurde beendet, aber ein von ihm gestarteter Prozess hält die Hermes-Installation noch fest.',
- unverified:
- 'Der Update-Helfer konnte gerade nicht prüfen, wem die Hermes-Installation gehört. Hermes prüft weiter.',
- since: time => `Wartet seit ${time}`,
- lastChecked: time => `Zuletzt geprüft ${time}`,
- recoveryHint:
- 'Das löst sich meist in wenigen Minuten. Falls nicht: Hermes beenden, übrig gebliebene git- oder hermes-Prozesse beenden (oder den Computer neu starten) und Hermes erneut öffnen.',
- checkAgain: 'Erneut prüfen',
- quit: 'Hermes beenden',
- openLogs: 'Logs öffnen',
- startAnyway: 'Trotzdem starten…',
- confirmTitle: 'Hermes starten, obwohl das Update es noch festhält?',
- confirmBody:
- 'Der übrig gebliebene Update-Prozess ändert womöglich noch Dateien von Hermes. Ein Start jetzt kann eine halb aktualisierte Installation laden, die erst nach einem erneuten Update wieder funktioniert. Hermes protokolliert diese Entscheidung und lässt die Update-Markierung bestehen.',
- confirmKeepWaiting: 'Weiter warten',
- confirmStart: 'Trotzdem starten',
- startAnywayRefused:
- 'Was die Installation festhält, hat sich geändert, bevor Hermes starten konnte. Bitte erneut prüfen.'
- }
- },
+ boot: deBoot.boot,
notifications: {
region: 'Benachrichtigungen',
hide: 'Ausblenden',
diff --git a/apps/desktop/src/i18n/de_boot.ts b/apps/desktop/src/i18n/de_boot.ts
new file mode 100644
index 00000000000..c5db238463f
--- /dev/null
+++ b/apps/desktop/src/i18n/de_boot.ts
@@ -0,0 +1,110 @@
+import type { TranslationOverrides } from './define-locale'
+
+// The boot screen's copy (including the update-hold screen), composed by de.ts.
+export const deBoot = {
+ boot: {
+ ready: 'Hermes Desktop ist bereit',
+ desktopBootFailedWithMessage: message => `Desktop-Start fehlgeschlagen: ${message}`,
+ steps: {
+ connectingGateway: 'Live-Desktop-Gateway wird verbunden',
+ loadingSettings: 'Hermes-Einstellungen werden geladen',
+ loadingSessions: 'Letzte Sessions werden geladen',
+ retryingRemoteBackend: 'Wird mit dem Remote-Hermes-Backend neu verbunden…',
+ startingDesktopConnection: 'Desktop-Verbindung wird gestartet',
+ startingHermesDesktop: 'Hermes Desktop wird gestartet…'
+ },
+ errors: {
+ backgroundExited: 'Der Hermes-Hintergrundprozess wurde beendet.',
+ backgroundExitedDuringStartup: 'Der Hermes-Hintergrundprozess wurde während des Starts beendet.',
+ backendStopped: 'Backend gestoppt',
+ restartHermes: 'Hermes neu starten',
+ openLogs: 'Logs öffnen',
+ desktopBootFailed: 'Desktop-Start fehlgeschlagen',
+ gatewayConnectionLost: 'Verbindung zum Gateway verloren',
+ gatewayConnectionLostDetail:
+ 'Im Hintergrund wird weiterhin versucht, die Verbindung herzustellen. Sie können weiterlesen und weiterschreiben – öffnen Sie die Gateway-Einstellungen, falls das anhält.',
+ reconnectNow: 'Jetzt neu verbinden',
+ connectionSettings: 'Verbindungseinstellungen',
+ gatewaySignInRequired: 'Gateway-Sign-in erforderlich',
+ gatewaySignInRequiredDetail:
+ 'Melden Sie sich erneut an, um die Verbindung wiederherzustellen. Ihre Chats und Einstellungen sind sicher.',
+ signInAgain: 'Erneut anmelden',
+ ipcBridgeUnavailable: 'Der Desktop-IPC-Bridge ist nicht verfügbar.'
+ },
+ causes: {
+ exitedEarly: 'Der Hintergrunddienst von Hermes hat direkt nach dem Start aufgehört.',
+ timedOut: 'Der Hintergrunddienst von Hermes hat nicht rechtzeitig geantwortet.',
+ permission: 'Hermes konnte nicht in seinen Datenordner schreiben (Berechtigungsproblem).',
+ diskFull: 'Die Festplatte ist voll, deshalb konnte Hermes nicht starten.',
+ portInUse: 'Ein anderes Programm verwendet den Netzwerkport, den Hermes braucht.',
+ installMissing:
+ 'Ein Teil der Hermes-Installation fehlt. Wählen Sie „Installation reparieren“, um sie wiederherzustellen.'
+ },
+ failure: {
+ title: 'Hermes konnte nicht gestartet werden',
+ description:
+ 'Das Hintergrund-Gateway ist nicht gestartet. Probieren Sie einen der Wiederherstellungsschritte unten. Keiner davon löscht Ihre Chats oder Einstellungen.',
+ details: 'Details',
+ remoteTitle: 'Remote-Gateway-Sign-in erforderlich',
+ remoteDescription:
+ 'Ihre Remote-Gateway-Session ist abgelaufen. Melden Sie sich erneut an, um die Verbindung wiederherzustellen. Keiner dieser Schritte löscht Ihre Chats oder Einstellungen.',
+ retry: 'Erneut versuchen',
+ repairInstall: 'Installation reparieren',
+ useLocalGateway: 'Lokales Gateway verwenden',
+ gatewaySettings: 'Gateway-Einstellungen',
+ back: 'Zurück',
+ openLogs: 'Logs öffnen',
+ repairHint:
+ 'Die Reparatur führt den Installer erneut aus und kann auf einem frischen Computer ein paar Minuten dauern.',
+ remoteSignInHint: signInLabel =>
+ `Meldet Sie von der gespeicherten Remote-Browser-Session ab und öffnet dann ${signInLabel}. Verwenden Sie das lokale Gateway, um stattdessen zum integrierten Backend zu wechseln.`,
+ signOutAndSignIn: 'Abmelden & anmelden',
+ remoteFailureHint:
+ 'Überprüfen Sie die Gateway-URL und die Anmeldung in den Gateway-Einstellungen, oder wechseln Sie zum lokalen Gateway.',
+ cloudDownTitle: 'Nous Cloud Agent ist down',
+ cloudDownDescription:
+ 'Der von Nous verwaltete Cloud-Agent, mit dem sich dieses Gateway verbindet, meldet einen Serverfehler. Er kann von hier aus nicht neu gestartet werden – prüfen Sie seinen Status, wechseln Sie zum lokalen Gateway oder wenden Sie sich an den Support.',
+ cloudDownHint:
+ 'Die Schaltflächen unten öffnen das Nous Portal (Instanzstatus und Steuerung) und unseren Discord für Support.',
+ cloudDownCheckPortal: 'Portal-Status prüfen',
+ cloudDownDiscord: 'Hilfe auf Discord holen',
+ hideRecentLogs: 'Neueste Logs ausblenden',
+ showRecentLogs: 'Neueste Logs anzeigen',
+ signedInTitle: 'Angemeldet',
+ signedInMessage: 'Wird mit dem Remote-Gateway neu verbunden…',
+ signInIncompleteTitle: 'Sign-in unvollständig',
+ signInIncompleteMessage: 'Das Anmeldefenster wurde geschlossen, bevor die Authentifizierung abgeschlossen war.',
+ signInFailed: 'Sign-in fehlgeschlagen',
+ signInToRemoteGateway: 'Beim Remote-Gateway anmelden',
+ signInWithProvider: provider => `Mit ${provider} anmelden`,
+ identityProvider: 'Ihr Identity-Provider'
+ },
+ updateHold: {
+ title: 'Ein früheres Update hält Hermes noch fest',
+ titleUnverified: 'Hermes kann nicht bestätigen, dass das letzte Update fertig ist',
+ description:
+ 'Hermes startet noch nicht, damit es keine Dateien lädt, die ein Update womöglich noch ändert. Sobald die Sperre endet, startet Hermes von selbst.',
+ heldByProcess: pid =>
+ `Das Update (Prozess ${pid}) wurde beendet, aber ein von ihm gestarteter Prozess hält die Hermes-Installation noch fest.`,
+ heldUnknown:
+ 'Ein Update wurde beendet, aber ein von ihm gestarteter Prozess hält die Hermes-Installation noch fest.',
+ unverified:
+ 'Der Update-Helfer konnte gerade nicht prüfen, wem die Hermes-Installation gehört. Hermes prüft weiter.',
+ since: time => `Wartet seit ${time}`,
+ lastChecked: time => `Zuletzt geprüft ${time}`,
+ recoveryHint:
+ 'Das löst sich meist in wenigen Minuten. Falls nicht: Hermes beenden, übrig gebliebene git- oder hermes-Prozesse beenden (oder den Computer neu starten) und Hermes erneut öffnen.',
+ checkAgain: 'Erneut prüfen',
+ quit: 'Hermes beenden',
+ openLogs: 'Logs öffnen',
+ startAnyway: 'Trotzdem starten…',
+ confirmTitle: 'Hermes starten, obwohl das Update es noch festhält?',
+ confirmBody:
+ 'Der übrig gebliebene Update-Prozess ändert womöglich noch Dateien von Hermes. Ein Start jetzt kann eine halb aktualisierte Installation laden, die erst nach einem erneuten Update wieder funktioniert. Hermes protokolliert diese Entscheidung und lässt die Update-Markierung bestehen.',
+ confirmKeepWaiting: 'Weiter warten',
+ confirmStart: 'Trotzdem starten',
+ startAnywayRefused:
+ 'Was die Installation festhält, hat sich geändert, bevor Hermes starten konnte. Bitte erneut prüfen.'
+ }
+ }
+} satisfies Pick<TranslationOverrides, 'boot'>
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index 09db4785118..49071605d69 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -1,6 +1,7 @@
import { FIELD_DESCRIPTIONS, FIELD_LABELS } from '@/app/settings/constants'
import { enAuxTasks } from './en_aux_tasks'
+import { enBoot } from './en_boot'
import { enModelMenu } from './en_model_menu'
import { enSharedMetrics } from './en_shared_metrics'
import type { Translations } from './types'
@@ -393,110 +394,7 @@ export const en: Translations = {
revealUnavailable: 'That path is not on this computer — it lives on the backend machine. Use “Reveal in filetree”.'
},
- boot: {
- ready: 'Hermes Desktop is ready',
- desktopBootFailedWithMessage: message => `Desktop boot failed: ${message}`,
- steps: {
- connectingGateway: 'Connecting live desktop gateway',
- loadingSettings: 'Loading Hermes settings',
- loadingSessions: 'Loading recent sessions',
- retryingRemoteBackend: 'Reconnecting to the remote Hermes backend…',
- startingDesktopConnection: 'Starting desktop connection',
- startingHermesDesktop: 'Starting Hermes Desktop…'
- },
- errors: {
- backgroundExited:
- 'The service that runs your chats closed unexpectedly. Restart it to keep going — your chats and settings are safe.',
- backgroundExitedDuringStartup: 'Hermes stopped right after it started.',
- backendStopped: 'Hermes stopped working in the background',
- restartHermes: 'Restart Hermes',
- openLogs: 'Open logs',
- desktopBootFailed: "Hermes couldn't start",
- gatewayConnectionLost: 'Hermes lost its connection',
- gatewayConnectionLostDetail:
- 'Still trying to reconnect. You can keep reading and drafting. If this keeps up, reconnect now or check your connection settings.',
- reconnectNow: 'Reconnect now',
- connectionSettings: 'Connection settings',
- gatewaySignInRequired: 'Your remote Hermes signed you out',
- gatewaySignInRequiredDetail: 'Sign in again to reconnect. Your chats and settings are safe.',
- signInAgain: 'Sign in again',
- ipcBridgeUnavailable: "Hermes Desktop couldn't talk to its own background layer. Restart the app."
- },
- // Plain causes for a local backend boot failure (`classifyBootFailure`);
- // the raw output stays behind "Show recent logs".
- causes: {
- exitedEarly: "Hermes' background service stopped right after starting.",
- timedOut: "Hermes' background service didn't answer in time.",
- permission: "Hermes couldn't write to its data folder (permission problem).",
- diskFull: 'The disk is full, so Hermes could not start.',
- portInUse: 'Another program is using the network port Hermes needs.',
- installMissing: "Part of Hermes' installation is missing. Choose Repair install to put it back."
- },
- failure: {
- title: "Hermes couldn't start",
- description:
- "Hermes' background service didn't come up. Try one of the recovery steps below. Nothing here deletes your chats or settings.",
- details: 'Details',
- remoteTitle: 'Remote gateway sign-in required',
- remoteDescription:
- 'Your remote gateway session has expired. Sign in again to reconnect. Nothing here deletes your chats or settings.',
- retry: 'Retry',
- repairInstall: 'Repair install',
- useLocalGateway: 'Use local gateway',
- gatewaySettings: 'Gateway settings',
- back: 'Back',
- openLogs: 'Open logs',
- repairHint: 'Repair re-runs the installer and can take a few minutes on a fresh machine.',
- bundledReinstallHint:
- 'This bundled install can’t repair itself from inside the app — reinstall the app to restore its backend.',
- reinstallApp: 'Reinstall the app',
- remoteSignInHint: signInLabel =>
- `Signs out of the saved remote browser session, then opens ${signInLabel}. Use local gateway to switch to the bundled backend instead.`,
- signOutAndSignIn: 'Sign out & sign in',
- remoteFailureHint: 'Check the gateway URL and sign-in under Gateway settings, or switch to the local gateway.',
- cloudDownTitle: 'Nous Cloud agent is down',
- cloudDownDescription:
- 'The Nous-managed cloud agent this gateway connects to is returning a server error. It cannot be restarted from here — check its status, switch to the local gateway, or get support.',
- cloudDownHint:
- 'The buttons below open the Nous Portal (instance status and controls) and our Discord for support.',
- cloudDownCheckPortal: 'Check Portal status',
- cloudDownDiscord: 'Get help on Discord',
- hideRecentLogs: 'Hide recent logs',
- showRecentLogs: 'Show recent logs',
- signedInTitle: 'Signed in',
- signedInMessage: 'Reconnecting to the remote gateway…',
- signInIncompleteTitle: 'Sign-in incomplete',
- signInIncompleteMessage: 'The login window closed before authentication finished.',
- signInFailed: 'Sign-in failed',
- signInToRemoteGateway: 'Sign in to remote gateway',
- signInWithProvider: provider => `Sign in with ${provider}`,
- identityProvider: 'your identity provider'
- },
- updateHold: {
- title: 'An earlier update still holds Hermes',
- titleUnverified: "Hermes can't confirm the last update finished",
- description:
- "Hermes is holding off on starting so it can't load files an update may still be changing. It starts by itself as soon as the hold ends.",
- heldByProcess: pid =>
- `The update (process ${pid}) exited, but a process it started still holds the Hermes install.`,
- heldUnknown: 'An update exited, but a process it started still holds the Hermes install.',
- unverified: "The update helper couldn't check who owns the Hermes install right now. Hermes keeps checking.",
- since: time => `Waiting since ${time}`,
- lastChecked: time => `Last checked ${time}`,
- recoveryHint:
- 'This usually clears in a few minutes. If it does not: quit Hermes, end leftover git or hermes processes (or restart the computer), then open Hermes again.',
- checkAgain: 'Check again',
- quit: 'Quit Hermes',
- openLogs: 'Open logs',
- startAnyway: 'Start anyway…',
- confirmTitle: 'Start Hermes while the update still holds it?',
- confirmBody:
- "The leftover update process may still be changing Hermes' files. Starting now can load a half-updated install, which may not work until you run the update again. Hermes records this choice in its log and leaves the update marker in place.",
- confirmKeepWaiting: 'Keep waiting',
- confirmStart: 'Start anyway',
- startAnywayRefused: 'What holds the install changed before Hermes could start. Review it and try again.'
- }
- },
+ boot: enBoot.boot,
notifications: {
sharedProfileWarning:
diff --git a/apps/desktop/src/i18n/en_boot.ts b/apps/desktop/src/i18n/en_boot.ts
new file mode 100644
index 00000000000..1cf4b950bf9
--- /dev/null
+++ b/apps/desktop/src/i18n/en_boot.ts
@@ -0,0 +1,109 @@
+import type { Translations } from './types'
+
+// The boot screen's copy (including the update-hold screen), composed by en.ts.
+export const enBoot = {
+ boot: {
+ ready: 'Hermes Desktop is ready',
+ desktopBootFailedWithMessage: message => `Desktop boot failed: ${message}`,
+ steps: {
+ connectingGateway: 'Connecting live desktop gateway',
+ loadingSettings: 'Loading Hermes settings',
+ loadingSessions: 'Loading recent sessions',
+ retryingRemoteBackend: 'Reconnecting to the remote Hermes backend…',
+ startingDesktopConnection: 'Starting desktop connection',
+ startingHermesDesktop: 'Starting Hermes Desktop…'
+ },
+ errors: {
+ backgroundExited:
+ 'The service that runs your chats closed unexpectedly. Restart it to keep going — your chats and settings are safe.',
+ backgroundExitedDuringStartup: 'Hermes stopped right after it started.',
+ backendStopped: 'Hermes stopped working in the background',
+ restartHermes: 'Restart Hermes',
+ openLogs: 'Open logs',
+ desktopBootFailed: "Hermes couldn't start",
+ gatewayConnectionLost: 'Hermes lost its connection',
+ gatewayConnectionLostDetail:
+ 'Still trying to reconnect. You can keep reading and drafting. If this keeps up, reconnect now or check your connection settings.',
+ reconnectNow: 'Reconnect now',
+ connectionSettings: 'Connection settings',
+ gatewaySignInRequired: 'Your remote Hermes signed you out',
+ gatewaySignInRequiredDetail: 'Sign in again to reconnect. Your chats and settings are safe.',
+ signInAgain: 'Sign in again',
+ ipcBridgeUnavailable: "Hermes Desktop couldn't talk to its own background layer. Restart the app."
+ },
+ // Plain causes for a local backend boot failure (`classifyBootFailure`);
+ // the raw output stays behind "Show recent logs".
+ causes: {
+ exitedEarly: "Hermes' background service stopped right after starting.",
+ timedOut: "Hermes' background service didn't answer in time.",
+ permission: "Hermes couldn't write to its data folder (permission problem).",
+ diskFull: 'The disk is full, so Hermes could not start.',
+ portInUse: 'Another program is using the network port Hermes needs.',
+ installMissing: "Part of Hermes' installation is missing. Choose Repair install to put it back."
+ },
+ failure: {
+ title: "Hermes couldn't start",
+ description:
+ "Hermes' background service didn't come up. Try one of the recovery steps below. Nothing here deletes your chats or settings.",
+ details: 'Details',
+ remoteTitle: 'Remote gateway sign-in required',
+ remoteDescription:
+ 'Your remote gateway session has expired. Sign in again to reconnect. Nothing here deletes your chats or settings.',
+ retry: 'Retry',
+ repairInstall: 'Repair install',
+ useLocalGateway: 'Use local gateway',
+ gatewaySettings: 'Gateway settings',
+ back: 'Back',
+ openLogs: 'Open logs',
+ repairHint: 'Repair re-runs the installer and can take a few minutes on a fresh machine.',
+ bundledReinstallHint:
+ 'This bundled install can’t repair itself from inside the app — reinstall the app to restore its backend.',
+ reinstallApp: 'Reinstall the app',
+ remoteSignInHint: signInLabel =>
+ `Signs out of the saved remote browser session, then opens ${signInLabel}. Use local gateway to switch to the bundled backend instead.`,
+ signOutAndSignIn: 'Sign out & sign in',
+ remoteFailureHint: 'Check the gateway URL and sign-in under Gateway settings, or switch to the local gateway.',
+ cloudDownTitle: 'Nous Cloud agent is down',
+ cloudDownDescription:
+ 'The Nous-managed cloud agent this gateway connects to is returning a server error. It cannot be restarted from here — check its status, switch to the local gateway, or get support.',
+ cloudDownHint:
+ 'The buttons below open the Nous Portal (instance status and controls) and our Discord for support.',
+ cloudDownCheckPortal: 'Check Portal status',
+ cloudDownDiscord: 'Get help on Discord',
+ hideRecentLogs: 'Hide recent logs',
+ showRecentLogs: 'Show recent logs',
+ signedInTitle: 'Signed in',
+ signedInMessage: 'Reconnecting to the remote gateway…',
+ signInIncompleteTitle: 'Sign-in incomplete',
+ signInIncompleteMessage: 'The login window closed before authentication finished.',
+ signInFailed: 'Sign-in failed',
+ signInToRemoteGateway: 'Sign in to remote gateway',
+ signInWithProvider: provider => `Sign in with ${provider}`,
+ identityProvider: 'your identity provider'
+ },
+ updateHold: {
+ title: 'An earlier update still holds Hermes',
+ titleUnverified: "Hermes can't confirm the last update finished",
+ description:
+ "Hermes is holding off on starting so it can't load files an update may still be changing. It starts by itself as soon as the hold ends.",
+ heldByProcess: pid =>
+ `The update (process ${pid}) exited, but a process it started still holds the Hermes install.`,
+ heldUnknown: 'An update exited, but a process it started still holds the Hermes install.',
+ unverified: "The update helper couldn't check who owns the Hermes install right now. Hermes keeps checking.",
+ since: time => `Waiting since ${time}`,
+ lastChecked: time => `Last checked ${time}`,
+ recoveryHint:
+ 'This usually clears in a few minutes. If it does not: quit Hermes, end leftover git or hermes processes (or restart the computer), then open Hermes again.',
+ checkAgain: 'Check again',
+ quit: 'Quit Hermes',
+ openLogs: 'Open logs',
+ startAnyway: 'Start anyway…',
+ confirmTitle: 'Start Hermes while the update still holds it?',
+ confirmBody:
+ "The leftover update process may still be changing Hermes' files. Starting now can load a half-updated install, which may not work until you run the update again. Hermes records this choice in its log and leaves the update marker in place.",
+ confirmKeepWaiting: 'Keep waiting',
+ confirmStart: 'Start anyway',
+ startAnywayRefused: 'What holds the install changed before Hermes could start. Review it and try again.'
+ }
+ }
+} satisfies Pick<Translations, 'boot'>
diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.ts
index a00f7670f10..d5a2b95afa0 100644
--- a/apps/desktop/src/i18n/es.ts
+++ b/apps/desktop/src/i18n/es.ts
@@ -2,6 +2,7 @@ import { defineFieldCopy } from '@/app/settings/field-copy'
import { defineLocale, type TranslationOverrides } from './define-locale'
import { esAuxTasks } from './es_aux_tasks'
+import { esBoot } from './es_boot'
import { esModelMenu } from './es_model_menu'
import { esSharedMetrics } from './es_shared_metrics'
import { introEs } from './intro-es'
@@ -408,107 +409,7 @@ export const esOverrides = {
revealUnavailable:
'Esa ruta no está en este equipo: está en la máquina del backend. Usa “Mostrar en el árbol de archivos”.'
},
- boot: {
- ready: 'Hermes Desktop está listo',
- desktopBootFailedWithMessage: message => `Falló el arranque del escritorio: ${message}`,
- steps: {
- connectingGateway: 'Conectando el gateway de escritorio en vivo',
- loadingSettings: 'Cargando la configuración de Hermes',
- loadingSessions: 'Cargando sesiones recientes',
- retryingRemoteBackend: 'Reconectando al backend remoto de Hermes…',
- startingDesktopConnection: 'Iniciando la conexión de escritorio',
- startingHermesDesktop: 'Iniciando Hermes Desktop…'
- },
- errors: {
- backgroundExited:
- 'El servicio que ejecuta tus chats se cerró de forma inesperada. Reinícialo para continuar; tus chats y ajustes están a salvo.',
- backgroundExitedDuringStartup: 'Hermes se detuvo justo después de iniciarse.',
- backendStopped: 'Hermes dejó de funcionar en segundo plano',
- restartHermes: 'Reiniciar Hermes',
- openLogs: 'Abrir registros',
- desktopBootFailed: 'Hermes no pudo iniciarse',
- gatewayConnectionLost: 'Hermes perdió la conexión',
- gatewayConnectionLostDetail:
- 'Seguimos intentando reconectar. Puedes seguir leyendo y escribiendo borradores. Si continúa, reconecta ahora o revisa los ajustes de conexión.',
- reconnectNow: 'Reconectar ahora',
- connectionSettings: 'Configuración de conexión',
- gatewaySignInRequired: 'Tu Hermes remoto cerró tu sesión',
- gatewaySignInRequiredDetail: 'Vuelve a iniciar sesión para reconectar. Tus chats y ajustes están a salvo.',
- signInAgain: 'Volver a iniciar sesión',
- ipcBridgeUnavailable: 'Hermes Desktop no pudo comunicarse con su propia capa en segundo plano. Reinicia la app.'
- },
- causes: {
- exitedEarly: 'El servicio en segundo plano de Hermes se detuvo justo después de iniciarse.',
- timedOut: 'El servicio en segundo plano de Hermes no respondió a tiempo.',
- permission: 'Hermes no pudo escribir en su carpeta de datos (problema de permisos).',
- diskFull: 'El disco está lleno, así que Hermes no pudo iniciarse.',
- portInUse: 'Otro programa está usando el puerto de red que necesita Hermes.',
- installMissing: 'Falta parte de la instalación de Hermes. Elige Reparar instalación para restaurarla.'
- },
- failure: {
- title: 'Hermes no pudo iniciarse',
- description:
- 'El servicio en segundo plano de Hermes no arrancó. Prueba uno de los pasos de recuperación de abajo. Nada de esto elimina tus chats ni tus ajustes.',
- details: 'Detalles',
- remoteTitle: 'Se requiere iniciar sesión en el gateway remoto',
- remoteDescription:
- 'Tu sesión del gateway remoto caducó. Inicia sesión de nuevo para reconectar. Esto no elimina tus chats ni tu configuración.',
- retry: 'Reintentar',
- repairInstall: 'Reparar instalación',
- useLocalGateway: 'Usar gateway local',
- gatewaySettings: 'Configuración del gateway',
- back: 'Atrás',
- openLogs: 'Abrir registros',
- repairHint: 'La reparación vuelve a ejecutar el instalador y puede tardar unos minutos en una máquina nueva.',
- remoteSignInHint: signInLabel =>
- `Cierra la sesión guardada del navegador remoto y abre ${signInLabel}. Usa el gateway local para cambiar al backend incluido.`,
- signOutAndSignIn: 'Cerrar sesión e iniciar sesión',
- remoteFailureHint: 'Revisa la URL e inicia sesión en Configuración del gateway, o cambia al gateway local.',
- cloudDownTitle: 'El agente de Nous Cloud no está disponible',
- cloudDownDescription:
- 'El agente en la nube administrado por Nous al que se conecta este gateway devuelve un error de servidor. No se puede reiniciar desde aquí: revisa su estado, cambia al gateway local o pide ayuda.',
- cloudDownHint:
- 'Los botones de abajo abren el Nous Portal (estado y controles de la instancia) y nuestro Discord para obtener ayuda.',
- cloudDownCheckPortal: 'Ver el estado en el Portal',
- cloudDownDiscord: 'Pedir ayuda en Discord',
- hideRecentLogs: 'Ocultar registros recientes',
- showRecentLogs: 'Mostrar registros recientes',
- signedInTitle: 'Sesión iniciada',
- signedInMessage: 'Reconectando con el gateway remoto…',
- signInIncompleteTitle: 'Inicio de sesión incompleto',
- signInIncompleteMessage: 'La ventana de inicio de sesión se cerró antes de que terminara la autenticación.',
- signInFailed: 'No se pudo iniciar sesión',
- signInToRemoteGateway: 'Iniciar sesión en el gateway remoto',
- signInWithProvider: provider => `Iniciar sesión con ${provider}`,
- identityProvider: 'tu proveedor de identidad'
- },
- updateHold: {
- title: 'Una actualización anterior todavía retiene Hermes',
- titleUnverified: 'Hermes no puede confirmar que la última actualización terminó',
- description:
- 'Hermes espera antes de iniciar para no cargar archivos que una actualización quizá todavía esté cambiando. Se inicia solo en cuanto termine la retención.',
- heldByProcess: pid =>
- `La actualización (proceso ${pid}) terminó, pero un proceso que inició todavía retiene la instalación de Hermes.`,
- heldUnknown: 'Una actualización terminó, pero un proceso que inició todavía retiene la instalación de Hermes.',
- unverified:
- 'El asistente de actualización no pudo comprobar quién tiene la instalación de Hermes. Hermes sigue comprobando.',
- since: time => `Esperando desde ${time}`,
- lastChecked: time => `Última comprobación ${time}`,
- recoveryHint:
- 'Esto suele resolverse en unos minutos. Si no: cierra Hermes, termina los procesos git o hermes que queden (o reinicia el equipo) y vuelve a abrir Hermes.',
- checkAgain: 'Comprobar de nuevo',
- quit: 'Salir de Hermes',
- openLogs: 'Abrir registros',
- startAnyway: 'Iniciar de todos modos…',
- confirmTitle: '¿Iniciar Hermes mientras la actualización todavía lo retiene?',
- confirmBody:
- 'El proceso de actualización restante quizá siga cambiando archivos de Hermes. Iniciar ahora puede cargar una instalación a medio actualizar, que puede no funcionar hasta que vuelvas a ejecutar la actualización. Hermes registra esta decisión y deja el marcador de actualización en su lugar.',
- confirmKeepWaiting: 'Seguir esperando',
- confirmStart: 'Iniciar de todos modos',
- startAnywayRefused:
- 'Lo que retiene la instalación cambió antes de que Hermes pudiera iniciar. Revísalo e inténtalo de nuevo.'
- }
- },
+ boot: esBoot.boot,
notifications: {
region: 'Notificaciones',
hide: 'Ocultar',
diff --git a/apps/desktop/src/i18n/es_boot.ts b/apps/desktop/src/i18n/es_boot.ts
new file mode 100644
index 00000000000..bc381ab9fe5
--- /dev/null
+++ b/apps/desktop/src/i18n/es_boot.ts
@@ -0,0 +1,106 @@
+import type { TranslationOverrides } from './define-locale'
+
+// The boot screen's copy (including the update-hold screen), composed by es.ts.
+export const esBoot = {
+ boot: {
+ ready: 'Hermes Desktop está listo',
+ desktopBootFailedWithMessage: message => `Falló el arranque del escritorio: ${message}`,
+ steps: {
+ connectingGateway: 'Conectando el gateway de escritorio en vivo',
+ loadingSettings: 'Cargando la configuración de Hermes',
+ loadingSessions: 'Cargando sesiones recientes',
+ retryingRemoteBackend: 'Reconectando al backend remoto de Hermes…',
+ startingDesktopConnection: 'Iniciando la conexión de escritorio',
+ startingHermesDesktop: 'Iniciando Hermes Desktop…'
+ },
+ errors: {
+ backgroundExited:
+ 'El servicio que ejecuta tus chats se cerró de forma inesperada. Reinícialo para continuar; tus chats y ajustes están a salvo.',
+ backgroundExitedDuringStartup: 'Hermes se detuvo justo después de iniciarse.',
+ backendStopped: 'Hermes dejó de funcionar en segundo plano',
+ restartHermes: 'Reiniciar Hermes',
+ openLogs: 'Abrir registros',
+ desktopBootFailed: 'Hermes no pudo iniciarse',
+ gatewayConnectionLost: 'Hermes perdió la conexión',
+ gatewayConnectionLostDetail:
+ 'Seguimos intentando reconectar. Puedes seguir leyendo y escribiendo borradores. Si continúa, reconecta ahora o revisa los ajustes de conexión.',
+ reconnectNow: 'Reconectar ahora',
+ connectionSettings: 'Configuración de conexión',
+ gatewaySignInRequired: 'Tu Hermes remoto cerró tu sesión',
+ gatewaySignInRequiredDetail: 'Vuelve a iniciar sesión para reconectar. Tus chats y ajustes están a salvo.',
+ signInAgain: 'Volver a iniciar sesión',
+ ipcBridgeUnavailable: 'Hermes Desktop no pudo comunicarse con su propia capa en segundo plano. Reinicia la app.'
+ },
+ causes: {
+ exitedEarly: 'El servicio en segundo plano de Hermes se detuvo justo después de iniciarse.',
+ timedOut: 'El servicio en segundo plano de Hermes no respondió a tiempo.',
+ permission: 'Hermes no pudo escribir en su carpeta de datos (problema de permisos).',
+ diskFull: 'El disco está lleno, así que Hermes no pudo iniciarse.',
+ portInUse: 'Otro programa está usando el puerto de red que necesita Hermes.',
+ installMissing: 'Falta parte de la instalación de Hermes. Elige Reparar instalación para restaurarla.'
+ },
+ failure: {
+ title: 'Hermes no pudo iniciarse',
+ description:
+ 'El servicio en segundo plano de Hermes no arrancó. Prueba uno de los pasos de recuperación de abajo. Nada de esto elimina tus chats ni tus ajustes.',
+ details: 'Detalles',
+ remoteTitle: 'Se requiere iniciar sesión en el gateway remoto',
+ remoteDescription:
+ 'Tu sesión del gateway remoto caducó. Inicia sesión de nuevo para reconectar. Esto no elimina tus chats ni tu configuración.',
+ retry: 'Reintentar',
+ repairInstall: 'Reparar instalación',
+ useLocalGateway: 'Usar gateway local',
+ gatewaySettings: 'Configuración del gateway',
+ back: 'Atrás',
+ openLogs: 'Abrir registros',
+ repairHint: 'La reparación vuelve a ejecutar el instalador y puede tardar unos minutos en una máquina nueva.',
+ remoteSignInHint: signInLabel =>
+ `Cierra la sesión guardada del navegador remoto y abre ${signInLabel}. Usa el gateway local para cambiar al backend incluido.`,
+ signOutAndSignIn: 'Cerrar sesión e iniciar sesión',
+ remoteFailureHint: 'Revisa la URL e inicia sesión en Configuración del gateway, o cambia al gateway local.',
+ cloudDownTitle: 'El agente de Nous Cloud no está disponible',
+ cloudDownDescription:
+ 'El agente en la nube administrado por Nous al que se conecta este gateway devuelve un error de servidor. No se puede reiniciar desde aquí: revisa su estado, cambia al gateway local o pide ayuda.',
+ cloudDownHint:
+ 'Los botones de abajo abren el Nous Portal (estado y controles de la instancia) y nuestro Discord para obtener ayuda.',
+ cloudDownCheckPortal: 'Ver el estado en el Portal',
+ cloudDownDiscord: 'Pedir ayuda en Discord',
+ hideRecentLogs: 'Ocultar registros recientes',
+ showRecentLogs: 'Mostrar registros recientes',
+ signedInTitle: 'Sesión iniciada',
+ signedInMessage: 'Reconectando con el gateway remoto…',
+ signInIncompleteTitle: 'Inicio de sesión incompleto',
+ signInIncompleteMessage: 'La ventana de inicio de sesión se cerró antes de que terminara la autenticación.',
+ signInFailed: 'No se pudo iniciar sesión',
+ signInToRemoteGateway: 'Iniciar sesión en el gateway remoto',
+ signInWithProvider: provider => `Iniciar sesión con ${provider}`,
+ identityProvider: 'tu proveedor de identidad'
+ },
+ updateHold: {
+ title: 'Una actualización anterior todavía retiene Hermes',
+ titleUnverified: 'Hermes no puede confirmar que la última actualización terminó',
+ description:
+ 'Hermes espera antes de iniciar para no cargar archivos que una actualización quizá todavía esté cambiando. Se inicia solo en cuanto termine la retención.',
+ heldByProcess: pid =>
+ `La actualización (proceso ${pid}) terminó, pero un proceso que inició todavía retiene la instalación de Hermes.`,
+ heldUnknown: 'Una actualización terminó, pero un proceso que inició todavía retiene la instalación de Hermes.',
+ unverified:
+ 'El asistente de actualización no pudo comprobar quién tiene la instalación de Hermes. Hermes sigue comprobando.',
+ since: time => `Esperando desde ${time}`,
+ lastChecked: time => `Última comprobación ${time}`,
+ recoveryHint:
+ 'Esto suele resolverse en unos minutos. Si no: cierra Hermes, termina los procesos git o hermes que queden (o reinicia el equipo) y vuelve a abrir Hermes.',
+ checkAgain: 'Comprobar de nuevo',
+ quit: 'Salir de Hermes',
+ openLogs: 'Abrir registros',
+ startAnyway: 'Iniciar de todos modos…',
+ confirmTitle: '¿Iniciar Hermes mientras la actualización todavía lo retiene?',
+ confirmBody:
+ 'El proceso de actualización restante quizá siga cambiando archivos de Hermes. Iniciar ahora puede cargar una instalación a medio actualizar, que puede no funcionar hasta que vuelvas a ejecutar la actualización. Hermes registra esta decisión y deja el marcador de actualización en su lugar.',
+ confirmKeepWaiting: 'Seguir esperando',
+ confirmStart: 'Iniciar de todos modos',
+ startAnywayRefused:
+ 'Lo que retiene la instalación cambió antes de que Hermes pudiera iniciar. Revísalo e inténtalo de nuevo.'
+ }
+ }
+} satisfies Pick<TranslationOverrides, 'boot'>
diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.ts
index cf20e84dbd2..728fbf80b29 100644
--- a/apps/desktop/src/i18n/fr.ts
+++ b/apps/desktop/src/i18n/fr.ts
@@ -2,6 +2,7 @@ import { defineFieldCopy } from '@/app/settings/field-copy'
import { defineLocale, type TranslationOverrides } from './define-locale'
import { frAuxTasks } from './fr_aux_tasks'
+import { frBoot } from './fr_boot'
import { frModelMenu } from './fr_model_menu'
import { frSharedMetrics } from './fr_shared_metrics'
import { introFr } from './intro-fr'
@@ -406,110 +407,7 @@ export const frOverrides = {
revealUnavailable:
"Ce chemin n'est pas sur cet ordinateur : il se trouve sur la machine du backend. Utilisez « Afficher dans l'arborescence »."
},
- boot: {
- ready: 'Hermes Desktop est prêt',
- desktopBootFailedWithMessage: message => `Échec du démarrage : ${message}`,
- steps: {
- connectingGateway: 'Connexion au gateway desktop',
- loadingSettings: 'Chargement des paramètres Hermes',
- loadingSessions: 'Chargement des sessions récentes',
- retryingRemoteBackend: 'Reconnexion au backend Hermes distant…',
- startingDesktopConnection: 'Démarrage de la connexion desktop',
- startingHermesDesktop: 'Démarrage de Hermes Desktop…'
- },
- errors: {
- backgroundExited: "Le processus en arrière-plan de Hermes s'est arrêté.",
- backgroundExitedDuringStartup: "Le processus en arrière-plan de Hermes s'est arrêté pendant le démarrage.",
- backendStopped: 'Backend arrêté',
- restartHermes: 'Redémarrer Hermes',
- openLogs: 'Ouvrir les journaux',
- desktopBootFailed: 'Échec du démarrage',
- gatewayConnectionLost: 'Connexion au gateway perdue',
- gatewayConnectionLostDetail:
- 'Nouvelle tentative en arrière-plan. Vous pouvez continuer à lire et rédiger — ouvrez les paramètres du gateway si le problème persiste.',
- reconnectNow: 'Se reconnecter maintenant',
- connectionSettings: 'Paramètres de connexion',
- gatewaySignInRequired: 'Connexion au gateway requise',
- gatewaySignInRequiredDetail:
- 'Reconnectez-vous pour rétablir la connexion. Vos conversations et paramètres sont en sécurité.',
- signInAgain: 'Se reconnecter',
- ipcBridgeUnavailable: 'Le pont IPC du desktop est indisponible.'
- },
- causes: {
- exitedEarly: "Le service en arrière-plan de Hermes s'est arrêté juste après son démarrage.",
- timedOut: "Le service en arrière-plan de Hermes n'a pas répondu à temps.",
- permission: "Hermes n'a pas pu écrire dans son dossier de données (problème d'autorisation).",
- diskFull: "Le disque est plein ; Hermes n'a donc pas pu démarrer.",
- portInUse: 'Un autre programme utilise le port réseau nécessaire à Hermes.',
- installMissing:
- "Une partie de l'installation de Hermes est manquante. Choisissez Réparer l'installation pour la restaurer."
- },
- failure: {
- title: "Hermes n'a pas pu démarrer",
- description:
- "Le gateway en arrière-plan n'a pas pu se lancer. Essayez l'une des étapes de récupération ci-dessous. Rien ici ne supprime vos conversations ou paramètres.",
- details: 'Détails',
- remoteTitle: 'Connexion au gateway distante requise',
- remoteDescription:
- 'Votre session de gateway distante a expiré. Connectez-vous à nouveau pour vous reconnecter. Rien ici ne supprime vos conversations ou paramètres.',
- retry: 'Réessayer',
- repairInstall: "Réparer l'installation",
- useLocalGateway: 'Utiliser le gateway local',
- gatewaySettings: 'Paramètres du gateway',
- back: 'Retour',
- openLogs: 'Ouvrir les journaux',
- repairHint: "La réparation relance l'installateur et peut prendre quelques minutes sur une machine neuve.",
- remoteSignInHint: signInLabel =>
- `Déconnecte la session navigateur distante enregistrée, puis ouvre ${signInLabel}. Utilisez le gateway local pour passer au backend intégré.`,
- signOutAndSignIn: 'Se déconnecter et se reconnecter',
- remoteFailureHint:
- "Vérifiez l'URL du gateway et la connexion dans les paramètres du gateway, ou passez au gateway local.",
- cloudDownTitle: "L'agent Nous Cloud est indisponible",
- cloudDownDescription:
- "L'agent cloud géré par Nous auquel ce gateway se connecte renvoie une erreur serveur. Il ne peut pas être redémarré depuis ici — vérifiez son état, passez au gateway local ou contactez l'assistance.",
- cloudDownHint:
- "Les boutons ci-dessous ouvrent le portail Nous, pour consulter et contrôler l'instance, ainsi que notre Discord pour obtenir de l'aide.",
- cloudDownCheckPortal: "Vérifier l'état sur le portail",
- cloudDownDiscord: "Obtenir de l'aide sur Discord",
- hideRecentLogs: 'Masquer les journaux récents',
- showRecentLogs: 'Afficher les journaux récents',
- signedInTitle: 'Connecté',
- signedInMessage: 'Reconnexion au gateway distante…',
- signInIncompleteTitle: 'Connexion incomplète',
- signInIncompleteMessage: "La fenêtre de connexion s'est fermée avant la fin de l'authentification.",
- signInFailed: 'Échec de la connexion',
- signInToRemoteGateway: 'Se connecter au gateway distante',
- signInWithProvider: provider => `Se connecter avec ${provider}`,
- identityProvider: "votre fournisseur d'identité"
- },
- updateHold: {
- title: 'Une mise à jour précédente bloque encore Hermes',
- titleUnverified: 'Hermes ne peut pas confirmer la fin de la dernière mise à jour',
- description:
- "Hermes attend avant de démarrer pour ne pas charger des fichiers qu'une mise à jour modifie peut-être encore. Il démarre tout seul dès que le blocage cesse.",
- heldByProcess: pid =>
- `La mise à jour (processus ${pid}) s'est terminée, mais un processus qu'elle a lancé bloque encore l'installation de Hermes.`,
- heldUnknown:
- "Une mise à jour s'est terminée, mais un processus qu'elle a lancé bloque encore l'installation de Hermes.",
- unverified:
- "L'assistant de mise à jour n'a pas pu vérifier qui détient l'installation de Hermes. Hermes continue de vérifier.",
- since: time => `En attente depuis ${time}`,
- lastChecked: time => `Dernière vérification ${time}`,
- recoveryHint:
- "Cela se règle généralement en quelques minutes. Sinon : quittez Hermes, arrêtez les processus git ou hermes restants (ou redémarrez l'ordinateur), puis rouvrez Hermes.",
- checkAgain: 'Vérifier à nouveau',
- quit: 'Quitter Hermes',
- openLogs: 'Ouvrir les journaux',
- startAnyway: 'Démarrer quand même…',
- confirmTitle: 'Démarrer Hermes alors que la mise à jour le bloque encore ?',
- confirmBody:
- 'Le processus de mise à jour restant modifie peut-être encore les fichiers de Hermes. Démarrer maintenant peut charger une installation à moitié mise à jour, qui risque de ne pas fonctionner avant une nouvelle mise à jour. Hermes consigne ce choix dans son journal et laisse le marqueur de mise à jour en place.',
- confirmKeepWaiting: 'Continuer à attendre',
- confirmStart: 'Démarrer quand même',
- startAnywayRefused:
- "Ce qui bloque l'installation a changé avant que Hermes puisse démarrer. Vérifiez et réessayez."
- }
- },
+ boot: frBoot.boot,
notifications: {
region: 'Notifications',
hide: 'Masquer',
diff --git a/apps/desktop/src/i18n/fr_boot.ts b/apps/desktop/src/i18n/fr_boot.ts
new file mode 100644
index 00000000000..1aea1588b14
--- /dev/null
+++ b/apps/desktop/src/i18n/fr_boot.ts
@@ -0,0 +1,109 @@
+import type { TranslationOverrides } from './define-locale'
+
+// The boot screen's copy (including the update-hold screen), composed by fr.ts.
+export const frBoot = {
+ boot: {
+ ready: 'Hermes Desktop est prêt',
+ desktopBootFailedWithMessage: message => `Échec du démarrage : ${message}`,
+ steps: {
+ connectingGateway: 'Connexion au gateway desktop',
+ loadingSettings: 'Chargement des paramètres Hermes',
+ loadingSessions: 'Chargement des sessions récentes',
+ retryingRemoteBackend: 'Reconnexion au backend Hermes distant…',
+ startingDesktopConnection: 'Démarrage de la connexion desktop',
+ startingHermesDesktop: 'Démarrage de Hermes Desktop…'
+ },
+ errors: {
+ backgroundExited: "Le processus en arrière-plan de Hermes s'est arrêté.",
+ backgroundExitedDuringStartup: "Le processus en arrière-plan de Hermes s'est arrêté pendant le démarrage.",
+ backendStopped: 'Backend arrêté',
+ restartHermes: 'Redémarrer Hermes',
+ openLogs: 'Ouvrir les journaux',
+ desktopBootFailed: 'Échec du démarrage',
+ gatewayConnectionLost: 'Connexion au gateway perdue',
+ gatewayConnectionLostDetail:
+ 'Nouvelle tentative en arrière-plan. Vous pouvez continuer à lire et rédiger — ouvrez les paramètres du gateway si le problème persiste.',
+ reconnectNow: 'Se reconnecter maintenant',
+ connectionSettings: 'Paramètres de connexion',
+ gatewaySignInRequired: 'Connexion au gateway requise',
+ gatewaySignInRequiredDetail:
+ 'Reconnectez-vous pour rétablir la connexion. Vos conversations et paramètres sont en sécurité.',
+ signInAgain: 'Se reconnecter',
+ ipcBridgeUnavailable: 'Le pont IPC du desktop est indisponible.'
+ },
+ causes: {
+ exitedEarly: "Le service en arrière-plan de Hermes s'est arrêté juste après son démarrage.",
+ timedOut: "Le service en arrière-plan de Hermes n'a pas répondu à temps.",
+ permission: "Hermes n'a pas pu écrire dans son dossier de données (problème d'autorisation).",
+ diskFull: "Le disque est plein ; Hermes n'a donc pas pu démarrer.",
+ portInUse: 'Un autre programme utilise le port réseau nécessaire à Hermes.',
+ installMissing:
+ "Une partie de l'installation de Hermes est manquante. Choisissez Réparer l'installation pour la restaurer."
+ },
+ failure: {
+ title: "Hermes n'a pas pu démarrer",
+ description:
+ "Le gateway en arrière-plan n'a pas pu se lancer. Essayez l'une des étapes de récupération ci-dessous. Rien ici ne supprime vos conversations ou paramètres.",
+ details: 'Détails',
+ remoteTitle: 'Connexion au gateway distante requise',
+ remoteDescription:
+ 'Votre session de gateway distante a expiré. Connectez-vous à nouveau pour vous reconnecter. Rien ici ne supprime vos conversations ou paramètres.',
+ retry: 'Réessayer',
+ repairInstall: "Réparer l'installation",
+ useLocalGateway: 'Utiliser le gateway local',
+ gatewaySettings: 'Paramètres du gateway',
+ back: 'Retour',
+ openLogs: 'Ouvrir les journaux',
+ repairHint: "La réparation relance l'installateur et peut prendre quelques minutes sur une machine neuve.",
+ remoteSignInHint: signInLabel =>
+ `Déconnecte la session navigateur distante enregistrée, puis ouvre ${signInLabel}. Utilisez le gateway local pour passer au backend intégré.`,
+ signOutAndSignIn: 'Se déconnecter et se reconnecter',
+ remoteFailureHint:
+ "Vérifiez l'URL du gateway et la connexion dans les paramètres du gateway, ou passez au gateway local.",
+ cloudDownTitle: "L'agent Nous Cloud est indisponible",
+ cloudDownDescription:
+ "L'agent cloud géré par Nous auquel ce gateway se connecte renvoie une erreur serveur. Il ne peut pas être redémarré depuis ici — vérifiez son état, passez au gateway local ou contactez l'assistance.",
+ cloudDownHint:
+ "Les boutons ci-dessous ouvrent le portail Nous, pour consulter et contrôler l'instance, ainsi que notre Discord pour obtenir de l'aide.",
+ cloudDownCheckPortal: "Vérifier l'état sur le portail",
+ cloudDownDiscord: "Obtenir de l'aide sur Discord",
+ hideRecentLogs: 'Masquer les journaux récents',
+ showRecentLogs: 'Afficher les journaux récents',
+ signedInTitle: 'Connecté',
+ signedInMessage: 'Reconnexion au gateway distante…',
+ signInIncompleteTitle: 'Connexion incomplète',
+ signInIncompleteMessage: "La fenêtre de connexion s'est fermée avant la fin de l'authentification.",
+ signInFailed: 'Échec de la connexion',
+ signInToRemoteGateway: 'Se connecter au gateway distante',
+ signInWithProvider: provider => `Se connecter avec ${provider}`,
+ identityProvider: "votre fournisseur d'identité"
+ },
+ updateHold: {
+ title: 'Une mise à jour précédente bloque encore Hermes',
+ titleUnverified: 'Hermes ne peut pas confirmer la fin de la dernière mise à jour',
+ description:
+ "Hermes attend avant de démarrer pour ne pas charger des fichiers qu'une mise à jour modifie peut-être encore. Il démarre tout seul dès que le blocage cesse.",
+ heldByProcess: pid =>
+ `La mise à jour (processus ${pid}) s'est terminée, mais un processus qu'elle a lancé bloque encore l'installation de Hermes.`,
+ heldUnknown:
+ "Une mise à jour s'est terminée, mais un processus qu'elle a lancé bloque encore l'installation de Hermes.",
+ unverified:
+ "L'assistant de mise à jour n'a pas pu vérifier qui détient l'installation de Hermes. Hermes continue de vérifier.",
+ since: time => `En attente depuis ${time}`,
+ lastChecked: time => `Dernière vérification ${time}`,
+ recoveryHint:
+ "Cela se règle généralement en quelques minutes. Sinon : quittez Hermes, arrêtez les processus git ou hermes restants (ou redémarrez l'ordinateur), puis rouvrez Hermes.",
+ checkAgain: 'Vérifier à nouveau',
+ quit: 'Quitter Hermes',
+ openLogs: 'Ouvrir les journaux',
+ startAnyway: 'Démarrer quand même…',
+ confirmTitle: 'Démarrer Hermes alors que la mise à jour le bloque encore ?',
+ confirmBody:
+ 'Le processus de mise à jour restant modifie peut-être encore les fichiers de Hermes. Démarrer maintenant peut charger une installation à moitié mise à jour, qui risque de ne pas fonctionner avant une nouvelle mise à jour. Hermes consigne ce choix dans son journal et laisse le marqueur de mise à jour en place.',
+ confirmKeepWaiting: 'Continuer à attendre',
+ confirmStart: 'Démarrer quand même',
+ startAnywayRefused:
+ "Ce qui bloque l'installation a changé avant que Hermes puisse démarrer. Vérifiez et réessayez."
+ }
+ }
+} satisfies Pick<TranslationOverrides, 'boot'>
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index 74aef256be3..7beab2772f5 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -9,6 +9,7 @@ import type { ErrorCodeKey } from '@/lib/error-surface'
import type { TipId } from '@/lib/tips/catalog'
import type { AuxTaskCopyMap } from './types_aux_tasks'
+import type { BootTranslations } from './types_boot'
import type { ModelMenuTranslations } from './types_model_menu'
import type { SharedMetricsTranslations } from './types_shared_metrics'
@@ -431,97 +432,7 @@ export interface Translations {
revealUnavailable: string
}
- boot: {
- ready: string
- desktopBootFailedWithMessage: (message: string) => string
- steps: {
- connectingGateway: string
- loadingSettings: string
- loadingSessions: string
- retryingRemoteBackend: string
- startingDesktopConnection: string
- startingHermesDesktop: string
- }
- errors: {
- backgroundExited: string
- backgroundExitedDuringStartup: string
- backendStopped: string
- restartHermes: string
- openLogs: string
- desktopBootFailed: string
- gatewayConnectionLost: string
- gatewayConnectionLostDetail: string
- reconnectNow: string
- connectionSettings: string
- gatewaySignInRequired: string
- gatewaySignInRequiredDetail: string
- signInAgain: string
- ipcBridgeUnavailable: string
- }
- causes: {
- exitedEarly: string
- timedOut: string
- permission: string
- diskFull: string
- portInUse: string
- installMissing: string
- }
- failure: {
- title: string
- description: string
- details: string
- remoteTitle: string
- remoteDescription: string
- retry: string
- repairInstall: string
- useLocalGateway: string
- gatewaySettings: string
- back: string
- openLogs: string
- repairHint: string
- bundledReinstallHint: string
- reinstallApp: string
- remoteSignInHint: (signInLabel: string) => string
- signOutAndSignIn: string
- remoteFailureHint: string
- cloudDownTitle: string
- cloudDownDescription: string
- cloudDownHint: string
- cloudDownCheckPortal: string
- cloudDownDiscord: string
- hideRecentLogs: string
- showRecentLogs: string
- signedInTitle: string
- signedInMessage: string
- signInIncompleteTitle: string
- signInIncompleteMessage: string
- signInFailed: string
- signInToRemoteGateway: string
- signInWithProvider: (provider: string) => string
- identityProvider: string
- }
- // The blocked boot screen while an earlier update still holds the install (R8 D3).
- updateHold: {
- title: string
- titleUnverified: string
- description: string
- heldByProcess: (pid: number) => string
- heldUnknown: string
- unverified: string
- since: (time: string) => string
- lastChecked: (time: string) => string
- recoveryHint: string
- checkAgain: string
- quit: string
- openLogs: string
- startAnyway: string
- confirmTitle: string
- confirmBody: string
- confirmKeepWaiting: string
- confirmStart: string
- startAnywayRefused: string
- }
- }
+ boot: BootTranslations
notifications: {
sharedProfileWarning: string
diff --git a/apps/desktop/src/i18n/types_boot.ts b/apps/desktop/src/i18n/types_boot.ts
new file mode 100644
index 00000000000..aa21611a199
--- /dev/null
+++ b/apps/desktop/src/i18n/types_boot.ts
@@ -0,0 +1,92 @@
+// The boot screen's string surface (including the update-hold screen); `Translations.boot`.
+export interface BootTranslations {
+ ready: string
+ desktopBootFailedWithMessage: (message: string) => string
+ steps: {
+ connectingGateway: string
+ loadingSettings: string
+ loadingSessions: string
+ retryingRemoteBackend: string
+ startingDesktopConnection: string
+ startingHermesDesktop: string
+ }
+ errors: {
+ backgroundExited: string
+ backgroundExitedDuringStartup: string
+ backendStopped: string
+ restartHermes: string
+ openLogs: string
+ desktopBootFailed: string
+ gatewayConnectionLost: string
+ gatewayConnectionLostDetail: string
+ reconnectNow: string
+ connectionSettings: string
+ gatewaySignInRequired: string
+ gatewaySignInRequiredDetail: string
+ signInAgain: string
+ ipcBridgeUnavailable: string
+ }
+ causes: {
+ exitedEarly: string
+ timedOut: string
+ permission: string
+ diskFull: string
+ portInUse: string
+ installMissing: string
+ }
+ failure: {
+ title: string
+ description: string
+ details: string
+ remoteTitle: string
+ remoteDescription: string
+ retry: string
+ repairInstall: string
+ useLocalGateway: string
+ gatewaySettings: string
+ back: string
+ openLogs: string
+ repairHint: string
+ bundledReinstallHint: string
+ reinstallApp: string
+ remoteSignInHint: (signInLabel: string) => string
+ signOutAndSignIn: string
+ remoteFailureHint: string
+ cloudDownTitle: string
+ cloudDownDescription: string
+ cloudDownHint: string
+ cloudDownCheckPortal: string
+ cloudDownDiscord: string
+ hideRecentLogs: string
+ showRecentLogs: string
+ signedInTitle: string
+ signedInMessage: string
+ signInIncompleteTitle: string
+ signInIncompleteMessage: string
+ signInFailed: string
+ signInToRemoteGateway: string
+ signInWithProvider: (provider: string) => string
+ identityProvider: string
+ }
+ // The blocked boot screen while an earlier update still holds the install (R8 D3).
+ updateHold: {
+ title: string
+ titleUnverified: string
+ description: string
+ heldByProcess: (pid: number) => string
+ heldUnknown: string
+ unverified: string
+ since: (time: string) => string
+ lastChecked: (time: string) => string
+ recoveryHint: string
+ checkAgain: string
+ quit: string
+ openLogs: string
+ startAnyway: string
+ confirmTitle: string
+ confirmBody: string
+ confirmKeepWaiting: string
+ confirmStart: string
+ startAnywayRefused: string
+ }
+}