Skip to content

Commit 1f25e5e

Browse files
builderorinclaude
andcommitted
fix(web,mobile): link cards name every answer failure in the user's language, and decode reasons from newer servers
Only one PeerLinkRequestError reason was translated; the others showed the server's English. The card now maps every reason to a translated sentence in all locales. A reason this client does not know, from a newer server, failed to decode and showed the generic error with no hint. It now decodes as `unknown`, so the next reason added to the contract degrades to the generic copy instead of a decode failure. Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 47e5136 commit 1f25e5e

24 files changed

Lines changed: 159 additions & 34 deletions

File tree

‎apps/mobile/src/i18n/translations/de.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "Verknüpfen fehlgeschlagen: Die andere Umgebung hat abgelehnt",
9898
"21be308917bd450e": "Verknüpfen fehlgeschlagen: {failure}",
9999
"acd01e781e2355cc": "Anfrage beendet",
100-
"8855350e81d45c45": "Diese Verknüpfung wurde entfernt oder ist abgelaufen. Verknüpfe den Computer erneut.",
101100
"97e4c50a99272f63": "Die Anfrage konnte nicht beantwortet werden. Versuche es erneut.",
102101
"605a491783d18b3f": "Dieser Thread konnte nicht über {via} gelesen werden",
103102
"50f19209548b70d9": "{via} braucht möglicherweise ein Update, bevor es verknüpfte Threads lesen kann.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "Möglicherweise wurde er dort gelöscht.",
113112
"f7870ef3a4828ab1": "{label} braucht ein Update",
114113
"eabbf064657519ee": "{label} antwortet {via} nicht",
114+
"8855350e81d45c45": "Diese Verknüpfung wurde entfernt oder ist abgelaufen. Verknüpfe den Computer erneut.",
115+
"b3861bc247c3c4bf": "Die Verknüpfungsanfrage konnte nicht geladen werden.",
116+
"81aa3f047d92ed7a": "Diese Verknüpfungsanfrage existiert nicht mehr.",
117+
"6f053c4e5b6f372f": "Diese Verknüpfungsanfrage wurde bereits beantwortet.",
118+
"6d50d5b72fd543f7": "Die Verknüpfungsanfrage konnte nicht aktualisiert werden.",
115119
"f71597ae3afaef44": "{first} und {second}",
116120
"4047174839a16714": "{first} und {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/en.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "Could not link: the other environment refused",
9898
"21be308917bd450e": "Could not link: {failure}",
9999
"acd01e781e2355cc": "Request ended",
100-
"8855350e81d45c45": "That link was removed or expired. Link the machine again.",
101100
"97e4c50a99272f63": "Could not answer the request. Try again.",
102101
"605a491783d18b3f": "Could not read this thread through {via}",
103102
"50f19209548b70d9": "{via} may need an update before it can read linked threads.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "It may have been deleted there.",
113112
"f7870ef3a4828ab1": "{label} needs an update",
114113
"eabbf064657519ee": "{label} is not answering {via}",
114+
"b3861bc247c3c4bf": "Could not load the link request.",
115+
"81aa3f047d92ed7a": "This link request no longer exists.",
116+
"6f053c4e5b6f372f": "This link request was already answered.",
117+
"8855350e81d45c45": "That link was removed or expired. Link the machine again.",
118+
"6d50d5b72fd543f7": "Could not update the link request.",
115119
"f71597ae3afaef44": "{first} and {second}",
116120
"4047174839a16714": "{first}, and {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/es.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "No se pudo vincular: el otro entorno lo rechazó",
9898
"21be308917bd450e": "No se pudo vincular: {failure}",
9999
"acd01e781e2355cc": "Solicitud finalizada",
100-
"8855350e81d45c45": "Ese vínculo se eliminó o caducó. Vuelve a vincular la máquina.",
101100
"97e4c50a99272f63": "No se pudo responder a la solicitud. Inténtalo de nuevo.",
102101
"605a491783d18b3f": "No se pudo leer este hilo a través de {via}",
103102
"50f19209548b70d9": "Puede que {via} necesite actualizarse para poder leer hilos vinculados.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "Puede que se haya eliminado allí.",
113112
"f7870ef3a4828ab1": "{label} necesita una actualización",
114113
"eabbf064657519ee": "{label} no responde a {via}",
114+
"8855350e81d45c45": "Ese vínculo se eliminó o caducó. Vuelve a vincular la máquina.",
115+
"b3861bc247c3c4bf": "No se pudo cargar la solicitud de vínculo.",
116+
"81aa3f047d92ed7a": "Esta solicitud de vínculo ya no existe.",
117+
"6f053c4e5b6f372f": "Esta solicitud de vínculo ya fue respondida.",
118+
"6d50d5b72fd543f7": "No se pudo actualizar la solicitud de vínculo.",
115119
"f71597ae3afaef44": "{first} y {second}",
116120
"4047174839a16714": "{first} y {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/fr.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "Association impossible : l’autre environnement a refusé",
9898
"21be308917bd450e": "Association impossible : {failure}",
9999
"acd01e781e2355cc": "Demande terminée",
100-
"8855350e81d45c45": "Cette association a été supprimée ou a expiré. Associez à nouveau la machine.",
101100
"97e4c50a99272f63": "Impossible de répondre à la demande. Réessayez.",
102101
"605a491783d18b3f": "Impossible de lire ce fil via {via}",
103102
"50f19209548b70d9": "{via} a peut-être besoin d’une mise à jour pour lire les fils associés.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "Il a peut-être été supprimé là-bas.",
113112
"f7870ef3a4828ab1": "{label} a besoin d’une mise à jour",
114113
"eabbf064657519ee": "{label} ne répond pas à {via}",
114+
"8855350e81d45c45": "Cette association a été supprimée ou a expiré. Associez à nouveau la machine.",
115+
"b3861bc247c3c4bf": "Impossible de charger la demande d’association.",
116+
"81aa3f047d92ed7a": "Cette demande d’association n’existe plus.",
117+
"6f053c4e5b6f372f": "Cette demande d’association a déjà reçu une réponse.",
118+
"6d50d5b72fd543f7": "Impossible de mettre à jour la demande d’association.",
115119
"f71597ae3afaef44": "{first} et {second}",
116120
"4047174839a16714": "{first} et {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/ja.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "リンクできませんでした: 相手の環境が拒否しました",
9898
"21be308917bd450e": "リンクできませんでした: {failure}",
9999
"acd01e781e2355cc": "リクエストが終了しました",
100-
"8855350e81d45c45": "そのリンクは削除されたか、期限切れです。マシンをもう一度リンクしてください。",
101100
"97e4c50a99272f63": "リクエストに応答できませんでした。もう一度お試しください。",
102101
"605a491783d18b3f": "{via} 経由でこのスレッドを読み取れませんでした",
103102
"50f19209548b70d9": "リンクされたスレッドを読み取るには、{via} の更新が必要な可能性があります。",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "そちらで削除された可能性があります。",
113112
"f7870ef3a4828ab1": "{label} の更新が必要です",
114113
"eabbf064657519ee": "{label} が {via} に応答していません",
114+
"8855350e81d45c45": "そのリンクは削除されたか、期限切れです。マシンをもう一度リンクしてください。",
115+
"b3861bc247c3c4bf": "リンクリクエストを読み込めませんでした。",
116+
"81aa3f047d92ed7a": "このリンクリクエストはもう存在しません。",
117+
"6f053c4e5b6f372f": "このリンクリクエストはすでに回答済みです。",
118+
"6d50d5b72fd543f7": "リンクリクエストを更新できませんでした。",
115119
"f71597ae3afaef44": "{first} と {second}",
116120
"4047174839a16714": "{first}、{last}",
117121
"65ca7867c176afbf": "{first}、{rest}",

‎apps/mobile/src/i18n/translations/ko.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "연결할 수 없음: 상대 환경이 거부했습니다",
9898
"21be308917bd450e": "연결할 수 없음: {failure}",
9999
"acd01e781e2355cc": "요청 종료됨",
100-
"8855350e81d45c45": "해당 연결이 삭제되었거나 만료되었습니다. 머신을 다시 연결하세요.",
101100
"97e4c50a99272f63": "요청에 응답할 수 없습니다. 다시 시도하세요.",
102101
"605a491783d18b3f": "{via}을(를) 통해 이 스레드를 읽지 못했습니다",
103102
"50f19209548b70d9": "연결된 스레드를 읽으려면 {via}을(를) 업데이트해야 할 수 있습니다.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "그곳에서 삭제되었을 수 있습니다.",
113112
"f7870ef3a4828ab1": "{label}을(를) 업데이트해야 합니다",
114113
"eabbf064657519ee": "{label}이(가) {via}에 응답하지 않습니다",
114+
"8855350e81d45c45": "해당 연결이 삭제되었거나 만료되었습니다. 머신을 다시 연결하세요.",
115+
"b3861bc247c3c4bf": "연결 요청을 불러올 수 없습니다.",
116+
"81aa3f047d92ed7a": "이 연결 요청은 더 이상 존재하지 않습니다.",
117+
"6f053c4e5b6f372f": "이 연결 요청은 이미 응답되었습니다.",
118+
"6d50d5b72fd543f7": "연결 요청을 업데이트할 수 없습니다.",
115119
"f71597ae3afaef44": "{first} 및 {second}",
116120
"4047174839a16714": "{first} 및 {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/pt-BR.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "Não foi possível vincular: o outro ambiente recusou",
9898
"21be308917bd450e": "Não foi possível vincular: {failure}",
9999
"acd01e781e2355cc": "Solicitação encerrada",
100-
"8855350e81d45c45": "Esse vínculo foi removido ou expirou. Vincule a máquina novamente.",
101100
"97e4c50a99272f63": "Não foi possível responder à solicitação. Tente novamente.",
102101
"605a491783d18b3f": "Não foi possível ler esta thread por {via}",
103102
"50f19209548b70d9": "Talvez {via} precise de uma atualização para ler threads vinculadas.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "Talvez tenha sido excluída lá.",
113112
"f7870ef3a4828ab1": "{label} precisa de uma atualização",
114113
"eabbf064657519ee": "{label} não está respondendo a {via}",
114+
"8855350e81d45c45": "Esse vínculo foi removido ou expirou. Vincule a máquina novamente.",
115+
"b3861bc247c3c4bf": "Não foi possível carregar a solicitação de vínculo.",
116+
"81aa3f047d92ed7a": "Esta solicitação de vínculo não existe mais.",
117+
"6f053c4e5b6f372f": "Esta solicitação de vínculo já foi respondida.",
118+
"6d50d5b72fd543f7": "Não foi possível atualizar a solicitação de vínculo.",
115119
"f71597ae3afaef44": "{first} e {second}",
116120
"4047174839a16714": "{first} e {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/ru.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "Не удалось привязать: другое окружение отказало",
9898
"21be308917bd450e": "Не удалось привязать: {failure}",
9999
"acd01e781e2355cc": "Запрос завершён",
100-
"8855350e81d45c45": "Эта привязка удалена или истекла. Привяжите машину снова.",
101100
"97e4c50a99272f63": "Не удалось ответить на запрос. Повторите попытку.",
102101
"605a491783d18b3f": "Не удалось прочитать этот тред через {via}",
103102
"50f19209548b70d9": "Возможно, {via} нужно обновить, чтобы читать привязанные треды.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "Возможно, его там удалили.",
113112
"f7870ef3a4828ab1": "{label} нужно обновить",
114113
"eabbf064657519ee": "{label} не отвечает {via}",
114+
"8855350e81d45c45": "Эта привязка удалена или истекла. Привяжите машину снова.",
115+
"b3861bc247c3c4bf": "Не удалось загрузить запрос на привязку.",
116+
"81aa3f047d92ed7a": "Этот запрос на привязку больше не существует.",
117+
"6f053c4e5b6f372f": "На этот запрос на привязку уже дан ответ.",
118+
"6d50d5b72fd543f7": "Не удалось обновить запрос на привязку.",
115119
"f71597ae3afaef44": "{first} и {second}",
116120
"4047174839a16714": "{first} и {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/sv.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "Kunde inte länka: den andra miljön nekade",
9898
"21be308917bd450e": "Kunde inte länka: {failure}",
9999
"acd01e781e2355cc": "Begäran avslutades",
100-
"8855350e81d45c45": "Länken har tagits bort eller gått ut. Länka maskinen igen.",
101100
"97e4c50a99272f63": "Kunde inte svara på begäran. Försök igen.",
102101
"605a491783d18b3f": "Det gick inte att läsa den här tråden via {via}",
103102
"50f19209548b70d9": "{via} kan behöva uppdateras innan den kan läsa länkade trådar.",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "Den kan ha raderats där.",
113112
"f7870ef3a4828ab1": "{label} behöver uppdateras",
114113
"eabbf064657519ee": "{label} svarar inte {via}",
114+
"8855350e81d45c45": "Länken har tagits bort eller gått ut. Länka maskinen igen.",
115+
"b3861bc247c3c4bf": "Det gick inte att läsa in länkförfrågan.",
116+
"81aa3f047d92ed7a": "Den här länkförfrågan finns inte längre.",
117+
"6f053c4e5b6f372f": "Den här länkförfrågan har redan besvarats.",
118+
"6d50d5b72fd543f7": "Det gick inte att uppdatera länkförfrågan.",
115119
"f71597ae3afaef44": "{first} och {second}",
116120
"4047174839a16714": "{first} och {last}",
117121
"65ca7867c176afbf": "{first}, {rest}",

‎apps/mobile/src/i18n/translations/zh.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"289ec1df10840137": "无法关联:对方环境拒绝了请求",
9898
"21be308917bd450e": "无法关联:{failure}",
9999
"acd01e781e2355cc": "请求已结束",
100-
"8855350e81d45c45": "该关联已被移除或已过期。请重新关联这台机器。",
101100
"97e4c50a99272f63": "无法回复此请求。请重试。",
102101
"605a491783d18b3f": "无法通过 {via} 读取此会话",
103102
"50f19209548b70d9": "{via} 可能需要更新后才能读取关联的会话。",
@@ -112,6 +111,11 @@
112111
"bd29efc163476e72": "它可能已在那里被删除。",
113112
"f7870ef3a4828ab1": "{label} 需要更新",
114113
"eabbf064657519ee": "{label} 没有响应 {via}",
114+
"8855350e81d45c45": "该关联已被移除或已过期。请重新关联这台机器。",
115+
"b3861bc247c3c4bf": "无法加载关联请求。",
116+
"81aa3f047d92ed7a": "此关联请求已不存在。",
117+
"6f053c4e5b6f372f": "此关联请求已被回答。",
118+
"6d50d5b72fd543f7": "无法更新关联请求。",
115119
"f71597ae3afaef44": "{first} 和 {second}",
116120
"4047174839a16714": "{first} 和 {last}",
117121
"65ca7867c176afbf": "{first}、{rest}",

0 commit comments

Comments
 (0)