diff --git a/apps/mobile/src/features/connection/ConnectionDiagnosisDetails.tsx b/apps/mobile/src/features/connection/ConnectionDiagnosisDetails.tsx index 719ccc31ce..75e00dce94 100644 --- a/apps/mobile/src/features/connection/ConnectionDiagnosisDetails.tsx +++ b/apps/mobile/src/features/connection/ConnectionDiagnosisDetails.tsx @@ -39,6 +39,7 @@ export function useConnectionDiagnosis( state, clientVersion: Constants.expoConfig?.version, serverVersion: presentation.serverConfig?.environment.serverVersion, + primary: presentation.entry.target._tag === "PrimaryConnectionTarget", }, messages, ); diff --git a/apps/mobile/src/features/files/FileMarkdownPreview.tsx b/apps/mobile/src/features/files/FileMarkdownPreview.tsx index 2abbd7be1d..5d3f07e8df 100644 --- a/apps/mobile/src/features/files/FileMarkdownPreview.tsx +++ b/apps/mobile/src/features/files/FileMarkdownPreview.tsx @@ -276,7 +276,7 @@ export function FileMarkdownPreview(props: { const markdown = maskMarkdownFrontmatter(props.markdown); // Only chunks near the viewport mount, so only they pay for the JS rewrites and native parse. - const { chunks, definitions } = splitMarkdown(markdown); + const { chunks, definitions } = splitMarkdown(markdown, undefined, true); // A piece this long (one huge fence or HTML block) is too slow to parse, so it shows as source, // in runs so no one text view lays out all of it. const pieces = chunks.flatMap((chunk): PreviewPiece[] => { diff --git a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx index 03431b0aea..0171545a73 100644 --- a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx +++ b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx @@ -346,13 +346,13 @@ function LiveThreadRouteController(props: ThreadRouteScreenProps) { return ; } + // Reconnecting cannot help an environment this app does not support; its settings say why. + const canReconnect = routeEnvironmentRuntime !== null && routeConnectionState !== "unsupported"; return withInspectorHeader( { - if (routeEnvironmentRuntime !== null) { + if (canReconnect) { onReconnectEnvironment(environmentId); return; } diff --git a/apps/mobile/src/features/threads/thread-route-hydration.test.ts b/apps/mobile/src/features/threads/thread-route-hydration.test.ts index 9a7f104360..c63cc7274c 100644 --- a/apps/mobile/src/features/threads/thread-route-hydration.test.ts +++ b/apps/mobile/src/features/threads/thread-route-hydration.test.ts @@ -113,6 +113,13 @@ describe("threadRouteOpensDraft", () => { expect(threadRouteOpensDraft(failedDetail)).toBe(false); }); + it.each(["available", "unsupported"] as const)( + "keeps the route for an environment this app is not connected to (%s)", + (connectionState) => { + expect(threadRouteOpensDraft({ connectionState, detailStatus: "empty" })).toBe(false); + }, + ); + it("opens a draft once the thread can't arrive", () => { expect( threadRouteOpensDraft({ connectionState: "reconnecting", detailStatus: "deleted" }), diff --git a/apps/mobile/src/features/threads/thread-route-hydration.ts b/apps/mobile/src/features/threads/thread-route-hydration.ts index 2cc2cec13b..2bf7ea524d 100644 --- a/apps/mobile/src/features/threads/thread-route-hydration.ts +++ b/apps/mobile/src/features/threads/thread-route-hydration.ts @@ -46,7 +46,8 @@ export function threadRouteIsHydrating(input: { /** * Replacing the route with a draft can't be undone, so a thread that may still arrive keeps its * route: a reconnecting environment often delivers it moments later, and Reconnect starts a - * fresh connecting attempt. + * fresh connecting attempt. One that is not on this device or is switched off ("available"), or + * that this app cannot talk to, takes no draft either. */ export function threadRouteOpensDraft(input: { readonly connectionState: EnvironmentConnectionPhase; @@ -55,7 +56,11 @@ export function threadRouteOpensDraft(input: { if (input.detailStatus === "deleted") { return true; } - return input.connectionState !== "reconnecting" && input.connectionState !== "connecting"; + return ( + input.connectionState === "connected" || + input.connectionState === "offline" || + input.connectionState === "error" + ); } /** diff --git a/apps/mobile/src/i18n/translations/de.json b/apps/mobile/src/i18n/translations/de.json index 8a39d6f27a..f0d438d26a 100644 --- a/apps/mobile/src/i18n/translations/de.json +++ b/apps/mobile/src/i18n/translations/de.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "Dieser Client benötigt einen neueren Server. Aktualisiere Onicode auf {host}, um dich zu verbinden.", "b7554d48eece78bf": "Dieses Gerät ist offline", "383d44c3b4927750": "{host} verwendet eine ältere Onicode-Version", + "93033e6fe944005b": "Unter der Adresse von {host} antwortet ein anderes Onicode", "8fbb34f526bbc90b": "Dieses Gerät konnte die Verbindung nicht vorbereiten", "f8f76728b8057648": "Onicode auf {host} hat dieses Gerät nicht akzeptiert", + "c5a5c823837b491a": "Keine Verbindung zu Onicode auf {host}", "c6863c736a0be936": "Onicode auf {host} hat nicht geantwortet", "be1a485071912959": "Verbinde dieses Gerät mit dem Netzwerk. Onicode verbindet sich von selbst wieder.", "2e189c743ae0f3ab": "Aktualisiere Onicode auf {host}.", + "790e44894a6c18c5": "Wenn dieses Gerät in einem anderen Netzwerk ist, hat dort womöglich ein anderer Rechner diese Adresse. Onicode versucht es erneut, sobald sich das Netzwerk ändert.", "5b72c411f6916189": "Starte Onicode auf diesem Gerät neu.", + "5443861e7c25340f": "Wenn Onicode auf {host} neu installiert wurde, entferne {host} und kopple es erneut.", "6a1d53c7bee371aa": "Wenn es weiter fehlschlägt, entferne {host} von diesem Gerät und füge es erneut hinzu.", "e950948b20d099cf": "Die Anmeldung dieses Geräts bei {host} ist abgelaufen oder wurde widerrufen. Kopple es erneut mit einem neuen Kopplungslink von {host}.", "053d954a87a5dc82": "Stelle sicher, dass Onicode auf {host} läuft.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} hat auf keiner gespeicherten Route geantwortet.", "b0dd3cd876937ca8": "Verbindungsprofil {connectionId} ist nicht verfügbar.", "5ce46783e79ca9d1": "Zugangsdaten der Verbindung {connectionId} sind nicht verfügbar.", - "421397f0269eb397": "Unter dieser Adresse läuft jetzt eine andere Onicode-Installation ({actual}, nicht {expected}). Entferne diese Verbindung und füge sie erneut hinzu.", + "c9330ffc3d8e205b": "Unter dieser Adresse antwortet eine andere Onicode-Installation.", "33c6c9e0fd567f24": "Dieser Rechner meldet dieses Gerät nicht über das Tailnet an. Kopple es stattdessen mit einem Code von diesem Rechner.", "ea0d3e4e51d5706f": "Die Zugangsdaten der Umgebung sind ungültig.", "7283ebfd16d09677": "Die Zugangsdaten der Umgebung gewähren nicht den erforderlichen Zugriff.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "Dieses Video konnte nicht geladen werden. Prüfe die Verbindung und versuch es erneut.", "846a81c1af70b4d6": "Video konnte nicht geöffnet werden", "3546993db5f4884d": "Dieses Video konnte nicht geladen oder abgespielt werden. Prüfe die Verbindung oder halte das Video gedrückt, um das Original zu speichern oder zu teilen.", - "2f43856cab225c65": "Agenten-Benachrichtigungen", - "370fd93e509d1e31": "Laufende Agenten-Aktivität", - "d65f9a3ee3f07eb8": "Agenten-Aktivität", - "da192ff3231b10c8": "Alles fertig", - "97884c869683f97f": "{count, plural, one {{count} braucht dich} other {{count} brauchen dich}}", - "425e4a3d6c5c2867": "{count, plural, one {{count} fehlgeschlagen} other {{count} fehlgeschlagen}}", - "47229f653e4ebdee": "{count, plural, one {Fertig, {count} fehlgeschlagen} other {Fertig, {count} fehlgeschlagen}}", - "67d4a779cd49a863": "{count, plural, one {{count} fertig} other {{count} fertig}}", - "cefbcab009d74314": "{count, plural, one {{count} arbeitet} other {{count} arbeiten}}", - "6a3a43a30efe568c": "{count, plural, one {{count} aktiv} other {{count} aktiv}}", - "070e8d2523890f69": "{count, plural, one {{count} Thread} other {{count} Threads}}", - "8b310df9f3ba0ff2": "Wird verbunden", - "ad78fae7d373cf21": "Arbeitet", - "6676b94ff43c6214": "Genehmigung", - "068c8b6f9a2c1b4f": "Eingabe", - "0a260c7744afd0be": "Wartet", - "6583fff72f2231e8": "Fertig", - "37ffec8201f153c1": "Fehlgeschlagen", - "ebf96603a559247b": "Aktiv", - "7e81c3bd3e20afce": "{count} live", - "476e8fdb172008ea": "Läuft", - "fde2d0d0f81321de": "Prüfen", - "c37dbb5b38c06eee": "Antwort", - "1a424675921db512": "Wartet", - "d9d8ba6b8f69a34a": "Fertig", - "13c2082812368db7": "Fehler", - "4d16d880b1ca69d1": "Öffnen", - "16aed9b9b6f9ca2d": "Genehmigen", - "58108ce1e9afd3d7": "Antworten", "07f8fca2dd944865": "Agenten-Anmeldung", "f47cd63daffa1319": "Abgleichcode {code}", "268f1054c28cdfff": "Dieses Gerät kann keinen Zugriff gewähren.", @@ -1818,6 +1793,35 @@ ], "03fb284cacf02176": "Dieses Gerät braucht die Berechtigung „Zugriff verwalten“ auf {environment}.", "97370f7ca457d991": "Dieses Gerät kann das auf {environment} nicht gewähren.", + "2f43856cab225c65": "Agenten-Benachrichtigungen", + "370fd93e509d1e31": "Laufende Agenten-Aktivität", + "d65f9a3ee3f07eb8": "Agenten-Aktivität", + "da192ff3231b10c8": "Alles fertig", + "97884c869683f97f": "{count, plural, one {{count} braucht dich} other {{count} brauchen dich}}", + "425e4a3d6c5c2867": "{count, plural, one {{count} fehlgeschlagen} other {{count} fehlgeschlagen}}", + "47229f653e4ebdee": "{count, plural, one {Fertig, {count} fehlgeschlagen} other {Fertig, {count} fehlgeschlagen}}", + "67d4a779cd49a863": "{count, plural, one {{count} fertig} other {{count} fertig}}", + "cefbcab009d74314": "{count, plural, one {{count} arbeitet} other {{count} arbeiten}}", + "6a3a43a30efe568c": "{count, plural, one {{count} aktiv} other {{count} aktiv}}", + "070e8d2523890f69": "{count, plural, one {{count} Thread} other {{count} Threads}}", + "8b310df9f3ba0ff2": "Wird verbunden", + "ad78fae7d373cf21": "Arbeitet", + "6676b94ff43c6214": "Genehmigung", + "068c8b6f9a2c1b4f": "Eingabe", + "0a260c7744afd0be": "Wartet", + "6583fff72f2231e8": "Fertig", + "37ffec8201f153c1": "Fehlgeschlagen", + "ebf96603a559247b": "Aktiv", + "7e81c3bd3e20afce": "{count} live", + "476e8fdb172008ea": "Läuft", + "fde2d0d0f81321de": "Prüfen", + "c37dbb5b38c06eee": "Antwort", + "1a424675921db512": "Wartet", + "d9d8ba6b8f69a34a": "Fertig", + "13c2082812368db7": "Fehler", + "4d16d880b1ca69d1": "Öffnen", + "16aed9b9b6f9ca2d": "Genehmigen", + "58108ce1e9afd3d7": "Antworten", "d7b190749dba3db4": "Benachrichtigungsberechtigungen konnten nicht gelesen werden.", "773cbfec641ff5aa": "Benachrichtigungsberechtigungen konnten nicht angefordert werden.", "b9b1dccabd2ed00d": "Archivierte Threads", diff --git a/apps/mobile/src/i18n/translations/en.json b/apps/mobile/src/i18n/translations/en.json index 2240e1f29b..782142ec1b 100644 --- a/apps/mobile/src/i18n/translations/en.json +++ b/apps/mobile/src/i18n/translations/en.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "This client requires a newer server. Update Onicode on {host} to connect.", "b7554d48eece78bf": "This device is offline", "383d44c3b4927750": "{host} runs an older Onicode", + "93033e6fe944005b": "Another Onicode answers at the address of {host}", "8fbb34f526bbc90b": "This device could not prepare the connection", "f8f76728b8057648": "Onicode on {host} did not accept this device", + "c5a5c823837b491a": "Could not connect to Onicode on {host}", "c6863c736a0be936": "Onicode on {host} did not answer", "be1a485071912959": "Connect this device to the network. Onicode reconnects on its own.", "2e189c743ae0f3ab": "Update Onicode on {host}.", + "790e44894a6c18c5": "If this device is on another network, another machine may have that address there. Onicode tries again when the network changes.", "5b72c411f6916189": "Restart Onicode on this device.", + "5443861e7c25340f": "If Onicode on {host} was reinstalled, remove {host} and pair it again.", "6a1d53c7bee371aa": "If it keeps failing, remove {host} from this device and add it again.", "e950948b20d099cf": "This device's sign-in to {host} expired or was revoked. Pair it again with a new pairing link from {host}.", "053d954a87a5dc82": "Make sure Onicode is running on {host}.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} did not answer on any saved route.", "b0dd3cd876937ca8": "Connection profile {connectionId} is unavailable.", "5ce46783e79ca9d1": "Connection credential {connectionId} is unavailable.", - "421397f0269eb397": "This address now runs a different Onicode install ({actual}, not {expected}). Remove this connection and add it again.", + "c9330ffc3d8e205b": "A different Onicode install answers at this address.", "33c6c9e0fd567f24": "That machine does not sign in this device from the tailnet. Pair it with a code from that machine instead.", "ea0d3e4e51d5706f": "The environment credential is invalid.", "7283ebfd16d09677": "The environment credential does not grant the required access.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "Could not load this video. Check the connection and try again.", "846a81c1af70b4d6": "Could not open video", "3546993db5f4884d": "This video couldn't be loaded or played. Check the connection, or touch and hold the video to save or share the original.", - "2f43856cab225c65": "Agent alerts", - "370fd93e509d1e31": "Ongoing agent activity", - "d65f9a3ee3f07eb8": "Agent activity", - "da192ff3231b10c8": "All finished", - "97884c869683f97f": "{count, plural, one {{count} needs you} other {{count} need you}}", - "425e4a3d6c5c2867": "{count, plural, one {{count} failed} other {{count} failed}}", - "47229f653e4ebdee": "{count, plural, one {Finished, {count} failed} other {Finished, {count} failed}}", - "67d4a779cd49a863": "{count, plural, one {{count} done} other {{count} done}}", - "cefbcab009d74314": "{count, plural, one {{count} working} other {{count} working}}", - "6a3a43a30efe568c": "{count, plural, one {{count} active} other {{count} active}}", - "070e8d2523890f69": "{count, plural, one {{count} thread} other {{count} threads}}", - "8b310df9f3ba0ff2": "Connecting", - "ad78fae7d373cf21": "Working", - "6676b94ff43c6214": "Approval", - "068c8b6f9a2c1b4f": "Input", - "0a260c7744afd0be": "Waiting", - "6583fff72f2231e8": "Done", - "37ffec8201f153c1": "Failed", - "ebf96603a559247b": "Active", - "7e81c3bd3e20afce": "{count} live", - "476e8fdb172008ea": "Working", - "fde2d0d0f81321de": "Approve", - "c37dbb5b38c06eee": "Answer", - "1a424675921db512": "Waiting", - "d9d8ba6b8f69a34a": "Done", - "13c2082812368db7": "Failed", - "4d16d880b1ca69d1": "Open", - "16aed9b9b6f9ca2d": "Approve", - "58108ce1e9afd3d7": "Answer", "07f8fca2dd944865": "Agent sign-in", "f47cd63daffa1319": "Match code {code}", "268f1054c28cdfff": "This device cannot grant any access.", @@ -1819,6 +1794,35 @@ ], "03fb284cacf02176": "This device needs the Manage access permission on {environment}.", "97370f7ca457d991": "This device cannot grant this on {environment}.", + "2f43856cab225c65": "Agent alerts", + "370fd93e509d1e31": "Ongoing agent activity", + "d65f9a3ee3f07eb8": "Agent activity", + "da192ff3231b10c8": "All finished", + "97884c869683f97f": "{count, plural, one {{count} needs you} other {{count} need you}}", + "425e4a3d6c5c2867": "{count, plural, one {{count} failed} other {{count} failed}}", + "47229f653e4ebdee": "{count, plural, one {Finished, {count} failed} other {Finished, {count} failed}}", + "67d4a779cd49a863": "{count, plural, one {{count} done} other {{count} done}}", + "cefbcab009d74314": "{count, plural, one {{count} working} other {{count} working}}", + "6a3a43a30efe568c": "{count, plural, one {{count} active} other {{count} active}}", + "070e8d2523890f69": "{count, plural, one {{count} thread} other {{count} threads}}", + "8b310df9f3ba0ff2": "Connecting", + "ad78fae7d373cf21": "Working", + "6676b94ff43c6214": "Approval", + "068c8b6f9a2c1b4f": "Input", + "0a260c7744afd0be": "Waiting", + "6583fff72f2231e8": "Done", + "37ffec8201f153c1": "Failed", + "ebf96603a559247b": "Active", + "7e81c3bd3e20afce": "{count} live", + "476e8fdb172008ea": "Working", + "fde2d0d0f81321de": "Approve", + "c37dbb5b38c06eee": "Answer", + "1a424675921db512": "Waiting", + "d9d8ba6b8f69a34a": "Done", + "13c2082812368db7": "Failed", + "4d16d880b1ca69d1": "Open", + "16aed9b9b6f9ca2d": "Approve", + "58108ce1e9afd3d7": "Answer", "d7b190749dba3db4": "Failed to read notification permissions.", "773cbfec641ff5aa": "Failed to request notification permissions.", "b9b1dccabd2ed00d": "Archived threads", diff --git a/apps/mobile/src/i18n/translations/es.json b/apps/mobile/src/i18n/translations/es.json index b8df471bb5..7f0d323dd0 100644 --- a/apps/mobile/src/i18n/translations/es.json +++ b/apps/mobile/src/i18n/translations/es.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "Este cliente necesita un servidor más reciente. Actualiza Onicode en {host} para conectarte.", "b7554d48eece78bf": "Este dispositivo no tiene conexión", "383d44c3b4927750": "{host} ejecuta una versión antigua de Onicode", + "93033e6fe944005b": "Otro Onicode responde en la dirección de {host}", "8fbb34f526bbc90b": "Este dispositivo no pudo preparar la conexión", "f8f76728b8057648": "Onicode en {host} no aceptó este dispositivo", + "c5a5c823837b491a": "No se pudo conectar con Onicode en {host}", "c6863c736a0be936": "Onicode en {host} no respondió", "be1a485071912959": "Conecta este dispositivo a la red. Onicode se reconecta por sí solo.", "2e189c743ae0f3ab": "Actualiza Onicode en {host}.", + "790e44894a6c18c5": "Si este dispositivo está en otra red, puede que otra máquina tenga esa dirección allí. Onicode lo vuelve a intentar cuando cambia la red.", "5b72c411f6916189": "Reinicia Onicode en este dispositivo.", + "5443861e7c25340f": "Si Onicode en {host} se reinstaló, quita {host} y vuelve a vincularlo.", "6a1d53c7bee371aa": "Si sigue fallando, quita {host} de este dispositivo y vuelve a añadirlo.", "e950948b20d099cf": "El inicio de sesión de este dispositivo en {host} caducó o fue revocado. Emparéjalo de nuevo con un enlace de emparejamiento nuevo de {host}.", "053d954a87a5dc82": "Asegúrate de que Onicode se está ejecutando en {host}.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} no respondió en ninguna de las rutas guardadas.", "b0dd3cd876937ca8": "El perfil de conexión {connectionId} no está disponible.", "5ce46783e79ca9d1": "La credencial de conexión {connectionId} no está disponible.", - "421397f0269eb397": "Esta dirección ahora ejecuta otra instalación de Onicode ({actual}, no {expected}). Elimina esta conexión y vuelve a añadirla.", + "c9330ffc3d8e205b": "Otra instalación de Onicode responde en esta dirección.", "33c6c9e0fd567f24": "Esa máquina no inicia sesión de este dispositivo desde la tailnet. Vincúlalo con un código de esa máquina.", "ea0d3e4e51d5706f": "La credencial del entorno no es válida.", "7283ebfd16d09677": "La credencial del entorno no concede el acceso necesario.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "No se pudo cargar este vídeo. Revisa la conexión e inténtalo de nuevo.", "846a81c1af70b4d6": "No se pudo abrir el vídeo", "3546993db5f4884d": "No se pudo cargar ni reproducir este vídeo. Revisa la conexión o mantén pulsado el vídeo para guardar o compartir el original.", - "2f43856cab225c65": "Alertas de agentes", - "370fd93e509d1e31": "Actividad de agentes en curso", - "d65f9a3ee3f07eb8": "Actividad de agentes", - "da192ff3231b10c8": "Todo terminado", - "97884c869683f97f": "{count, plural, one {{count} te necesita} other {{count} te necesitan}}", - "425e4a3d6c5c2867": "{count, plural, one {{count} falló} other {{count} fallaron}}", - "47229f653e4ebdee": "{count, plural, one {Terminado, {count} falló} other {Terminado, {count} fallaron}}", - "67d4a779cd49a863": "{count, plural, one {{count} hecho} other {{count} hechos}}", - "cefbcab009d74314": "{count, plural, one {{count} trabajando} other {{count} trabajando}}", - "6a3a43a30efe568c": "{count, plural, one {{count} activo} other {{count} activos}}", - "070e8d2523890f69": "{count, plural, one {{count} hilo} other {{count} hilos}}", - "8b310df9f3ba0ff2": "Conectando", - "ad78fae7d373cf21": "Trabajando", - "6676b94ff43c6214": "Aprobación", - "068c8b6f9a2c1b4f": "Respuesta", - "0a260c7744afd0be": "Esperando", - "6583fff72f2231e8": "Hecho", - "37ffec8201f153c1": "Falló", - "ebf96603a559247b": "Activo", - "7e81c3bd3e20afce": "{count} act.", - "476e8fdb172008ea": "Trabaja", - "fde2d0d0f81321de": "Aprobar", - "c37dbb5b38c06eee": "Duda", - "1a424675921db512": "Espera", - "d9d8ba6b8f69a34a": "Hecho", - "13c2082812368db7": "Falló", - "4d16d880b1ca69d1": "Abrir", - "16aed9b9b6f9ca2d": "Aprobar", - "58108ce1e9afd3d7": "Responder", "07f8fca2dd944865": "Inicio de sesión de agente", "f47cd63daffa1319": "Código de coincidencia {code}", "268f1054c28cdfff": "Este dispositivo no puede conceder ningún acceso.", @@ -1819,6 +1794,35 @@ ], "03fb284cacf02176": "Este dispositivo necesita el permiso Gestionar acceso en {environment}.", "97370f7ca457d991": "Este dispositivo no puede conceder esto en {environment}.", + "2f43856cab225c65": "Alertas de agentes", + "370fd93e509d1e31": "Actividad de agentes en curso", + "d65f9a3ee3f07eb8": "Actividad de agentes", + "da192ff3231b10c8": "Todo terminado", + "97884c869683f97f": "{count, plural, one {{count} te necesita} other {{count} te necesitan}}", + "425e4a3d6c5c2867": "{count, plural, one {{count} falló} other {{count} fallaron}}", + "47229f653e4ebdee": "{count, plural, one {Terminado, {count} falló} other {Terminado, {count} fallaron}}", + "67d4a779cd49a863": "{count, plural, one {{count} hecho} other {{count} hechos}}", + "cefbcab009d74314": "{count, plural, one {{count} trabajando} other {{count} trabajando}}", + "6a3a43a30efe568c": "{count, plural, one {{count} activo} other {{count} activos}}", + "070e8d2523890f69": "{count, plural, one {{count} hilo} other {{count} hilos}}", + "8b310df9f3ba0ff2": "Conectando", + "ad78fae7d373cf21": "Trabajando", + "6676b94ff43c6214": "Aprobación", + "068c8b6f9a2c1b4f": "Respuesta", + "0a260c7744afd0be": "Esperando", + "6583fff72f2231e8": "Hecho", + "37ffec8201f153c1": "Falló", + "ebf96603a559247b": "Activo", + "7e81c3bd3e20afce": "{count} act.", + "476e8fdb172008ea": "Trabaja", + "fde2d0d0f81321de": "Aprobar", + "c37dbb5b38c06eee": "Duda", + "1a424675921db512": "Espera", + "d9d8ba6b8f69a34a": "Hecho", + "13c2082812368db7": "Falló", + "4d16d880b1ca69d1": "Abrir", + "16aed9b9b6f9ca2d": "Aprobar", + "58108ce1e9afd3d7": "Responder", "d7b190749dba3db4": "No se pudieron leer los permisos de notificaciones.", "773cbfec641ff5aa": "No se pudieron solicitar los permisos de notificaciones.", "b9b1dccabd2ed00d": "Hilos archivados", diff --git a/apps/mobile/src/i18n/translations/fr.json b/apps/mobile/src/i18n/translations/fr.json index 8d0fc28f9e..d81b2059e1 100644 --- a/apps/mobile/src/i18n/translations/fr.json +++ b/apps/mobile/src/i18n/translations/fr.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "Ce client nécessite un serveur plus récent. Mettez à jour Onicode sur {host} pour vous connecter.", "b7554d48eece78bf": "Cet appareil est hors ligne", "383d44c3b4927750": "{host} utilise une ancienne version de Onicode", + "93033e6fe944005b": "Un autre Onicode répond à l’adresse de {host}", "8fbb34f526bbc90b": "Cet appareil n’a pas pu préparer la connexion", "f8f76728b8057648": "Onicode sur {host} n’a pas accepté cet appareil", + "c5a5c823837b491a": "Impossible de se connecter à Onicode sur {host}", "c6863c736a0be936": "Onicode sur {host} n’a pas répondu", "be1a485071912959": "Connectez cet appareil au réseau. Onicode se reconnecte tout seul.", "2e189c743ae0f3ab": "Mettez à jour Onicode sur {host}.", + "790e44894a6c18c5": "Si cet appareil est sur un autre réseau, une autre machine peut y avoir cette adresse. Onicode réessaie quand le réseau change.", "5b72c411f6916189": "Redémarrez Onicode sur cet appareil.", + "5443861e7c25340f": "Si Onicode sur {host} a été réinstallé, retirez {host} et associez-le à nouveau.", "6a1d53c7bee371aa": "Si l’échec persiste, retirez {host} de cet appareil puis ajoutez-le à nouveau.", "e950948b20d099cf": "La connexion de cet appareil à {host} a expiré ou a été révoquée. Appairez-le à nouveau avec un nouveau lien d’appairage depuis {host}.", "053d954a87a5dc82": "Vérifiez que Onicode est lancé sur {host}.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} n’a répondu sur aucune route enregistrée.", "b0dd3cd876937ca8": "Le profil de connexion {connectionId} n’est pas disponible.", "5ce46783e79ca9d1": "Les identifiants de connexion {connectionId} ne sont pas disponibles.", - "421397f0269eb397": "Cette adresse exécute désormais une autre installation d’Onicode ({actual}, et non {expected}). Supprimez cette connexion et ajoutez-la à nouveau.", + "c9330ffc3d8e205b": "Une autre installation d’Onicode répond à cette adresse.", "33c6c9e0fd567f24": "Cette machine n'authentifie pas cet appareil depuis le tailnet. Associez-le plutôt avec un code de cette machine.", "ea0d3e4e51d5706f": "Les identifiants de l’environnement ne sont pas valides.", "7283ebfd16d09677": "Les identifiants de l’environnement n’accordent pas l’accès requis.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "Impossible de charger cette vidéo. Vérifiez la connexion et réessayez.", "846a81c1af70b4d6": "Impossible d’ouvrir la vidéo", "3546993db5f4884d": "Cette vidéo n’a pas pu être chargée ou lue. Vérifiez la connexion, ou appuyez longuement sur la vidéo pour enregistrer ou partager l’original.", - "2f43856cab225c65": "Alertes des agents", - "370fd93e509d1e31": "Activité des agents en cours", - "d65f9a3ee3f07eb8": "Activité des agents", - "da192ff3231b10c8": "Tout est terminé", - "97884c869683f97f": "{count, plural, one {{count} a besoin de vous} other {{count} ont besoin de vous}}", - "425e4a3d6c5c2867": "{count, plural, one {{count} en échec} other {{count} en échec}}", - "47229f653e4ebdee": "{count, plural, one {Terminé, {count} en échec} other {Terminé, {count} en échec}}", - "67d4a779cd49a863": "{count, plural, one {{count} terminé} other {{count} terminés}}", - "cefbcab009d74314": "{count, plural, one {{count} en cours} other {{count} en cours}}", - "6a3a43a30efe568c": "{count, plural, one {{count} actif} other {{count} actifs}}", - "070e8d2523890f69": "{count, plural, one {{count} fil} other {{count} fils}}", - "8b310df9f3ba0ff2": "Connexion", - "ad78fae7d373cf21": "En cours", - "6676b94ff43c6214": "Approbation", - "068c8b6f9a2c1b4f": "Réponse", - "0a260c7744afd0be": "En attente", - "6583fff72f2231e8": "Terminé", - "37ffec8201f153c1": "Échec", - "ebf96603a559247b": "Actif", - "7e81c3bd3e20afce": "{count} act.", - "476e8fdb172008ea": "Actif", - "fde2d0d0f81321de": "Valider", - "c37dbb5b38c06eee": "Réponse", - "1a424675921db512": "Attente", - "d9d8ba6b8f69a34a": "Terminé", - "13c2082812368db7": "Échec", - "4d16d880b1ca69d1": "Ouvrir", - "16aed9b9b6f9ca2d": "Approuver", - "58108ce1e9afd3d7": "Répondre", "07f8fca2dd944865": "Connexion d’un agent", "f47cd63daffa1319": "Code de correspondance {code}", "268f1054c28cdfff": "Cet appareil ne peut accorder aucun accès.", @@ -1819,6 +1794,35 @@ ], "03fb284cacf02176": "Cet appareil a besoin de l’autorisation Gérer l’accès sur {environment}.", "97370f7ca457d991": "Cet appareil ne peut pas accorder ceci sur {environment}.", + "2f43856cab225c65": "Alertes des agents", + "370fd93e509d1e31": "Activité des agents en cours", + "d65f9a3ee3f07eb8": "Activité des agents", + "da192ff3231b10c8": "Tout est terminé", + "97884c869683f97f": "{count, plural, one {{count} a besoin de vous} other {{count} ont besoin de vous}}", + "425e4a3d6c5c2867": "{count, plural, one {{count} en échec} other {{count} en échec}}", + "47229f653e4ebdee": "{count, plural, one {Terminé, {count} en échec} other {Terminé, {count} en échec}}", + "67d4a779cd49a863": "{count, plural, one {{count} terminé} other {{count} terminés}}", + "cefbcab009d74314": "{count, plural, one {{count} en cours} other {{count} en cours}}", + "6a3a43a30efe568c": "{count, plural, one {{count} actif} other {{count} actifs}}", + "070e8d2523890f69": "{count, plural, one {{count} fil} other {{count} fils}}", + "8b310df9f3ba0ff2": "Connexion", + "ad78fae7d373cf21": "En cours", + "6676b94ff43c6214": "Approbation", + "068c8b6f9a2c1b4f": "Réponse", + "0a260c7744afd0be": "En attente", + "6583fff72f2231e8": "Terminé", + "37ffec8201f153c1": "Échec", + "ebf96603a559247b": "Actif", + "7e81c3bd3e20afce": "{count} act.", + "476e8fdb172008ea": "Actif", + "fde2d0d0f81321de": "Valider", + "c37dbb5b38c06eee": "Réponse", + "1a424675921db512": "Attente", + "d9d8ba6b8f69a34a": "Terminé", + "13c2082812368db7": "Échec", + "4d16d880b1ca69d1": "Ouvrir", + "16aed9b9b6f9ca2d": "Approuver", + "58108ce1e9afd3d7": "Répondre", "d7b190749dba3db4": "Impossible de lire les autorisations de notification.", "773cbfec641ff5aa": "Impossible de demander les autorisations de notification.", "b9b1dccabd2ed00d": "Fils archivés", diff --git a/apps/mobile/src/i18n/translations/ja.json b/apps/mobile/src/i18n/translations/ja.json index 46bd8fbfab..93f5cf561a 100644 --- a/apps/mobile/src/i18n/translations/ja.json +++ b/apps/mobile/src/i18n/translations/ja.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "このクライアントには新しいサーバーが必要です。接続するには {host} の Onicode を更新してください。", "b7554d48eece78bf": "このデバイスはオフラインです", "383d44c3b4927750": "{host} の Onicode は古いバージョンです", + "93033e6fe944005b": "{host} のアドレスで別の Onicode が応答しています", "8fbb34f526bbc90b": "このデバイスは接続を準備できませんでした", "f8f76728b8057648": "{host} の Onicode がこのデバイスを受け付けませんでした", + "c5a5c823837b491a": "{host} の Onicode に接続できませんでした", "c6863c736a0be936": "{host} の Onicode が応答しませんでした", "be1a485071912959": "このデバイスをネットワークに接続してください。Onicode は自動的に再接続します。", "2e189c743ae0f3ab": "{host} の Onicode を更新してください。", + "790e44894a6c18c5": "このデバイスが別のネットワークにある場合、そこでは別のマシンがそのアドレスを使っている可能性があります。ネットワークが変わると Onicode は再試行します。", "5b72c411f6916189": "このデバイスで Onicode を再起動してください。", + "5443861e7c25340f": "{host} の Onicode を再インストールした場合は、{host} を削除してもう一度ペアリングしてください。", "6a1d53c7bee371aa": "失敗が続く場合は、このデバイスから {host} を削除して追加し直してください。", "e950948b20d099cf": "このデバイスの {host} へのサインインは期限切れか、取り消されました。{host} の新しいペアリングリンクでもう一度ペアリングしてください。", "053d954a87a5dc82": "{host} で Onicode が実行中であることを確認してください。", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} は保存されたどのルートでも応答しませんでした。", "b0dd3cd876937ca8": "接続プロファイル {connectionId} は利用できません。", "5ce46783e79ca9d1": "接続の資格情報 {connectionId} は利用できません。", - "421397f0269eb397": "このアドレスでは別の Onicode が動作しています({expected} ではなく {actual})。この接続を削除して、もう一度追加してください。", + "c9330ffc3d8e205b": "このアドレスでは別の Onicode のインストールが応答しています。", "33c6c9e0fd567f24": "そのマシンは tailnet 経由でこのデバイスをサインインさせません。代わりにそのマシンのコードでペアリングしてください。", "ea0d3e4e51d5706f": "環境の資格情報が無効です。", "7283ebfd16d09677": "環境の資格情報に必要なアクセス権がありません。", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "この動画を読み込めませんでした。接続を確認して、もう一度お試しください。", "846a81c1af70b4d6": "動画を開けませんでした", "3546993db5f4884d": "この動画を読み込みまたは再生できませんでした。接続を確認するか、動画を長押ししてオリジナルを保存または共有してください。", - "2f43856cab225c65": "エージェントのアラート", - "370fd93e509d1e31": "進行中のエージェントアクティビティ", - "d65f9a3ee3f07eb8": "エージェントのアクティビティ", - "da192ff3231b10c8": "すべて完了", - "97884c869683f97f": "{count, plural, other {{count} 件が対応待ち}}", - "425e4a3d6c5c2867": "{count, plural, other {{count} 件失敗}}", - "47229f653e4ebdee": "{count, plural, other {完了、{count} 件失敗}}", - "67d4a779cd49a863": "{count, plural, other {{count} 件完了}}", - "cefbcab009d74314": "{count, plural, other {{count} 件作業中}}", - "6a3a43a30efe568c": "{count, plural, other {{count} 件アクティブ}}", - "070e8d2523890f69": "{count, plural, other {{count} 件のスレッド}}", - "8b310df9f3ba0ff2": "接続中", - "ad78fae7d373cf21": "作業中", - "6676b94ff43c6214": "承認待ち", - "068c8b6f9a2c1b4f": "入力待ち", - "0a260c7744afd0be": "待機中", - "6583fff72f2231e8": "完了", - "37ffec8201f153c1": "失敗", - "ebf96603a559247b": "進行中", - "7e81c3bd3e20afce": "{count}件稼働", - "476e8fdb172008ea": "作業中", - "fde2d0d0f81321de": "承認", - "c37dbb5b38c06eee": "回答", - "1a424675921db512": "待機中", - "d9d8ba6b8f69a34a": "完了", - "13c2082812368db7": "失敗", - "4d16d880b1ca69d1": "開く", - "16aed9b9b6f9ca2d": "承認", - "58108ce1e9afd3d7": "回答", "07f8fca2dd944865": "エージェントのサインイン", "f47cd63daffa1319": "照合コード {code}", "268f1054c28cdfff": "このデバイスはアクセスを付与できません。", @@ -1817,6 +1792,35 @@ ], "03fb284cacf02176": "このデバイスには {environment} での「アクセスの管理」権限が必要です。", "97370f7ca457d991": "このデバイスは {environment} でこれを付与できません。", + "2f43856cab225c65": "エージェントのアラート", + "370fd93e509d1e31": "進行中のエージェントアクティビティ", + "d65f9a3ee3f07eb8": "エージェントのアクティビティ", + "da192ff3231b10c8": "すべて完了", + "97884c869683f97f": "{count, plural, other {{count} 件が対応待ち}}", + "425e4a3d6c5c2867": "{count, plural, other {{count} 件失敗}}", + "47229f653e4ebdee": "{count, plural, other {完了、{count} 件失敗}}", + "67d4a779cd49a863": "{count, plural, other {{count} 件完了}}", + "cefbcab009d74314": "{count, plural, other {{count} 件作業中}}", + "6a3a43a30efe568c": "{count, plural, other {{count} 件アクティブ}}", + "070e8d2523890f69": "{count, plural, other {{count} 件のスレッド}}", + "8b310df9f3ba0ff2": "接続中", + "ad78fae7d373cf21": "作業中", + "6676b94ff43c6214": "承認待ち", + "068c8b6f9a2c1b4f": "入力待ち", + "0a260c7744afd0be": "待機中", + "6583fff72f2231e8": "完了", + "37ffec8201f153c1": "失敗", + "ebf96603a559247b": "進行中", + "7e81c3bd3e20afce": "{count}件稼働", + "476e8fdb172008ea": "作業中", + "fde2d0d0f81321de": "承認", + "c37dbb5b38c06eee": "回答", + "1a424675921db512": "待機中", + "d9d8ba6b8f69a34a": "完了", + "13c2082812368db7": "失敗", + "4d16d880b1ca69d1": "開く", + "16aed9b9b6f9ca2d": "承認", + "58108ce1e9afd3d7": "回答", "d7b190749dba3db4": "通知の権限を読み取れませんでした。", "773cbfec641ff5aa": "通知の権限をリクエストできませんでした。", "b9b1dccabd2ed00d": "アーカイブ済みのスレッド", diff --git a/apps/mobile/src/i18n/translations/ko.json b/apps/mobile/src/i18n/translations/ko.json index 8d815a2738..f89459c2a5 100644 --- a/apps/mobile/src/i18n/translations/ko.json +++ b/apps/mobile/src/i18n/translations/ko.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "이 클라이언트에는 더 최신 서버가 필요합니다. 연결하려면 {host}의 Onicode를 업데이트하세요.", "b7554d48eece78bf": "이 기기는 오프라인입니다", "383d44c3b4927750": "{host}에서 이전 버전의 Onicode를 실행 중입니다", + "93033e6fe944005b": "{host}의 주소에서 다른 Onicode가 응답합니다", "8fbb34f526bbc90b": "이 기기에서 연결을 준비할 수 없습니다", "f8f76728b8057648": "{host}의 Onicode가 이 기기를 수락하지 않았습니다", + "c5a5c823837b491a": "{host}의 Onicode에 연결할 수 없습니다", "c6863c736a0be936": "{host}의 Onicode가 응답하지 않았습니다", "be1a485071912959": "이 기기를 네트워크에 연결하세요. Onicode가 자동으로 다시 연결합니다.", "2e189c743ae0f3ab": "{host}의 Onicode를 업데이트하세요.", + "790e44894a6c18c5": "이 기기가 다른 네트워크에 있다면 그곳에서는 다른 컴퓨터가 그 주소를 쓰고 있을 수 있습니다. 네트워크가 바뀌면 Onicode가 다시 시도합니다.", "5b72c411f6916189": "이 기기에서 Onicode를 다시 시작하세요.", + "5443861e7c25340f": "{host}의 Onicode를 다시 설치했다면 {host}을(를) 제거하고 다시 페어링하세요.", "6a1d53c7bee371aa": "계속 실패하면 이 기기에서 {host}을(를) 제거한 후 다시 추가하세요.", "e950948b20d099cf": "이 기기의 {host} 로그인이 만료되었거나 취소되었습니다. {host}의 새 페어링 링크로 다시 페어링하세요.", "053d954a87a5dc82": "{host}에서 Onicode가 실행 중인지 확인하세요.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host}이(가) 저장된 경로 중 어디에서도 응답하지 않았습니다.", "b0dd3cd876937ca8": "연결 프로필 {connectionId}을(를) 사용할 수 없습니다.", "5ce46783e79ca9d1": "연결 자격 증명 {connectionId}을(를) 사용할 수 없습니다.", - "421397f0269eb397": "이 주소에서 이제 다른 Onicode 설치가 실행 중입니다({expected}이(가) 아닌 {actual}). 이 연결을 삭제한 후 다시 추가하세요.", + "c9330ffc3d8e205b": "이 주소에서 다른 Onicode 설치가 응답합니다.", "33c6c9e0fd567f24": "해당 컴퓨터는 tailnet에서 이 기기를 로그인시키지 않습니다. 대신 해당 컴퓨터의 코드로 페어링하세요.", "ea0d3e4e51d5706f": "환경 자격 증명이 올바르지 않습니다.", "7283ebfd16d09677": "환경 자격 증명에 필요한 액세스 권한이 없습니다.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "이 동영상을 불러올 수 없습니다. 연결을 확인하고 다시 시도하세요.", "846a81c1af70b4d6": "동영상을 열 수 없습니다", "3546993db5f4884d": "이 동영상을 불러오거나 재생할 수 없습니다. 연결을 확인하거나, 동영상을 길게 눌러 원본을 저장하거나 공유하세요.", - "2f43856cab225c65": "에이전트 알림", - "370fd93e509d1e31": "진행 중인 에이전트 활동", - "d65f9a3ee3f07eb8": "에이전트 활동", - "da192ff3231b10c8": "모두 완료", - "97884c869683f97f": "{count, plural, other {{count}개가 응답 대기 중}}", - "425e4a3d6c5c2867": "{count, plural, other {{count}개 실패}}", - "47229f653e4ebdee": "{count, plural, other {완료, {count}개 실패}}", - "67d4a779cd49a863": "{count, plural, other {{count}개 완료}}", - "cefbcab009d74314": "{count, plural, other {{count}개 작업 중}}", - "6a3a43a30efe568c": "{count, plural, other {{count}개 활성}}", - "070e8d2523890f69": "{count, plural, other {스레드 {count}개}}", - "8b310df9f3ba0ff2": "연결 중", - "ad78fae7d373cf21": "작업 중", - "6676b94ff43c6214": "승인", - "068c8b6f9a2c1b4f": "입력", - "0a260c7744afd0be": "대기 중", - "6583fff72f2231e8": "완료", - "37ffec8201f153c1": "실패", - "ebf96603a559247b": "활성", - "7e81c3bd3e20afce": "{count}개 활성", - "476e8fdb172008ea": "작업 중", - "fde2d0d0f81321de": "승인", - "c37dbb5b38c06eee": "답변", - "1a424675921db512": "대기 중", - "d9d8ba6b8f69a34a": "완료", - "13c2082812368db7": "실패", - "4d16d880b1ca69d1": "열기", - "16aed9b9b6f9ca2d": "승인", - "58108ce1e9afd3d7": "답변", "07f8fca2dd944865": "에이전트 로그인", "f47cd63daffa1319": "일치 코드 {code}", "268f1054c28cdfff": "이 기기는 어떤 액세스도 부여할 수 없습니다.", @@ -1817,6 +1792,35 @@ ], "03fb284cacf02176": "이 기기에는 {environment}에 대한 액세스 관리 권한이 필요합니다.", "97370f7ca457d991": "이 기기는 {environment}에서 이 권한을 부여할 수 없습니다.", + "2f43856cab225c65": "에이전트 알림", + "370fd93e509d1e31": "진행 중인 에이전트 활동", + "d65f9a3ee3f07eb8": "에이전트 활동", + "da192ff3231b10c8": "모두 완료", + "97884c869683f97f": "{count, plural, other {{count}개가 응답 대기 중}}", + "425e4a3d6c5c2867": "{count, plural, other {{count}개 실패}}", + "47229f653e4ebdee": "{count, plural, other {완료, {count}개 실패}}", + "67d4a779cd49a863": "{count, plural, other {{count}개 완료}}", + "cefbcab009d74314": "{count, plural, other {{count}개 작업 중}}", + "6a3a43a30efe568c": "{count, plural, other {{count}개 활성}}", + "070e8d2523890f69": "{count, plural, other {스레드 {count}개}}", + "8b310df9f3ba0ff2": "연결 중", + "ad78fae7d373cf21": "작업 중", + "6676b94ff43c6214": "승인", + "068c8b6f9a2c1b4f": "입력", + "0a260c7744afd0be": "대기 중", + "6583fff72f2231e8": "완료", + "37ffec8201f153c1": "실패", + "ebf96603a559247b": "활성", + "7e81c3bd3e20afce": "{count}개 활성", + "476e8fdb172008ea": "작업 중", + "fde2d0d0f81321de": "승인", + "c37dbb5b38c06eee": "답변", + "1a424675921db512": "대기 중", + "d9d8ba6b8f69a34a": "완료", + "13c2082812368db7": "실패", + "4d16d880b1ca69d1": "열기", + "16aed9b9b6f9ca2d": "승인", + "58108ce1e9afd3d7": "답변", "d7b190749dba3db4": "알림 권한을 읽지 못했습니다.", "773cbfec641ff5aa": "알림 권한을 요청하지 못했습니다.", "b9b1dccabd2ed00d": "보관된 스레드", diff --git a/apps/mobile/src/i18n/translations/pt-BR.json b/apps/mobile/src/i18n/translations/pt-BR.json index a4e9f2e9b7..fde92ca360 100644 --- a/apps/mobile/src/i18n/translations/pt-BR.json +++ b/apps/mobile/src/i18n/translations/pt-BR.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "Este cliente exige um servidor mais recente. Atualize o Onicode em {host} para se conectar.", "b7554d48eece78bf": "Este dispositivo está offline", "383d44c3b4927750": "{host} usa uma versão antiga do Onicode", + "93033e6fe944005b": "Outro Onicode responde no endereço de {host}", "8fbb34f526bbc90b": "Este dispositivo não conseguiu preparar a conexão", "f8f76728b8057648": "O Onicode em {host} não aceitou este dispositivo", + "c5a5c823837b491a": "Não foi possível conectar ao Onicode em {host}", "c6863c736a0be936": "O Onicode em {host} não respondeu", "be1a485071912959": "Conecte este dispositivo à rede. O Onicode se reconecta sozinho.", "2e189c743ae0f3ab": "Atualize o Onicode em {host}.", + "790e44894a6c18c5": "Se este dispositivo estiver em outra rede, outra máquina pode ter esse endereço lá. O Onicode tenta de novo quando a rede muda.", "5b72c411f6916189": "Reinicie o Onicode neste dispositivo.", + "5443861e7c25340f": "Se o Onicode em {host} foi reinstalado, remova {host} e pareie de novo.", "6a1d53c7bee371aa": "Se continuar falhando, remova {host} deste dispositivo e adicione-o novamente.", "e950948b20d099cf": "O login deste dispositivo em {host} expirou ou foi revogado. Pareie-o novamente com um novo link de pareamento de {host}.", "053d954a87a5dc82": "Verifique se o Onicode está em execução em {host}.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} não respondeu em nenhuma rota salva.", "b0dd3cd876937ca8": "O perfil de conexão {connectionId} não está disponível.", "5ce46783e79ca9d1": "A credencial de conexão {connectionId} não está disponível.", - "421397f0269eb397": "Este endereço agora executa outra instalação do Onicode ({actual}, não {expected}). Remova esta conexão e adicione-a novamente.", + "c9330ffc3d8e205b": "Outra instalação do Onicode responde neste endereço.", "33c6c9e0fd567f24": "Essa máquina não autentica este dispositivo pela tailnet. Pareie-o com um código dessa máquina.", "ea0d3e4e51d5706f": "A credencial do ambiente é inválida.", "7283ebfd16d09677": "A credencial do ambiente não concede o acesso necessário.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "Não foi possível carregar este vídeo. Verifique a conexão e tente novamente.", "846a81c1af70b4d6": "Não foi possível abrir o vídeo", "3546993db5f4884d": "Não foi possível carregar ou reproduzir este vídeo. Verifique a conexão ou toque e segure o vídeo para salvar ou compartilhar o original.", - "2f43856cab225c65": "Alertas de agentes", - "370fd93e509d1e31": "Atividade de agentes em andamento", - "d65f9a3ee3f07eb8": "Atividade de agentes", - "da192ff3231b10c8": "Tudo concluído", - "97884c869683f97f": "{count, plural, one {{count} precisa de você} other {{count} precisam de você}}", - "425e4a3d6c5c2867": "{count, plural, one {{count} falhou} other {{count} falharam}}", - "47229f653e4ebdee": "{count, plural, one {Concluído, {count} falhou} other {Concluído, {count} falharam}}", - "67d4a779cd49a863": "{count, plural, one {{count} pronta} other {{count} prontas}}", - "cefbcab009d74314": "{count, plural, one {{count} trabalhando} other {{count} trabalhando}}", - "6a3a43a30efe568c": "{count, plural, one {{count} ativa} other {{count} ativas}}", - "070e8d2523890f69": "{count, plural, one {{count} thread} other {{count} threads}}", - "8b310df9f3ba0ff2": "Conectando", - "ad78fae7d373cf21": "Trabalhando", - "6676b94ff43c6214": "Aprovação", - "068c8b6f9a2c1b4f": "Resposta", - "0a260c7744afd0be": "Aguardando", - "6583fff72f2231e8": "Pronta", - "37ffec8201f153c1": "Falhou", - "ebf96603a559247b": "Ativo", - "7e81c3bd3e20afce": "{count} ativ", - "476e8fdb172008ea": "Rodando", - "fde2d0d0f81321de": "Aprovar", - "c37dbb5b38c06eee": "Dúvida", - "1a424675921db512": "Espera", - "d9d8ba6b8f69a34a": "Pronta", - "13c2082812368db7": "Falhou", - "4d16d880b1ca69d1": "Abrir", - "16aed9b9b6f9ca2d": "Aprovar", - "58108ce1e9afd3d7": "Responder", "07f8fca2dd944865": "Login de agente", "f47cd63daffa1319": "Código de correspondência {code}", "268f1054c28cdfff": "Este dispositivo não pode conceder nenhum acesso.", @@ -1819,6 +1794,35 @@ ], "03fb284cacf02176": "Este dispositivo precisa da permissão Gerenciar acesso em {environment}.", "97370f7ca457d991": "Este dispositivo não pode conceder isto em {environment}.", + "2f43856cab225c65": "Alertas de agentes", + "370fd93e509d1e31": "Atividade de agentes em andamento", + "d65f9a3ee3f07eb8": "Atividade de agentes", + "da192ff3231b10c8": "Tudo concluído", + "97884c869683f97f": "{count, plural, one {{count} precisa de você} other {{count} precisam de você}}", + "425e4a3d6c5c2867": "{count, plural, one {{count} falhou} other {{count} falharam}}", + "47229f653e4ebdee": "{count, plural, one {Concluído, {count} falhou} other {Concluído, {count} falharam}}", + "67d4a779cd49a863": "{count, plural, one {{count} pronta} other {{count} prontas}}", + "cefbcab009d74314": "{count, plural, one {{count} trabalhando} other {{count} trabalhando}}", + "6a3a43a30efe568c": "{count, plural, one {{count} ativa} other {{count} ativas}}", + "070e8d2523890f69": "{count, plural, one {{count} thread} other {{count} threads}}", + "8b310df9f3ba0ff2": "Conectando", + "ad78fae7d373cf21": "Trabalhando", + "6676b94ff43c6214": "Aprovação", + "068c8b6f9a2c1b4f": "Resposta", + "0a260c7744afd0be": "Aguardando", + "6583fff72f2231e8": "Pronta", + "37ffec8201f153c1": "Falhou", + "ebf96603a559247b": "Ativo", + "7e81c3bd3e20afce": "{count} ativ", + "476e8fdb172008ea": "Rodando", + "fde2d0d0f81321de": "Aprovar", + "c37dbb5b38c06eee": "Dúvida", + "1a424675921db512": "Espera", + "d9d8ba6b8f69a34a": "Pronta", + "13c2082812368db7": "Falhou", + "4d16d880b1ca69d1": "Abrir", + "16aed9b9b6f9ca2d": "Aprovar", + "58108ce1e9afd3d7": "Responder", "d7b190749dba3db4": "Falha ao ler as permissões de notificação.", "773cbfec641ff5aa": "Falha ao solicitar as permissões de notificação.", "b9b1dccabd2ed00d": "Threads arquivadas", diff --git a/apps/mobile/src/i18n/translations/ru.json b/apps/mobile/src/i18n/translations/ru.json index 9a1cb4efa6..46e19bd9f0 100644 --- a/apps/mobile/src/i18n/translations/ru.json +++ b/apps/mobile/src/i18n/translations/ru.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "Этому клиенту нужен более новый сервер. Обновите Onicode на {host}, чтобы подключиться.", "b7554d48eece78bf": "Это устройство не в сети", "383d44c3b4927750": "На {host} установлена старая версия Onicode", + "93033e6fe944005b": "По адресу {host} отвечает другой Onicode", "8fbb34f526bbc90b": "Этому устройству не удалось подготовить подключение", "f8f76728b8057648": "Onicode на {host} не принял это устройство", + "c5a5c823837b491a": "Не удалось подключиться к Onicode на {host}", "c6863c736a0be936": "Onicode на {host} не ответил", "be1a485071912959": "Подключите это устройство к сети. Onicode переподключится сам.", "2e189c743ae0f3ab": "Обновите Onicode на {host}.", + "790e44894a6c18c5": "Если это устройство в другой сети, там этот адрес может быть у другого компьютера. Onicode попробует снова, когда сеть сменится.", "5b72c411f6916189": "Перезапустите Onicode на этом устройстве.", + "5443861e7c25340f": "Если Onicode на {host} переустановили, удалите {host} и подключите его заново.", "6a1d53c7bee371aa": "Если ошибка повторяется, удалите {host} с этого устройства и добавьте снова.", "e950948b20d099cf": "Вход этого устройства на {host} истёк или был отозван. Выполните сопряжение заново по новой ссылке для сопряжения с {host}.", "053d954a87a5dc82": "Убедитесь, что на {host} запущен Onicode.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} не ответил ни по одному сохранённому маршруту.", "b0dd3cd876937ca8": "Профиль подключения {connectionId} недоступен.", "5ce46783e79ca9d1": "Учётные данные подключения {connectionId} недоступны.", - "421397f0269eb397": "По этому адресу теперь работает другая установка Onicode ({actual}, а не {expected}). Удалите это подключение и добавьте его снова.", + "c9330ffc3d8e205b": "По этому адресу отвечает другая установка Onicode.", "33c6c9e0fd567f24": "Эта машина не выполняет вход этого устройства из tailnet. Вместо этого выполните сопряжение с помощью кода с этой машины.", "ea0d3e4e51d5706f": "Учётные данные окружения недействительны.", "7283ebfd16d09677": "Учётные данные окружения не дают нужного доступа.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "Не удалось загрузить это видео. Проверьте подключение и попробуйте ещё раз.", "846a81c1af70b4d6": "Не удалось открыть видео", "3546993db5f4884d": "Это видео не удалось загрузить или воспроизвести. Проверьте подключение или нажмите и удерживайте видео, чтобы сохранить оригинал или поделиться им.", - "2f43856cab225c65": "Оповещения агентов", - "370fd93e509d1e31": "Текущая активность агентов", - "d65f9a3ee3f07eb8": "Активность агентов", - "da192ff3231b10c8": "Всё завершено", - "97884c869683f97f": "{count, plural, one {{count} ждёт вас} few {{count} ждут вас} many {{count} ждут вас} other {{count} ждут вас}}", - "425e4a3d6c5c2867": "{count, plural, one {С ошибкой: {count}} few {С ошибкой: {count}} many {С ошибкой: {count}} other {С ошибкой: {count}}}", - "47229f653e4ebdee": "{count, plural, one {Завершено, с ошибкой: {count}} few {Завершено, с ошибкой: {count}} many {Завершено, с ошибкой: {count}} other {Завершено, с ошибкой: {count}}}", - "67d4a779cd49a863": "{count, plural, one {Готово: {count}} few {Готово: {count}} many {Готово: {count}} other {Готово: {count}}}", - "cefbcab009d74314": "{count, plural, one {Работает: {count}} few {Работает: {count}} many {Работает: {count}} other {Работает: {count}}}", - "6a3a43a30efe568c": "{count, plural, one {Активно: {count}} few {Активно: {count}} many {Активно: {count}} other {Активно: {count}}}", - "070e8d2523890f69": "{count, plural, one {{count} тред} few {{count} треда} many {{count} тредов} other {{count} треда}}", - "8b310df9f3ba0ff2": "Подключение", - "ad78fae7d373cf21": "Работает", - "6676b94ff43c6214": "Подтверждение", - "068c8b6f9a2c1b4f": "Ввод", - "0a260c7744afd0be": "Ожидает", - "6583fff72f2231e8": "Готово", - "37ffec8201f153c1": "Ошибка", - "ebf96603a559247b": "Активно", - "7e81c3bd3e20afce": "{count} акт.", - "476e8fdb172008ea": "Идёт", - "fde2d0d0f81321de": "Решение", - "c37dbb5b38c06eee": "Ответ", - "1a424675921db512": "Ждёт", - "d9d8ba6b8f69a34a": "Готово", - "13c2082812368db7": "Ошибка", - "4d16d880b1ca69d1": "Открыть", - "16aed9b9b6f9ca2d": "Одобрить", - "58108ce1e9afd3d7": "Ответить", "07f8fca2dd944865": "Вход агента", "f47cd63daffa1319": "Код сверки {code}", "268f1054c28cdfff": "Это устройство не может выдать никакой доступ.", @@ -1819,6 +1794,35 @@ ], "03fb284cacf02176": "Этому устройству нужно разрешение «Управление доступом» в {environment}.", "97370f7ca457d991": "Это устройство не может выдать это в {environment}.", + "2f43856cab225c65": "Оповещения агентов", + "370fd93e509d1e31": "Текущая активность агентов", + "d65f9a3ee3f07eb8": "Активность агентов", + "da192ff3231b10c8": "Всё завершено", + "97884c869683f97f": "{count, plural, one {{count} ждёт вас} few {{count} ждут вас} many {{count} ждут вас} other {{count} ждут вас}}", + "425e4a3d6c5c2867": "{count, plural, one {С ошибкой: {count}} few {С ошибкой: {count}} many {С ошибкой: {count}} other {С ошибкой: {count}}}", + "47229f653e4ebdee": "{count, plural, one {Завершено, с ошибкой: {count}} few {Завершено, с ошибкой: {count}} many {Завершено, с ошибкой: {count}} other {Завершено, с ошибкой: {count}}}", + "67d4a779cd49a863": "{count, plural, one {Готово: {count}} few {Готово: {count}} many {Готово: {count}} other {Готово: {count}}}", + "cefbcab009d74314": "{count, plural, one {Работает: {count}} few {Работает: {count}} many {Работает: {count}} other {Работает: {count}}}", + "6a3a43a30efe568c": "{count, plural, one {Активно: {count}} few {Активно: {count}} many {Активно: {count}} other {Активно: {count}}}", + "070e8d2523890f69": "{count, plural, one {{count} тред} few {{count} треда} many {{count} тредов} other {{count} треда}}", + "8b310df9f3ba0ff2": "Подключение", + "ad78fae7d373cf21": "Работает", + "6676b94ff43c6214": "Подтверждение", + "068c8b6f9a2c1b4f": "Ввод", + "0a260c7744afd0be": "Ожидает", + "6583fff72f2231e8": "Готово", + "37ffec8201f153c1": "Ошибка", + "ebf96603a559247b": "Активно", + "7e81c3bd3e20afce": "{count} акт.", + "476e8fdb172008ea": "Идёт", + "fde2d0d0f81321de": "Решение", + "c37dbb5b38c06eee": "Ответ", + "1a424675921db512": "Ждёт", + "d9d8ba6b8f69a34a": "Готово", + "13c2082812368db7": "Ошибка", + "4d16d880b1ca69d1": "Открыть", + "16aed9b9b6f9ca2d": "Одобрить", + "58108ce1e9afd3d7": "Ответить", "d7b190749dba3db4": "Не удалось прочитать разрешения на уведомления.", "773cbfec641ff5aa": "Не удалось запросить разрешения на уведомления.", "b9b1dccabd2ed00d": "Архивные треды", diff --git a/apps/mobile/src/i18n/translations/sv.json b/apps/mobile/src/i18n/translations/sv.json index c9e29dbd51..11126985d4 100644 --- a/apps/mobile/src/i18n/translations/sv.json +++ b/apps/mobile/src/i18n/translations/sv.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "Den här klienten kräver en nyare server. Uppdatera Onicode på {host} för att ansluta.", "b7554d48eece78bf": "Den här enheten är offline", "383d44c3b4927750": "{host} kör en äldre Onicode", + "93033e6fe944005b": "En annan Onicode svarar på adressen till {host}", "8fbb34f526bbc90b": "Den här enheten kunde inte förbereda anslutningen", "f8f76728b8057648": "Onicode på {host} godtog inte den här enheten", + "c5a5c823837b491a": "Det gick inte att ansluta till Onicode på {host}", "c6863c736a0be936": "Onicode på {host} svarade inte", "be1a485071912959": "Anslut den här enheten till nätverket. Onicode återansluter av sig själv.", "2e189c743ae0f3ab": "Uppdatera Onicode på {host}.", + "790e44894a6c18c5": "Om den här enheten är på ett annat nätverk kan en annan dator ha den adressen där. Onicode försöker igen när nätverket ändras.", "5b72c411f6916189": "Starta om Onicode på den här enheten.", + "5443861e7c25340f": "Om Onicode på {host} installerades om tar du bort {host} och parkopplar det igen.", "6a1d53c7bee371aa": "Om det fortsätter att misslyckas, ta bort {host} från den här enheten och lägg till den igen.", "e950948b20d099cf": "Den här enhetens inloggning till {host} har gått ut eller återkallats. Parkoppla den igen med en ny parkopplingslänk från {host}.", "053d954a87a5dc82": "Se till att Onicode körs på {host}.", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} svarade inte på någon sparad rutt.", "b0dd3cd876937ca8": "Anslutningsprofilen {connectionId} är inte tillgänglig.", "5ce46783e79ca9d1": "Autentiseringsuppgiften för anslutningen {connectionId} är inte tillgänglig.", - "421397f0269eb397": "Den här adressen kör nu en annan Onicode-installation ({actual}, inte {expected}). Ta bort anslutningen och lägg till den igen.", + "c9330ffc3d8e205b": "En annan Onicode-installation svarar på den här adressen.", "33c6c9e0fd567f24": "Den datorn loggar inte in den här enheten från tailnet. Parkoppla den med en kod från den datorn i stället.", "ea0d3e4e51d5706f": "Miljöns autentiseringsuppgift är ogiltig.", "7283ebfd16d09677": "Miljöns autentiseringsuppgift ger inte den åtkomst som krävs.", @@ -1750,35 +1754,6 @@ "b6e901ff18c9870c": "Kunde inte läsa in videon. Kontrollera anslutningen och försök igen.", "846a81c1af70b4d6": "Kunde inte öppna videon", "3546993db5f4884d": "Videon kunde inte läsas in eller spelas upp. Kontrollera anslutningen, eller tryck och håll på videon för att spara eller dela originalet.", - "2f43856cab225c65": "Agentaviseringar", - "370fd93e509d1e31": "Pågående agentaktivitet", - "d65f9a3ee3f07eb8": "Agentaktivitet", - "da192ff3231b10c8": "Allt klart", - "97884c869683f97f": "{count, plural, one {{count} behöver dig} other {{count} behöver dig}}", - "425e4a3d6c5c2867": "{count, plural, one {{count} misslyckades} other {{count} misslyckades}}", - "47229f653e4ebdee": "{count, plural, one {Klart, {count} misslyckades} other {Klart, {count} misslyckades}}", - "67d4a779cd49a863": "{count, plural, one {{count} klar} other {{count} klara}}", - "cefbcab009d74314": "{count, plural, one {{count} arbetar} other {{count} arbetar}}", - "6a3a43a30efe568c": "{count, plural, one {{count} aktiv} other {{count} aktiva}}", - "070e8d2523890f69": "{count, plural, one {{count} tråd} other {{count} trådar}}", - "8b310df9f3ba0ff2": "Ansluter", - "ad78fae7d373cf21": "Arbetar", - "6676b94ff43c6214": "Godkännande", - "068c8b6f9a2c1b4f": "Indata", - "0a260c7744afd0be": "Väntar", - "6583fff72f2231e8": "Klar", - "37ffec8201f153c1": "Misslyckades", - "ebf96603a559247b": "Aktiv", - "7e81c3bd3e20afce": "{count} live", - "476e8fdb172008ea": "Jobbar", - "fde2d0d0f81321de": "Godkänn", - "c37dbb5b38c06eee": "Svara", - "1a424675921db512": "Väntar", - "d9d8ba6b8f69a34a": "Klar", - "13c2082812368db7": "Fel", - "4d16d880b1ca69d1": "Öppna", - "16aed9b9b6f9ca2d": "Godkänn", - "58108ce1e9afd3d7": "Svara", "07f8fca2dd944865": "Agentinloggning", "f47cd63daffa1319": "Matchningskod {code}", "268f1054c28cdfff": "Den här enheten kan inte ge någon åtkomst.", @@ -1819,6 +1794,35 @@ ], "03fb284cacf02176": "Den här enheten behöver behörigheten Hantera åtkomst på {environment}.", "97370f7ca457d991": "Den här enheten kan inte ge detta på {environment}.", + "2f43856cab225c65": "Agentaviseringar", + "370fd93e509d1e31": "Pågående agentaktivitet", + "d65f9a3ee3f07eb8": "Agentaktivitet", + "da192ff3231b10c8": "Allt klart", + "97884c869683f97f": "{count, plural, one {{count} behöver dig} other {{count} behöver dig}}", + "425e4a3d6c5c2867": "{count, plural, one {{count} misslyckades} other {{count} misslyckades}}", + "47229f653e4ebdee": "{count, plural, one {Klart, {count} misslyckades} other {Klart, {count} misslyckades}}", + "67d4a779cd49a863": "{count, plural, one {{count} klar} other {{count} klara}}", + "cefbcab009d74314": "{count, plural, one {{count} arbetar} other {{count} arbetar}}", + "6a3a43a30efe568c": "{count, plural, one {{count} aktiv} other {{count} aktiva}}", + "070e8d2523890f69": "{count, plural, one {{count} tråd} other {{count} trådar}}", + "8b310df9f3ba0ff2": "Ansluter", + "ad78fae7d373cf21": "Arbetar", + "6676b94ff43c6214": "Godkännande", + "068c8b6f9a2c1b4f": "Indata", + "0a260c7744afd0be": "Väntar", + "6583fff72f2231e8": "Klar", + "37ffec8201f153c1": "Misslyckades", + "ebf96603a559247b": "Aktiv", + "7e81c3bd3e20afce": "{count} live", + "476e8fdb172008ea": "Jobbar", + "fde2d0d0f81321de": "Godkänn", + "c37dbb5b38c06eee": "Svara", + "1a424675921db512": "Väntar", + "d9d8ba6b8f69a34a": "Klar", + "13c2082812368db7": "Fel", + "4d16d880b1ca69d1": "Öppna", + "16aed9b9b6f9ca2d": "Godkänn", + "58108ce1e9afd3d7": "Svara", "d7b190749dba3db4": "Kunde inte läsa aviseringsbehörigheter.", "773cbfec641ff5aa": "Kunde inte begära aviseringsbehörigheter.", "b9b1dccabd2ed00d": "Arkiverade trådar", diff --git a/apps/mobile/src/i18n/translations/zh.json b/apps/mobile/src/i18n/translations/zh.json index c125ef8183..ea0383e24d 100644 --- a/apps/mobile/src/i18n/translations/zh.json +++ b/apps/mobile/src/i18n/translations/zh.json @@ -471,12 +471,16 @@ "0151ffe1b504490d": "此客户端需要更新的服务器。请更新 {host} 上的 Onicode 后再连接。", "b7554d48eece78bf": "此设备离线", "383d44c3b4927750": "{host} 运行的 Onicode 版本较旧", + "93033e6fe944005b": "{host} 的地址上响应的是另一个 Onicode", "8fbb34f526bbc90b": "此设备无法准备连接", "f8f76728b8057648": "{host} 上的 Onicode 未接受此设备", + "c5a5c823837b491a": "无法连接到 {host} 上的 Onicode", "c6863c736a0be936": "{host} 上的 Onicode 没有响应", "be1a485071912959": "请将此设备连接到网络。Onicode 会自动重新连接。", "2e189c743ae0f3ab": "请更新 {host} 上的 Onicode。", + "790e44894a6c18c5": "如果此设备在另一个网络中,那里可能有另一台机器使用该地址。网络变化时 Onicode 会重试。", "5b72c411f6916189": "请在此设备上重启 Onicode。", + "5443861e7c25340f": "如果 {host} 上的 Onicode 已重新安装,请移除 {host} 并重新配对。", "6a1d53c7bee371aa": "如果仍然失败,请从此设备移除 {host},然后重新添加。", "e950948b20d099cf": "此设备在 {host} 上的登录已过期或被撤销。请使用 {host} 提供的新配对链接重新配对。", "053d954a87a5dc82": "请确认 {host} 上的 Onicode 正在运行。", @@ -493,7 +497,7 @@ "bc24c300d53d61c5": "{host} 在所有已保存的路由上均无响应。", "b0dd3cd876937ca8": "连接配置 {connectionId} 不可用。", "5ce46783e79ca9d1": "连接凭据 {connectionId} 不可用。", - "421397f0269eb397": "此地址现在运行的是另一个 Onicode 安装({actual},而非 {expected})。请移除此连接后重新添加。", + "c9330ffc3d8e205b": "此地址上响应的是另一个 Onicode 安装。", "33c6c9e0fd567f24": "该机器不会通过 tailnet 让此设备登录。请改用该机器上的代码配对。", "ea0d3e4e51d5706f": "环境凭据无效。", "7283ebfd16d09677": "环境凭据未授予所需的访问权限。", @@ -1751,35 +1755,6 @@ "b6e901ff18c9870c": "无法加载此视频。请检查连接后重试。", "846a81c1af70b4d6": "无法打开视频", "3546993db5f4884d": "无法加载或播放此视频。请检查连接,或长按视频以保存或分享原始文件。", - "2f43856cab225c65": "智能体提醒", - "370fd93e509d1e31": "进行中的智能体活动", - "d65f9a3ee3f07eb8": "智能体活动", - "da192ff3231b10c8": "全部完成", - "97884c869683f97f": "{count, plural, other {{count} 个需要你处理}}", - "425e4a3d6c5c2867": "{count, plural, other {{count} 个失败}}", - "47229f653e4ebdee": "{count, plural, other {已完成,{count} 个失败}}", - "67d4a779cd49a863": "{count, plural, other {{count} 个完成}}", - "cefbcab009d74314": "{count, plural, other {{count} 个运行中}}", - "6a3a43a30efe568c": "{count, plural, other {{count} 个活跃}}", - "070e8d2523890f69": "{count, plural, other {{count} 个会话}}", - "8b310df9f3ba0ff2": "正在连接", - "ad78fae7d373cf21": "运行中", - "6676b94ff43c6214": "待批准", - "068c8b6f9a2c1b4f": "待输入", - "0a260c7744afd0be": "等待中", - "6583fff72f2231e8": "完成", - "37ffec8201f153c1": "失败", - "ebf96603a559247b": "活跃", - "7e81c3bd3e20afce": "{count} 活跃", - "476e8fdb172008ea": "运行中", - "fde2d0d0f81321de": "批准", - "c37dbb5b38c06eee": "回答", - "1a424675921db512": "等待中", - "d9d8ba6b8f69a34a": "完成", - "13c2082812368db7": "失败", - "4d16d880b1ca69d1": "打开", - "16aed9b9b6f9ca2d": "批准", - "58108ce1e9afd3d7": "回答", "07f8fca2dd944865": "智能体登录", "f47cd63daffa1319": "匹配码 {code}", "268f1054c28cdfff": "此设备无法授予任何访问权限。", @@ -1820,6 +1795,35 @@ ], "03fb284cacf02176": "此设备需要 {environment} 上的“管理访问”权限。", "97370f7ca457d991": "此设备无法在 {environment} 上授予此权限。", + "2f43856cab225c65": "智能体提醒", + "370fd93e509d1e31": "进行中的智能体活动", + "d65f9a3ee3f07eb8": "智能体活动", + "da192ff3231b10c8": "全部完成", + "97884c869683f97f": "{count, plural, other {{count} 个需要你处理}}", + "425e4a3d6c5c2867": "{count, plural, other {{count} 个失败}}", + "47229f653e4ebdee": "{count, plural, other {已完成,{count} 个失败}}", + "67d4a779cd49a863": "{count, plural, other {{count} 个完成}}", + "cefbcab009d74314": "{count, plural, other {{count} 个运行中}}", + "6a3a43a30efe568c": "{count, plural, other {{count} 个活跃}}", + "070e8d2523890f69": "{count, plural, other {{count} 个会话}}", + "8b310df9f3ba0ff2": "正在连接", + "ad78fae7d373cf21": "运行中", + "6676b94ff43c6214": "待批准", + "068c8b6f9a2c1b4f": "待输入", + "0a260c7744afd0be": "等待中", + "6583fff72f2231e8": "完成", + "37ffec8201f153c1": "失败", + "ebf96603a559247b": "活跃", + "7e81c3bd3e20afce": "{count} 活跃", + "476e8fdb172008ea": "运行中", + "fde2d0d0f81321de": "批准", + "c37dbb5b38c06eee": "回答", + "1a424675921db512": "等待中", + "d9d8ba6b8f69a34a": "完成", + "13c2082812368db7": "失败", + "4d16d880b1ca69d1": "打开", + "16aed9b9b6f9ca2d": "批准", + "58108ce1e9afd3d7": "回答", "d7b190749dba3db4": "无法读取通知权限。", "773cbfec641ff5aa": "无法请求通知权限。", "b9b1dccabd2ed00d": "已归档会话", diff --git a/apps/mobile/src/lib/markdownDocument.ts b/apps/mobile/src/lib/markdownDocument.ts index e3079a21d5..24253044ae 100644 --- a/apps/mobile/src/lib/markdownDocument.ts +++ b/apps/mobile/src/lib/markdownDocument.ts @@ -85,6 +85,11 @@ function markdownDestination(url: string): string { return `<${url.replace(/&/g, "\\&").replace(//g, "%3E").replace(/\|/g, "%7C").replace(/\n/g, "")}>`; } +// Tags that end an open `

`, whose line endings are spaces. +const PARAGRAPH_END = + /^<\/?(?:p|div|details|summary|table|thead|tbody|tr|td|th|ul|ol|li|dl|dt|dd|h[1-6]|hr|pre|blockquote|section|article|address|aside|dialog|fieldset|figcaption|figure|footer|form|header|hgroup|main|menu|nav|search)(?=[\s/>]|$)/i; +const PARAGRAPH_START = /^]|$)/i; + const ANCHOR_TAG = /^<\/?a[\s/>]/i; /** Replacements for the anchor tags still ahead, and how many emitted links are open. */ @@ -196,8 +201,14 @@ export function markdownHtmlContent( anchorMarkdown(tags.map((tag) => tag[0]).filter((tag) => ANCHOR_TAG.test(tag))); let result = ""; let end = 0; + let inParagraph = false; + const textTo = (to?: number) => { + const text = content.slice(end, to); + return inParagraph ? text.replace(/[ \t]*\r?\n[ \t]*/g, " ") : text; + }; for (const match of tags) { - const text = content.slice(end, match.index); + const text = textTo(match.index); + if (PARAGRAPH_END.test(match[0])) inParagraph = PARAGRAPH_START.test(match[0]); result += anchors.open > 0 ? escapeLinkLabel(text) : text; const replacement = htmlTagMarkdown(match[0], anchors, options); if (replacement === "[" && bangBefore(result, result.length)) @@ -208,7 +219,7 @@ export function markdownHtmlContent( : replacement; end = match.index + match[0].length; } - const text = content.slice(end); + const text = textTo(); return result + (anchors.open > 0 ? escapeLinkLabel(text) : text); } @@ -224,7 +235,7 @@ function htmlTagMarkdown( else if (replacement) anchors.open -= 1; return replacement; } - if (/^]|$)/i.test(tag)) { const src = attribute(tag, "src"); if (!src) return ""; const alt = (attribute(tag, "alt") ?? "").replace(/[\\[\]&]/g, "\\$&"); @@ -234,10 +245,10 @@ function htmlTagMarkdown( const cellBreak = " "; // A blank line inside an open link label would end the paragraph before its "]". const blockBreak = anchors.open > 0 ? " " : options.inTableCell ? cellBreak : "\n\n"; - if (/^]|$)/i.test(tag)) return `${blockBreak}**`; if (/^<\/summary\s*>/i.test(tag)) return `**${blockBreak}`; - if (/^]|$)/i.test(tag)) return options.inTableCell ? cellBreak : " \n"; + if (/^<\/?(?:p|div|details)(?=[\s/>]|$)/i.test(tag)) return blockBreak; return ""; } diff --git a/apps/mobile/src/lib/markdownHtml.test.ts b/apps/mobile/src/lib/markdownHtml.test.ts index 9b3851b4fb..ed1435145e 100644 --- a/apps/mobile/src/lib/markdownHtml.test.ts +++ b/apps/mobile/src/lib/markdownHtml.test.ts @@ -67,6 +67,16 @@ describe("HTML in native Markdown", () => { ); }); + it("keeps a raw paragraph's line endings from becoming line breaks", () => { + expect(markdownWithHtml("

\none\ntwo\n

\n\nthree\nfour").trim()).toMatch( + /^one two\s+three\nfour$/, + ); + expect(markdownWithHtml("

\n

")).toMatch(/one\ntwo/); + expect(markdownWithHtml("\none\ntwo\n").trim()).toBe("one\ntwo"); + expect(markdownWithHtml("See one here")).toBe("See one here"); + expect(markdownWithHtml("

\nlead\n

")).toMatch(/one\ntwo/); + }); + it("collects HTML and Markdown screenshots while leaving inline and fenced code literal", () => { const markdown = '```html\n\n```\n\nUse `` here.\n\n\n\n![Two](two.png)\n\n'; diff --git a/apps/server/src/auth/RpcAuthorization.ts b/apps/server/src/auth/RpcAuthorization.ts index cb16baa0bd..dec70125e9 100644 --- a/apps/server/src/auth/RpcAuthorization.ts +++ b/apps/server/src/auth/RpcAuthorization.ts @@ -9,7 +9,7 @@ import { AuthAccessWriteScope, ServerSettingsPatch, ProviderInstanceMutation, - requiredScopesForServerSettingsPatch, + requiredScopesForServerSettingsUpdate, requiredScopesForProjectMutation, ProjectMutation, SecretRequestAnswerInput, @@ -290,15 +290,6 @@ const SettingsUpdate = Schema.Struct({ // Middleware receives the payload already decoded, so it is checked against the decoded shape. const decodeSettingsUpdate = Schema.decodeUnknownSync(Schema.toType(SettingsUpdate)); -const requiredScopesForSettingsUpdate = (payload: unknown) => { - const input = decodeSettingsUpdate(payload); - const scopes = requiredScopesForServerSettingsPatch(input.patch); - if (input.providerInstanceMutation === undefined) return scopes; - return Object.values(input.patch).every((value) => value === undefined) - ? [AuthProvidersManageScope] - : [...new Set([...scopes, AuthProvidersManageScope])]; -}; - const decodeProjectMutation = Schema.decodeUnknownSync(ProjectMutation); const decodeAssetCreateUrlInput = Schema.decodeUnknownSync(AssetCreateUrlInput); const decodeSecretRequestAnswer = Schema.decodeUnknownSync(SecretRequestAnswerInput); @@ -347,7 +338,9 @@ const requiredScopesForRpcCall = ( : AuthOrchestrationReadScope, ]; } - if (method === WS_METHODS.serverUpdateSettings) return requiredScopesForSettingsUpdate(payload); + if (method === WS_METHODS.serverUpdateSettings) { + return requiredScopesForServerSettingsUpdate(decodeSettingsUpdate(payload)); + } // These send the credential they are given to a URL the caller names, as a saved setting would. if ( (method === WS_METHODS.deviceSimlockIdentity || diff --git a/apps/web/src/browser/ServerBrowserSurface.tsx b/apps/web/src/browser/ServerBrowserSurface.tsx index 298d76d707..68f04874ee 100644 --- a/apps/web/src/browser/ServerBrowserSurface.tsx +++ b/apps/web/src/browser/ServerBrowserSurface.tsx @@ -48,6 +48,7 @@ import { m } from "~/i18n/messages"; import { cn } from "~/lib/utils"; import { refreshPreviewStreamAccess, usePreviewStreamAccess } from "~/state/previewStream"; import { observeResize } from "~/lib/observeResize"; +import { isImeKeyDown } from "../lib/imeKeyDown"; export interface ServerBrowserHandle { readonly navigate: (url: string) => void; @@ -819,8 +820,7 @@ export function ServerBrowserSurface(props: { if (controlRef.current?.controller !== "you") return; keySentRef.current = false; if ( - event.nativeEvent.isComposing || - event.keyCode === 229 || + isImeKeyDown(event.nativeEvent) || event.key === "Process" || event.key === "Unidentified" ) { diff --git a/apps/web/src/components/AddProjectToMachineDialog.tsx b/apps/web/src/components/AddProjectToMachineDialog.tsx index 7ffba4e6dc..d735b68edb 100644 --- a/apps/web/src/components/AddProjectToMachineDialog.tsx +++ b/apps/web/src/components/AddProjectToMachineDialog.tsx @@ -61,6 +61,7 @@ import { Label } from "./ui/label"; import { MiddleTruncate } from "./ui/middle-truncate"; import { Select, SelectItem, SelectPopup, SelectTrigger, SelectValue } from "./ui/select"; import { Toggle, ToggleGroup } from "./ui/toggle-group"; +import { clearSearchOnEscape } from "./settings/searchFieldEscape"; interface AddProjectToMachineRequest { readonly projectRef: ScopedProjectRef; @@ -405,7 +406,8 @@ function AddProjectToMachineDialog({ request }: { request: AddProjectToMachineRe {canSearchFiles && (allIgnoredFiles.data?.truncated || fileQuery.length > 0) ? ( { if (event.key === "Enter") event.preventDefault(); + clearSearchOnEscape(event, fileQuery, () => setFileQuery("")); }} spellCheck={false} autoComplete="off" diff --git a/apps/web/src/components/AppRouteModal.tsx b/apps/web/src/components/AppRouteModal.tsx index 01cee50dfb..810323cbd3 100644 --- a/apps/web/src/components/AppRouteModal.tsx +++ b/apps/web/src/components/AppRouteModal.tsx @@ -151,8 +151,14 @@ export function AppRouteModal({ label, children }: { label: string; children: Re open={shown} // Portaled layers outside this tree (toasts, confirm dialogs) are not backdrop presses. disablePointerDismissal - onOpenChange={(nextOpen) => { + onOpenChange={(nextOpen, details) => { if (nextOpen) return; + // A control inside used this Escape. A drag hears it at the document, so let it through. + if (details.reason === "escape-key" && details.event.defaultPrevented) { + details.cancel(); + details.allowPropagation(); + return; + } // Closing unmounts a focused field without a blur, so commit-on-blur rows would // drop what was typed. Blur first so they commit. blurFocusedWithin(popupRef.current); diff --git a/apps/web/src/components/AppSidebarLayout.browser.test.tsx b/apps/web/src/components/AppSidebarLayout.browser.test.tsx index 67ca0dc04c..5e38e2760f 100644 --- a/apps/web/src/components/AppSidebarLayout.browser.test.tsx +++ b/apps/web/src/components/AppSidebarLayout.browser.test.tsx @@ -9,6 +9,7 @@ vi.mock(import("../state/server"), async (original) => { const { compileResolvedKeybindingsConfig } = await import("@onicode/shared/keybindings"); const keybindings = compileResolvedKeybindingsConfig([ { key: "mod+b", command: "sidebar.toggle", when: "!terminalFocus" }, + { key: "f6", command: "workspace.focusNext" }, ]); return { ...actual, primaryServerKeybindingsAtom: Atom.make(keybindings) }; }); @@ -69,3 +70,29 @@ describe("pull requests Escape", () => { await vi.waitFor(() => expect(screen.router?.state.location.pathname).toBe("/")); }); }); + +describe("workspace focus F6", () => { + it("leaves a keydown an IME composition owns to the input", async () => { + await using screen = await render( + +