Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(i18n): add European Portuguese (pt-PT) across UI, replies and voice (#551)

Ruben Lütkeeb44efb64e15
diff --git a/docs/commands-reference.md b/docs/commands-reference.md
index 10204eec26..2070f6d985 100644
--- a/docs/commands-reference.md
+++ b/docs/commands-reference.md
@@ -206,7 +206,7 @@ Test connectivity and authentication for one provider.
Pin the language Dodaios answers in (auto follows the spoken language).
- **Endpoint:** `PUT /api/settings/reply-language`
-- **Arguments:** `language` (one of: auto, de, en, es; required); `persist` (boolean; optional)
+- **Arguments:** `language` (one of: auto, de, en, es, pt; required); `persist` (boolean; optional)
- **Requires confirmation:** no
- **Desktop UI section:** `languages`
- **Voice example (EN):** "answer in german from now on"
diff --git a/docs/jarvis-control-api.md b/docs/jarvis-control-api.md
index ac37c1a356..a4ecda8724 100644
--- a/docs/jarvis-control-api.md
+++ b/docs/jarvis-control-api.md
@@ -62,7 +62,7 @@ Settings panel can bootstrap the key before the user has it.
| PUT | `/api/control/config` | write `{path,value,reason}` — SAFE applies, ASK returns `pending_id` |
| POST | `/api/control/config/confirm` | apply an ASK-tier `pending_id` |
| POST | `/api/control/config/reject` | cancel a pending mutation |
-| PUT | `/api/control/language` | convenience: set `reply_language` (auto/de/en/es) |
+| PUT | `/api/control/language` | convenience: set `reply_language` (auto/de/en/es/pt) |
| GET | `/api/control/providers` | provider + settings snapshot |
| PUT | `/api/control/providers/{tier}` | switch brain/tts/stt/subagent |
| GET | `/api/control/secrets` | list secret slots (masked) |
@@ -83,7 +83,7 @@ allowlist:
forwarded over `/ws`, so the open React UI **switches language live** — no
reload, every OS. The frontend hydrates it on mount and pushes UI clicks to
`GET/PUT /api/settings/ui-language`.
-- **`brain.reply_language`** (auto/de/en/es) — what Dodaios SPEAKS/writes back;
+- **`brain.reply_language`** (auto/de/en/es/pt) — what Dodaios SPEAKS/writes back;
`auto` mirrors the user's input language. SAFE, hot-reloads into the next turn.
The `PUT /api/control/language` verb (and the voice command) set **both** when
diff --git a/docs/product/personalize-and-connect/audio-and-wake-word.md b/docs/product/personalize-and-connect/audio-and-wake-word.md
index ee0cd77cde..b1d553f799 100644
--- a/docs/product/personalize-and-connect/audio-and-wake-word.md
+++ b/docs/product/personalize-and-connect/audio-and-wake-word.md
@@ -82,8 +82,8 @@ records. This prevents two audio sessions from competing for one device.
`Nova` does not activate it. The configured phrase also supplies the
assistant's display name: `Hey Nova` becomes **Nova**.
3. Under **Which language do you speak?**, choose how you pronounce the phrase,
- not where its name or spelling came from. English, German, Spanish, and
- **Auto** are available.
+ not where its name or spelling came from. English, German, Spanish,
+ European Portuguese, and **Auto** are available.
4. Keep **Detection engine** on **Auto (recommended)**.
5. Select **Save wake word**. A running desktop pipeline normally switches
immediately; follow a restart notice when live switching was unavailable.
diff --git a/docs/product/personalize-and-connect/languages-and-voices.md b/docs/product/personalize-and-connect/languages-and-voices.md
index ab56fce24d..53b954e5cd 100644
--- a/docs/product/personalize-and-connect/languages-and-voices.md
+++ b/docs/product/personalize-and-connect/languages-and-voices.md
@@ -34,9 +34,10 @@ Enter credentials only in **API Keys & Providers**, never in chat or speech.
| **Translation target** | **Voice → Language** | The fixed language in which translated dictation is delivered |
| **Speaking voice** | **API Keys & Providers** | The sound of the audio, not its words |
-Interface Language supports English, German, Spanish, and Simplified Chinese.
-The first-run setup window offers the same four choices in its top corner.
-Reply Language supports English, German, and Spanish equally.
+Interface Language supports English, German, Spanish, Simplified Chinese, and
+European Portuguese. The first-run setup window offers the same five choices in
+its top corner. Reply Language supports English, German, Spanish, and European
+Portuguese equally.
Recognition and Dictation offer Automatic plus a much wider language list. A
provider may support fewer languages than the app lists.
@@ -47,8 +48,8 @@ See [Audio Devices and Wake Word](audio-and-wake-word).
1. Open **Settings → Languages**.
2. Choose an **Interface Language**. The open app changes immediately.
-3. Under **Reply Language**, choose **Automatic** or pin English, German, or
- Spanish.
+3. Under **Reply Language**, choose **Automatic** or pin English, German,
+ Spanish, or European Portuguese.
A reply pin wins for every new turn and keeps acknowledgements, errors, action
readbacks, and speech aligned with the answer.
@@ -108,8 +109,9 @@ default** clears an explicit voice pin and cannot be previewed.
### Use Local Piper Voices
**Piper (on this machine)** is keyless Pipeline output. Its in-app install
-downloads about 200 MB: one voice each for English, German, and Spanish. Piper
-selects the voice matching each reply; text and speech stay on-device.
+downloads about 270 MB: one voice each for English, German, Spanish, and
+European Portuguese. Piper selects the voice matching each reply; text and
+speech stay on-device.
Piper runs on CPU, may sound less natural than cloud speech, and is not a
Realtime voice. A missing language voice can cause the wrong accent; complete
diff --git a/docs/release-notes/v0.8.0.md b/docs/release-notes/v0.8.0.md
index 981b9accf3..7cb9678045 100644
--- a/docs/release-notes/v0.8.0.md
+++ b/docs/release-notes/v0.8.0.md
@@ -64,6 +64,10 @@ Agents" documentation. Worker = Sonnet 4.7, reviewer = Opus 4.7
- **AD-14** (Phase 8.7): voice-phrase wording kept constant
("Lass mich kurz an der Aufgabe arbeiten." / "Erledigt — {summary}" / <!-- i18n-allow -->
"Mein bestes Ergebnis liegt vor, mit einer Einschränkung: {top_issue}"). <!-- i18n-allow -->
+ *Amended later:* the German wording above is unchanged, and each phrase now
+ also exists in English, Spanish and European Portuguese. The tool speaks the
+ turn's output language (`jarvis/core/turn_language.py`) instead of always
+ German; the phrases stay hardcoded and are still matched byte-exact in tests.
The other 12 ADs are taken over unchanged from the plan — no
architecture drift.
diff --git a/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md b/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md
index 920214ceb8..5b60e29977 100644
--- a/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md
+++ b/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md
@@ -419,6 +419,82 @@ empty string. No markdown, no comments, no accompanying text.
prompt forbids saying "Jarvis-Agent" outright rather than allowing it. This
verbatim quote reflects the 2026-05-11 version this design shipped.)
+#### Later languages: PERSONA_PROMPT_ES and PERSONA_PROMPT_PT
+
+Spanish (`PERSONA_PROMPT_ES`, 2026-06-29) and European Portuguese
+(`PERSONA_PROMPT_PT`, pt-PT, informal "tu") were added later as translations
+of the then-current, name-neutral English prompt. They keep every invariant
+above. `persona_prompt.py` is the source of truth for their text; the
+Portuguese prompt as committed:
+
+```text
+És o assistente pessoal do utilizador. Neste momento estás no teu
+papel de "pré-resposta": falas de forma breve e concreta ANTES de a
+resposta real estar pronta, mas só quando isso ajuda mesmo o
+utilizador. Mais vale ficar calado do que tagarelar sem contexto.
+
+CRÍTICO, NUNCA respondes à pergunta quanto ao conteúdo:
+Tu não és o modelo principal. Outro modelo, maior, responde à
+pergunta logo a seguir a ti, normalmente em menos de um segundo. A tua
+única tarefa é uma frase prévia breve OU o silêncio. Se responderes tu
+mesmo (com dados, datas, nomes, definições, explicações), o
+utilizador ouve a resposta duas vezes, uma de ti e outra do modelo
+principal. Isso está SEMPRE errado. Exemplos de autorrespostas proibidas:
+- "Albert Einstein nasceu a 14 de março de 1879." Errado, cala-te.
+- "A capital de Itália é Roma." Errado, cala-te.
+- "O Albel começa a 15 de outubro." Errado (alucinação); cala-te ou
+ descreve apenas a pesquisa.
+
+REGRA PRINCIPAL, nada de bordões genéricos:
+São proibidas as confirmações sem referência concreta ao
+pedido:
+- "Eu faço" / "Claro" / "Entendido" / "Eu trato disso"
+- "Sim, senhor" / "Chefe" como tratamento
+- "Deixa-me ver" / "Vou pensar" como mero bordão
+- Qualquer frase que encaixaria igualmente bem em qualquer outro pedido
+
+QUANDO FALAS (uma só frase, no máximo 12 palavras):
+- Quando o pedido lança claramente uma tarefa mais longa:
+ pesquisa, ação de vários passos, serviço externo, consulta de dados.
+- A tua frase TEM de mencionar o tema CONCRETO do pedido (objeto da
+ pesquisa, nome da app, dado, local, pessoa). NADA de frases
+ feitas memorizadas, cada frase é formulada de novo para este
+ pedido exato.
+
+QUANDO TE CALAS (saída: cadeia vazia ""):
+- Conversa de circunstância ("Olá", "Tudo bem?", "Ei", "Obrigado").
+- Perguntas rápidas de factos ("Quando nasceu o Einstein?", "Que horas
+ são?", "Capital de Itália?"). O modelo principal responde diretamente,
+ uma frase prévia só iria incomodar.
+- Controlo por voz ("Cala-te", "Para", "Pausa").
+- Se tiveres dúvidas se uma frase prévia encaixa aqui: cala-te.
+
+VOCABULÁRIO PROIBIDO (também dentro de frases permitidas,
+defesa em profundidade):
+"Subagent", "Sub-Agent", "Worker", "Provider" (sozinhos), "Senhor",
+"Chefe".
+
+PROMESSAS DE AÇÃO PROIBIDAS (não podes executar ações, o teu papel
+é apenas a frase prévia, não a execução):
+"eu faço", "vai ser enviado", "vai ser agendado", "considera feito",
+"eu trato disso", "eu envio", "eu reservo", "eu publico", "eu anoto".
+
+SÓ podes produzir uma destas opções:
+(a) Confirmação acústica com referência concreta ao tema ("Vejo
+ agora os PRs do GitHub", "Procuro voos para Berlim").
+(b) Pergunta que retoma o contexto ("Que e-mail?",
+ "A partir de que data?").
+(c) Cadeia vazia quando não tiveres a certeza.
+
+PERMITIDO na tua frase:
+o teu próprio nome, marcas (Spotify, Discord, GitHub, Outlook, …),
+palavras temáticas (calendário, reunião, voos, tempo, …). NUNCA digas
+"Sub-Agent", "worker", "harness" nem outros nomes de componentes internos.
+
+Saída: Exatamente uma frase com referência concreta ao tema, OU uma
+cadeia vazia. Sem markdown, sem comentários, sem texto de acompanhamento.
+```
+
#### Empirical validation (2026-05-13)
A 10-utterance smoke battery against the v2.1 prompt (Grok-4-Fast-Non-Reasoning standing in for the unavailable Gemini-Flash; user's Google AI Studio project is currently 403) achieved 7/10 PASS:
diff --git a/jarvis/agent_chat/control_types.py b/jarvis/agent_chat/control_types.py
index bb1fee2c67..4023424ccc 100644
--- a/jarvis/agent_chat/control_types.py
+++ b/jarvis/agent_chat/control_types.py
@@ -32,7 +32,7 @@ class CommandRequest(BaseModel):
command: CommandName
arguments: str = Field(default="", max_length=16000)
request_id: str = Field(min_length=1, max_length=128, pattern=r"^[a-zA-Z0-9_-]+$")
- locale: Literal["en", "de", "es"] = "en"
+ locale: Literal["en", "de", "es", "pt"] = "en"
attachments: list[dict] = Field(default_factory=list)
diff --git a/jarvis/agent_chat/runner_brain.py b/jarvis/agent_chat/runner_brain.py
index 30fc49c464..1d2eb72761 100644
--- a/jarvis/agent_chat/runner_brain.py
+++ b/jarvis/agent_chat/runner_brain.py
@@ -633,10 +633,10 @@ async def _generate(
# turn lock; do not detect language from an English result prompt.
if not handle.output_language:
pin = getattr(brain, "reply_language", "")
- language = pin if pin in {"de", "en", "es"} else getattr(
+ language = pin if pin in {"de", "en", "es", "pt"} else getattr(
brain, "conversation_language", ""
)
- if language in {"de", "en", "es"}:
+ if language in {"de", "en", "es", "pt"}:
handle.output_language = language
return result
task.cancel()
diff --git a/jarvis/agent_chat/secret_requests.py b/jarvis/agent_chat/secret_requests.py
index 00811319e8..1f909e9e4d 100644
--- a/jarvis/agent_chat/secret_requests.py
+++ b/jarvis/agent_chat/secret_requests.py
@@ -28,7 +28,8 @@ SECRET_NOUN: Final[re.Pattern[str]] = re.compile(
r"webhook[\s_-]?urls?|connection[\s_-]?strings?|ssh[\s_-]?keys?|"
r"\w*token\w*|\w*passwor[dt]\w*|"
r"kennw[oö]rt\w*|zugangsdaten|anmeldedaten|\w*schl[uü]ssel\w*|" # i18n-allow
- r"contrase[nñ]as?|claves?|credenciales)\b" # i18n-allow
+ r"contrase[nñ]as?|claves?|credenciales|" # i18n-allow
+ r"palavras?[\s-]passe|senhas?|chaves?|credenciais)\b" # i18n-allow
r"|令牌|密钥|密码|凭据|凭证)", # i18n-allow
re.I,
)
@@ -42,6 +43,8 @@ _HAND_OVER: Final[re.Pattern[str]] = re.compile(
r"hinterleg\w*|eingeben|einf[uü]gen|brauche|ben[oö]tige|hast du|" # i18n-allow
r"sicheres?n? (?:eingabe)?feld|" # i18n-allow
r"env[ií]a\w*|pega\w*|introduc\w*|necesito|proporciona\w*|compart\w*|ingresa\w*|" # i18n-allow
+ r"cola\w*|introduz\w*|insere|preciso|precisamos|fornece\w*|partilha\w*|" # i18n-allow
+ r"d[aá]-me|tens|" # i18n-allow
r"por favor)\b" # i18n-allow
r"|\?|请|提供|输入|粘贴|需要)", # i18n-allow
re.I,
@@ -53,7 +56,9 @@ _VALUE: Final[re.Pattern[str]] = re.compile(
r"(?:what|which) (?:is|are) (?:your|the)|"
r"gib|schick\w*|sende|teil\w* mir|nenn\w*|eingeben|einf[uü]gen|wie lautet|" # i18n-allow
r"was ist dein\w*|" # i18n-allow
- r"env[ií]a\w*|pega\w*|introduc\w*|proporciona\w*|cu[aá]l es (?:tu|la|el))\b" # i18n-allow
+ r"env[ií]a\w*|pega\w*|introduc\w*|proporciona\w*|cu[aá]l es (?:tu|la|el)|" # i18n-allow
+ r"cola\w*|introduz\w*|fornece\w*|partilha\w*|d[aá]-me|" # i18n-allow
+ r"qual [eé] (?:a|o) (?:tua|teu))\b" # i18n-allow
r"|请提供|输入|粘贴)", # i18n-allow
re.I,
)
@@ -64,7 +69,9 @@ _STORED: Final[re.Pattern[str]] = re.compile(
r"(?:stored|saved|set|configured)|"
r"(?:ist|wurde|sind|wurden) (?:\w+ ){0,3}(?:gespeichert|hinterlegt|gesetzt|" # i18n-allow
r"eingerichtet)|" # i18n-allow
- r"(?:est[aá]|fue|ya est[aá]) (?:\w+ )?(?:guardad[oa]|almacenad[oa]))\b", # i18n-allow
+ r"(?:est[aá]|fue|ya est[aá]) (?:\w+ )?(?:guardad[oa]|almacenad[oa])|" # i18n-allow
+ r"(?:foi|j[aá] est[aá]|ficou) (?:\w+ )?" # i18n-allow
+ r"(?:guardad[oa]|armazenad[oa]|configurad[oa]))\b", # i18n-allow
re.I,
)
diff --git a/jarvis/agent_chat/turn_completion.py b/jarvis/agent_chat/turn_completion.py
index 4161f8e23e..46d336010e 100644
--- a/jarvis/agent_chat/turn_completion.py
+++ b/jarvis/agent_chat/turn_completion.py
@@ -22,11 +22,12 @@ from .task_recovery import ToolRecovery
log = logging.getLogger(__name__)
_REQUEST = re.compile(
- r"^\s*(?:(?:hello|hi|hallo|hola)[,! ]+)?" # i18n-allow
+ r"^\s*(?:(?:hello|hi|hallo|hola|ol[aá])[,! ]+)?" # i18n-allow
r"(?:(?:please|bitte|por favor)\s+)?" # i18n-allow
r"(?:can you|could you|i want you to|create|write|build|make|fix|save|send|"
r"kannst du|k[oö]nntest du|ich m[oö]chte|erstelle|schreib\w*|baue?|mach\w*|" # i18n-allow
- r"reparier\w*|speicher\w*|sende|por favor|puedes|crea|escribe|haz|guarda)\b", # i18n-allow
+ r"reparier\w*|speicher\w*|sende|por favor|puedes|crea|escribe|haz|guarda|" # i18n-allow
+ r"podes|consegues|quero que|cria|escreve|faz|corrige|envia)\b", # i18n-allow
re.I,
)
_ADVICE = re.compile(
@@ -36,14 +37,18 @@ _ADVICE = re.compile(
r"ideen|vorschl[aä]g\w*|empfiehl\w*|erkl[aä]r\w*|" # i18n-allow
r"wie kann|wie geht|hast du|warum|wieso|" # i18n-allow
r"[uü]bersetz\w*|zitiere|beispiel|gedicht|geschichte|entwurf|plan|planning|" # i18n-allow
- r"explica|traduce|ejemplo|sugerencias)\b", # i18n-allow
+ r"explica|traduce|ejemplo|sugerencias|" # i18n-allow
+ r"traduz\w*|exemplo|sugest[oõ]es|ideias|recomenda\w*|porqu[eê]|" # i18n-allow
+ r"como posso|como fa[cç]o)\b", # i18n-allow
re.I,
)
_OFFER = re.compile(
- r"^(?:(?:sure|yes|okay|ok|gerne|klar|nat[uü]rlich|ja|s[ií])[.!,: —-]*\s*)?" # i18n-allow
+ r"^(?:(?:sure|yes|okay|ok|gerne|klar|nat[uü]rlich|ja|s[ií]|" # i18n-allow
+ r"sim|claro)[.!,: —-]*\s*)?" # i18n-allow
r"(?:i (?:can|could|would|suggest)|if you (?:want|like)|would you like me|shall i|"
r"ich (?:kann|k[oö]nnte|w[uü]rde|schlage)|wenn du (?:m[oö]chtest|willst)|" # i18n-allow
- r"soll ich|m[oö]chtest du|vorschlag|puedo|podr[ií]a|si quieres|te propongo)\b", # i18n-allow
+ r"soll ich|m[oö]chtest du|vorschlag|puedo|podr[ií]a|si quieres|te propongo|" # i18n-allow
+ r"posso|poderia|se quiseres|proponho|queres que)\b", # i18n-allow
re.I,
)
_READS = frozenset(
@@ -69,7 +74,7 @@ def offer_instead_of_action(request: str, response: str) -> bool:
return False
answer = response.strip().lstrip("* ")
if re.match(
- r"(?:I can confirm|Ich kann best[aä]tigen|Puedo confirmar)\b", # i18n-allow
+ r"(?:I can confirm|Ich kann best[aä]tigen|Puedo confirmar|Posso confirmar)\b", # i18n-allow
answer, re.I,
): # i18n-allow
return False
@@ -80,7 +85,8 @@ def offer_instead_of_action(request: str, response: str) -> bool:
and bool(
re.match(
r"(?:which|what|where|when|who|"
- r"welch\w*|was|wo|wann|wer|qu[eé]|cu[aá]l)\b", # i18n-allow
+ r"welch\w*|was|wo|wann|wer|qu[eé]|cu[aá]l|" # i18n-allow
+ r"qual|quais|onde|quando|quem)\b", # i18n-allow
answer,
re.I,
)
diff --git a/jarvis/agentic_ide/clarify.py b/jarvis/agentic_ide/clarify.py
index 446971c6fb..fbec1ab579 100644
--- a/jarvis/agentic_ide/clarify.py
+++ b/jarvis/agentic_ide/clarify.py
@@ -63,7 +63,8 @@ _ANSWER_MAX_WORDS = 6
#: Words that only ever mean the coding workspace. Naming a pane, or the act of
#: handing one work, is the strongest evidence there is.
_WORKSPACE_NOUN_RE = re.compile(
- r"\b(?:terminals?|terminales|panes?|workspaces?|"
+ r"\b(?:terminals?|terminales|terminais|panes?|workspaces?|"
+ r"painel|pain[eé]is|" # i18n-allow: input vocab
r"arbeitsbereich\w*|instanz\w*|instances?|" # i18n-allow: input vocab
r"prompte?\w*|prompting|anprompt\w*|" # i18n-allow: input vocab
r"beauftrag\w*|briefe?\w*|briefing)\b", # i18n-allow: input vocab
@@ -86,8 +87,11 @@ _CODING_WORK_RE = re.compile(
r"bugs?|fehler\w*|tests?|teste\w*|repo\w*|branch\w*|" # i18n-allow: input vocab
r"code\w*|datei\w*|files?|funktion\w*|functions?|" # i18n-allow: input vocab
r"pull[\s-]?request|pr\b|"
- # Spanish work vocabulary, kept level with the other two locales
- r"arregl\w*|revis\w*|prueba\w*|archivo\w*|rama\w*"
+ # Spanish work vocabulary, kept level with the other locales
+ r"arregl\w*|revis\w*|prueba\w*|archivo\w*|rama\w*|"
+ # European Portuguese work vocabulary, same level as the other locales
+ r"corrig\w*|conserta\w*|ficheiros?|c[oó]digo\w*|ramo\w*|" # i18n-allow: input vocab
+ r"refatoriz\w*|erros?" # i18n-allow: input vocab
r")\b",
re.IGNORECASE,
)
@@ -103,7 +107,8 @@ _HANDOVER_VERB_RE = re.compile(
r"\b(?:sag\w*|schick\w*|gib|geb\w*|frag\w*|lass\w*|l[aä]sst|" # i18n-allow: input vocab
r"beauftrag\w*|[uü]bergib|[uü]bergeb\w*|weiterleit\w*|" # i18n-allow: input vocab
r"tell|send|give|ask|hand|forward|assign|let|have|"
- r"dile|d[ií]gale|env[ií]a|manda|preg[uú]nta|pasa|asigna|encarga)\b", # i18n-allow: input vocab
+ r"dile|d[ií]gale|env[ií]a|manda|preg[uú]nta|pasa|asigna|encarga|" # i18n-allow: input vocab
+ r"diz|dizer|pede|pedir|pergunta|passa|atribui|encarrega)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -116,7 +121,8 @@ _HANDOVER_VERB_RE = re.compile(
_DIRECTIVE_MODAL_RE = re.compile(
r"\b(?:soll|sollen|sollte|sollten|m[uü]ssen|muss|" # i18n-allow: input vocab
r"should|must|shall|"
- r"deber[ií]an?|debe|deben)\b", # i18n-allow: input vocab
+ r"deber[ií]an?|debe|deben|" # i18n-allow: input vocab
+ r"deve|devem|deveria|deveriam|t[eê]m\s+de|tem\s+que)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -134,7 +140,7 @@ _REPORT_QUESTION_RE = re.compile(
# A progress opener is a status question on its own — "wie weit ist Ellis?"
# carries no verb of doing at all, and nothing else is ever asked with it.
r"\b(?:wie\s+weit|wie\s+l[aä]uft|wie\s+steht|how\s+far|" # i18n-allow: input vocab
- r"c[oó]mo\s+va)\b|"
+ r"c[oó]mo\s+va|como\s+vai|em\s+que\s+ponto)\b|" # i18n-allow: input vocab
r"\bwas\b[^.!?]{0,40}?" # i18n-allow: input vocab
r"\b(?:ge)?(?:macht|machen|tut|tun|tan|treibt|treiben|arbeitet|" # i18n-allow: input vocab
r"arbeiten|schafft|geschafft|erledigt|rausgefunden|" # i18n-allow: input vocab
@@ -148,7 +154,12 @@ _REPORT_QUESTION_RE = re.compile(
r"\b(?:hacen?|haciendo|hecho|hizo|hicieron|va|van|"
r"encontr\w*|cambi\w*)\b|"
r"\b(?:est[aá]|est[aá]n)\b[^.!?]{0,30}?\b(?:listo\w*|terminad\w*)\b|"
- r"\b(?:status|fortschritt|estado|progreso)\b", # i18n-allow: input vocab
+ r"\b(?:o\s+que|como)\b[^.!?]{0,40}?" # i18n-allow: input vocab
+ r"\b(?:faz|fazem|fez|fizeram|feito|" # i18n-allow: input vocab
+ r"descobri\w*|mud\w*|alter\w*)\b|" # i18n-allow: input vocab
+ r"\b(?:est[aá]|est[aã]o)\b[^.!?]{0,30}?" # i18n-allow: input vocab
+ r"\b(?:pront[oa]s?|terminad\w*|acabad\w*)\b|" # i18n-allow: input vocab
+ r"\b(?:status|fortschritt|estado|progreso|progresso)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -274,8 +285,19 @@ _STOPWORDS_ES: tuple[str, ...] = ( # i18n-allow: input vocabulary
"se", "ser", "si", "sí", "sobre", "solo", "son", "su", "sus", "te",
"tu", "un", "una", "uno", "y", "ya", "yo",
)
+_STOPWORDS_PT: tuple[str, ...] = ( # i18n-allow: input vocabulary
+ "a", "agora", "ao", "aos", "aqui", "as", "assim", "com", "como",
+ "da", "das", "de", "diz", "do", "dos", "e", "ela", "ele",
+ "eles", "em", "era", "és", "esse", "essa", "isso", "esta", "este",
+ "está", "estão", "eu", "faz", "foi", "há", "isto", "já", "lhe",
+ "mais", "mas", "me", "meu", "minha", "na", "nas", "no", "nos", "não",
+ "nao", "o", "onde", "os", "ou", "para", "pelo", "pela", "por",
+ "porque", "pode", "podes", "quando", "que", "quê", "quem", "se", "ser",
+ "seu", "sim", "sobre", "só", "sua", "são", "também", "te", "teu",
+ "tu", "um", "uma", "vai", "vou", "é",
+)
_STOPWORDS: frozenset[str] = frozenset(
- _STOPWORDS_DE + _STOPWORDS_EN + _STOPWORDS_ES
+ _STOPWORDS_DE + _STOPWORDS_EN + _STOPWORDS_ES + _STOPWORDS_PT
)
@@ -319,7 +341,8 @@ def _is_proper_name_position(text: str, start: int, end: int) -> bool:
#: nothing at all.
_STATUS_NOUN_RE = re.compile(
r"\b(?:status|fortschritt\w*|stand|update\w*|progress|" # i18n-allow: input vocab
- r"bericht\w*|report\w*|estado|progreso|informe\w*)\b", # i18n-allow: input vocab
+ r"bericht\w*|report\w*|estado|progreso|informe\w*|" # i18n-allow: input vocab
+ r"progresso|relat[oó]rio\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -495,7 +518,7 @@ class ClarificationNeeded:
_ENUMERATION_GAP_RE = re.compile(
r"^[\s,;&]*+"
# i18n-allow: input vocabulary — the supported languages' "and"
- r"(?:(?:und|and|y|e|sowie|plus|as\s+well\s+as|together\s+with|junto\s+con)"
+ r"(?:(?:und|and|y|e|sowie|plus|as\s+well\s+as|together\s+with|junto\s+con|junto\s+com|bem\s+como)"
r"[\s,;&]*+)?$",
re.IGNORECASE,
)
@@ -757,7 +780,7 @@ def _classify(text: str, language: str) -> str:
return "unknown"
verdicts = {
classify_response(text, language=lang)
- for lang in {"de", "en", "es", str(language or "de")}
+ for lang in {"de", "en", "es", "pt", str(language or "de")}
}
if "veto" in verdicts:
return "veto"
diff --git a/jarvis/agentic_ide/intent.py b/jarvis/agentic_ide/intent.py
index 02ee7943b7..fa4aad1d8f 100644
--- a/jarvis/agentic_ide/intent.py
+++ b/jarvis/agentic_ide/intent.py
@@ -54,6 +54,7 @@ _DIRECTIVE_TEMPLATES: tuple[str, ...] = (
r"\b(?:sag|sage|sagst)\b[^.!?]{{0,40}}?\b{name}\b",
r"\btell\b[^.!?]{{0,40}}?\b{name}\b",
r"\b(?:dile|d[ií]gale|dile\s+a)\b[^.!?]{{0,40}}?\b{name}\b",
+ r"\b(?:diz|diga|dizer)\b[^.!?]{{0,40}}?\b{name}\b", # i18n-allow: input vocab
# "Mika soll …" / "lass Kai …" / "Nova should …" / "let Aria …"
# Plural forms carry their weight: the moment two panes are addressed the
# user says "Iris und Bruno sollen …", and a singular-only verb list made
@@ -64,6 +65,9 @@ _DIRECTIVE_TEMPLATES: tuple[str, ...] = (
r"d[uü]e?rfen|d[uü]e?rfte|d[uü]e?rften)\b", # i18n-allow: input vocab
r"\b{name}\b[^.!?]{{0,20}}?\b(?:should|can|could|please|must)\b",
r"\b{name}\b[^.!?]{{0,20}}?\b(?:deber[ií]an?|pueden?|podr[ií]an?)\b",
+ r"\b{name}\b[^.!?]{{0,20}}?\b(?:deve|devem|deveria|deveriam|pode|podem|" # i18n-allow
+ r"poderia|poderiam|t[eê]m\s+de|tem\s+que)\b", # i18n-allow: input vocab
+ r"\bdeixa\b[^.!?]{{0,20}}?\b{name}\b", # i18n-allow: input vocab
r"\b(?:lass|l[aä]sst)\b[^.!?]{{0,20}}?\b{name}\b",
r"\blet\b[^.!?]{{0,20}}?\b{name}\b",
# "prompt this terminal Kai …" / "prompte Mika …" / "instruct Nova to …".
@@ -80,16 +84,18 @@ _DIRECTIVE_TEMPLATES: tuple[str, ...] = (
# Stems, so "prompting" / "prompte" / "anprompten" / "promptea" all land.
# Deliberately narrow: these verbs have no status-question reading, which is
# what makes them safe to let outrank the question branch.
- r"\b(?:prompt\w*|anprompt\w*|instruct\w*|instruy\w*|anweis\w*)\b"
+ r"\b(?:prompt\w*|anprompt\w*|instruct\w*|instruy\w*|instrui\w*|anweis\w*)\b"
r"[^.!?]{{0,40}}?\b{name}\b",
# "schick(e) das an Kai" / "gib Mika …" / "frag Nova …" / "beauftrage Kai …"
r"\b(?:schick|schicke|gib|gibt|frag|frage|beauftrag|beauftrage|"
r"[uü]bergib|[uü]bergebe|weiterleit\w*)\b[^.!?]{{0,40}}?\b{name}\b",
r"\b(?:send|give|ask|hand|forward|assign)\b[^.!?]{{0,40}}?\b{name}\b",
r"\b(?:env[ií]a|manda|preg[uú]nta|pasa|asigna)\b[^.!?]{{0,40}}?\b{name}\b",
+ r"\b(?:pede|pergunta|passa|atribui|encaminha|reencaminha)\b" # i18n-allow: input vocab
+ r"[^.!?]{{0,40}}?\b{name}\b",
# "an Kai:" / "in Mika:" / "bei Nova" / "über Kai" — a routing preposition
# immediately in front of the call-sign.
- r"\b(?:an|in|bei|[uü]ber|via|to|into|en|a)\s+{name}\b",
+ r"\b(?:an|in|bei|[uü]ber|via|to|into|en|a|ao|para|em)\s+{name}\b", # i18n-allow
# "setz Kai auf den Wake-Bug an" / "put Nova on the audit" / "point Aria at
# the failing test". The PREPOSITION is what makes these unambiguous — bare
# "setz"/"put" is ordinary work talk ("put the file back"), but putting a
@@ -98,6 +104,7 @@ _DIRECTIVE_TEMPLATES: tuple[str, ...] = (
r"[^.!?]{{0,25}}?\bauf\b", # i18n-allow: input vocab
r"\b(?:put|point|set)\b\s+{name}\s+(?:on|at|onto|to)\b",
r"\b(?:pon|p[oó]n|asigna|encarga\w*)\b[^.!?]{{0,25}}?\b{name}\b",
+ r"\b(?:p[oõ]e|encarrega\w*)\b[^.!?]{{0,25}}?\b{name}\b", # i18n-allow: input vocab
# Vocative: the name opens the utterance ("Kai, mach mal …").
r"^{name}\b\s*[,:]",
)
@@ -130,11 +137,15 @@ _WEAK_DIRECTIVE_TEMPLATES: tuple[str, ...] = (
r"w[uü]e?rde|m[oö]e?ge|mag)\s+{name}\b", # i18n-allow: input vocab
r"\b(?:can|could|should|would|will|shall|must|may)\s+{name}\b",
r"\b(?:puede|podr[ií]a|deber[ií]a|debe)\s+{name}\b",
+ r"\b(?:pode|poderia|deveria|deve)\s+(?:o\s+|a\s+)?{name}\b", # i18n-allow: input vocab
# "que Alex revise el área" — the Spanish way to order a third party about.
# Anchored to the START of the utterance on purpose: mid-sentence "que" is
# the ordinary relative pronoun ("quiero saber que Alex revisó"), and
# matching it there would turn asking ABOUT a pane into typing at it.
r"^(?:[¿¡]\s*)?que\s+{name}\b",
+ # European Portuguese puts an article in front of a person's name: "que o
+ # Alex reveja a área". Same start-of-utterance anchor, same reason.
+ r"^que\s+(?:o|a)\s+{name}\b", # i18n-allow: input vocab
# The German sentence bracket: name first, handing-over verb last.
r"\b{name}\b[^.!?]{{0,30}}?\b(?:sagen|bitten|beauftragen|anweisen|" # i18n-allow: input vocab
r"[uü]bergeben|weiterleiten|zuweisen|prompten|briefen)\b", # i18n-allow: input vocab
@@ -142,6 +153,7 @@ _WEAK_DIRECTIVE_TEMPLATES: tuple[str, ...] = (
# sign follows IMMEDIATELY: at any distance these verbs are ordinary speech
# about a pane rather than an order to it ("I have a question about Alex").
r"\b(?:have|get|need|want)\s+{name}\b",
+ r"\b(?:quero|queria|preciso)\s+que\s+(?:o\s+|a\s+)?{name}\b", # i18n-allow: input vocab
)
# "what is Mika doing?" — a read, never a spawn either. Both word orders are
@@ -166,8 +178,14 @@ _REPORT_TEMPLATES: tuple[str, ...] = (
r"\b(?:qu[eé]|c[oó]mo)\b[^.!?]{{0,20}}?"
r"\b(?:hacen?|haciendo|hecho|hizo|hicieron|van?)\b"
r"[^.!?]{{0,20}}?\b{name}\b",
- r"\b{name}\b[^.!?]{{0,20}}?\b(?:status|fortschritt|progress|estado)\b",
- r"\b(?:status|fortschritt|progress|estado)\b[^.!?]{{0,20}}?\b{name}\b",
+ r"\b(?:que|como)\b[^.!?]{{0,30}}?\b{name}\b[^.!?]{{0,30}}?" # i18n-allow: input vocab
+ r"\b(?:faz|fazem|fazer|fez|fizeram|feito|vai|v[aã]o|anda|andam)\b", # i18n-allow
+ r"\b(?:que|como)\b[^.!?]{{0,20}}?" # i18n-allow: input vocab
+ r"\b(?:faz|fazem|fez|fizeram|feito|vai|v[aã]o|anda|andam)\b" # i18n-allow
+ r"[^.!?]{{0,20}}?\b{name}\b",
+ r"\b{name}\b[^.!?]{{0,20}}?\b(?:status|fortschritt|progress|estado|progresso)\b",
+ r"\b(?:status|fortschritt|progress|estado|progresso)\b[^.!?]{{0,20}}?\b{name}\b",
+ r"\bem\s+que\s+ponto\b[^.!?]{{0,20}}?\b{name}\b", # i18n-allow: input vocab
# Is it done / is it stuck. Plural included, because two addressed panes
# get asked about together:
# "ist Kai fertig?" / "sind Iris und Bruno fertig?" # i18n-allow: input vocab
@@ -175,6 +193,10 @@ _REPORT_TEMPLATES: tuple[str, ...] = (
r"\b(?:h[aä]ngt|h[aä]ngen|steckt|stecken" # i18n-allow: input vocab
r"|stuck|fertig|done|listos?)\b" # i18n-allow: input vocab
r"[^.!?]{{0,20}}?\b{name}\b",
+ # European Portuguese: "está o Kai pronto?" / "o Kai já está pronto?"
+ r"\b(?:est[aá]|est[aã]o)\s+(?:o\s+|a\s+)?{name}\b", # i18n-allow: input vocab
+ r"\b{name}\b\s+(?:j[aá]\s+)?(?:est[aá]|est[aã]o)\s+" # i18n-allow: input vocab
+ r"(?:pront|despachad|terminad|encravad|bloquead)\w*", # i18n-allow: input vocab
)
# Leading conversational filler that carries no instruction for the agent
@@ -186,7 +208,10 @@ _FILLER_PREFIX_RE = re.compile(
r"|(?:kannst|k[oö]nntest|w[uü]rdest|willst|magst)\s+du\b\s*"
r"|(?:could|can|would|will)\s+you\b\s*"
r"|(?:puedes|podr[ií]as)\b\s*"
- r"|(?:mal|bitte|kurz|schnell|eben|just|please|quickly|por\s+favor)\b[\s,]*"
+ r"|(?:ol[aá]|ei|ent[aã]o|pronto)\b[\s,]*" # i18n-allow: input vocab
+ r"|(?:podes|poderias|consegues)\b\s*" # i18n-allow: input vocab
+ r"|(?:mal|bitte|kurz|schnell|eben|just|please|quickly|por\s+favor"
+ r"|s[oó]|rapidamente)\b[\s,]*" # i18n-allow: input vocab
r")+",
re.IGNORECASE,
)
@@ -335,7 +360,7 @@ def _compile(templates: tuple[str, ...], names: list[str]) -> list[tuple[str, re
#: Routing prepositions that may sit directly in front of a call-sign and are
#: part of the addressing, not of the work ("schick das AN Kai").
-_ADDRESS_PREPOSITION = r"(?:an|to|a|bei|in|[uü]ber|via)" # i18n-allow: input vocab
+_ADDRESS_PREPOSITION = r"(?:an|to|a|ao|para|bei|in|[uü]ber|via)" # i18n-allow: input vocab
#: How people point AT a pane before naming it: "prompt THIS TERMINAL Alex …".
#: Part of the address, never part of the work — leaving it in briefed an agent
@@ -346,8 +371,9 @@ _ADDRESS_PREPOSITION = r"(?:an|to|a|bei|in|[uü]ber|via)" # i18n-allow: input v
#: the pane noun mandatory and stripping nothing at all.
_ADDRESS_PANE_NOUN = (
r"(?:"
- r"(?:(?:this|that|the|dieses?|diesem|das|dem|el|la|ese|este)\s+)?" # i18n-allow: input vocab
- r"(?:terminals?|terminales|panes?|tabs?)\s+"
+ r"(?:(?:this|that|the|dieses?|diesem|das|dem|el|la|ese|este|" # i18n-allow: input vocab
+ r"o|esse|ao|no)\s+)?" # i18n-allow: input vocab
+ r"(?:terminals?|terminales|terminais|panes?|painel|tabs?)\s+" # i18n-allow: input vocab
r")?"
)
@@ -362,7 +388,8 @@ def _strip_addressing(text: str, *names: str) -> str:
cleaned = re.sub(
r"\b(?:sag|sage|sagst|tell|dile|d[ií]gale|schick|schicke|send|gib|give|"
r"frag|frage|ask|lass|let|beauftrage?|assign|env[ií]a|manda|"
- r"prompt\w*|anprompt\w*|instruct\w*|instruy\w*|anweis\w*)\b\s*",
+ r"prompt\w*|anprompt\w*|instruct\w*|instruy\w*|anweis\w*|"
+ r"diz|diga|pede|pergunta|deixa|instrui\w*)\b\s*", # i18n-allow: input vocab
" ",
text,
flags=re.IGNORECASE,
@@ -378,7 +405,8 @@ def _strip_addressing(text: str, *names: str) -> str:
# "…, dass er/sie …" / "…, that it should …" — the subordinating conjunction
# left over once the addressee is gone.
cleaned = re.sub(
- r"^\s*(?:und\s+zwar\s+)?(?:dass|damit|that|que)\s+(?:er|sie|es|it|he|she|they)?\s*",
+ r"^\s*(?:und\s+zwar\s+)?(?:dass|damit|that|que)\s+"
+ r"(?:er|sie|es|it|he|she|they|ele|ela|eles|elas)?\s*", # i18n-allow: input vocab
"",
cleaned.strip(),
flags=re.IGNORECASE,
@@ -397,7 +425,7 @@ def _strip_addressing(text: str, *names: str) -> str:
# let the engine try every split of a long blank gap (CodeQL
# py/polynomial-redos). The accepted language is unchanged.
_COORDINATION_RE = re.compile(
- r"^[\s,]*+(?:(?:und|and|sowie|plus|y|&|\+)[\s,]*+)?$",
+ r"^[\s,]*+(?:(?:und|and|sowie|plus|y|e|&|\+)[\s,]*+)?$",
re.IGNORECASE,
)
@@ -435,6 +463,13 @@ _EVERYONE_TEMPLATES: tuple[re.Pattern[str], ...] = tuple(
r"\b(?:should|must|please|can)\b",
r"\b(?:diles?|preg[uú]nta)\b[\s,]*\b(?:a\s+)?todos\b",
r"^\b(?:todos|todas)\b[^.!?]{0,20}?\b(?:deben|deber[ií]an)\b",
+ # European Portuguese
+ r"\b(?:diz|diga|pergunta|pede)\b[\s,]*\b(?:a\s+|aos\s+)?" # i18n-allow: input vocab
+ r"(?:todos|todas)\b", # i18n-allow: input vocab
+ r"\b(?:prompt|instrui|atribui|encarrega)\w*\b[\s,]*(?:a\s+|aos\s+|as\s+)?" # i18n-allow
+ r"\b(?:todos|todas)\b(?:\s+(?:os\s+)?(?:terminais|pain[eé]is))?", # i18n-allow
+ r"^\b(?:todos|todas)\b[^.!?]{0,20}?" # i18n-allow: input vocab
+ r"\b(?:devem|deviam|deveriam|t[eê]m\s+de)\b", # i18n-allow: input vocab
)
)
@@ -444,19 +479,21 @@ _EVERYONE_TEMPLATES: tuple[re.Pattern[str], ...] = tuple(
# while "prompt everyone except T12" addresses everyone else.
_EXCLUSION_CUE_RE = re.compile(
r"\b(?:außer|ausser|ausgenommen|except(?:\s+for)?|excluding|apart\s+from|"
- r"but\s+not|not|nicht|excepto|salvo|menos|sino)\b",
+ r"but\s+not|not|nicht|excepto|salvo|menos|sino|"
+ r"exceto|tirando|sem\s+ser)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
_EXCLUSION_GAP_RE = re.compile(
- r"^[\s,:;\-]*(?:(?:the|den|dem|die|das|los|las)\s+)?"
- r"(?:(?:terminals?|terminales|panes?|tabs?)\s+)?$",
+ r"^[\s,:;\-]*(?:(?:the|den|dem|die|das|los|las|o|a|os|as)\s+)?" # i18n-allow
+ r"(?:(?:terminals?|terminales|terminais|panes?|tabs?)\s+)?$",
re.IGNORECASE,
)
_OTHER_PANES_RE = re.compile(
r"\b(?:alle\s+anderen|all\s+(?:the\s+)?others|everyone\s+else|"
- r"todos\s+los\s+dem[aá]s|todas\s+las\s+dem[aá]s)\b",
+ r"todos\s+los\s+dem[aá]s|todas\s+las\s+dem[aá]s|"
+ r"todos\s+os\s+outros|todas\s+as\s+outras)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -466,7 +503,9 @@ _COLLECTIVE_EXCEPTION_RE = re.compile(
r"\b(?:all|everyone|everybody)(?:\s+(?:terminals?|panes?))?[\s,]+"
r"(?:except(?:\s+for)?|excluding|apart\s+from|but\s+not)|"
r"\b(?:todos|todas)(?:\s+(?:los|las))?(?:\s+(?:terminales|paneles))?"
- r"[\s,]+(?:excepto|salvo|menos)",
+ r"[\s,]+(?:excepto|salvo|menos)|"
+ r"\b(?:todos|todas)(?:\s+(?:os|as))?(?:\s+(?:terminais|pain[eé]is))?" # i18n-allow
+ r"[\s,]+(?:exceto|excepto|salvo|menos|tirando)", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -478,7 +517,9 @@ _NO_WORK_AFTER_NAME_RE = re.compile(
r"do\s+not\s+(?:prompt|continue|keep\s+working)|"
r"not\s+(?:prompt|continue|keep\s+working)|"
r"nada\s+que\s+hacer|no\s+(?:los?\s+|las?\s+)?"
- r"(?:instruy\w*|asign\w*|contin[uú]\w*)"
+ r"(?:instruy\w*|asign\w*|contin[uú]\w*)|"
+ r"nada\s+(?:para|a)\s+fazer|n[aã]o\s+(?:o\s+|a\s+|os\s+|as\s+)?" # i18n-allow
+ r"(?:instrui\w*|atribu\w*|continu\w*)" # i18n-allow: input vocab
r")\b",
re.IGNORECASE,
)
@@ -486,7 +527,7 @@ _NO_WORK_AFTER_NAME_RE = re.compile(
# Possessive runs: ``\s*[.!?]?\s*`` let the engine try every split of a long
# blank run (CodeQL py/polynomial-redos). The accepted language is unchanged.
_TRAILING_NEGATION_RE = re.compile(
- r"^[\s,:\-]*+(?:aber\s++)?(?:nicht|not|no)\s*+[.!?]?+\s*+$",
+ r"^[\s,:\-]*+(?:(?:aber|mas)\s++)?(?:nicht|not|no|n[aã]o)\s*+[.!?]?+\s*+$",
re.IGNORECASE,
)
@@ -494,15 +535,17 @@ _TASK_AFTER_EXCLUSION_RE = re.compile(
r"^[\s,:\-]*(?:"
r"(?:dass|damit)\s+(?:sie|ihr|diese)?\s*|"
r"that\s+(?:they|those)?\s*|to\s+|"
- r"que\s+(?:ellos|ellas|estos|estas)?\s*"
+ r"que\s+(?:ellos|ellas|estos|estas|eles|elas|estes)?\s*" # i18n-allow
r")(?P<task>.+)$",
re.IGNORECASE | re.DOTALL,
)
_OTHER_PANES_TASK_RE = re.compile(
r"\b(?:alle\s+anderen|all\s+(?:the\s+)?others|everyone\s+else|"
- r"todos\s+los\s+dem[aá]s|todas\s+las\s+dem[aá]s)\b[^.!?;,]{0,12}?"
- r"\b(?:soll(?:en)?|m[uü]ss(?:en)?|should|must|deben|deber[ií]an)\b\s+"
+ r"todos\s+los\s+dem[aá]s|todas\s+las\s+dem[aá]s|"
+ r"todos\s+os\s+outros|todas\s+as\s+outras)\b[^.!?;,]{0,12}?" # i18n-allow
+ r"\b(?:soll(?:en)?|m[uü]ss(?:en)?|should|must|deben|deber[ií]an|"
+ r"devem|deveriam|t[eê]m\s+de)\b\s+" # i18n-allow: input vocab
r"(?P<task>[^.!?;,]+)",
re.IGNORECASE,
)
@@ -522,6 +565,7 @@ _WORD_RE = CALL_SIGN_WORD_RE
#: er macht" — a genuine read — is untouched by it.
_BRIEFING_VERB_RE = re.compile(
r"\b(?:prompt\w*|anprompt\w*|instruct\w*|instruy\w*|anweis\w*|" # i18n-allow: input vocab
+ r"instrui\w*|encarrega\w*|" # i18n-allow: input vocab
r"beauftrag\w*|briefing|briefe\w*|assign\w*|encarga\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -535,10 +579,11 @@ _BRIEFING_VERB_RE = re.compile(
#: ("prompt THE TERMINAL Alex"), each at most once.
_BRIEFED_NAME_RE = re.compile(
r"\b(?:prompt\w*|anprompt\w*|instruct\w*|instruy\w*|anweis\w*|" # i18n-allow: input vocab
+ r"instrui\w*|encarrega\w*|" # i18n-allow: input vocab
r"beauftrag\w*|briefe\w*|assign\w*|encarga\w*)\b\s+" # i18n-allow: input vocab
r"(?:(?:this|that|the|dieses?|diesem|den|dem|" # i18n-allow: input vocab
- r"das|der|el|la|ese|este)\s+)?" # i18n-allow: input vocab
- r"(?:(?:terminals?|terminales|panes?|tabs?)\s+)?"
+ r"das|der|el|la|ese|este|o|esse)\s+)?" # i18n-allow: input vocab
+ r"(?:(?:terminals?|terminales|terminais|panes?|painel|tabs?)\s+)?" # i18n-allow
r"(?P<word>[^\W\d_]+\d*)",
re.IGNORECASE,
)
@@ -552,10 +597,11 @@ _VISIBLE_TERMINAL_RE = re.compile(
r"(?:"
r"\b(?:this|that|the|current|visible|"
r"dies(?:es|em|en)?|das|der|dem|den|aktuelle[nmrs]?|sichtbare[nmrs]?|"
- r"el|este|ese|actual|visible)\s+(?:terminal|pane|tab)\b"
+ r"el|este|ese|actual|visible|"
+ r"o|esse|atual|vis[ií]vel)\s+(?:terminal|pane|tab)\b" # i18n-allow
r"|"
r"\b(?:terminal|pane|tab)\b[^.!?]{0,20}?"
- r"\b(?:here|on\s+screen|hier|im\s+bild|aqu[ií]|en\s+pantalla)\b"
+ r"\b(?:here|on\s+screen|hier|im\s+bild|aqu[ií]|en\s+pantalla|no\s+ecr[aã])\b"
r")",
re.IGNORECASE,
)
@@ -564,7 +610,8 @@ _VISIBLE_REPORT_RE = re.compile(
r"\b(?:"
r"what|how|status|progress|doing|done|stuck|"
r"was|wie|status|fortschritt|macht|tut|l[aä]uft|los|fertig|h[aä]ngt|"
- r"qu[eé]|c[oó]mo|estado|progreso|haciendo|hecho|atascado"
+ r"qu[eé]|c[oó]mo|estado|progreso|haciendo|hecho|atascado|"
+ r"progresso|faz|fazer|feito|encravado" # i18n-allow: input vocab
r")\b",
re.IGNORECASE,
)
@@ -1050,7 +1097,13 @@ _INSTRUCTION_VERB_RE = re.compile(
# so the stems have to reach past the 2nd-person imperative. Fixed forms
# only made the Spanish half of every detector that consults this quietly
# weaker than the German and English halves.
- r"haz|hag[ao]\w*|escrib\w*|crea|revis\w*|arregl\w*|ejecut\w*|analic\w*|analiz\w*)\b",
+ r"haz|hag[ao]\w*|escrib\w*|crea|revis\w*|arregl\w*|ejecut\w*|analic\w*|analiz\w*|"
+ # European Portuguese, subjunctive included for the same reason: "que o
+ # Kai FAÇA uma revisão", "que a Mika CORRIJA os testes".
+ r"faz|fa[cç]a\w*|escrev\w*|cria|crie\w*|rev[eê]|rever|revej\w*|" # i18n-allow
+ r"corrig\w*|corrij\w*|conserta\w*|execut\w*|analis\w*|verific\w*|" # i18n-allow
+ r"investig\w*|adicion\w*|acrescent\w*|remov\w*|apag\w*|atualiz\w*|" # i18n-allow
+ r"procur\w*|explic\w*|document\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -1083,7 +1136,7 @@ def _looks_like_instruction(text: str) -> bool:
# (window) is deliberately NOT here: a spoken "open two windows" is at least as
# likely to mean an application window, which is a Computer-Use request.
_PANE_NOUN_RE = re.compile(
- r"\b(?:terminals?|terminales|panes?|tabs?)\b",
+ r"\b(?:terminals?|terminales|terminais|panes?|tabs?)\b",
re.IGNORECASE,
)
@@ -1097,7 +1150,8 @@ _BROWSER_TAB_CONTEXT_RE = re.compile(
r"incognito|private|guest|"
r"webseite|internetseite|inkognito|privat|gast|" # i18n-allow: input vocab
r"navegador|sitio\s+web|p[aá]gina\s+web|" # i18n-allow: input vocab
- r"inc[oó]gnit\w*|privad\w*)\b", # i18n-allow: input vocab
+ r"inc[oó]gnit\w*|privad\w*|" # i18n-allow: input vocab
+ r"s[ií]tio\s+web|p[aá]gina\s+da\s+internet|an[oó]nim\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -1124,14 +1178,17 @@ _OPEN_VERB_RE = re.compile(
r"(?:auf|an|zu|hoch)?mach\w*|erstell\w*|f[uü]g\w*|" # i18n-allow: input vocab
r"gib|geb\w*|brauch\w*|will|h[aä]tte|" # i18n-allow: German input vocabulary
r"open\w*|create\w*|launch\w*|add|give|need|want|"
- r"abr\w*|cre\w*|lanz\w*|a[nñ]ad\w*|agrega\w*|dame|necesito|quiero)\b",
+ r"abr\w*|cre\w*|lanz\w*|a[nñ]ad\w*|agrega\w*|dame|necesito|quiero|"
+ r"cria\w*|lan[cç]a\w*|adiciona\w*|acrescenta\w*|d[aá]-me|" # i18n-allow: input vocab
+ r"preciso|quero|queria)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
_ADDITIVE_RE = re.compile(
r"\b(?:noch|weitere\w*|zus[aä]tzlich\w*|mehr|another|" # i18n-allow: input vocab
r"more|"
r"extra|"
- r"otr[oa]s?|m[aá]s)\b",
+ r"otr[oa]s?|m[aá]s|"
+ r"outr[oa]s?|mais)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -1150,15 +1207,18 @@ _QUESTION_OPENER_RE = re.compile(
r"\s+welche\w*|" # i18n-allow: input vocab
r"(?:with|in|on|at|from|to|under|for|by|through)\s+which|"
r"(?:con|en|de|a|para|por)\s+(?:qu[eé]|cu[aá]les?)|" # i18n-allow: input vocab
+ r"(?:com|em|no|na|de|a|para|por)\s+(?:qual|quais)|(?:com|em)\s+que|" # i18n-allow
# First-person and impersonal modals ask about possibility or advice. Keep
# second-person forms out: "can you open …" remains a polite command.
r"(?:kann|k[oö]nnte|soll(?:te)?|muss|darf|d[üu]rfte)" # i18n-allow: input vocab
r"\s+(?:ich|man)|" # i18n-allow: input vocab
r"(?:can|could|should|must|may|would|do)\s+i|"
r"(?:puedo|podr[ií]a|debo|se\s+puede)|" # i18n-allow: input vocab
+ r"(?:posso|devo|consigo|d[aá]\s+para)|" # i18n-allow: input vocab
r"wie|was|wieso|warum|wo|wann|welche\w*|wieviel\w*|"
r"how|what|why|where|when|which|"
- r"c[oó]mo|qu[eé]|cu[aá]nt\w*|por\s+qu[eé]|d[oó]nde|cu[aá]ndo"
+ r"c[oó]mo|qu[eé]|cu[aá]nt\w*|por\s+qu[eé]|d[oó]nde|cu[aá]ndo|"
+ r"o\s+que|porqu[eê]|onde|quando|qual|quais|quant\w*" # i18n-allow: input vocab
r")\b",
re.IGNORECASE,
)
@@ -1172,7 +1232,7 @@ _QUESTION_OPENER_RE = re.compile(
# adjacent ``\s*`` let the engine try every split of a long blank run
# (CodeQL py/polynomial-redos). The matched prefix is unchanged.
_QUESTION_DISCOURSE_PREFIX_RE = re.compile(
- r"^\s*+(?:¿\s*+)?(?:(?:und|and|y)\b[\s,;:–—-]*+)+", # i18n-allow: input vocab
+ r"^\s*+(?:¿\s*+)?(?:(?:und|and|y|e)\b[\s,;:–—-]*+)+", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -1234,6 +1294,20 @@ _NUMBER_WORDS: dict[str, int] = {
"diez": 10,
"once": 11,
"doce": 12,
+ # European Portuguese ("tres"/"seis"/"cinco" are shared with Spanish).
+ # "um"/"uma" double as the article, see ``_ARTICLE_ONES``.
+ "um": 1, # i18n-allow: number words
+ "uma": 1, # i18n-allow: number words
+ "dois": 2,
+ "duas": 2,
+ "três": 3, # i18n-allow: number words
+ "quatro": 4,
+ "sete": 7,
+ "oito": 8,
+ "nove": 9,
+ "dez": 10,
+ "onze": 11,
+ "doze": 12,
# Past a dozen, spoken counts are the round ones — nobody asks for
# thirty-seven terminals out loud, and the workspace maximum is a hundred.
# Digits already cover every number in between; these exist because a
@@ -1278,6 +1352,14 @@ _NUMBER_WORDS: dict[str, int] = {
"noventa": 90,
"cien": 100,
"ciento": 100, # i18n-allow: number words
+ "quinze": 15,
+ "vinte": 20,
+ "trinta": 30,
+ "quarenta": 40, # i18n-allow: number words
+ "cinquenta": 50,
+ "sessenta": 60,
+ "oitenta": 80,
+ "cem": 100,
}
@@ -1587,10 +1669,11 @@ def _spoken_count(text: str) -> int:
#: usual qualifiers. Bounded at two words so the count and the agent cannot
#: drift into different clauses of the sentence.
_COUNT_AGENT_PREFIX = (
- r"\b(?P<count>\d{1,3}|[a-zäöüñ]+)\s+" # i18n-allow: input vocab
+ r"\b(?P<count>\d{1,3}|[a-zäöüñêç]+)\s+" # i18n-allow: input vocab
r"(?:(?:neue|weitere|zus[aä]tzliche|more|new|extra|" # i18n-allow: input vocab
- r"additional|de|del|"
- r"otros|otras|m[aá]s|terminals?|terminales|panes?|tabs?)\s+){0,2}"
+ r"additional|de|del|do|"
+ r"otros|otras|m[aá]s|terminals?|terminales|panes?|tabs?|"
+ r"novos|novas|outros|outras|mais|terminais)\s+){0,2}" # i18n-allow: input vocab
)
_COUNT_AGENT_RE = re.compile(
rf"{_COUNT_AGENT_PREFIX}(?P<agent>{_AGENT_ALTERNATION})\b",
@@ -1625,7 +1708,7 @@ _COUNT_AGENT_MAX_GAP = 40
#: "uno" are absent on purpose: those are the bare numbers, never articles.
_ARTICLE_ONES: frozenset[str] = frozenset(
# i18n-allow: speech-recognition input vocabulary, not prose
- {"ein", "eine", "einen", "a", "an", "un", "una"}
+ {"ein", "eine", "einen", "a", "an", "un", "una", "um", "uma"}
)
#: How many words may sit between the article and the thing it sizes. Two, the
@@ -1909,7 +1992,8 @@ _AGENT_NOUN_RE = re.compile(
_BACKGROUND_RE = re.compile(
r"\b(?:hintergrund|background|worker\w*|mission\w*|" # i18n-allow: input vocab
r"sub-?agent\w*|subagent\w*|delegier\w*|delegate\w*|" # i18n-allow: input vocab
- r"segundo\s+plano|trabajador\w*)\b", # i18n-allow: input vocab
+ r"segundo\s+plano|trabajador\w*|" # i18n-allow: input vocab
+ r"miss[aã]o|miss[oõ]es|trabalhador\w*|delega\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -1953,6 +2037,7 @@ _FLEET_BRIEF_VERB_RE = re.compile(
# was parsed as MORE FLEET: the counts inside it opened extra panes
# (live 2026-08-12 17:40, four billed panes for a spoken "two").
r"sag\w*|diles?|d[ií]gale|" # i18n-allow: input vocab
+ r"diz|diga|instrui\w*|cada\s+um\s+(?:deles|delas)|" # i18n-allow: input vocab
r"anweis\w*|beauftrag\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2103,6 +2188,22 @@ _CLI_POSITION_NOISE = frozenset(
"me",
"uns",
"us", # i18n-allow: input vocab
+ "novo",
+ "nova",
+ "novos",
+ "novas",
+ "outro",
+ "outra",
+ "outros",
+ "outras",
+ "mais",
+ "do",
+ "dos",
+ "o",
+ "os",
+ "um",
+ "uma",
+ "e", # i18n-allow: input vocab
}
)
@@ -2138,7 +2239,7 @@ def _closest_clis(word: str) -> tuple[tuple[str, float], ...]:
#: Punctuation or coordination that ends one fleet group and starts the next.
_GROUP_BOUNDARY_RE = re.compile(
- r"[,;]|\b(?:und|and|y)\b", # i18n-allow: input vocab
+ r"[,;]|\b(?:und|and|y|e)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2418,7 +2519,8 @@ def _spawn_regions(text: str) -> list[_SpawnSpan]:
_SPAWN_CONDITION_RE = re.compile(
r"\b(?:wenn|falls|sofern|ansonsten|sonst|" # i18n-allow: input vocab
r"if|in\s+case|unless|otherwise|"
- r"si|en\s+caso|sino)\b", # i18n-allow: input vocab
+ r"si|en\s+caso|sino|" # i18n-allow: input vocab
+ r"se|caso\s+(?:n[aã]o|haja)|sen[aã]o)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2470,7 +2572,9 @@ _RETRACTION_RE = re.compile(
r"vergiss\s+(?:das|es)|ich\s+mein(?:e|te)|" # i18n-allow: input vocab
r"no+[,\s]+wait|wait[,\s]+no+|no[,\s]+no|scratch\s+that|"
r"forget\s+(?:that|it)|i\s+meant?|actually[,\s]+no|instead|"
- r"mejor\s+dicho|digo|olvida\s+eso|espera[,\s]+no" # i18n-allow: input vocab
+ r"mejor\s+dicho|digo|olvida\s+eso|espera[,\s]+no|" # i18n-allow: input vocab
+ r"n[aã]o[,\s]+espera|espera[,\s]+n[aã]o|esquece\s+(?:isso|isto)|" # i18n-allow
+ r"quer\s+dizer|ali[aá]s|melhor\s+dizendo|em\s+vez\s+disso" # i18n-allow: input vocab
r")\b",
re.IGNORECASE,
)
@@ -2530,6 +2634,7 @@ def spawn_includes_task(user_text: str) -> bool:
_TASK_AFTER_BRIEF_RE = re.compile(
r"\b(?:prompt\w*|brief\w*|instruct\w*|assign\w*|tell\w*|"
r"sag\w*|diles?|d[ií]gale|" # i18n-allow: input vocab
+ r"diz|diga|instrui\w*|" # i18n-allow: input vocab
r"anweis\w*|beauftrag\w*)\b\s*"
r"(?:,?\s*(?:dass|damit|that|to|que)\s*)?" # i18n-allow: input vocab
# The pronoun standing for the fleet. "them" was missing, so "prompt
@@ -2537,7 +2642,8 @@ _TASK_AFTER_BRIEF_RE = re.compile(
# word "them," — a fragment of the address baked into their work.
r"(?:(?:sie|er|es|ihnen|ihm|they|it|them(?:\s+all)?|those|" # i18n-allow: input vocab
r"each(?:\s+one|\s+of\s+them)?|all(?:\s+of\s+them)?|everyone|"
- r"beiden?|allen?|cada\s+uno|todos|todas|ellos|ellas)" # i18n-allow: input vocab
+ r"beiden?|allen?|cada\s+uno|todos|todas|ellos|ellas|" # i18n-allow: input vocab
+ r"cada\s+um|eles|elas)" # i18n-allow: input vocab
r"[\s,:]+)?"
# Spoken filler introducing the task itself: "prompt them LIKE one fixes
# …", "prompte sie SO, DASS einer …". Part of the address, and the word
@@ -2623,7 +2729,8 @@ def spawn_instruction(user_text: str) -> str:
_GROUP_BRIEF_VERB_RE = re.compile(
r"\b(?:prompt\w*|anprompt\w*|instruct\w*|instruy\w*|anweis\w*|" # i18n-allow: input vocab
r"beauftrag\w*|brief\w*|assign\w*|encarga\w*|tell\w*|sag\w*|" # i18n-allow: input vocab
- r"dile|d[ií]gale|frag\w*|ask\w*|pregunt\w*)\b", # i18n-allow: input vocab
+ r"dile|d[ií]gale|frag\w*|ask\w*|pregunt\w*|" # i18n-allow: input vocab
+ r"instrui\w*|encarrega\w*|diz|diga|pergunta|pede)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2633,7 +2740,8 @@ _GROUP_BRIEF_VERB_RE = re.compile(
#: borrow a modal from the next clause.
_GROUP_BRIEF_MODAL_RE = re.compile(
r"[^.!?;,]{0,12}?\b(?:soll(?:en|te|ten)?|should|shall|must|" # i18n-allow: input vocab
- r"m[uü]ss(?:en|t)?|deben?|deber[ií]an?)\b", # i18n-allow: input vocab
+ r"m[uü]ss(?:en|t)?|deben?|deber[ií]an?|" # i18n-allow: input vocab
+ r"devem|deve|deveriam|t[eê]m\s+de)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2642,7 +2750,7 @@ _GROUP_BRIEF_MODAL_RE = re.compile(
#: the ADDRESS, never of the task.
_GROUP_BRIEF_CONNECTIVE_RE = re.compile(
r"\s*[,:]?\s*(?:(?:to|that|dass|damit|que)\b\s*)?" # i18n-allow: input vocab
- r"(?:(?:sie|er|es|they|it|them)\b\s*)?", # i18n-allow: input vocab
+ r"(?:(?:sie|er|es|they|it|them|eles|elas)\b\s*)?", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2661,6 +2769,17 @@ _GROUP_TASK_TRIM_RE = re.compile(
re.IGNORECASE,
)
+#: The same trim with the Portuguese conjunction and articles ("… e o "). Used
+#: ONLY when the utterance reads as Portuguese: "e", "o", "a", "os" and "as"
+#: are ordinary English words, and "fix the tests for option A" or "treat it
+#: as" must keep their last word.
+_GROUP_TASK_TRIM_PT_RE = re.compile(
+ r"(?<![\s,;.])[\s,;.]*+(?:\b(?:und|and|y|e|sowie|plus)\b)?+" # i18n-allow: input vocab
+ r"[\s,;.]*+(?:\b(?:the|die|der|das|den|dem|el|la|los|las|o|a|os|as)\b)?+" # i18n-allow
+ r"[\s,;.]*+$",
+ re.IGNORECASE,
+)
+
#: Words allowed in front of the FIRST group brief without disqualifying the
#: per-group reading. Anything more substantial before it is a brief of its own
#: ("prompt each of them to do X and tell the codex …"), and the per-group map
@@ -2673,6 +2792,16 @@ _GROUP_BRIEF_LEAD_RE = re.compile(
re.IGNORECASE,
)
+#: The same lead filler plus the Portuguese words ("e depois os claudes …"),
+#: applied only to a Portuguese utterance for the reason given at
+#: ``_GROUP_TASK_TRIM_PT_RE``.
+_GROUP_BRIEF_LEAD_PT_RE = re.compile(
+ r"[\s.,:;!?—–-]*(?:\b(?:und|and|y|dann|then|also|bitte|" # i18n-allow: input vocab
+ r"please|jetzt|now|e|depois|ent[aã]o|agora|" # i18n-allow: input vocab
+ r"the|die|der|das|den|los|las|el|la|o|os|as)\b[\s,]*)*", # i18n-allow: input vocab
+ re.IGNORECASE,
+)
+
#: A group's task shorter than this is a fragment, not work ("do it" survives,
#: a stray article does not). Deliberately below ``_MIN_INSTRUCTION_CHARS``:
#: here there is no better fallback to prefer, and "write tests" is an order.
@@ -2741,14 +2870,19 @@ def spawn_group_tasks(user_text: str) -> dict[str, str]:
anchors = _group_brief_anchors(remainder)
if not anchors:
return {}
- lead = _GROUP_BRIEF_LEAD_RE.match(remainder)
+ from jarvis.core.turn_language import detect_text_language
+
+ portuguese = detect_text_language(text) == "pt"
+ lead_re = _GROUP_BRIEF_LEAD_PT_RE if portuguese else _GROUP_BRIEF_LEAD_RE
+ trim_re = _GROUP_TASK_TRIM_PT_RE if portuguese else _GROUP_TASK_TRIM_RE
+ lead = lead_re.match(remainder)
if lead is None or lead.end() < anchors[0][0]:
return {}
out: dict[str, str] = {}
for index, (_cut, task_start, agent) in enumerate(anchors):
stop = anchors[index + 1][0] if index + 1 < len(anchors) else len(remainder)
task = remainder[task_start:stop].strip(" \t,:;-")
- task = " ".join(_GROUP_TASK_TRIM_RE.sub("", task).split())
+ task = " ".join(trim_re.sub("", task).split())
if len(task) < _MIN_GROUP_TASK_CHARS:
continue
out[agent] = f"{out[agent]}; {task}" if agent in out else task
@@ -2758,7 +2892,8 @@ def spawn_group_tasks(user_text: str) -> dict[str, str]:
_RECENT_FLEET_RE = re.compile(
r"\b(?:jede[nr]?\s+(?:davon|dieser)|alle\s+davon|diese\w*|"
r"each\s+(?:one|of\s+them)|all\s+of\s+them|those\s+(?:agents|terminals)|"
- r"cada\s+uno\s+de\s+ellos|todos\s+ellos)\b", # i18n-allow: input vocab
+ r"cada\s+uno\s+de\s+ellos|todos\s+ellos|" # i18n-allow: input vocab
+ r"cada\s+um\s+(?:deles|delas)|todos\s+eles|esses\s+(?:agentes|terminais))\b", # i18n-allow
re.IGNORECASE,
)
@@ -2818,6 +2953,17 @@ _UNDELIVERED_COMPLAINT_RE = re.compile(
r"\bno\s+(?:pas[oó]|lleg[oó])\s+nada\b" # i18n-allow: input vocab
r"|"
r"\b(?:int[eé]ntalo\s+de\s+nuevo|otra\s+vez|de\s+nuevo)\b" # i18n-allow: input vocab
+ r"|"
+ # European Portuguese: "não lhe enviaste nada" / "não chegou nada"
+ r"\bn[aã]o\s+(?:o\s+|a\s+|lhe\s+)?(?:enviaste|mandaste|fizeste|" # i18n-allow
+ r"instru[ií]ste|passaste)\b" # i18n-allow: input vocab
+ r"|"
+ r"\bn[aã]o\s+(?:foi|chegou)\b[^.!?]{0,30}?" # i18n-allow: input vocab
+ r"\b(?:enviad\w*|feit\w*|mandad\w*|nada)\b" # i18n-allow: input vocab
+ r"|"
+ r"\bn[aã]o\s+(?:aconteceu|chegou)\s+nada\b|\bnada\s+(?:aconteceu|chegou)\b" # i18n-allow
+ r"|"
+ r"\b(?:tenta\s+(?:outra\s+vez|de\s+novo)|de\s+novo|novamente)\b" # i18n-allow: input vocab
r")",
re.IGNORECASE,
)
@@ -2840,7 +2986,10 @@ _CLOSE_VERB_RE = re.compile(
# matched the infinitive while missing every spoken command.
r"\b(?:schlie(?:ß|ss)\w*|beend\w*|stopp?\w*|zumach\w*|close\w*|" # i18n-allow: input vocab
r"quit\w*|"
- r"kill\w*|c(?:e|ie)rr\w*|det[eé]n\w*)\b", # i18n-allow: input vocab
+ r"kill\w*|c(?:e|ie)rr\w*|det[eé]n\w*|" # i18n-allow: input vocab
+ # Portuguese "fecha"/"encerra". Not ``termin\w*``: it would swallow the
+ # pane noun "terminais" itself.
+ r"fech\w*|encerr\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2859,7 +3008,8 @@ _ALL_PANES_RE = re.compile(
re.IGNORECASE,
)
_CLOSE_STATE_QUESTION_RE = re.compile(
- r"^(?:are|is|sind|ist|est[aá]n?)\b[^?]*\b(?:closed|geschlossen|cerrad\w*)\b",
+ r"^(?:are|is|sind|ist|est[aá]n?|est[aã]o)\b[^?]*\b" # i18n-allow: input vocab
+ r"(?:closed|geschlossen|cerrad\w*|fechad\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -2891,7 +3041,8 @@ _CLOSE_VERB_MAX_GAP = 30
_CLOSE_BRIEFING_RE = re.compile(
r"\b(?:tell\w*|ask\w*|have|let|instruct\w*|assign\w*|prompt\w*|brief\w*|"
r"sag\w*|frag\w*|lass\w*|l[aä]sst|anweis\w*|beauftrag\w*|schick\w*|" # i18n-allow: input vocab
- r"dile|d[ií]gale|pregunt\w*|pide|pida|manda|env[ií]a|encarga\w*)\b", # i18n-allow: input vocab
+ r"dile|d[ií]gale|pregunt\w*|pide|pida|manda|env[ií]a|encarga\w*|" # i18n-allow
+ r"diz\w*|diga|pergunta|pede|pe[cç]a|instrui\w*|encarrega\w*|deixa)\b", # i18n-allow
re.IGNORECASE,
)
@@ -3194,14 +3345,16 @@ def detect_spawn(user_text: str, *, names: list[str] | None = None) -> SpawnTerm
_DIVIDE_VERB_RE = re.compile(
r"\b(?:teil\w*|aufteil\w*|verteil\w*|split|splits|divide|divides|"
- r"distribute|reparte|repartan|repartir|dividan|divid[ií]d)\b",
+ r"distribute|reparte|repartan|repartir|dividan|divid[ií]d|"
+ r"divide[mi]?|dividam|reparti\w*|distribu[ií]\w*)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
#: Who the work is divided between — the agents themselves.
_DIVIDE_RECIPIENT_RE = re.compile(
r"\b(?:unter\s+euch|untereinander|euch|between\s+you|among\s+"
- r"you(?:rselves)?|entre\s+(?:vosotros|ustedes))\b",
+ r"you(?:rselves)?|entre\s+(?:vosotros|ustedes)|"
+ r"entre\s+(?:v[oó]s|voc[eê]s|eles|elas|si))\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -3211,15 +3364,16 @@ _DIVIDE_RECIPIENT_RE = re.compile(
_DIVIDE_AREA_RE = re.compile(
r"\b(?:aufgabenbereich\w*|bereich\w*|themen\w*|themengebiet\w*|"
r"schwerpunkt\w*|areas?|topics?|domains?|workstreams?|"
- r"[aá]reas?|temas?)\b",
+ r"[aá]reas?|temas?|dom[ií]nios?)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
#: "each of you takes a different part" — the same request without a verb.
_DIVIDE_EACH_RE = re.compile(
r"\b(?:jede[rn]?\s+von\s+euch|jede[rn]?\s+einzelne|each\s+of\s+you|"
- r"each\s+one|cada\s+uno)\b[^.!?]{0,40}?"
- r"\b(?:ander\w*|different|separate|own|distinto\w*|diferente\w*|propio)\b",
+ r"each\s+one|cada\s+uno|cada\s+um)\b[^.!?]{0,40}?"
+ r"\b(?:ander\w*|different|separate|own|distinto\w*|diferente\w*|propio|"
+ r"pr[oó]pri[oa])\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -3269,7 +3423,7 @@ def wants_split(user_text: str) -> bool:
#
# Two qualifying enumerators are the evidence; one is an ordinary sentence.
-_DISTRIBUTIVE_PREFIX = r"(?:^|[,;:]|\b(?:und|and|y)\b)\s*" # i18n-allow: input vocab
+_DISTRIBUTIVE_PREFIX = r"(?:^|[,;:]|\b(?:und|and|y|e)\b)\s*" # i18n-allow: input vocab
_DISTRIBUTIVE_ONE_RE = re.compile(
_DISTRIBUTIVE_PREFIX
@@ -3277,14 +3431,16 @@ _DISTRIBUTIVE_ONE_RE = re.compile(
r"(?:(?:der|die|das|the|el|la)\s+)?" # i18n-allow: input vocab
r"(?:erste[rs]?|zweite[rs]?|dritte[rs]?|vierte[rs]?|" # i18n-allow: input vocab
r"first|second|third|fourth|"
- r"primer[oa]?|segund[oa]?|tercer[oa]?))\b",
+ r"primer[oa]?|segund[oa]?|tercer[oa]?)|"
+ r"um(?:\s+deles)?|uma(?:\s+delas)?|" # i18n-allow: input vocab
+ r"(?:(?:o|a)\s+)?(?:primeir[oa]|terceir[oa]|quart[oa]))\b", # i18n-allow: input vocab
re.IGNORECASE,
)
_DISTRIBUTIVE_OTHER_RE = re.compile(
_DISTRIBUTIVE_PREFIX
+ r"(?:(?:der|die|das)\s+andere[nrs]?|the\s+other(?:\s+one)?|" # i18n-allow: input vocab
- r"(?:el\s+|la\s+)?otr[oa])\b",
+ r"(?:el\s+|la\s+)?otr[oa]|(?:o\s+|a\s+)?outr[oa])\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -3295,6 +3451,7 @@ _DISTRIBUTIVE_PREDICATE_RE = re.compile(
r"\b(?:soll\w*|m[uü]ss\w*|kann|k[oö]nn\w*|darf\w*|" # i18n-allow: input vocab
r"should|shall|must|can|could|will|would|takes?|gets?|does|"
r"deber?[ií]?an?|pueden?|podr[ií]an?|"
+ r"deve\w*|pode\w*|fica|trata|com|em|no|na|" # i18n-allow: input vocab
r"auf|f[uü]r|on|for|en|an|mit|with|con)\b", # i18n-allow: input vocab
re.IGNORECASE,
)
@@ -3341,10 +3498,13 @@ _PLURAL_ADDRESS_RE = re.compile(
r"beide[nsr]?|alle\s+beide|ihr\s+(?:beide[nr]?|zwei|drei|vier)|euch\s+beide[nr]?|"
r"both(?:\s+of\s+(?:you|them))?|all\s+(?:of\s+)?(?:you|them)|you\s+(?:two|three|four)|"
r"ambos|ambas|los\s+dos|las\s+dos|ustedes\s+dos|"
+ r"os\s+dois|as\s+duas|voc[eê]s\s+dois|todos\s+os\s+tr[eê]s|" # i18n-allow: input vocab
# a spoken count next to what is being counted
- r"(?:zwei|drei|vier|f[üu]nf|two|three|four|five|dos|tres|cuatro|cinco|[2-9])\s+"
- r"(?:der\s+|die\s+|von\s+den\s+|of\s+the\s+|de\s+los\s+)?"
- r"(?:terminals?|terminales|panes?|agent(?:s|en)?|instanz\w*|instances?)"
+ r"(?:zwei|drei|vier|f[üu]nf|two|three|four|five|dos|tres|cuatro|cinco|"
+ r"dois|duas|tr[eê]s|quatro|[2-9])\s+" # i18n-allow: input vocab
+ r"(?:der\s+|die\s+|von\s+den\s+|of\s+the\s+|de\s+los\s+|dos\s+|das\s+)?"
+ r"(?:terminals?|terminales|terminais|panes?|agent(?:s|en|es)?|" # i18n-allow
+ r"instanz\w*|instances?|inst[aâ]ncias)" # i18n-allow: input vocab
r")\b",
re.IGNORECASE,
)
diff --git a/jarvis/agentic_ide/names.py b/jarvis/agentic_ide/names.py
index f2b4009c5b..79c41752d0 100644
--- a/jarvis/agentic_ide/names.py
+++ b/jarvis/agentic_ide/names.py
@@ -255,6 +255,24 @@ _NUMBER_WORDS: dict[str, int] = {
"dieciocho": 18,
"diecinueve": 19,
"veinte": 20,
+ # European Portuguese ("tres", "cinco", "seis", "catorce"... shared with
+ # Spanish stay above). "um"/"uma" are left out: they are the indefinite
+ # article too, under the rule stated at the top of this table.
+ "dois": 2,
+ "duas": 2,
+ "três": 3, # i18n-allow: input vocabulary
+ "quatro": 4,
+ "sete": 7,
+ "oito": 8,
+ "nove": 9,
+ "dez": 10,
+ "onze": 11,
+ "treze": 13,
+ "catorze": 14,
+ "dezasseis": 16,
+ "dezassete": 17,
+ "dezoito": 18,
+ "dezanove": 19,
}
# Ordinals, for "the third terminal". Spelled out in FULL rather than as stems
@@ -324,6 +342,21 @@ _ORDINAL_PLAIN: dict[str, int] = {
"décimo": 10,
"decima": 10,
"décima": 10,
+ # European Portuguese forms the Spanish list above does not already spell
+ "primeiro": 1,
+ "primeira": 1,
+ "terceiro": 3,
+ "terceira": 3,
+ "quarto": 4,
+ "quarta": 4,
+ "setimo": 7,
+ "sétimo": 7, # i18n-allow: input vocabulary
+ "setima": 7,
+ "sétima": 7, # i18n-allow: input vocabulary
+ "oitavo": 8,
+ "oitava": 8,
+ "nono": 9,
+ "nona": 9,
}
_ORDINAL_WORDS: dict[str, int] = {
@@ -343,10 +376,10 @@ _LAST_WORDS: frozenset[str] = frozenset(
#: How a person says the noun. Matches the German compound too ("Terminalfenster")
#: without needing a second pattern.
-_PANE_NOUN = r"(?:terminals?|terminales|panes?|tabs?|fenster)"
+_PANE_NOUN = r"(?:terminals?|terminales|terminais|panes?|tabs?|fenster|painel)"
-#: An article in front of the noun or the ordinal, all three locales.
-_ARTICLE = r"(?:der|die|das|den|dem|des|the|el|la|los|las)" # i18n-allow: input vocabulary
+#: An article in front of the noun or the ordinal, every supported locale.
+_ARTICLE = r"(?:der|die|das|den|dem|des|the|el|la|los|las|o|a|os|as)" # i18n-allow: input vocab
_NUMBER_WORD_ALT = "|".join(sorted((re.escape(w) for w in _NUMBER_WORDS), key=len, reverse=True))
_ORDINAL_ALT = "|".join(sorted((re.escape(w) for w in _ORDINAL_WORDS), key=len, reverse=True))
diff --git a/jarvis/agentic_ide/prompt_composer.py b/jarvis/agentic_ide/prompt_composer.py
index 3273d9a7df..b2197a7ff3 100644
--- a/jarvis/agentic_ide/prompt_composer.py
+++ b/jarvis/agentic_ide/prompt_composer.py
@@ -270,7 +270,11 @@ _FILLER_RE = re.compile(
r"\b(?:"
r"ähm|ähmm|äh|ehm|hmm|einfach\s+mal|gell|weißt\s+du|"
r"verstehst\s+du|sozusagen|jetzt\s+mal|mal\s+eben|"
- r"uh|erm|you\s+know|i\s+mean|o\s+sea"
+ r"uh|erm|you\s+know|i\s+mean|o\s+sea|"
+ # European Portuguese: hesitation sounds plus the "o sea" equivalent.
+ # "tipo", "pronto", "pois" and "quer dizer" stay out: each is a content
+ # word or phrase ("o que quer dizer isto" = "what does this mean").
+ r"hum+|hã|ãh+|ou\s+seja" # i18n-allow: input vocab
r")\b[\s,]*",
re.IGNORECASE,
)
@@ -280,6 +284,7 @@ _POLITENESS_PREFIX_RE = re.compile(
r"(?:kannst|k[oö]nntest|w[uü]rdest|willst|magst|k[oö]nnen)\s+(?:du|sie)\b\s*"
r"|(?:could|can|would|will)\s+you\b\s*"
r"|(?:puedes|podr[ií]as)\b\s*"
+ r"|(?:podes|poderias|consegues)\b\s*" # i18n-allow: input vocab
r"|(?:bitte|please|por\s+favor|mal|kurz|schnell|eben|just|quickly)\b[\s,]*"
r")+",
re.IGNORECASE,
diff --git a/jarvis/agentic_ide/recap_engine.py b/jarvis/agentic_ide/recap_engine.py
index 12277081c4..ae8765cb34 100644
--- a/jarvis/agentic_ide/recap_engine.py
+++ b/jarvis/agentic_ide/recap_engine.py
@@ -260,6 +260,7 @@ _LANGUAGE_NAMES = {
"de": "German",
"es": "Spanish",
"zh": "Simplified Chinese",
+ "pt": "European Portuguese",
}
# What the summarizer is asked for. Written for the reader it actually has:
diff --git a/jarvis/agentic_ide/task_kind.py b/jarvis/agentic_ide/task_kind.py
index fe5d1ad3da..9196f81e90 100644
--- a/jarvis/agentic_ide/task_kind.py
+++ b/jarvis/agentic_ide/task_kind.py
@@ -20,7 +20,7 @@ rule set is a mild steer and none of them forbids the agent from doing the
work — so an unrecognised instruction falls to a neutral set rather than to a
guess.
-The German and Spanish stems here are speech-recognition *input vocabulary*:
+The German, Spanish and European Portuguese stems here are speech-recognition *input vocabulary*:
the words a person actually says when handing work to an agent. They are
matching data, not prose (see AGENTS.md §1, closed list item 3), and each such
line carries an inline marker.
@@ -51,6 +51,12 @@ _INVESTIGATE_ES = (
r"|por\s+qu[eé]\s+(?:falla|no|se|est[aá])" # i18n-allow: input vocab
r"|averigua\w*|investiga\w*|depura\w*" # i18n-allow: input vocab
)
+_INVESTIGATE_PT = (
+ r"|porqu[eê]\s+[eé]\s+que|por\s+que\s+raz[aã]o" # i18n-allow: input vocab
+ r"|porque\s+(?:falha|n[aã]o|est[aá]|d[aá])" # i18n-allow: input vocab
+ r"|por\s+que\s+(?:falha|n[aã]o|est[aá])" # i18n-allow: input vocab
+ r"|descobre\s+(?:porqu|por\s+qu)\w*|diagnostica\w*" # i18n-allow: input vocab
+)
_REVIEW_EN = (
r"(?:code[-\s]?)?review|audit|critique|assess|go\s+over"
@@ -61,6 +67,7 @@ _REVIEW_DE = (
r"|begutacht\w*|durchsieh\w*|kontrollier\w*" # i18n-allow: input vocab
)
_REVIEW_ES = r"|revisa\w*|audita\w*|eval[uú]a\w*" # i18n-allow: input vocab
+_REVIEW_PT = r"|rev[eê]\b|rever|avalia\w*|analisa\w*" # i18n-allow: input vocab
_IMPLEMENT_EN = (
r"add|build|implement|write|create|make|refactor|rename|move"
@@ -78,6 +85,11 @@ _IMPLEMENT_ES = (
r"|crea\w*|arregla\w*|corrige?\w*|refactoriza\w*" # i18n-allow: input vocab
r"|elimina\w*|reemplaza\w*|actualiza\w*" # i18n-allow: input vocab
)
+_IMPLEMENT_PT = (
+ r"|adiciona\w*|acrescenta\w*|escreve\w*|cria\b|criar|constr[oó]i\w*" # i18n-allow: input vocab
+ r"|conserta\w*|refatoriza\w*|renomeia\w*|muda\b|mudar" # i18n-allow: input vocab
+ r"|remove\w*|apaga\w*|substitui\w*|atualiza\w*" # i18n-allow: input vocab
+)
_QUESTION_EN = (
r"how\s+(?:does|do|is|are|can|would|should)|what\s+(?:does|do|is|are)"
@@ -96,6 +108,11 @@ _QUESTION_ES = (
r"|qu[eé]\s+(?:hace|es|son|significa)" # i18n-allow: input vocab
r"|d[oó]nde\s+(?:est[aá]|se)|explica\w*|describe?\w*" # i18n-allow: input vocab
)
+_QUESTION_PT = (
+ r"|como\s+(?:funciona|trabalha|[eé]\b)" # i18n-allow: input vocab
+ r"|o\s+que\s+(?:faz|[eé]\b|s[aã]o|significa)" # i18n-allow: input vocab
+ r"|onde\s+(?:est[aá]|fica|[eé]\b)|descreve\w*" # i18n-allow: input vocab
+)
def _compile(*parts: str) -> re.Pattern[str]:
@@ -109,10 +126,13 @@ def _compile(*parts: str) -> re.Pattern[str]:
# investigation first, because "why does X fail" is an investigation even
# though "fail" reads like a defect report.
_PATTERNS: tuple[tuple[str, re.Pattern[str]], ...] = (
- (KIND_INVESTIGATE, _compile(_INVESTIGATE_EN, _INVESTIGATE_DE, _INVESTIGATE_ES)),
- (KIND_REVIEW, _compile(_REVIEW_EN, _REVIEW_DE, _REVIEW_ES)),
- (KIND_IMPLEMENT, _compile(_IMPLEMENT_EN, _IMPLEMENT_DE, _IMPLEMENT_ES)),
- (KIND_QUESTION, _compile(_QUESTION_EN, _QUESTION_DE, _QUESTION_ES)),
+ (
+ KIND_INVESTIGATE,
+ _compile(_INVESTIGATE_EN, _INVESTIGATE_DE, _INVESTIGATE_ES, _INVESTIGATE_PT),
+ ),
+ (KIND_REVIEW, _compile(_REVIEW_EN, _REVIEW_DE, _REVIEW_ES, _REVIEW_PT)),
+ (KIND_IMPLEMENT, _compile(_IMPLEMENT_EN, _IMPLEMENT_DE, _IMPLEMENT_ES, _IMPLEMENT_PT)),
+ (KIND_QUESTION, _compile(_QUESTION_EN, _QUESTION_DE, _QUESTION_ES, _QUESTION_PT)),
)
diff --git a/jarvis/appshot/card_actions.py b/jarvis/appshot/card_actions.py
index 84af68e26b..362afa3de1 100644
--- a/jarvis/appshot/card_actions.py
+++ b/jarvis/appshot/card_actions.py
@@ -100,6 +100,23 @@ _LABELS: dict[str, dict[str, str]] = {
"text_copied": "文字已复制", # i18n-allow: UI
"no_text": "未找到文字", # i18n-allow: UI
},
+ "pt": {
+ "edit": "Editar", # i18n-allow: product UI string
+ "copy": "Copiar", # i18n-allow: product UI string
+ "save": "Guardar", # i18n-allow: product UI string
+ "close": "Fechar", # i18n-allow: product UI string
+ "pin": "Manter no ecrã", # i18n-allow: product UI string
+ "unpin": "Deixar de fixar", # i18n-allow: product UI string
+ "copy_text": "Copiar texto", # i18n-allow: product UI string
+ "copied": "Copiado", # i18n-allow: product UI string
+ "saved": "Guardado em Transferências", # i18n-allow: product UI string
+ "failed": "Não funcionou", # i18n-allow: product UI string
+ "no_access": "Sem permissão para guardar em Transferências", # i18n-allow: UI
+ "no_access_mac": "Permite Transferências em Ficheiros e pastas", # i18n-allow: UI
+ "gone": "Já não está guardado", # i18n-allow: product UI string
+ "text_copied": "Texto copiado", # i18n-allow: product UI string
+ "no_text": "Nenhum texto encontrado", # i18n-allow: product UI string
+ },
}
diff --git a/jarvis/appshot/effect.py b/jarvis/appshot/effect.py
index 81152df4f8..1bff874b8a 100644
--- a/jarvis/appshot/effect.py
+++ b/jarvis/appshot/effect.py
@@ -45,6 +45,7 @@ _CARD_HINTS: dict[str, str] = {
"en": "Click to edit · Drag to share",
"es": "Clic para editar · Arrastra para compartir", # i18n-allow: product UI string
"zh": "点击编辑 · 拖动分享", # i18n-allow: product UI string
+ "pt": "Clica para editar · Arrasta para partilhar", # i18n-allow: product UI string
}
diff --git a/jarvis/appshot/picker/annotate.py b/jarvis/appshot/picker/annotate.py
index 7470fb9bd0..e2419967b4 100644
--- a/jarvis/appshot/picker/annotate.py
+++ b/jarvis/appshot/picker/annotate.py
@@ -198,6 +198,40 @@ _LABELS: dict[str, dict[str, str]] = {
"done": "完成 — 发送给助手", # i18n-allow: product UI string
"placeholder": "输入文字", # i18n-allow: product UI string
},
+ "pt": {
+ mm.MOVE: "Selecionar e mover", # i18n-allow: product UI string
+ mm.RECT: "Retângulo", # i18n-allow: product UI string
+ mm.FILLED: "Retângulo preenchido", # i18n-allow: product UI string
+ mm.ELLIPSE: "Elipse", # i18n-allow: product UI string
+ mm.LINE: "Linha", # i18n-allow: product UI string
+ mm.ARROW: "Seta", # i18n-allow: product UI string
+ mm.TEXT: "Texto", # i18n-allow: product UI string
+ mm.REDACT: "Pixelizar / desfocar", # i18n-allow: product UI string
+ mm.SPOTLIGHT: "Destacar zona", # i18n-allow: product UI string
+ mm.COUNTER: "Passo numerado", # i18n-allow: product UI string
+ mm.PEN: "Desenhar", # i18n-allow: product UI string
+ mm.HIGHLIGHT: "Marcador", # i18n-allow: product UI string
+ mm.BACKGROUND: "Fundo", # i18n-allow: product UI string
+ "arrow_tapered": "Afunilada", # i18n-allow: product UI string
+ "arrow_classic": "Clássica", # i18n-allow: product UI string
+ "arrow_double": "Duas pontas", # i18n-allow: product UI string
+ "text_plain": "Simples", # i18n-allow: product UI string
+ "text_label": "Etiqueta", # i18n-allow: product UI string
+ "text_outline": "Contorno", # i18n-allow: product UI string
+ "redact_pixelate": "Pixelizar", # i18n-allow: product UI string
+ "redact_blur": "Desfocar", # i18n-allow: product UI string
+ "background_off": "Sem fundo", # i18n-allow: product UI string
+ "color": "Cor", # i18n-allow: product UI string
+ "width": "Tamanho (1-5, roda do rato)", # i18n-allow: product UI string
+ "undo": "Anular", # i18n-allow: product UI string
+ "redo": "Refazer", # i18n-allow: product UI string
+ "copy": "Copiar", # i18n-allow: product UI string
+ "save": "Guardar em Transferências", # i18n-allow: product UI string
+ "edit": "Abrir no editor", # i18n-allow: product UI string
+ "cancel": "Cancelar", # i18n-allow: product UI string
+ "done": "Concluído — enviar ao assistente", # i18n-allow: product UI string
+ "placeholder": "Escreve um texto", # i18n-allow: product UI string
+ },
}
#: Shortcut shown in each tooltip.
diff --git a/jarvis/appshot/recording_labels.py b/jarvis/appshot/recording_labels.py
index 1078152379..1d3ad4d605 100644
--- a/jarvis/appshot/recording_labels.py
+++ b/jarvis/appshot/recording_labels.py
@@ -77,4 +77,25 @@ LABELS = {
"recording": "正在录制", # i18n-allow: product UI
"saving": "正在保存录制…", # i18n-allow: product UI
},
+ "pt": {
+ "title": "AppShots — Gravação de ecrã", # i18n-allow: product UI
+ "play": "Reproduzir vídeo", # i18n-allow: product UI
+ "video": "Vídeo", # i18n-allow: product UI
+ "save": "Guardar vídeo", # i18n-allow: product UI
+ "close": "Fechar", # i18n-allow: product UI
+ "pin": "Manter no ecrã", # i18n-allow: product UI
+ "saved": "Guardado em Transferências", # i18n-allow: product UI
+ "failed": "Não foi possível concluir", # i18n-allow: product UI
+ "select": "Arrasta uma área para gravar · Esc cancela", # i18n-allow: product UI
+ "full": "Gravar o ecrã inteiro", # i18n-allow: product UI
+ "portal": "Escolhe um ecrã na caixa de partilha do sistema.", # i18n-allow: product UI
+ "preview": (
+ "Arrasta uma área na pré-visualização ou grava o ecrã partilhado." # i18n-allow: UI
+ ),
+ "cancel": "Cancelar", # i18n-allow: product UI
+ "stop": "Parar e guardar", # i18n-allow: product UI
+ "starting": "A iniciar a gravação…", # i18n-allow: product UI
+ "recording": "A gravar", # i18n-allow: product UI
+ "saving": "A guardar a gravação…", # i18n-allow: product UI
+ },
}
diff --git a/jarvis/artifacts/brief.py b/jarvis/artifacts/brief.py
index 3007a4206f..3d36a01050 100644
--- a/jarvis/artifacts/brief.py
+++ b/jarvis/artifacts/brief.py
@@ -100,6 +100,7 @@ _LANGUAGE_NAMES: Final[dict[str, str]] = {
"de": "German",
"en": "English",
"es": "Spanish",
+ "pt": "European Portuguese",
}
diff --git a/jarvis/brain/ack_brain/persona_prompt.py b/jarvis/brain/ack_brain/persona_prompt.py
index 50b533fe3f..45c7639a5e 100644
--- a/jarvis/brain/ack_brain/persona_prompt.py
+++ b/jarvis/brain/ack_brain/persona_prompt.py
@@ -1,6 +1,6 @@
"""Static persona prompts for the Pre-Thinking Ack Flash-Brain.
-Three locked constants, one per supported language (de / en / es). The text is
+Four locked constants, one per supported language (de / en / es / pt). The text is
committed verbatim from section 4 of:
docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md
(persona-prompt section revised 2026-05-13; name-neutral + Spanish 2026-06-29).
@@ -19,6 +19,8 @@ of fit. v2 uses rules + negative examples only, plus an explicit
name is runtime-derived from the wake word and the deep brain owns it), em dashes
are removed (they create hard TTS pauses), and a Spanish constant was added to
close the de/en-only gap so an es speaker no longer hears a German preamble.
+A European Portuguese constant follows the same convention so a pt speaker
+gets a pt-PT preamble instead of the German fallback.
"""
from __future__ import annotations
@@ -26,6 +28,7 @@ __all__ = [
"PERSONA_PROMPT_DE",
"PERSONA_PROMPT_EN",
"PERSONA_PROMPT_ES",
+ "PERSONA_PROMPT_PT",
"get_persona_prompt",
]
@@ -232,8 +235,75 @@ Salida: Exactamente una frase con referencia concreta al tema, O una
cadena vacía. Sin markdown, sin comentarios, sin frase de acompañamiento."""
+PERSONA_PROMPT_PT = """És o assistente pessoal do utilizador. Neste momento estás no teu
+papel de "pré-resposta": falas de forma breve e concreta ANTES de a
+resposta real estar pronta, mas só quando isso ajuda mesmo o
+utilizador. Mais vale ficar calado do que tagarelar sem contexto.
+
+CRÍTICO, NUNCA respondes à pergunta quanto ao conteúdo:
+Tu não és o modelo principal. Outro modelo, maior, responde à
+pergunta logo a seguir a ti, normalmente em menos de um segundo. A tua
+única tarefa é uma frase prévia breve OU o silêncio. Se responderes tu
+mesmo (com dados, datas, nomes, definições, explicações), o
+utilizador ouve a resposta duas vezes, uma de ti e outra do modelo
+principal. Isso está SEMPRE errado. Exemplos de autorrespostas proibidas:
+- "Albert Einstein nasceu a 14 de março de 1879." Errado, cala-te.
+- "A capital de Itália é Roma." Errado, cala-te.
+- "O Albel começa a 15 de outubro." Errado (alucinação); cala-te ou
+ descreve apenas a pesquisa.
+
+REGRA PRINCIPAL, nada de bordões genéricos:
+São proibidas as confirmações sem referência concreta ao
+pedido:
+- "Eu faço" / "Claro" / "Entendido" / "Eu trato disso"
+- "Sim, senhor" / "Chefe" como tratamento
+- "Deixa-me ver" / "Vou pensar" como mero bordão
+- Qualquer frase que encaixaria igualmente bem em qualquer outro pedido
+
+QUANDO FALAS (uma só frase, no máximo 12 palavras):
+- Quando o pedido lança claramente uma tarefa mais longa:
+ pesquisa, ação de vários passos, serviço externo, consulta de dados.
+- A tua frase TEM de mencionar o tema CONCRETO do pedido (objeto da
+ pesquisa, nome da app, dado, local, pessoa). NADA de frases
+ feitas memorizadas, cada frase é formulada de novo para este
+ pedido exato.
+
+QUANDO TE CALAS (saída: cadeia vazia ""):
+- Conversa de circunstância ("Olá", "Tudo bem?", "Ei", "Obrigado").
+- Perguntas rápidas de factos ("Quando nasceu o Einstein?", "Que horas
+ são?", "Capital de Itália?"). O modelo principal responde diretamente,
+ uma frase prévia só iria incomodar.
+- Controlo por voz ("Cala-te", "Para", "Pausa").
+- Se tiveres dúvidas se uma frase prévia encaixa aqui: cala-te.
+
+VOCABULÁRIO PROIBIDO (também dentro de frases permitidas,
+defesa em profundidade):
+"Subagent", "Sub-Agent", "Worker", "Provider" (sozinhos), "Senhor",
+"Chefe".
+
+PROMESSAS DE AÇÃO PROIBIDAS (não podes executar ações, o teu papel
+é apenas a frase prévia, não a execução):
+"eu faço", "vai ser enviado", "vai ser agendado", "considera feito",
+"eu trato disso", "eu envio", "eu reservo", "eu publico", "eu anoto".
+
+SÓ podes produzir uma destas opções:
+(a) Confirmação acústica com referência concreta ao tema ("Vejo
+ agora os PRs do GitHub", "Procuro voos para Berlim").
+(b) Pergunta que retoma o contexto ("Que e-mail?",
+ "A partir de que data?").
+(c) Cadeia vazia quando não tiveres a certeza.
+
+PERMITIDO na tua frase:
+o teu próprio nome, marcas (Spotify, Discord, GitHub, Outlook, …),
+palavras temáticas (calendário, reunião, voos, tempo, …). NUNCA digas
+"Sub-Agent", "worker", "harness" nem outros nomes de componentes internos.
+
+Saída: Exatamente uma frase com referência concreta ao tema, OU uma
+cadeia vazia. Sem markdown, sem comentários, sem texto de acompanhamento."""
+
+
def _normalise_language(value: str | None) -> str:
- """Reduce any language hint to 'de', 'en', or 'es'.
+ """Reduce any language hint to 'de', 'en', 'es' or 'pt'.
Unknown / empty / None falls back to German because the user's
primary chat language is German and STT defaults to DE on ambiguity.
@@ -245,14 +315,18 @@ def _normalise_language(value: str | None) -> str:
return "en"
if lower.startswith("es"):
return "es"
+ if lower.startswith("pt"):
+ return "pt"
return "de"
def get_persona_prompt(language: str | None) -> str:
- """Return the Flash-Brain persona prompt for the given language hint (de/en/es)."""
+ """Return the Flash-Brain persona prompt for the given language hint (de/en/es/pt)."""
lang = _normalise_language(language)
if lang == "en":
return PERSONA_PROMPT_EN
if lang == "es":
return PERSONA_PROMPT_ES
+ if lang == "pt":
+ return PERSONA_PROMPT_PT
return PERSONA_PROMPT_DE
diff --git a/jarvis/brain/ack_brain/spawn_announcement.py b/jarvis/brain/ack_brain/spawn_announcement.py
index b3495951ad..d7ef20a673 100644
--- a/jarvis/brain/ack_brain/spawn_announcement.py
+++ b/jarvis/brain/ack_brain/spawn_announcement.py
@@ -188,23 +188,38 @@ interpreted task, use it as the topic source.
Output: ONLY the announcement, nothing else."""
-# Languages with a native flash-LLM spawn persona. An ``es`` turn has no
-# persona (the locked 2026-05-11 preamble spec is not touched), so it skips the
-# LLM round-trip and uses the curated ``es`` fallback pool directly — a
-# DE/EN-persona LLM call would only produce text that the language-match
-# validation rejects, wasting one timeout. Bringing a SPAWN_PERSONA_ES online is
-# a tracked follow-up; Spanish is already fully covered deterministically here.
-_PERSONA_LANGS: frozenset[str] = frozenset({"de", "en"})
+# Output-language directive appended to the English persona for every
+# language without a hand-written persona. The flash LLM writes the
+# announcement in that language; the curated pools stay the safety net.
+_PERSONA_LANGUAGE_NAMES: dict[str, str] = {
+ "es": "Spanish (Spain)",
+ "pt": "European Portuguese (pt-PT, never Brazilian Portuguese)",
+}
+
+# Languages with a flash-LLM spawn persona: de/en hand-written, es/pt the
+# English persona plus an output-language directive. Every other code goes
+# straight to the curated fallback pool.
+_PERSONA_LANGS: frozenset[str] = frozenset({"de", "en", *_PERSONA_LANGUAGE_NAMES})
def get_spawn_persona(language: str, agent_brand: str | None = None) -> str:
- """Return the spawn persona prompt for ``language`` ('de'/'en').
+ """Return the spawn persona prompt for ``language`` (de/en/es/pt).
The persona's ``{agent}`` placeholder is resolved to ``agent_brand`` (the
wake-word-derived assistant name + "-Agent"); ``None`` keeps the neutral
fallback brand so the prompt never ships a literal placeholder.
"""
- persona = SPAWN_PERSONA_EN if language == "en" else SPAWN_PERSONA_DE
+ if language == "de":
+ persona = SPAWN_PERSONA_DE
+ else:
+ persona = SPAWN_PERSONA_EN
+ name = _PERSONA_LANGUAGE_NAMES.get(language)
+ if name:
+ persona += (
+ f"\n\nLANGUAGE: write the announcement in {name}, using the "
+ 'informal "you" form. Keep the product term "{agent}" exactly '
+ "as written; do not translate it."
+ )
return persona.replace("{agent}", agent_brand or agent_brand_from_name(""))
@@ -250,6 +265,18 @@ _FALLBACK_SPAWN: dict[str, tuple[str, ...]] = {
"He puesto un {agent} con este tema más grande; volverá con algo sólido.",
"Un {agent} ya trabaja en ello. Hay más detrás, así que tardará un momentito.",
),
+ "pt": (
+ "Vou tratar disso. Iniciei um {agent} para esta tarefa maior; ele avisa quando terminar.",
+ "Entendido. Um {agent} está a analisar isto com atenção; pode demorar um momento.",
+ "Está bem, isto precisa de ser visto a fundo. Um {agent} já está a trabalhar em segundo "
+ "plano.",
+ "Um {agent} trata disso. É uma tarefa com mais conteúdo, por isso precisa de um momento.",
+ "Já está. Um {agent} assumiu este trabalho um pouco maior.",
+ "Claro. Um {agent} já está a aprofundar; fazer isto bem leva algum tempo.",
+ "Pus um {agent} a tratar deste assunto maior; vai voltar com algo sólido.",
+ "Um {agent} já está a trabalhar nisso. Há mais por trás, por isso vai demorar um "
+ "bocadinho.",
+ ),
}
_FALLBACK_ALREADY_RUNNING: dict[str, tuple[str, ...]] = {
@@ -271,6 +298,12 @@ _FALLBACK_ALREADY_RUNNING: dict[str, tuple[str, ...]] = {
"Un {agent} sigue trabajando en ello, casi está.",
"Paciencia, esa tarea ya está con un {agent}.",
),
+ "pt": (
+ "Um {agent} já está a tratar disso; continua em curso.",
+ "O {agent} já tem essa tarefa, um momento.",
+ "Um {agent} ainda está a trabalhar nisso, está quase.",
+ "Paciência, essa tarefa já está com um {agent}.",
+ ),
}
@@ -308,6 +341,13 @@ STILL_RUNNING_PHRASES: dict[str, tuple[str, ...]] = {
"Todavía trabajando en ello. Vuelvo contigo enseguida.",
"Ya casi; estoy juntando las piezas para ti.",
),
+ "pt": (
+ "Continuo com o assunto maior. Daqui a pouco tenho algo sólido para ti.",
+ "Isto precisa de mais um pouco; continuo a tratar disso em segundo plano.",
+ "Ainda não terminei: prefiro dar-te algo como deve ser do que algo pela metade.",
+ "Ainda a trabalhar nisso. Volto a falar contigo já a seguir.",
+ "Quase lá; estou a juntar as peças para ti.",
+ ),
}
@@ -320,7 +360,14 @@ _COMPLETION_CLAIM_RE = re.compile(
r"(?:bereits\s+|schon\s+|already\s+)?"
r"(?:erledigt|fertig|abgeschlossen|gesendet|verschickt|eingetragen|"
r"gebucht|done|finished|complete|completed|sent|booked|scheduled)\b"
- r"|^\s*(?:erledigt|fertig|done|finished|completed)\s*[.!]?\s*$)",
+ # Spanish / European Portuguese: "ya está hecho", "foi enviado", ...
+ r"|\b(?:está|están|estão|fue|fueron|foi|foram|ha\s+sido|han\s+sido)\s+" # i18n-allow
+ r"(?:ya\s+|já\s+)?" # i18n-allow
+ r"(?:hecho|hecha|terminado|terminada|completado|completada|enviado|enviada|" # i18n-allow
+ r"reservado|reservada|feito|feita|concluído|concluída|" # i18n-allow
+ r"marcado|marcada)\b" # i18n-allow
+ r"|^\s*(?:erledigt|fertig|done|finished|completed|hecho|listo|feito|" # i18n-allow
+ r"pronto|concluído)\s*[.!]?\s*$)", # i18n-allow
re.IGNORECASE,
)
@@ -362,14 +409,13 @@ def _fix_en_article(text: str) -> str:
def _resolve_language(explicit: str | None, utterance: str) -> str:
"""Resolve the announcement language: explicit hint > utterance heuristic.
- Supports 'de', 'en' and 'es' (Runtime Output Language doctrine — every
- spoken phrase table covers all three). An explicit hint wins (the
+ Supports 'de', 'en', 'es' and 'pt' (Runtime Output Language doctrine — every
+ spoken phrase table covers all four). An explicit hint wins (the
``brain.reply_language`` pin / STT tag reaches here as ``language`` — the
live source on the voice path); otherwise the utterance heuristic decides,
and an inconclusive detection falls back to the shared ``DEFAULT_LOCALE``
- (honesty-over-guessing, never a per-layer hardcoded default). Only 'de'/'en'
- have a native LLM persona (see ``_PERSONA_LANGS``); 'es' is served from the
- curated fallback pool.
+ (honesty-over-guessing, never a per-layer hardcoded default). All four have
+ an LLM persona (see ``_PERSONA_LANGS``) and a curated fallback pool.
"""
if explicit:
low = str(explicit).strip().lower()
@@ -377,10 +423,12 @@ def _resolve_language(explicit: str | None, utterance: str) -> str:
return "en"
if low.startswith("es"):
return "es"
+ if low.startswith("pt"):
+ return "pt"
if low.startswith("de"):
return "de"
detected = detect_text_language(utterance or "")
- return detected if detected in ("de", "en", "es") else DEFAULT_LOCALE
+ return detected if detected in ("de", "en", "es", "pt") else DEFAULT_LOCALE
def _trim_to_sentences(text: str, max_words: int) -> str | None:
@@ -501,10 +549,8 @@ class SpawnAnnouncementComposer:
_emit_counter("spawn_ack_candidate_used_total")
return validated
- # The flash-LLM path only runs for a language with a native persona
- # (de/en). An ``es`` turn goes straight to the curated pool — a
- # DE/EN-persona call would only yield text the language-match check
- # rejects, costing one wasted timeout.
+ # The flash-LLM path only runs for a language with a spawn persona
+ # (de/en/es/pt); any other code goes straight to the curated pool.
if lang in _PERSONA_LANGS:
composed = await self._compose_via_llm(
utterance, lang, action, target, brand
diff --git a/jarvis/brain/ack_generator.py b/jarvis/brain/ack_generator.py
index 4cf60c0d51..da8c2dfeb5 100644
--- a/jarvis/brain/ack_generator.py
+++ b/jarvis/brain/ack_generator.py
@@ -137,6 +137,7 @@ _FINAL_MARKERS: dict[str, str] = {
"de": "Erledigt.", # i18n-allow: German runtime voice product (completion marker)
"en": "Done.",
"es": "Listo.",
+ "pt": "Feito.",
}
# A brain text that already opens with one of these is treated as
@@ -197,11 +198,11 @@ def _normalize_tool_name(name: str) -> str:
def _normalize_language(language: str | None) -> str:
- """Reduce any language hint to a supported code ('de', 'en' or 'es').
+ """Reduce any language hint to a supported code ('de', 'en', 'es' or 'pt').
The caller resolves the authoritative turn language through the ONE
resolver (jarvis/core/turn_language.py) and passes a concrete code, so
- 'es' must survive here — collapsing it to 'de' would flip a Spanish turn's
+ 'es'/'pt' must survive here — collapsing them to 'de' would flip a Spanish turn's
ack to German (a runtime-output-language doctrine violation). Anything
unrecognised falls back to 'de' as the module's last resort; the real
default-locale decision already happened upstream.
@@ -213,6 +214,8 @@ def _normalize_language(language: str | None) -> str:
return "en"
if low.startswith("es"):
return "es"
+ if low.startswith("pt"):
+ return "pt"
return "de"
@@ -256,6 +259,13 @@ _GENERIC_ACK: dict[str, tuple[str, ...]] = {
"Voy, un segundito.",
"De acuerdo, espera un poco.",
),
+ "pt": (
+ "Está bem, um momento.",
+ "Um segundo.",
+ "Já vai, dá-me um momento.",
+ "Vou já, só um segundinho.",
+ "Combinado, espera um pouco.",
+ ),
}
_SHELL_ACK: dict[str, tuple[str, ...]] = {
@@ -282,6 +292,13 @@ _SHELL_ACK: dict[str, tuple[str, ...]] = {
"Dame un segundo para mirarlo.",
"Le echo un vistazo rápido.",
),
+ "pt": (
+ "Um momento, vou verificar.",
+ "Deixa-me dar uma vista de olhos.",
+ "Vejo isso agora mesmo.",
+ "Dá-me um segundo para ver.",
+ "Dou uma vista de olhos rápida.",
+ ),
}
# {service} is interpolated with a human-readable CLI service name
@@ -308,6 +325,13 @@ _CLI_SERVICE_ACK: dict[str, tuple[str, ...]] = {
"Reviso {service} ahora mismo.",
"Voy a ver en {service}.",
),
+ "pt": (
+ "Dou uma vista de olhos rápida a {service}.",
+ "Um momento, consulto {service}.",
+ "Deixa-me ver isso em {service}.",
+ "Verifico {service} agora mesmo.",
+ "Vou ver em {service}.",
+ ),
}
# Human service names for cli_<name> tools. Unknown suffixes are title-cased
@@ -354,6 +378,13 @@ _HARNESS_ACK: dict[str, tuple[str, ...]] = {
"Okay, me pongo con ello.",
"Claro, un momento.",
),
+ "pt": (
+ "Entendido, eu trato disso.",
+ "Está bem, fico eu com isso.",
+ "Combinado, estou a tratar disso.",
+ "Okay, vou pôr mãos à obra.",
+ "Claro, um momento.",
+ ),
}
_SEARCH_TOPIC_ACK: dict[str, tuple[str, ...]] = {
@@ -375,6 +406,12 @@ _SEARCH_TOPIC_ACK: dict[str, tuple[str, ...]] = {
"Voy a ver qué encuentro sobre {topic}.",
"Buscando {topic} ahora.",
),
+ "pt": (
+ "Está bem, procuro {topic}.",
+ "Um momento, vou pesquisar {topic}.",
+ "Vou ver o que encontro sobre {topic}.",
+ "A procurar {topic} agora.",
+ ),
}
_SEARCH_GENERIC_ACK: dict[str, tuple[str, ...]] = {
@@ -396,6 +433,12 @@ _SEARCH_GENERIC_ACK: dict[str, tuple[str, ...]] = {
"Un momento, echo un vistazo.",
"Dame un momento para reunir los datos.",
),
+ "pt": (
+ "Está bem, vou pesquisar um pouco.",
+ "Deixa-me procurar.",
+ "Um momento, dou uma vista de olhos.",
+ "Dá-me um momento para reunir os dados.",
+ ),
}
_MULTI_SPAWN_ACK: dict[str, tuple[str, ...]] = {
@@ -414,6 +457,11 @@ _MULTI_SPAWN_ACK: dict[str, tuple[str, ...]] = {
"Me pongo con las {n} tareas a la vez.",
"{n} cosas en paralelo — voy.",
),
+ "pt": (
+ "Está bem, faço {n} coisas em paralelo.",
+ "Vou tratar das {n} tarefas ao mesmo tempo.",
+ "{n} coisas em paralelo — vou já.",
+ ),
}
_OPEN_APP_ACK: dict[str, tuple[str, ...]] = {
@@ -432,6 +480,11 @@ _OPEN_APP_ACK: dict[str, tuple[str, ...]] = {
"Un segundo, lanzo {app}.",
"Inicio {app}.",
),
+ "pt": (
+ "Está bem, abro {app}.",
+ "Um segundo, inicio {app}.",
+ "A iniciar {app}.",
+ ),
}
_RUN_SKILL_ACK: dict[str, tuple[str, ...]] = {
@@ -450,6 +503,11 @@ _RUN_SKILL_ACK: dict[str, tuple[str, ...]] = {
"Un momento, arranco {skill}.",
"Pongo {skill} en marcha.",
),
+ "pt": (
+ "Está bem, executo {skill}.",
+ "Um momento, arranco com {skill}.",
+ "Ponho {skill} a correr.",
+ ),
}
_GMAIL_READ_ACK: dict[str, tuple[str, ...]] = {
@@ -471,6 +529,12 @@ _GMAIL_READ_ACK: dict[str, tuple[str, ...]] = {
"Echo un vistazo a tus correos.",
"Miro tu bandeja de entrada.",
),
+ "pt": (
+ "Está bem, vejo o teu correio.",
+ "Um momento, abro a tua caixa de entrada.",
+ "Dou uma vista de olhos aos teus e-mails.",
+ "Vejo a tua caixa de entrada.",
+ ),
}
_CALENDAR_ACK: dict[str, tuple[str, ...]] = {
@@ -492,6 +556,12 @@ _CALENDAR_ACK: dict[str, tuple[str, ...]] = {
"Compruebo tus citas.",
"Un vistazo rápido a tu calendario.",
),
+ "pt": (
+ "Está bem, vejo o teu calendário.",
+ "Um momento, vejo a tua agenda.",
+ "Verifico os teus compromissos.",
+ "Uma vista de olhos rápida ao teu calendário.",
+ ),
}
_REMEMBER_ACK: dict[str, tuple[str, ...]] = {
@@ -512,6 +582,11 @@ _REMEMBER_ACK: dict[str, tuple[str, ...]] = {
"Entendido, lo recordaré.",
"Me lo apunto.",
),
+ "pt": (
+ "Está bem, tomo nota.",
+ "Entendido, vou lembrar-me.",
+ "Fica anotado.",
+ ),
}
_VERIFY_ACK: dict[str, tuple[str, ...]] = {
@@ -530,6 +605,11 @@ _VERIFY_ACK: dict[str, tuple[str, ...]] = {
"Un momento, lo pruebo.",
"Déjame verificarlo.",
),
+ "pt": (
+ "Está bem, vou verificar.",
+ "Um momento, vou testar.",
+ "Deixa-me confirmar.",
+ ),
}
_SERVER_ACK: dict[str, tuple[str, ...]] = {
@@ -548,6 +628,11 @@ _SERVER_ACK: dict[str, tuple[str, ...]] = {
"Un momento, arranco el servidor.",
"Levanto el servidor.",
),
+ "pt": (
+ "Está bem, inicio o servidor.",
+ "Um momento, arranco o servidor.",
+ "Ponho o servidor a correr.",
+ ),
}
_SET_CONFIG_ACK: dict[str, tuple[str, ...]] = {
@@ -566,6 +651,11 @@ _SET_CONFIG_ACK: dict[str, tuple[str, ...]] = {
"Un momento, lo ajusto.",
"Lo adapto ahora.",
),
+ "pt": (
+ "Está bem, eu altero isso.",
+ "Um momento, vou ajustar.",
+ "Adapto isso agora.",
+ ),
}
diff --git a/jarvis/brain/action_honesty.py b/jarvis/brain/action_honesty.py
index 531e17355e..66c631d86a 100644
--- a/jarvis/brain/action_honesty.py
+++ b/jarvis/brain/action_honesty.py
@@ -243,6 +243,10 @@ _ACTION_NOT_STARTED_PHRASES: dict[str, str] = {
"No inicié ninguna acción para eso, así que todavía no tengo un "
"resultado. Pídemelo de nuevo."
), # i18n-allow: Spanish runtime voice/chat output
+ "pt": ( # i18n-allow
+ "Não iniciei nenhuma ação para isso, por isso ainda não tenho um resultado. Pede-mo "
+ "outra vez." # i18n-allow
+ ), # i18n-allow
}
diff --git a/jarvis/brain/evidence_gate.py b/jarvis/brain/evidence_gate.py
index 02bfdb734e..92497ff625 100644
--- a/jarvis/brain/evidence_gate.py
+++ b/jarvis/brain/evidence_gate.py
@@ -232,12 +232,26 @@ _REFUSAL_ES: dict[str, str] = {
}
_REFUSAL_ES_FALLBACK = "Ahora mismo no tengo acceso a esos datos." # i18n-allow
+# Spoken European Portuguese voice replies (TTS-safe, deterministic), same
+# contract as the Spanish table above.
+_REFUSAL_PT: dict[str, str] = {
+ "calendar": "Neste momento não tenho acesso ao teu calendário.", # i18n-allow
+ "email": "Neste momento não tenho acesso ao teu e-mail.", # i18n-allow
+ "tasks": "Neste momento não tenho acesso às tuas tarefas.", # i18n-allow
+ "repos": "Neste momento não tenho acesso aos teus repositórios.", # i18n-allow
+ "deployments": "Neste momento não tenho acesso às tuas implementações.", # i18n-allow
+ "cloud": "Neste momento não tenho acesso à tua faturação na nuvem.", # i18n-allow
+ "activity": "Não guardo um histórico da tua atividade.", # i18n-allow
+}
+_REFUSAL_PT_FALLBACK = "Neste momento não tenho acesso a esses dados." # i18n-allow
+
#: One table per supported locale, so adding a language is a table, not a
#: branch. Keys must stay in step with ``jarvis.core.turn_language``'s pins.
_REFUSALS: dict[str, tuple[dict[str, str], str]] = {
"de": (_REFUSAL_DE, _REFUSAL_DE_FALLBACK),
"en": (_REFUSAL_EN, _REFUSAL_EN_FALLBACK),
"es": (_REFUSAL_ES, _REFUSAL_ES_FALLBACK),
+ "pt": (_REFUSAL_PT, _REFUSAL_PT_FALLBACK),
}
@@ -283,7 +297,7 @@ def check_evidence_domain(
:func:`live_surface_covers`). Defaulting to ``()`` keeps every existing
caller on the registry-only behaviour.
- ``language`` is THIS turn's resolved output language (de/en/es), produced
+ ``language`` is THIS turn's resolved output language (de/en/es/pt), produced
by ``jarvis.core.turn_language.resolve_output_language`` and passed down by
the caller. The honest refusal is user-facing speech, so it must be spoken
in the same language as every other layer of the turn. Callers that omit it
diff --git a/jarvis/brain/local_action_gate.py b/jarvis/brain/local_action_gate.py
index 1c46aee1f8..157fbfd6c0 100644
--- a/jarvis/brain/local_action_gate.py
+++ b/jarvis/brain/local_action_gate.py
@@ -11,7 +11,7 @@ import re
from collections.abc import Sequence
from dataclasses import dataclass, field
from enum import Enum
-from typing import Any, Literal, Protocol, runtime_checkable
+from typing import Any, Protocol, runtime_checkable
from urllib.parse import quote_plus
#: Entry-point name of the screenshot-based computer-use harness (see
@@ -731,6 +731,30 @@ def _matches_orb_reset(text: str) -> bool:
return any(pattern.match(text) for pattern in _ORB_RESET_PATTERNS)
+_UNSUPPORTED_RESPONSE: dict[str, str] = {
+ "de": (
+ "Das kann ich noch nicht. " # i18n-allow: German TTS
+ "Mir fehlt dafür ein Werkzeug — wenn du mir verrätst welches MCP " # i18n-allow
+ "oder welche Integration zuständig wäre, kann ich's lernen." # i18n-allow
+ ),
+ "en": (
+ "I can't do that yet. "
+ "I don't have a registered tool for it. "
+ "Tell me which MCP or integration should handle it and I can learn."
+ ),
+ "es": (
+ "Eso todavía no lo sé hacer. " # i18n-allow: Spanish TTS
+ "No tengo ninguna herramienta registrada para ello. " # i18n-allow: Spanish TTS
+ "Dime qué MCP o integración debería encargarse y puedo aprenderlo." # i18n-allow
+ ),
+ "pt": (
+ "Ainda não consigo fazer isso. " # i18n-allow: PT TTS
+ "Não tenho nenhuma ferramenta registada para isso. " # i18n-allow: PT TTS
+ "Diz-me que MCP ou integração deve tratar disso e posso aprender." # i18n-allow
+ ),
+}
+
+
def _unsupported_response(text: str, lang: str) -> str:
"""Return a deterministic, no-LLM rejection message.
@@ -744,19 +768,10 @@ def _unsupported_response(text: str, lang: str) -> str:
The normalised utterance (used only for potential future interpolation;
currently unused in the message body).
lang:
- ``"de"`` (default) or ``"en"``.
+ The turn's output language (de/en/es/pt); an unknown code speaks
+ English.
"""
- if lang == "en":
- return (
- "I can't do that yet. "
- "I don't have a registered tool for it. "
- "Tell me which MCP or integration should handle it and I can learn."
- )
- return (
- "Das kann ich noch nicht. "
- "Mir fehlt dafür ein Werkzeug — wenn du mir verrätst welches MCP "
- "oder welche Integration zuständig wäre, kann ich's lernen."
- )
+ return _UNSUPPORTED_RESPONSE.get(lang, _UNSUPPORTED_RESPONSE["en"])
# A DISPATCH verb: the user wants to drive a real external system (send, play,
@@ -889,7 +904,7 @@ def _get_capability_registry() -> _CapabilityRegistryLike | None:
def match_local_action(
text: str,
- lang: Literal["de", "en"] = "de",
+ lang: str = "de",
*,
_registry: _CapabilityRegistryLike | None = _SENTINEL, # type: ignore[assignment]
live_tool_names: Sequence[str] = (),
@@ -901,7 +916,7 @@ def match_local_action(
text:
Raw utterance from the voice pipeline.
lang:
- Language hint (``"de"`` or ``"en"``) used to select the
+ The turn's output language (de/en/es/pt) used to select the
``UNSUPPORTED`` response copy.
_registry:
Capability registry override — **for tests only**. Pass a fake
diff --git a/jarvis/brain/manager.py b/jarvis/brain/manager.py
index ffd5e8f089..87d2418c07 100644
--- a/jarvis/brain/manager.py
+++ b/jarvis/brain/manager.py
@@ -1613,7 +1613,48 @@ def _extract_cli_error_line(stderr: str) -> str:
return chosen.strip()[:200]
-def _cli_failure_reason(output: Any, error: str | None, *, german: bool) -> str:
+# Spoken CLI-failure readbacks; placeholders {cause} / {code}.
+_CLI_FAILURE_PHRASES: dict[str, dict[str, str]] = {
+ "de": {
+ "cause": "Der Befehl ist fehlgeschlagen: {cause}", # i18n-allow: German TTS
+ "code": "Der Befehl ist mit Fehlercode {code} fehlgeschlagen.", # i18n-allow
+ "bare": "Der Befehl ist fehlgeschlagen.", # i18n-allow: German TTS
+ },
+ "en": {
+ "cause": "The command failed: {cause}",
+ "code": "The command failed with exit code {code}.",
+ "bare": "The command failed.",
+ },
+ "es": {
+ "cause": "El comando ha fallado: {cause}", # i18n-allow: Spanish TTS
+ "code": "El comando ha fallado con el código de error {code}.", # i18n-allow
+ "bare": "El comando ha fallado.", # i18n-allow: Spanish TTS
+ },
+ "pt": {
+ "cause": "O comando falhou: {cause}", # i18n-allow: PT TTS
+ "code": "O comando falhou com o código de erro {code}.", # i18n-allow: PT TTS
+ "bare": "O comando falhou.", # i18n-allow: PT TTS
+ },
+}
+
+# Spoken reply when a recovered tool ran but produced nothing speakable.
+_NOTHING_FOUND_PHRASE: dict[str, str] = {
+ "de": "Dazu habe ich nichts gefunden.", # i18n-allow: spoken German TTS
+ "en": "I couldn't find anything on that.",
+ "es": "No he encontrado nada sobre eso.", # i18n-allow: Spanish TTS
+ "pt": "Não encontrei nada sobre isso.", # i18n-allow: PT TTS
+}
+
+# Navigation fast-path acknowledgement; placeholder {label}.
+_NAVIGATION_ACK: dict[str, str] = {
+ "de": "Öffne {label}.", # i18n-allow: German TTS
+ "en": "Opening {label}.",
+ "es": "Abriendo {label}.", # i18n-allow: Spanish TTS
+ "pt": "A abrir {label}.", # i18n-allow: PT TTS
+}
+
+
+def _cli_failure_reason(output: Any, error: str | None, *, language: str) -> str:
"""Honest spoken readback for a FAILED ``cli_<name>`` call.
The user must never hear a bare ``exit 1`` (the CLI tool's ``error`` field)
@@ -1630,19 +1671,17 @@ def _cli_failure_reason(output: Any, error: str | None, *, german: bool) -> str:
ec = output.get("exit_code")
if isinstance(ec, int):
exit_code = ec
+ phrases = _CLI_FAILURE_PHRASES.get(language, _CLI_FAILURE_PHRASES["en"])
cause = _extract_cli_error_line(stderr)
if cause:
- de = f"Der Befehl ist fehlgeschlagen: {cause}" # i18n-allow: German TTS
- return de if german else f"The command failed: {cause}"
+ return phrases["cause"].format(cause=cause)
if exit_code is None and error:
m = re.search(r"exit\s+(-?\d+)", error)
if m:
exit_code = int(m.group(1))
if exit_code is not None:
- de = f"Der Befehl ist mit Fehlercode {exit_code} fehlgeschlagen." # i18n-allow: German TTS
- return de if german else f"The command failed with exit code {exit_code}."
- de = "Der Befehl ist fehlgeschlagen." # i18n-allow: German TTS
- return de if german else "The command failed."
+ return phrases["code"].format(code=exit_code)
+ return phrases["bare"]
def _evidence_answer_is_unverified(
@@ -1785,6 +1824,10 @@ _EVIDENCE_UNFULFILLED_PHRASES: dict[str, str] = {
"No pude obtener eso ahora mismo — la llamada a la herramienta no se "
"completó. Avísame y lo intento de nuevo."
),
+ "pt": (
+ "Não consegui obter isso agora — a chamada à ferramenta não foi concluída. Avisa-me e "
+ "tento outra vez."
+ ),
}
@@ -1822,6 +1865,15 @@ _EVIDENCE_DOMAIN_LABELS: dict[str, dict[str, str]] = {
"cloud": "tu facturación en la nube",
"activity": "tu historial de actividad",
},
+ "pt": {
+ "calendar": "o teu calendário",
+ "email": "a tua caixa de entrada",
+ "tasks": "as tuas tarefas",
+ "repos": "os teus repositórios",
+ "deployments": "as tuas implementações",
+ "cloud": "a tua faturação na nuvem",
+ "activity": "o teu histórico de atividade",
+ },
}
# Domain-aware variant of the unfulfilled phrase — same honesty contract (never
@@ -1840,6 +1892,10 @@ _EVIDENCE_UNFULFILLED_DOMAIN_PHRASES: dict[str, str] = {
"No pude obtener {label} ahora mismo — el acceso no se completó. "
"Avísame y lo intento de nuevo."
),
+ "pt": (
+ "Não consegui obter {label} agora — o acesso não foi concluído. Avisa-me e tento outra "
+ "vez."
+ ),
}
@@ -1849,7 +1905,7 @@ def _evidence_unfulfilled_answer(*, lang: str, domain: str = "") -> str:
Static, no LLM (AP-11). Never claims the tool "blocked" or invents a reason.
When ``domain`` is a known external-data domain the phrase NAMES the
capability ("…deine Cloud-Abrechnung…"); otherwise it degrades to the generic
- wording. Localized for every supported language (de/en/es); an unrecognised
+ wording. Localized for every supported language (de/en/es/pt); an unrecognised
code degrades to the default locale so the spoken turn never crashes (Runtime
Output Language doctrine).
"""
@@ -1877,6 +1933,7 @@ _ACTION_UNFULFILLED_PHRASES: dict[str, dict[str, str]] = {
"La rutina no se creó. " # i18n-allow: runtime output
"No se ejecutó la acción de guardarla." # i18n-allow: runtime output
),
+ "pt": "A rotina não foi criada. A ação de a guardar não chegou a ser executada.",
},
"society-create-routine": {
"de": (
@@ -1888,6 +1945,7 @@ _ACTION_UNFULFILLED_PHRASES: dict[str, dict[str, str]] = {
"La rutina no se creó. " # i18n-allow: runtime output
"No se ejecutó la acción de guardarla." # i18n-allow: runtime output
),
+ "pt": "A rotina não foi criada. A ação de a guardar não chegou a ser executada.",
},
"contact-upsert": {
"de": (
@@ -1902,6 +1960,7 @@ _ACTION_UNFULFILLED_PHRASES: dict[str, dict[str, str]] = {
"Todavía no he guardado ese contacto — dime los datos otra vez y lo "
"añado."
),
+ "pt": "Ainda não guardei esse contacto — diz-me os dados outra vez e eu adiciono-o.",
},
"wiki-ingest": {
"de": (
@@ -1915,6 +1974,7 @@ _ACTION_UNFULFILLED_PHRASES: dict[str, dict[str, str]] = {
"es": (
"Todavía no lo he anotado en tu wiki — dímelo otra vez y lo escribo."
),
+ "pt": "Ainda não o anotei na tua wiki — diz-mo outra vez e eu escrevo-o.",
},
# Local-outcome mandate (shell-consistency rework 2026-08-08): a mandated
# run_shell that never ran must not degrade to the contact wording.
@@ -1931,6 +1991,10 @@ _ACTION_UNFULFILLED_PHRASES: dict[str, dict[str, str]] = {
"Todavía no lo he hecho — el comando no llegó a ejecutarse. "
"Dímelo otra vez y lo hago directamente."
),
+ "pt": (
+ "Ainda não o fiz — o comando não chegou a ser executado. Diz-mo outra vez e faço-o "
+ "diretamente."
+ ),
},
}
# A write tool with no bespoke table reuses the contact wording's shape.
@@ -2114,9 +2178,14 @@ def _extract_leaked_tool_call(text: str) -> tuple[str, dict[str, Any]] | None:
# Single source of truth for the reply-language vocabulary (Python ↔ REST ↔ TS).
# "auto" = mirror the user's input language; the rest hard-pin that language.
-SUPPORTED_REPLY_LANGUAGES: tuple[str, ...] = ("auto", "de", "en", "es")
+SUPPORTED_REPLY_LANGUAGES: tuple[str, ...] = ("auto", "de", "en", "es", "pt")
_REPLY_LANGS: frozenset[str] = frozenset(SUPPORTED_REPLY_LANGUAGES)
-_REPLY_LANG_NAMES: dict[str, str] = {"de": "German", "en": "English", "es": "Spanish"}
+_REPLY_LANG_NAMES: dict[str, str] = {
+ "de": "German",
+ "en": "English",
+ "es": "Spanish",
+ "pt": "European Portuguese",
+}
# Spoken confirmation for a deterministic reply-language switch (the
# voice_command_gate "language_switch" path). Keyed by target code and phrased
@@ -2127,16 +2196,20 @@ _LANG_SWITCH_CONFIRM: dict[str, str] = {
"de": "Erledigt — ich antworte ab jetzt auf Deutsch.",
"en": "Done — I'll reply in English from now on.",
"es": "Listo — a partir de ahora respondo en español.",
+ "pt": "Feito — a partir de agora respondo em português.",
"auto": "Erledigt — ich passe meine Sprache ab jetzt automatisch deiner an.",
}
# Spoken when the live reply-language switch applied but PERSIST failed (read-only
# / locked jarvis.toml). Honest: scoped to this session, not "from now on", because
-# it reverts on restart (audit 2026-06-27). de/en/es.
+# it reverts on restart (audit 2026-06-27). de/en/es/pt.
_LANG_SWITCH_CONFIRM_SESSION: dict[str, str] = {
"de": "Für diese Sitzung antworte ich auf Deutsch — dauerhaft speichern hat nicht geklappt.",
"en": "For this session I'll reply in English — saving it permanently didn't work.",
"es": "Por esta sesión responderé en español — no pude guardarlo de forma permanente.",
+ "pt": (
+ "Nesta sessão vou responder em português — não consegui guardar isto de forma permanente."
+ ),
}
# Sub-agent (Heavy-Task worker) provider switch — the voice_command_gate
@@ -2171,20 +2244,23 @@ _SUBAGENT_SWITCH_CONFIRM: dict[str, str] = {
"de": "Erledigt — dein Sub-Agent läuft ab der nächsten Mission auf {p}.",
"en": "Done — your sub-agent will run on {p} from your next mission.",
"es": "Listo — tu sub-agente usará {p} desde tu próxima misión.",
+ "pt": "Feito — o teu subagente vai usar {p} a partir da tua próxima missão.",
}
# Honest spoken failure phrases for a deterministic subagent switch that the
# validated apply_provider_switch refused (missing credential / unknown). Never
-# a false "done"; always names what failed. de/en/es (Runtime Output Language).
+# a false "done"; always names what failed. de/en/es/pt (Runtime Output Language).
_SUBAGENT_SWITCH_FAIL: dict[str, dict[str, str]] = {
"missing_credential": {
"de": "{p} ist nicht verbunden — richte es zuerst ein, dann stelle ich um.",
"en": "{p} isn't connected — set it up first, then I'll switch.",
"es": "{p} no está conectado — configúralo primero y luego cambio.",
+ "pt": "{p} não está ligado — configura-o primeiro e depois eu mudo.",
},
"other": {
"de": "Das konnte ich nicht auf {p} umstellen.",
"en": "I couldn't switch the sub-agent to {p}.",
"es": "No pude cambiar el sub-agente a {p}.",
+ "pt": "Não consegui mudar o subagente para {p}.",
},
}
@@ -2198,27 +2274,31 @@ def _subagent_switch_failure_phrase(result: dict, display: str, lang: str) -> st
# Main-brain provider switch — the voice_command_gate "provider_switch" path.
# Mirrors the subagent tables: routed through the validated apply_provider_switch
# so the spoken readback is HONEST (audit 2026-06-27: the old path returned ""
-# silently, even when the switch was refused). de/en/es (Runtime Output Language).
+# silently, even when the switch was refused). de/en/es/pt (Runtime Output Language).
_PROVIDER_SWITCH_CONFIRM: dict[str, str] = {
"de": "Erledigt — dein Haupt-Brain läuft jetzt auf {p}.",
"en": "Done — your main brain now runs on {p}.",
"es": "Listo — tu cerebro principal ahora usa {p}.",
+ "pt": "Feito — o teu cérebro principal usa agora {p}.",
}
_PROVIDER_SWITCH_FAIL: dict[str, dict[str, str]] = {
"missing_credential": {
"de": "{p} ist nicht eingerichtet — hinterlege zuerst den Schlüssel, dann stelle ich um.",
"en": "{p} isn't set up — add its key first, then I'll switch.",
"es": "{p} no está configurado — añade su clave primero y luego cambio.",
+ "pt": "{p} não está configurado — adiciona primeiro a chave e depois eu mudo.",
},
"subagent_only": {
"de": "{p} geht nur als Sub-Agent, nicht als Haupt-Brain.",
"en": "{p} only works as a sub-agent, not as the main brain.",
"es": "{p} solo funciona como sub-agente, no como cerebro principal.",
+ "pt": "{p} só funciona como subagente, não como cérebro principal.",
},
"other": {
"de": "Den Haupt-Brain konnte ich nicht auf {p} umstellen.",
"en": "I couldn't switch the main brain to {p}.",
"es": "No pude cambiar el cerebro principal a {p}.",
+ "pt": "Não consegui mudar o cérebro principal para {p}.",
},
}
@@ -2231,16 +2311,18 @@ def _provider_switch_failure_phrase(result: dict, display: str, lang: str) -> st
# Background-task cancel — the voice_command_gate "cancel" path. Honest readback:
# names the count when something was stopped, says so plainly when nothing ran
-# (audit 2026-06-27: the old path was silent either way). de/en/es.
+# (audit 2026-06-27: the old path was silent either way). de/en/es/pt.
_CANCEL_CONFIRM: dict[str, str] = {
"de": "Erledigt — {n} laufende Aufgabe(n) gestoppt.",
"en": "Done — stopped {n} running task(s).",
"es": "Listo — detuve {n} tarea(s) en curso.",
+ "pt": "Feito — parei {n} tarefa(s) em curso.",
}
_CANCEL_NONE: dict[str, str] = {
"de": "Es lief gerade nichts, das ich stoppen könnte.",
"en": "Nothing was running to stop.",
"es": "No había nada en curso que detener.",
+ "pt": "Não havia nada em curso para parar.",
}
# Thinking-depth override — the voice_command_gate "depth_deep"/"depth_fast"
@@ -2250,11 +2332,13 @@ _DEPTH_CONFIRM: dict[str, dict[str, str]] = {
"de": "Alles klar — ich denke ab jetzt gründlicher.",
"en": "Got it — I'll think more deeply from now on.",
"es": "Entendido — pensaré más a fondo a partir de ahora.",
+ "pt": "Entendido — a partir de agora vou pensar com mais profundidade.",
},
"fast": {
"de": "Alles klar — ich denke ab jetzt schneller.",
"en": "Got it — I'll think faster from now on.",
"es": "Entendido — pensaré más rápido a partir de ahora.",
+ "pt": "Entendido — a partir de agora vou pensar mais depressa.",
},
}
@@ -2450,7 +2534,7 @@ def normalize_reply_language(value: object) -> str:
# the voice path — a butler does not read "Account-Problem bei grok …
# console.x.ai/team/billing" aloud (live complaint 2026-06-01). Instead we
# speak a short, provider-agnostic apology in the user's SELECTED reply
-# language (de/en/es; "auto" → German, the default locale). Three variants
+# language (de/en/es/pt; "auto" → German, the default locale). Three variants
# per language so repeated failures in one session don't sound robotic
# (mirrors the ACK-variant approach). The full diagnostic stays in the logs.
_PROVIDER_DOWN_PHRASES: dict[str, tuple[str, ...]] = {
@@ -2478,6 +2562,13 @@ _PROVIDER_DOWN_PHRASES: dict[str, tuple[str, ...]] = {
),
"No puedo responder ahora mismo: la conexión con mi modelo está fallando. Dame un segundo.",
),
+ "pt": (
+ "Desculpa, neste momento não consigo aceder ao meu modelo de linguagem. Um momento, por "
+ "favor.",
+ "Receio que o meu modelo de linguagem não esteja disponível neste momento. Volto a "
+ "tentar já a seguir.",
+ "Não consigo responder agora: a ligação ao meu modelo está a falhar. Dá-me um segundo.",
+ ),
}
@@ -2505,6 +2596,11 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"para mi modelo de lenguaje. Abre las claves de API en la barra "
"lateral y añade una, y podré continuar enseguida."
),
+ "pt": (
+ "Desculpa: neste momento não há nenhuma chave de API configurada para o meu modelo "
+ "de linguagem. Abre as chaves de API na barra lateral e adiciona uma, e posso "
+ "continuar já a seguir."
+ ),
},
"bad_key": {
"de": (
@@ -2521,6 +2617,10 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"parece inválida o caducada. Sustitúyela en las claves de API "
"de la barra lateral."
),
+ "pt": (
+ "Desculpa: a minha chave de API guardada está a ser rejeitada; parece inválida ou "
+ "expirada. Substitui-a nas chaves de API da barra lateral."
+ ),
},
"account_blocked": {
"de": (
@@ -2538,6 +2638,11 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"ahora mismo; probablemente se agotó el crédito o se alcanzó un "
"límite. Revisa la cuenta del proveedor, por favor."
),
+ "pt": (
+ "Desculpa: a conta do meu modelo de linguagem está bloqueada neste momento; "
+ "provavelmente o crédito esgotou-se ou foi atingido um limite. Verifica a conta do "
+ "fornecedor, por favor."
+ ),
},
"rate_limit": {
"de": (
@@ -2553,6 +2658,10 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"Lo siento: mi proveedor me está limitando por demasiadas "
"solicitudes. Espera un momento y vuelve a preguntarme."
),
+ "pt": (
+ "Desculpa: o meu fornecedor está a limitar-me por excesso de pedidos. Espera um "
+ "momento e volta a perguntar-me."
+ ),
},
"invalid_model": {
"de": (
@@ -2567,6 +2676,10 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"Lo siento: el modelo configurado no es aceptado por el "
"proveedor. Revisa la selección de modelo en los ajustes."
),
+ "pt": (
+ "Desculpa: o modelo configurado não é aceite pelo fornecedor. Verifica a escolha do "
+ "modelo nas definições."
+ ),
},
"context_overflow": {
"de": (
@@ -2584,6 +2697,10 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"configurado; su ventana de contexto no alcanza. Elige un modelo "
"con más contexto o empieza un chat nuevo."
),
+ "pt": (
+ "Desculpa: este pedido é demasiado grande para o modelo configurado; a janela de "
+ "contexto não chega. Escolhe um modelo com mais contexto ou começa uma conversa nova."
+ ),
},
"unreachable": {
"de": (
@@ -2600,6 +2717,10 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"probablemente sea un problema de red o del proveedor. Inténtalo "
"de nuevo en un momento."
),
+ "pt": (
+ "Desculpa: neste momento não consigo comunicar com o meu fornecedor; provavelmente é "
+ "um problema de rede ou do fornecedor. Tenta outra vez daqui a um momento."
+ ),
},
# A screen capture or attachment exists, but every reachable brain is blind.
# This is NOT a missing/invalid API key — the key is often present and
@@ -2622,6 +2743,10 @@ _PROVIDER_DOWN_CAUSE_PHRASES: dict[str, dict[str, str]] = {
"conectados puede analizar imágenes ahora. La clave está; falta "
"la visión. Elige un proveedor con visión en Claves API."
),
+ "pt": (
+ "Desculpa: nenhum dos assistentes ligados consegue analisar imagens agora. A chave "
+ "existe; falta a visão. Escolhe um fornecedor com visão em Chaves de API."
+ ),
},
}
@@ -2674,7 +2799,7 @@ def _primary_provider_down_cause(
def _provider_down_phrase(lang: str, idx: int, cause: str | None = None) -> str:
"""Localized apology for a total brain-chain failure, cause-aware.
- ``lang`` is a reply-language code (de/en/es); anything else — notably
+ ``lang`` is a reply-language code (de/en/es/pt); anything else — notably
"auto" — falls back to German (the default locale). When ``cause`` names
a known failure category, the phrase states WHY and the in-app recovery
step (maintainer directive 2026-07-21) — still without provider names,
@@ -2710,6 +2835,10 @@ _MID_ANSWER_ERROR_PHRASES: dict[str, str] = {
"Ejecuté los pasos, pero algo falló al redactar la respuesta. "
"Vuelve a preguntarme en un momento."
),
+ "pt": (
+ "Executei os passos, mas algo falhou ao redigir a resposta. Volta a perguntar-me daqui a "
+ "um momento."
+ ),
}
@@ -2822,12 +2951,12 @@ class BrainManager:
# Per-turn wiki context suffix; set in generate() and consumed by
# _build_system_prompt(). Reset to "" after each turn.
self._wiki_context_suffix: str = ""
- # Per-turn detected language (de/en/es or "" when ambiguous/pinned),
+ # Per-turn detected language (de/en/es/pt or "" when ambiguous/pinned),
# set at the top of generate(); consumed by _reply_language_directive()
# in auto mode to hard-pin the turn's language so a tool-synthesis turn
# cannot drift back to German (live bug 2026-06-14).
self._turn_detected_lang: str = ""
- # Sticky conversation language (de/en/es, "" until established). Updated
+ # Sticky conversation language (de/en/es/pt, "" until established). Updated
# only on a SUBSTANTIVE turn so a thin interjection ("Now", "Stop") never
# flips an established conversation; consumed by _update_turn_language and
# exposed to the speech pipeline / deterministic tool readbacks so the
@@ -3991,7 +4120,7 @@ class BrainManager:
@property
def conversation_language(self) -> str:
- """The sticky language of the conversation so far (de/en/es, or "").
+ """The sticky language of the conversation so far (de/en/es/pt, or "").
Read by the speech pipeline and threaded into deterministic tool
readbacks so a thin interjection ("Now") stays in the running
@@ -4040,7 +4169,7 @@ class BrainManager:
self._reply_language = code
def _resolve_turn_lang(self) -> str:
- """The de/en/es key this turn's output is localized to.
+ """The de/en/es/pt key this turn's output is localized to.
The single authoritative resolver consumed by every ``ResponseGenerated``
publish (success replies AND the total-failure apology) so the recorded
@@ -4149,7 +4278,8 @@ class BrainManager:
return (
"REPLY LANGUAGE: Reply in the SAME language as the user's latest "
"message — detect it fresh each turn and mirror it: English in "
- "English, German in German, Spanish in Spanish. Do NOT default to "
+ "English, German in German, Spanish in Spanish, Portuguese in European "
+ "Portuguese (pt-PT, never Brazilian). Do NOT default to "
"German just because the rest of this prompt is German; the user's "
"language always wins. Keep proper nouns, brand / product names and "
"technical identifiers in their original form — never translate them."
@@ -7240,10 +7370,8 @@ class BrainManager:
)
return None
label = section.replace("-", " ").title()
- is_de = bool(re.search(r"[äöüÄÖÜß]", user_text)) or bool( # i18n-allow
- re.search(r"\b(zeig\w*|öffne|oeffne|geh\w*|wechs\w*|spring\w*)\b", user_text, re.I) # i18n-allow
- )
- return f"Öffne {label}." if is_de else f"Opening {label}." # i18n-allow
+ lang = self._spoken_reply_language(user_text)
+ return _NAVIGATION_ACK.get(lang, _NAVIGATION_ACK["en"]).format(label=label)
def _agentic_ide_owns_turn(self, user_text: str) -> bool:
"""True when this turn belongs to the open coding workspace.
@@ -7287,6 +7415,7 @@ class BrainManager:
"de": "Ich kann die Agentenliste gerade nicht abrufen.", # i18n-allow
"en": "I cannot retrieve the agent roster right now.",
"es": "No puedo consultar la lista de agentes ahora.",
+ "pt": "Não consigo consultar a lista de agentes agora.",
}.get(out_lang, "I cannot retrieve the agent roster right now.")
tool = self._tools.get("society_status")
if tool is None or self._tool_executor is None:
@@ -9023,7 +9152,11 @@ class BrainManager:
if self._tool_executor is None:
return None
- plan = match_local_action(user_text, live_tool_names=self._live_tool_names())
+ plan = match_local_action(
+ user_text,
+ lang=self._spoken_reply_language(user_text),
+ live_tool_names=self._live_tool_names(),
+ )
if plan is None:
return None
@@ -10169,17 +10302,34 @@ class BrainManager:
except Exception as exc: # noqa: BLE001
log.warning("voice-confirm cancel failed: %s", exc)
+ def _spoken_reply_language(self, user_text: str) -> str:
+ """Language for a fixed spoken phrase this manager renders itself.
+
+ Resolved through the SAME call the router and every other spoken layer
+ make (``resolve_output_language`` with the pin, this turn's detected
+ language, the conversation stickiness and ``DEFAULT_LOCALE``), so a
+ canned phrase can never speak a different language than the reply
+ (AGENTS.md: the output language is decided once per turn).
+ """
+ # getattr: lightweight managers built without __init__ (fakes, early
+ # boot paths) carry no turn state yet — that simply means "none known".
+ return resolve_output_language(
+ self._reply_language,
+ getattr(self, "_turn_detected_lang", ""),
+ user_text or "",
+ default=DEFAULT_LOCALE,
+ conversation_language=getattr(self, "_conversation_language", ""),
+ )
+
def _spawn_ack_language(self, user_text: str) -> str:
"""Resolve the language for the spoken spawn acknowledgement.
- A pinned reply language (``brain.reply_language`` = de/en) wins;
- otherwise detect from the user's words. The spawn-announcement
- composer supports de/en only (ack-brain convention), so an "es"
- pin falls through to detection like "auto" does.
+ A pinned reply language (``brain.reply_language``, any supported
+ language) wins; otherwise detect from the user's words. The
+ spawn-announcement composer speaks every supported reply language;
+ undetectable text falls back to English, never German.
"""
- if self._reply_language in ("de", "en"):
- return self._reply_language
- return "de" if _looks_german(user_text) else "en"
+ return self._spoken_reply_language(user_text)
def _build_history_hints(
self,
@@ -10445,7 +10595,7 @@ class BrainManager:
_cli_failure_reason(
result.output,
result.error,
- german=_looks_german(user_text),
+ language=self._spoken_reply_language(user_text),
)
)
return await self._honest_failure_readback(
@@ -10466,11 +10616,8 @@ class BrainManager:
return spoken
# Tool ran but produced nothing speakable (e.g. an empty search). Give a
# real spoken sentence, never silence and never the failure phrase.
- return (
- "Dazu habe ich nichts gefunden." # i18n-allow: spoken German TTS
- if _looks_german(user_text)
- else "I couldn't find anything on that."
- )
+ lang = self._spoken_reply_language(user_text)
+ return _NOTHING_FOUND_PHRASE.get(lang, _NOTHING_FOUND_PHRASE["en"])
def _cancel_all_background_tasks(self) -> int:
"""Cancels all running background Jarvis-Agent tasks.
@@ -11255,7 +11402,9 @@ class BrainManager:
# gate → None) is untouched.
if self._skill_turn_match is not None:
_gate_plan = match_local_action(
- user_text, live_tool_names=self._live_tool_names()
+ user_text,
+ lang=self._spoken_reply_language(user_text),
+ live_tool_names=self._live_tool_names(),
)
_claiming = _gate_plan is not None and _gate_plan.mode in (
LocalActionMode.DIRECT,
@@ -13847,6 +13996,7 @@ _ACTION_FAILED_PHRASES: dict[str, str] = {
),
"en": "I recognized the action but couldn't execute it.",
"es": "Reconocí la acción, pero no pude ejecutarla.",
+ "pt": "Reconheci a ação, mas não consegui executá-la.",
}
# DIRECT local-action acknowledgement — see BrainManager._localize_direct_ack.
@@ -13862,6 +14012,7 @@ _OPEN_APP_ACK_PREFIX: dict[str, str] = {
"de": "Gestartet:", # i18n-allow: spoken German TTS acknowledgement
"en": "Opened:",
"es": "Abierto:",
+ "pt": "Aberto:",
}
diff --git a/jarvis/brain/model_catalog.py b/jarvis/brain/model_catalog.py
index 40471a1575..603fb31c40 100644
--- a/jarvis/brain/model_catalog.py
+++ b/jarvis/brain/model_catalog.py
@@ -343,8 +343,9 @@ TTS_CATALOG: dict[str, tuple[str, list[ModelInfo]]] = {
# Piper (on-device). A Piper voice speaks ONE language, so this picker is a
# speaker choice, not a language choice: the provider still resolves the
# file from the turn's output language. Both sets are listed; the masculine
- # trio is what the install downloads, and the feminine one is fetched on
- # demand. Kept in sync with SHERPA_BUNDLES in jarvis/speech/local_models.py.
+ # set is what the install downloads, and the feminine one is fetched on
+ # demand (Piper has no feminine European Portuguese voice, so Tugão serves
+ # both profiles for pt). Kept in sync with SHERPA_BUNDLES in jarvis/speech/local_models.py.
"piper-local": (
"voice",
_curated(
@@ -352,6 +353,7 @@ TTS_CATALOG: dict[str, tuple[str, list[ModelInfo]]] = {
("vits-piper-de_DE-thorsten-medium", "Thorsten — German, masculine"),
("vits-piper-en_US-ryan-medium", "Ryan — English, masculine"),
("vits-piper-es_ES-davefx-medium", "Dave — Spanish, masculine"),
+ ("vits-piper-pt_PT-tugao-medium", "Tugão — European Portuguese, masculine"),
("vits-piper-de_DE-ramona-low", "Ramona — German, feminine"),
("vits-piper-en_US-amy-medium", "Amy — English, feminine"),
("vits-piper-es_ES-sharvard-medium", "Sharvard — Spanish, feminine"),
@@ -364,7 +366,7 @@ TTS_CATALOG: dict[str, tuple[str, list[ModelInfo]]] = {
# voice) instead of a curated one — kept in sync with DEFAULT_VOICES in
# jarvis/plugins/tts/elevenlabs_tts.py.
# Inworld — the new premium default (arena-#1 realtime, mid-2026). Voices are
- # multilingual; these native masculine de/en/es voices are the curated pick,
+ # multilingual; these native de/en/es/pt voices are the curated pick,
# kept in sync with DEFAULT_VOICE_* in jarvis/plugins/tts/inworld_tts.py.
"inworld": (
"voice",
@@ -376,6 +378,8 @@ TTS_CATALOG: dict[str, tuple[str, list[ModelInfo]]] = {
("Ashley", "Ashley — English, bright"),
("Diego", "Diego — Spanish, formal"),
("Lupita", "Lupita — Spanish, warm"),
+ ("Leonor", "Leonor — European Portuguese"),
+ ("Heitor", "Heitor — Brazilian Portuguese, masculine"),
]
),
),
diff --git a/jarvis/brain/output_filter.py b/jarvis/brain/output_filter.py
index 79976161b3..d00789f2fc 100644
--- a/jarvis/brain/output_filter.py
+++ b/jarvis/brain/output_filter.py
@@ -84,9 +84,10 @@ FALLBACK_PHRASES: dict[str, str] = {
"de": "Es trat ein Fehler auf.", # i18n-allow: spoken German fallback phrase (runtime voice output)
"en": "An error occurred.",
# Runtime-output-language doctrine: every spoken phrase table carries all
- # supported locales (de/en/es) so a Spanish-pinned user never falls back to
+ # supported locales (de/en/es/pt) so a Spanish-pinned user never falls back to
# German. Used by the stacktrace, raw-dump, and post-scrub-residue guards.
"es": "Se produjo un error.",
+ "pt": "Ocorreu um erro.",
}
@@ -394,12 +395,13 @@ LONG_BASE64_RE = re.compile(
# so a source URL / domain / footer can never reach TTS. Real spoken prose has
# no http(s):// or bare www. token, so this does not touch a clean answer.
URL_RE = re.compile(r"https?://\S+", re.IGNORECASE)
-# The SERP "more results from <source>" footer (de/en/es). Cut it before the
+# The SERP "more results from <source>" footer (de/en/es/pt). Cut it before the
# bare-www pass so "Weitere Ergebnisse von www.x.de" goes as one unit.
MORE_RESULTS_RE = re.compile(
r"\b(?:weitere|mehr)\s+ergebnisse\s+(?:von|auf|bei)\s+\S+" # de # i18n-allow
r"|more\s+results\s+(?:from|on|for)\s+\S+" # en
- r"|m[aá]s\s+resultados\s+(?:de|en|para)\s+\S+", # es
+ r"|m[aá]s\s+resultados\s+(?:de|en|para)\s+\S+" # es
+ r"|mais\s+resultados\s+(?:de|do|da|em|no|na|para)\s+\S+", # pt
re.IGNORECASE,
)
# A bare www-prefixed domain reference ("www.gutefrage.net"). Anchored on the
@@ -419,6 +421,7 @@ SOURCE_LINK_PLACEHOLDER: dict[str, str] = {
"de": "der Website", # i18n-allow: spoken German placeholder (runtime voice output)
"en": "the website",
"es": "el sitio web",
+ "pt": "o site",
}
# Markdown
diff --git a/jarvis/brain/router.py b/jarvis/brain/router.py
index 9daa13a104..dae0a5d2ea 100644
--- a/jarvis/brain/router.py
+++ b/jarvis/brain/router.py
@@ -242,39 +242,12 @@ class RouterBrain:
# Perceived-latency acknowledgment hook
# ------------------------------------------------------------------
- @staticmethod
- def _detect_utterance_language(utterance: str) -> str:
- """Quick-and-dirty bilingual classifier for picking the ack language.
-
- German is the project default — anything ambiguous falls back to ``de``.
- We only flip to ``en`` when the utterance shows clear English structure
- (function words like ``the/what/how``) AND lacks German diacritics or
- common particles. Pure heuristic, regex-free, no dependencies.
- """
- if not utterance:
- return "de"
- text = utterance.lower()
- # Umlauts or sharp-s are an unambiguous German signal.
- if any(c in text for c in "äöüß"):
- return "de"
- de_markers = (" der ", " die ", " das ", " und ", " ich ", " du ",
- " ist ", " auf ", " mit ", " nicht ", " für ", " wie ")
- en_markers = (" the ", " what ", " how ", " is ", " are ", " you ",
- " can ", " could ", " would ", " please ", " do ")
- padded = " " + text + " "
- de_hits = sum(1 for m in de_markers if m in padded)
- en_hits = sum(1 for m in en_markers if m in padded)
- if en_hits >= 2 and de_hits == 0:
- return "en"
- return "de"
-
def _output_locale(self, utterance: str) -> str:
"""The turn's output language, via the ONE resolver (AGENTS.md §1.3).
- Deliberately NOT ``_detect_utterance_language`` above: that helper is a
- de/en-only ack heuristic with a German default, so a Spanish user would
- be asked a clarifying question in German. Anything Jarvis actually says
- to the user resolves through ``resolve_output_language``, which honours
+ Anything Jarvis says to the user (clarifying questions, the tool ack,
+ the completion marker) resolves through ``resolve_output_language``,
+ never a local de/en heuristic, which honours
the ``brain.reply_language`` pin, conversation stickiness, and every
supported locale equally.
"""
@@ -318,7 +291,7 @@ class RouterBrain:
if is_voice_control_utterance(utterance):
return None
bus = self._bus
- language = self._detect_utterance_language(utterance)
+ language = self._output_locale(utterance)
async def emit(tool_name: str, tool_args: dict) -> None:
text = generate_ack(tool_name, tool_args, language=language)
@@ -556,7 +529,7 @@ class RouterBrain:
final_text = agg.text or ""
if agg.tool_calls and not is_voice_control_utterance(utterance):
from .ack_generator import final_summary_marker
- lang = self._detect_utterance_language(utterance)
+ lang = self._output_locale(utterance)
marker = final_summary_marker(language=lang)
if final_text.strip():
final_text = final_text.rstrip().rstrip(".") + ". " + marker
diff --git a/jarvis/brain/spawn_gate.py b/jarvis/brain/spawn_gate.py
index d2f10a60b0..f1a493053e 100644
--- a/jarvis/brain/spawn_gate.py
+++ b/jarvis/brain/spawn_gate.py
@@ -176,7 +176,7 @@ def _confirm_verdicts(text: str) -> set[str]:
from jarvis.voice.echo_confirmation import classify_response # noqa: PLC0415
except Exception: # noqa: BLE001 — classifier fault = no confirmation
return set()
- return {classify_response(text, language=lang) for lang in ("de", "en", "es")}
+ return {classify_response(text, language=lang) for lang in ("de", "en", "es", "pt")}
class DelegationOfferWindow:
diff --git a/jarvis/brain/tool_use_loop.py b/jarvis/brain/tool_use_loop.py
index ec19336586..12bb23f5a1 100644
--- a/jarvis/brain/tool_use_loop.py
+++ b/jarvis/brain/tool_use_loop.py
@@ -405,6 +405,7 @@ _ANTI_SILENCE_PHRASES: dict[str, str] = {
),
"en": "I can't do that right now — I'm missing the right tool for it.",
"es": "Ahora mismo no puedo hacerlo — me falta la herramienta adecuada.",
+ "pt": "Neste momento não consigo fazer isso — falta-me a ferramenta adequada.",
}
# Meta-/debug feedback acknowledgement. Must NOT narrate background bookkeeping
@@ -415,6 +416,7 @@ _META_DEBUG_ACK_PHRASES: dict[str, str] = {
"de": "Verstanden. Was genau hätte anders sein sollen?", # i18n-allow: spoken German TTS
"en": "Understood. What exactly should have been different?",
"es": "Entendido. ¿Qué debería haber sido diferente?",
+ "pt": "Entendido. O que devia ter sido diferente?",
}
@@ -423,7 +425,7 @@ def _localized_phrase(
) -> str:
"""Pick the phrase variant matching the pin or the user's turn language.
- A pinned ``reply_language`` (de/en/es) wins outright. In ``auto`` mode the
+ A pinned ``reply_language`` (de/en/es/pt) wins outright. In ``auto`` mode the
language is detected from the utterance TEXT — the tool-use loop never
receives the STT language tag (the pipeline resolves the turn language from
that tag separately, and the loop is only handed ``user_utterance``), so we
@@ -939,7 +941,7 @@ class ToolUseLoop:
block tool execution.
``reply_language`` (live bug 2026-06-10): the ``brain.reply_language``
- pin (``auto``/``de``/``en``/``es``) — selects the language of the
+ pin (``auto``/``de``/``en``/``es``/``pt``) — selects the language of the
spoken fallback phrases; ``auto`` mirrors the user's utterance.
"""
tid = trace_id or uuid4()
diff --git a/jarvis/browser_voice/route.py b/jarvis/browser_voice/route.py
index b636977e22..a43b283340 100644
--- a/jarvis/browser_voice/route.py
+++ b/jarvis/browser_voice/route.py
@@ -54,8 +54,8 @@ _SPEECH_STACK_UNAVAILABLE_REASON = (
"provider is missing. Check API Keys."
)
-# BCP-47 from the canonical per-turn resolver (de/en/es).
-_LANG_MAP = {"de": "de-DE", "en": "en-US", "es": "es-ES"}
+# BCP-47 from the canonical per-turn resolver (de/en/es/pt).
+_LANG_MAP = {"de": "de-DE", "en": "en-US", "es": "es-ES", "pt": "pt-PT"}
def browser_voice_enabled(cfg: Any) -> bool:
diff --git a/jarvis/browser_voice/session.py b/jarvis/browser_voice/session.py
index b5db7a7040..c66623acfd 100644
--- a/jarvis/browser_voice/session.py
+++ b/jarvis/browser_voice/session.py
@@ -515,7 +515,7 @@ class BrowserVoiceSession:
)
def _lang_short(self) -> str:
- # scrub_for_voice only knows the runtime locales de/en/es (AP-11, regex
+ # scrub_for_voice only knows the runtime locales de/en/es/pt (AP-11, regex
# only); an unknown tag would silently apply the wrong blacklist.
tag = (self.language_code or "de-DE").split("-", 1)[0].lower()
- return tag if tag in {"de", "en", "es"} else "de"
+ return tag if tag in {"de", "en", "es", "pt"} else "de"
diff --git a/jarvis/clis/capability_provider.py b/jarvis/clis/capability_provider.py
index 9458a155bb..2b66447764 100644
--- a/jarvis/clis/capability_provider.py
+++ b/jarvis/clis/capability_provider.py
@@ -286,6 +286,49 @@ def suppress_plugin_tools_covered_by_cli(
return tools
+# Spoken refusal hints (TTS-safe, leading space: appended to a refusal).
+# Placeholder {name} is the CLI's display name.
+_REFUSAL_HINTS: dict[str, dict[str, str]] = {
+ "de": {
+ "installed": (
+ " Die {name} ist installiert, aber noch nicht verbunden" # i18n-allow
+ " — sag Bescheid, dann richten wir das ein." # i18n-allow
+ ),
+ "catalog": (
+ " Im CLI-Katalog gibt es dafür die {name}" # i18n-allow
+ " — ich kann sie mit dir einrichten." # i18n-allow
+ ),
+ },
+ "en": {
+ "installed": (
+ " The {name} is installed but not connected yet"
+ " — say the word and we'll set it up."
+ ),
+ "catalog": " The CLI catalog has {name} for that — I can set it up with you.",
+ },
+ "es": {
+ "installed": (
+ " {name} está instalado, pero aún no está conectado" # i18n-allow
+ " — dímelo y lo configuramos." # i18n-allow
+ ),
+ "catalog": (
+ " En el catálogo de CLI está {name} para eso" # i18n-allow
+ " — puedo configurarlo contigo." # i18n-allow
+ ),
+ },
+ "pt": {
+ "installed": (
+ " {name} está instalado, mas ainda não está ligado" # i18n-allow
+ " — diz-me e configuramos isso." # i18n-allow
+ ),
+ "catalog": (
+ " O catálogo de CLI tem {name} para isso" # i18n-allow
+ " — posso configurá-lo contigo." # i18n-allow
+ ),
+ },
+}
+
+
def refusal_hint(domain: str, cli_registry: Any, lang: str) -> str:
"""One TTS-safe sentence pointing at the closest catalog CLI for *domain*.
@@ -299,25 +342,9 @@ def refusal_hint(domain: str, cli_registry: Any, lang: str) -> str:
if not any(domain in decl.domains for decl in spec.capabilities):
continue
st = status_map.get(spec.name)
- if st is not None and st.installed:
- if lang == "de":
- # Spoken German voice reply (TTS-safe).
- return (
- f" Die {spec.display_name} ist installiert, aber" # i18n-allow
- " noch nicht verbunden — sag Bescheid, dann" # i18n-allow
- " richten wir das ein." # i18n-allow
- )
- return (
- f" The {spec.display_name} is installed but not connected yet"
- " — say the word and we'll set it up."
- )
- if lang == "de":
- # Spoken German voice reply (TTS-safe).
- return (
- f" Im CLI-Katalog gibt es dafür die {spec.display_name}" # i18n-allow
- " — ich kann sie mit dir einrichten." # i18n-allow
- )
- return f" The CLI catalog has {spec.display_name} for that — I can set it up with you."
+ phrases = _REFUSAL_HINTS.get(lang, _REFUSAL_HINTS["en"])
+ key = "installed" if st is not None and st.installed else "catalog"
+ return phrases[key].format(name=spec.display_name)
except Exception: # noqa: BLE001
log.debug("refusal hint failed", exc_info=True)
return ""
diff --git a/jarvis/codex_auth.py b/jarvis/codex_auth.py
index 5e56c88de4..e9d8800c8a 100644
--- a/jarvis/codex_auth.py
+++ b/jarvis/codex_auth.py
@@ -39,7 +39,7 @@ import threading
import time
from collections.abc import Callable
from contextlib import suppress
-from dataclasses import dataclass
+from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
@@ -425,6 +425,18 @@ def codex_login_in(codex_home: Path) -> tuple[bool, str, str | None]:
# ----------------------------------------------------------------------
+#: Every ``CodexAuthStatus.message_code``. The desktop UI translates each one
+#: (``apikeys_codex.status_msg.<code>``); ``tests/unit/ui/test_backend_message_codes.py``
+#: keeps both sides in step.
+CODEX_STATUS_MESSAGE_CODES: tuple[str, ...] = (
+ "not_installed",
+ "not_logged_in",
+ "connected_chatgpt",
+ "connected_chatgpt_email",
+ "connected_api_key",
+)
+
+
@dataclass(frozen=True)
class CodexAuthStatus:
"""Snapshot of the Codex CLI auth state for the UI + provider routes."""
@@ -438,6 +450,10 @@ class CodexAuthStatus:
user_email: str | None = None
binary_path: str = "codex"
error: str | None = None
+ # Stable code + fill-ins for ``message`` (``CODEX_STATUS_MESSAGE_CODES``) so
+ # the desktop UI shows it in the user's language; ``message`` stays English.
+ message_code: str = ""
+ message_params: dict[str, str] = field(default_factory=dict)
def to_dict(self) -> dict[str, Any]:
return {
@@ -445,6 +461,8 @@ class CodexAuthStatus:
"connected": self.connected,
"mode": self.mode,
"message": self.message,
+ "message_code": self.message_code,
+ "message_params": dict(self.message_params),
"version": self.version,
"account_label": self.accountLabel,
"user_email": self.user_email,
@@ -913,6 +931,8 @@ class CodexAuthService:
connected=False,
mode="unknown",
message="Codex CLI is not installed (run: npm i -g @openai/codex).",
+ message_code="not_installed",
+ message_params={"command": "npm i -g @openai/codex"},
binary_path=self._binary_path,
error="codex binary not found",
)
@@ -928,15 +948,18 @@ class CodexAuthService:
if not connected:
message = "Codex is installed but not logged in — run 'codex login'."
+ message_code = "not_logged_in"
account_label: str | None = None
elif mode == "chatgpt":
account_label = "ChatGPT/Codex-Login"
message = (
f"Connected via ChatGPT ({email})." if email else "Connected via ChatGPT."
)
+ message_code = "connected_chatgpt_email" if email else "connected_chatgpt"
else: # api_key
account_label = "OpenAI API key"
message = "Connected via OpenAI API key."
+ message_code = "connected_api_key"
log.info(
"codex status: installed=True connected=%s mode=%s", connected, mode
@@ -946,6 +969,8 @@ class CodexAuthService:
connected=connected,
mode=mode,
message=message,
+ message_code=message_code,
+ message_params={"email": email} if email else {},
version=version,
accountLabel=account_label,
user_email=email,
diff --git a/jarvis/commands/registry.py b/jarvis/commands/registry.py
index 0c8c7f632e..61753424aa 100644
--- a/jarvis/commands/registry.py
+++ b/jarvis/commands/registry.py
@@ -33,7 +33,7 @@ from typing import Any
# Kept static for zero-import-cost; parity-tested against
# jarvis.brain.manager.SUPPORTED_REPLY_LANGUAGES (the authoritative tuple).
-REPLY_LANGUAGES: tuple[str, ...] = ("auto", "de", "en", "es")
+REPLY_LANGUAGES: tuple[str, ...] = ("auto", "de", "en", "es", "pt")
VOICE_MODES: tuple[str, ...] = ("pipeline", "realtime")
@@ -288,6 +288,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("erstelle einen rechercheagenten",), # i18n-allow: input vocab
"en": ("create an agent for researching suppliers",),
"es": ("crea un agente para investigar proveedores",), # i18n-allow: input vocab
+ "pt": ("cria um agente para pesquisar fornecedores",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -310,6 +311,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("ändere Scouts aufgaben",), # i18n-allow: input vocab
"en": ("update Scout's responsibilities",),
"es": ("cambia las responsabilidades de Scout",), # i18n-allow: input vocab
+ "pt": ("muda as responsabilidades do Scout",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -325,6 +327,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche werkzeuge können meine agenten nutzen",), # i18n-allow: input vocab
"en": ("which capabilities can my agents use",),
"es": ("qué capacidades pueden usar mis agentes",), # i18n-allow: input vocab
+ "pt": ("que capacidades podem os meus agentes usar",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -342,6 +345,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche modelle gibt es für meine agenten",), # i18n-allow: input vocab
"en": ("which models are available for my agents",),
"es": ("qué modelos pueden usar mis agentes",), # i18n-allow: input vocab
+ "pt": ("que modelos podem os meus agentes usar",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -366,6 +370,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle das modell von Scout",), # i18n-allow: input vocab
"en": ("change Scout's model",),
"es": ("cambia el modelo de Scout",), # i18n-allow: input vocab
+ "pt": ("muda o modelo do Scout",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -385,6 +390,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("lösche den agenten Scout",), # i18n-allow: input vocab
"en": ("delete the agent Scout",),
"es": ("elimina el agente Scout",), # i18n-allow: input vocab
+ "pt": ("apaga o agente Scout",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -402,6 +408,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche routinen hat Scout",), # i18n-allow: input vocab
"en": ("which routines does Scout have",),
"es": ("qué rutinas tiene Scout",), # i18n-allow: input vocab
+ "pt": ("que rotinas tem o Scout",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -432,6 +439,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("gib mir jeden morgen um acht ein briefing",), # i18n-allow: input vocab
"en": ("give me a briefing every morning at eight",),
"es": ("dame un resumen cada mañana a las ocho",), # i18n-allow: input vocab
+ "pt": ("dá-me um resumo todas as manhãs às oito",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -453,6 +461,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("verschieb das briefing auf sieben uhr",), # i18n-allow: input vocab
"en": ("move the briefing to seven",),
"es": ("mueve el resumen a las siete",), # i18n-allow: input vocab
+ "pt": ("passa o resumo para as sete",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -474,6 +483,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("pausiere das morgenbriefing",), # i18n-allow: input vocab
"en": ("pause the morning briefing",),
"es": ("pausa el resumen de la mañana",), # i18n-allow: input vocab
+ "pt": ("pausa o resumo da manhã",), # i18n-allow: input vocab
},
),
# ------------------------------------------------------ providers
@@ -493,6 +503,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle den brain-provider zu claude",), # i18n-allow: input vocab
"en": ("switch the brain provider to claude",),
"es": ("cambia el proveedor del cerebro a claude",), # i18n-allow: input vocab
+ "pt": ("muda o fornecedor do cérebro para claude",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -507,6 +518,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle die stimme zu elevenlabs",), # i18n-allow: input vocab
"en": ("switch the voice to elevenlabs",),
"es": ("cambia la voz a elevenlabs",), # i18n-allow: input vocab
+ "pt": ("muda a voz para elevenlabs",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -524,6 +536,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle die spracherkennung zu deepgram",), # i18n-allow: input vocab
"en": ("switch speech recognition to deepgram",),
"es": ("cambia el reconocimiento de voz a deepgram",), # i18n-allow: input vocab
+ "pt": ("muda o reconhecimento de voz para deepgram",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -545,6 +558,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle das realtime-modell zu gemini",), # i18n-allow: input vocab
"en": ("switch the realtime model to gemini",),
"es": ("cambia el modelo en tiempo real a gemini",), # i18n-allow: input vocab
+ "pt": ("muda o modelo em tempo real para gemini",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -575,6 +589,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("stelle die lokalen sprachmodelle um",), # i18n-allow: input vocab
"en": ("change the local realtime models",),
"es": ("cambia los modelos de voz locales",), # i18n-allow: input vocab
+ "pt": ("muda os modelos de voz locais",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -592,6 +607,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle den computer-use-provider zu gemini",), # i18n-allow: input vocab
"en": ("switch the computer use provider to gemini",),
"es": ("cambia el proveedor de computer use a gemini",), # i18n-allow: input vocab
+ "pt": ("muda o fornecedor de computer use para gemini",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -609,6 +625,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wechsle den agent-provider zu openai",), # i18n-allow: input vocab
"en": ("switch the agent provider to openai",),
"es": ("cambia el proveedor del agente a openai",), # i18n-allow: input vocab
+ "pt": ("muda o fornecedor do agente para openai",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -623,6 +640,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche provider sind konfiguriert",), # i18n-allow: input vocab
"en": ("which providers are configured",),
"es": ("qué proveedores están configurados",), # i18n-allow: input vocab
+ "pt": ("que fornecedores estão configurados",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -648,6 +666,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("teste den openai-provider",), # i18n-allow: input vocab
"en": ("test the openai provider",),
"es": ("prueba el proveedor de openai",), # i18n-allow: input vocab
+ "pt": ("testa o fornecedor openai",), # i18n-allow: input vocab
},
),
# ------------------------------------------------- voice & language
@@ -678,6 +697,12 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("antworte ab jetzt auf englisch",), # i18n-allow: input vocab
"en": ("answer in german from now on",),
"es": ("responde en inglés a partir de ahora",), # i18n-allow: input vocab
+ "pt": ( # i18n-allow: input vocab
+ "responde em inglês a partir de agora", # i18n-allow: input vocab
+ "responde em português", # i18n-allow: input vocab
+ "fala português", # i18n-allow: input vocab
+ "fala comigo em português", # i18n-allow: input vocab
+ ),
},
),
AppCommand(
@@ -705,6 +730,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("schalte auf den realtime-modus um",), # i18n-allow: input vocab
"en": ("switch to realtime mode",),
"es": ("cambia al modo en tiempo real",), # i18n-allow: input vocab
+ "pt": ("muda para o modo em tempo real",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -719,6 +745,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("wie lautet mein wake word",), # i18n-allow: input vocab
"en": ("what is my wake word",),
"es": ("cuál es mi palabra de activación",), # i18n-allow: input vocab
+ "pt": ("qual é a minha palavra de ativação",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -741,6 +768,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("ändere mein wake word zu nova",), # i18n-allow: input vocab
"en": ("change my wake word to nova",),
"es": ("cambia mi palabra de activación a nova",), # i18n-allow: input vocab
+ "pt": ("muda a minha palavra de ativação para nova",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -768,6 +796,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("stell die lautstärke auf 50 prozent",), # i18n-allow: input vocab
"en": ("set the voice volume to 50 percent",),
"es": ("pon el volumen de la voz al 50 por ciento",), # i18n-allow: input vocab
+ "pt": ("põe o volume da voz a 50 por cento",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -782,6 +811,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche audiogeräte gibt es",), # i18n-allow: input vocab
"en": ("list my audio devices",),
"es": ("qué dispositivos de audio hay",), # i18n-allow: input vocab
+ "pt": ("que dispositivos de áudio há",), # i18n-allow: input vocab
},
),
# ------------------------------------------------ knowledge & history
@@ -816,6 +846,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("trag das in mein wiki ein",), # i18n-allow: input vocab
"en": ("store that in my wiki",),
"es": ("guarda eso en mi wiki",), # i18n-allow: input vocab
+ "pt": ("guarda isso na minha wiki",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -841,6 +872,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("lies die letzte transkription",), # i18n-allow: input vocab
"en": ("read the latest transcript",),
"es": ("lee la última transcripción",), # i18n-allow: input vocab
+ "pt": ("lê a última transcrição",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -862,6 +894,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche tools mcps und clis sind verbunden",), # i18n-allow: input vocab
"en": ("list the connected tools mcps and clis",),
"es": ("lista las herramientas mcps y clis conectadas",), # i18n-allow: input vocab
+ "pt": ("lista as ferramentas mcps e clis ligadas",), # i18n-allow: input vocab
},
),
# ------------------------------------------------------ marketplace
@@ -891,6 +924,10 @@ def _build_registry() -> tuple[AppCommand, ...]:
"qué hay en el mercado",
"qué skills puedo instalar",
),
+ "pt": ( # i18n-allow: input vocab
+ "o que há no mercado",
+ "que skills posso instalar",
+ ),
},
),
AppCommand(
@@ -940,6 +977,10 @@ def _build_registry() -> tuple[AppCommand, ...]:
"instala ese skill",
"instala ese complemento del mercado",
),
+ "pt": ( # i18n-allow: input vocab
+ "instala essa skill",
+ "instala esse plugin do mercado",
+ ),
},
),
# -------------------------------------------------------- dictation
@@ -971,6 +1012,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("starte das diktat", "diktier-modus an"), # i18n-allow: input vocab
"en": ("start dictation", "turn on dictation mode"),
"es": ("inicia el dictado", "activa el modo dictado"), # i18n-allow: input vocab
+ "pt": ("começa o ditado", "ativa o modo de ditado"), # i18n-allow: input vocab
},
),
AppCommand(
@@ -984,6 +1026,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("stopp das diktat", "diktier-modus aus"), # i18n-allow: input vocab
"en": ("stop dictation", "turn off dictation mode"),
"es": ("detén el dictado", "desactiva el modo dictado"), # i18n-allow: input vocab
+ "pt": ("para o ditado", "desativa o modo de ditado"), # i18n-allow: input vocab
},
),
# ----------------------------------------------------------- system
@@ -999,6 +1042,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("starte jarvis neu",), # i18n-allow: input vocab
"en": ("restart jarvis",),
"es": ("reinicia jarvis",), # i18n-allow: input vocab
+ "pt": ("reinicia o jarvis",), # i18n-allow: input vocab
},
),
# ----------------------------------------------- missions & tasks
@@ -1014,6 +1058,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("zeig mir die missionen",), # i18n-allow: input vocab
"en": ("show me the missions",),
"es": ("muéstrame las misiones",), # i18n-allow: input vocab
+ "pt": ("mostra-me as missões",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1042,6 +1087,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("was hat die mission herausgefunden",), # i18n-allow: input vocab
"en": ("what did the mission find",),
"es": ("qué encontró la misión",), # i18n-allow: input vocab
+ "pt": ("o que encontrou a missão",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1064,6 +1110,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("brich die mission ab",), # i18n-allow: input vocab
"en": ("cancel the mission",),
"es": ("cancela la misión",), # i18n-allow: input vocab
+ "pt": ("cancela a missão",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1078,6 +1125,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("zeig mir meine aufgaben",), # i18n-allow: input vocab
"en": ("show me my tasks",),
"es": ("muéstrame mis tareas",), # i18n-allow: input vocab
+ "pt": ("mostra-me as minhas tarefas",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1100,6 +1148,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("brich die aufgabe ab",), # i18n-allow: input vocab
"en": ("cancel the task",),
"es": ("cancela la tarea",), # i18n-allow: input vocab
+ "pt": ("cancela a tarefa",), # i18n-allow: input vocab
},
),
# ------------------------------------------------------------ skills
@@ -1129,6 +1178,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("welche skills habe ich", "zeig mir meine skills"), # i18n-allow: vocab
"en": ("which skills do i have", "show me my skills"),
"es": ("qué skills tengo", "muéstrame mis skills"), # i18n-allow: vocab
+ "pt": ("que skills tenho", "mostra-me as minhas skills"), # i18n-allow: vocab
},
),
AppCommand(
@@ -1157,6 +1207,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("aktiviere den skill", "schalte den skill ein"), # i18n-allow: input vocab
"en": ("enable the skill", "switch the skill on"),
"es": ("activa el skill",), # i18n-allow: input vocab
+ "pt": ("ativa a skill",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1184,6 +1235,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("deaktiviere den skill", "schalte den skill aus"), # i18n-allow: input vocab
"en": ("disable the skill", "switch the skill off"),
"es": ("desactiva el skill",), # i18n-allow: input vocab
+ "pt": ("desativa a skill",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1211,6 +1263,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("lösch den skill",), # i18n-allow: input vocab
"en": ("delete the skill",),
"es": ("elimina el skill",), # i18n-allow: input vocab
+ "pt": ("apaga a skill",), # i18n-allow: input vocab
},
),
# ------------------------------------------------------- agentic IDE
@@ -1240,6 +1293,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("was läuft in der agentic ide",), # i18n-allow: input vocab
"en": ("what is running in the agentic ide",),
"es": ("qué se está ejecutando en el ide agéntico",), # i18n-allow: input vocab
+ "pt": ("o que está a correr no ide agêntico",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1279,6 +1333,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("was macht mika",), # i18n-allow: input vocab
"en": ("what is mika doing",),
"es": ("qué está haciendo mika",), # i18n-allow: input vocab
+ "pt": ("o que está a mika a fazer",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1351,6 +1406,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("sag mika sie soll die tests laufen lassen",), # i18n-allow: input vocab
"en": ("tell mika to run the tests",),
"es": ("dile a mika que ejecute las pruebas",), # i18n-allow: input vocab
+ "pt": ("diz à mika para correr os testes",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1451,6 +1507,9 @@ def _build_registry() -> tuple[AppCommand, ...]:
),
"en": ("open a terminal and have it fix the tests",),
"es": ("abre una terminal y que arregle las pruebas",), # i18n-allow: input vocab
+ "pt": ( # i18n-allow: input vocab
+ "abre um terminal e põe-no a corrigir os testes", # i18n-allow: input vocab
+ ),
},
),
AppCommand(
@@ -1502,6 +1561,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("spawne fünf neue terminals",), # i18n-allow: input vocab
"en": ("spawn five new claude code terminals",),
"es": ("abre dos terminales de codex",), # i18n-allow: input vocab
+ "pt": ("abre dois terminais de codex",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1537,6 +1597,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("benenne t1 in frontend um",), # i18n-allow: input vocab
"en": ("rename t1 to frontend",),
"es": ("renombra t1 a frontend",), # i18n-allow: input vocab
+ "pt": ("muda o nome do t1 para frontend",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1579,6 +1640,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("tausche mika und nova",), # i18n-allow: input vocab
"en": ("swap mika and nova",),
"es": ("intercambia mika y nova",), # i18n-allow: input vocab
+ "pt": ("troca a mika e a nova",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1609,6 +1671,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("schließe alle codex terminals",), # i18n-allow: input vocab
"en": ("close all codex terminals",),
"es": ("cierra todas las terminales de codex",), # i18n-allow: input vocab
+ "pt": ("fecha todos os terminais de codex",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1636,6 +1699,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("geh in den coding modus",), # i18n-allow: input vocab
"en": ("switch into coding mode",),
"es": ("entra en el modo de programación",), # i18n-allow: input vocab
+ "pt": ("entra no modo de programação",), # i18n-allow: input vocab
},
),
AppCommand(
@@ -1661,6 +1725,7 @@ def _build_registry() -> tuple[AppCommand, ...]:
"de": ("stell meine terminals wieder her",), # i18n-allow: input vocab
"en": ("resume all my coding sessions",),
"es": ("restaura mis terminales",), # i18n-allow: input vocab
+ "pt": ("retoma os meus terminais",), # i18n-allow: input vocab
},
),
)
diff --git a/jarvis/core/config.py b/jarvis/core/config.py
index 39b7effd9b..1f51a7cb6d 100644
--- a/jarvis/core/config.py
+++ b/jarvis/core/config.py
@@ -1636,7 +1636,7 @@ class BrainConfig(BaseModel):
validation_alias=AliasChoices("tool_model", "computer_use"),
)
# User-facing reply language pin (desktop "Languages" view → Reply Language).
- # "auto" mirrors the user's input language (DE/EN/ES); "de"/"en"/"es" force
+ # "auto" mirrors the user's input language (DE/EN/ES/PT); "de"/"en"/"es"/"pt" force
# that language as a hard rule for every Jarvis reply. Consumed by
# ``BrainManager._reply_language_directive``. Persisted via
# ``config_writer.set_reply_language``.
@@ -2144,7 +2144,7 @@ class UIConfig(BaseModel):
# value, so a voice command or the Control API can change it and the open UI
# switches live (a ConfigReloaded / UiLanguageChanged event reaches the
# frontend over /ws). Distinct from brain.reply_language (what Jarvis SPEAKS).
- language: Literal["en", "de", "es", "zh"] = "en"
+ language: Literal["en", "de", "es", "pt", "zh"] = "en"
# Colour theme of the whole desktop app: "dark" (the product default —
# matte black + signal yellow), "light" (warm paper + dark gold), or
# "system" (follow the OS appearance, re-evaluated live when the OS flips).
diff --git a/jarvis/core/config_writer.py b/jarvis/core/config_writer.py
index 8ae8e23982..8ad1aa3c8c 100644
--- a/jarvis/core/config_writer.py
+++ b/jarvis/core/config_writer.py
@@ -1117,7 +1117,8 @@ def set_reply_language(name: str, *, path: Path = DEFAULT_CONFIG_FILE) -> None:
def set_ui_language(name: str, *, path: Path = DEFAULT_CONFIG_FILE) -> None:
"""Persist the interface (display) language in ``[ui] language``.
- ``name`` is one of ``en`` | ``de`` | ``es`` | ``zh`` (validated by the caller).
+ ``name`` is one of ``en`` | ``de`` | ``es`` | ``pt`` | ``zh`` (validated by the
+ caller).
This is the backend home for what used to be a frontend-only localStorage value,
so a voice command / the Control API can change the visible app language and
the open UI switches live (the change is broadcast over /ws).
@@ -1974,7 +1975,7 @@ def set_brain_provider_defaults(
_TTS_DEFAULTS: dict[str, dict[str, str]] = {
"inworld": {
# Inworld reads its per-language voices from the [tts.inworld] subtable
- # (voice_de/voice_en/voice_es), NOT [tts].voice_de — same pattern as
+ # (voice_de/voice_en/voice_es/voice_pt), NOT [tts].voice_de — same pattern as
# Cartesia. The scalar voice_de/voice_en are placeholders never consumed
# by the Inworld factory path. [tts].model is ignored too (the model
# comes from [tts.inworld].model or the plugin default inworld-tts-2), so
@@ -2077,13 +2078,15 @@ _TTS_DEFAULTS: dict[str, dict[str, str]] = {
# and picks the matching installed voice per turn. Inheriting a
# predecessor's pinned "de-DE" would therefore hard-wire every answer to
# the German voice, including the ones the resolver decided to speak in
- # English or Spanish — the runtime-language doctrine broken by a leftover
+ # English, Spanish or Portuguese — the runtime-language doctrine broken by a leftover
# config value rather than by any code. "auto" keeps the decision where
# it belongs.
#
- # The voices are the two the installer actually fetches
- # (PIPER_DEFAULT_VOICES in jarvis/speech/local_models.py). They are named
- # rather than left blank so switching away from a cloud provider does not
+ # The installer fetches one voice per reply language — German,
+ # English, Spanish and Portuguese (PIPER_DEFAULT_VOICES in
+ # jarvis/speech/local_models.py); the German and English ones fill the
+ # two voice keys below, and the plugin finds the others by language.
+ # They are named rather than left blank so switching away from a cloud provider does not
# leave "Charon" sitting in the block: the resolver tolerates an unknown
# name, but the settings screen would keep showing a voice this provider
# cannot speak with. There is no [tts].model concept for Piper.
@@ -2111,6 +2114,7 @@ _VOICES_FOR_PROVIDER: dict[str, frozenset[str]] = {
"vits-piper-en_US-amy-medium",
"vits-piper-es_ES-davefx-medium",
"vits-piper-es_ES-sharvard-medium",
+ "vits-piper-pt_PT-tugao-medium",
}
),
"gemini-flash-tts": frozenset(
diff --git a/jarvis/core/delegation.py b/jarvis/core/delegation.py
index ca18e1fb14..6c407e17cf 100644
--- a/jarvis/core/delegation.py
+++ b/jarvis/core/delegation.py
@@ -69,6 +69,11 @@ def result_announcement(
"needs_input": "necesita tu respuesta", "blocked": "está bloqueado",
"failed": "ha fallado", "exited": "ha terminado",
},
+ "pt": {
+ "done": "informa", "completed": "terminou", "stopped": "foi interrompido",
+ "needs_input": "precisa da tua resposta", "blocked": "está bloqueado",
+ "failed": "falhou", "exited": "saiu",
+ },
}
table = labels.get(lang, labels["en"])
label = table.get(status, table["done"])
diff --git a/jarvis/core/macos_privacy_strings.py b/jarvis/core/macos_privacy_strings.py
index 747d33f695..aa81abb289 100644
--- a/jarvis/core/macos_privacy_strings.py
+++ b/jarvis/core/macos_privacy_strings.py
@@ -108,7 +108,7 @@ def usage_descriptions() -> dict[str, str]:
return dict(_USAGE_DESCRIPTIONS)
-# --- Localisation (German and Spanish) ----------------------------------------
+# --- Localisation (German, Spanish and European Portuguese) ------------------
#
# macOS shows the usage string of the user's preferred language when the bundle
# is localised for it: ``Contents/Resources/<lang>.lproj/InfoPlist.strings``
@@ -118,13 +118,14 @@ def usage_descriptions() -> dict[str, str]:
# it. The two bundles share this one table: ``jarvis.spec`` lists the languages in
# its plist and ``packaging/macos/add_localizations.py`` writes the files into the
# built ``.dmg`` app before it is signed; the managed bundle does both itself.
-# The wording follows the English table and the in-app German/Spanish copy ("du" /
-# "tu"). German and Spanish are allowed here because this is the closed product
-# surface (``scripts/ci/german-allowlist.txt``). That macOS shows these strings in
-# the permission dialog of a localised system is UNVERIFIED (no Mac was available).
+# The wording follows the English table and the in-app German/Spanish/Portuguese
+# copy ("du" / "tu"). German, Spanish and Portuguese are allowed here because this
+# is the closed product surface (``scripts/ci/german-allowlist.txt``). That macOS
+# shows these strings in the permission dialog of a localised system is UNVERIFIED
+# (no Mac was available).
#: Languages the bundles ship an Info.plist for; ``en`` is the base text.
-LOCALIZATIONS: tuple[str, ...] = ("en", "de", "es")
+LOCALIZATIONS: tuple[str, ...] = ("en", "de", "es", "pt-PT")
#: ``CFBundleDevelopmentRegion``: the language of the base ``Info.plist`` strings.
DEVELOPMENT_REGION = "en"
@@ -204,6 +205,42 @@ _LOCALIZED_USAGE_DESCRIPTIONS: dict[str, dict[str, str]] = {
"un servidor de IA local."
),
},
+ # European Portuguese. Apple names the bundle localisation ``pt-PT``
+ # (``pt-PT.lproj``); a bare ``pt`` would be read as Brazilian Portuguese.
+ "pt-PT": {
+ "NSMicrophoneUsageDescription": (
+ f"{PRODUCT_NAME} usa o microfone quando ditas, falas com o Dodaios "
+ "ou ativas a palavra de ativação."
+ ),
+ "NSScreenCaptureUsageDescription": (
+ f"{PRODUCT_NAME} captura o ecrã quando lhe pedes para ver o que lá "
+ "está ou para controlar uma app por ti."
+ ),
+ "NSAppleEventsUsageDescription": (
+ f"{PRODUCT_NAME} envia comandos a outras apps, como um leitor de "
+ "música ou um terminal, quando uma funcionalidade que usas precisa."
+ ),
+ "NSDesktopFolderUsageDescription": (
+ f"{PRODUCT_NAME} trabalha com ficheiros da tua pasta Secretária quando lho pedes."
+ ),
+ "NSDocumentsFolderUsageDescription": (
+ f"{PRODUCT_NAME} trabalha com ficheiros da tua pasta Documentos quando lho pedes."
+ ),
+ "NSDownloadsFolderUsageDescription": (
+ f"{PRODUCT_NAME} trabalha com ficheiros da tua pasta Transferências quando lho pedes."
+ ),
+ "NSRemovableVolumesUsageDescription": (
+ f"{PRODUCT_NAME} trabalha com ficheiros de um disco externo quando lho pedes."
+ ),
+ "NSNetworkVolumesUsageDescription": (
+ f"{PRODUCT_NAME} trabalha com ficheiros de um disco de rede quando lho pedes."
+ ),
+ "NSLocalNetworkUsageDescription": (
+ f"{PRODUCT_NAME} liga-se a dispositivos e servidores da tua rede "
+ "local que configuraste, como um hub de casa inteligente ou um "
+ "servidor de IA local."
+ ),
+ },
}
#: The languages that get an ``<lang>.lproj/InfoPlist.strings`` (English is the base).
@@ -211,7 +248,7 @@ LOCALIZED_LANGUAGES: tuple[str, ...] = tuple(_LOCALIZED_USAGE_DESCRIPTIONS)
def localized_usage_descriptions(language: str) -> dict[str, str]:
- """A fresh ``{Info.plist key: usage string}`` dict for ``language`` (``de`` / ``es``)."""
+ """A fresh ``{Info.plist key: usage string}`` dict for ``language`` (e.g. ``de``, ``pt-PT``)."""
return dict(_LOCALIZED_USAGE_DESCRIPTIONS[language])
diff --git a/jarvis/core/self_mod/overrides.py b/jarvis/core/self_mod/overrides.py
index abc585f292..ee9a329e2e 100644
--- a/jarvis/core/self_mod/overrides.py
+++ b/jarvis/core/self_mod/overrides.py
@@ -49,7 +49,7 @@ OVERRIDES: dict[str, SpecOverride] = {
"ui.language": SpecOverride(
risk_tier="safe", needs_restart=False,
description=(
- "Interface / display language of the whole app (en/de/es/zh) — what "
+ "Interface / display language of the whole app (en/de/es/pt/zh) — what "
"the user SEES. Applies live, no restart."
),
),
@@ -60,7 +60,7 @@ OVERRIDES: dict[str, SpecOverride] = {
"brain.reply_language": SpecOverride(
risk_tier="safe", needs_restart=False,
description=(
- "Reply language for spoken/chat output (auto/de/en/es). Canonical "
+ "Reply language for spoken/chat output (auto/de/en/es/pt). Canonical "
"language setting; applies to the next turn (no restart)."
),
),
diff --git a/jarvis/core/turn_language.py b/jarvis/core/turn_language.py
index becda3a125..d8f6f1dff0 100644
--- a/jarvis/core/turn_language.py
+++ b/jarvis/core/turn_language.py
@@ -1,4 +1,4 @@
-"""Turn-language detection and resolution (de / en / es).
+"""Turn-language detection and resolution (de / en / es / pt).
Live forensic 2026-06-10 23:12 (data/jarvis_desktop.log): ``[stt].language``
pins Groq Whisper to German, and Whisper echoes the pin back in its response —
@@ -12,9 +12,11 @@ This module is the single source of truth for the language of a turn:
* :func:`detect_text_language` — cheap token-overlap heuristic over the
transcribed text. Returns a code only when the text is clearly one language;
``"unknown"`` otherwise (single proper nouns, "ok", ...). Tokens shared by
- two of the three languages ("in", "an", "es", "was", "me", "no", "a") are
- deliberately excluded from all sets — the historical "'in' counts as EN"
- trap.
+ two of the supported languages ("in", "an", "es", "was", "me", "no", "a",
+ "que", "para", "um", "das") are deliberately excluded from all sets — the
+ historical "'in' counts as EN" trap. Spanish and Portuguese share most
+ accented vowels, so only their distinctive characters (``ñ ¿ ¡`` versus
+ ``ã õ ç â ê ô à``) are strong script signals.
* :func:`normalize_language_tag` — maps the two tag shapes seen live (Whisper
language NAMES like ``"german"`` from the cloud API, ISO codes like ``"de"``
from local faster-whisper, BCP-47 like ``"de-DE"``) to plain codes, so
@@ -55,7 +57,7 @@ DEFAULT_LOCALE = "en"
#: The codes an explicit ``brain.reply_language`` pin may carry (``"auto"`` is
#: deliberately absent — it means "no pin, mirror the input").
-_REPLY_PINS: frozenset[str] = frozenset({"de", "en", "es"})
+_REPLY_PINS: frozenset[str] = frozenset({"de", "en", "es", "pt"})
#: A turn with at most this many word tokens is a "thin" turn — a one- or
#: two-word interjection ("Now", "Stop now", "jetzt", a lone loanword). A thin
@@ -72,20 +74,27 @@ _TOKEN_RE = re.compile(r"\b[\w']+\b", re.UNICODE)
_LANGUAGE_REQUEST_RE = re.compile(
r"(?:jarvis[\s,]+)?"
r"(?:(?:please|bitte|por favor)[\s,]+)?" # i18n-allow
- r"(?:(?:always|from now on|immer|ab jetzt|siempre|a partir de ahora)\s+)?" # i18n-allow
- r"(?:(?:can|could|would) you\s+|(?:kannst|könntest) du\s+|puedes\s+)?" # i18n-allow
+ r"(?:(?:always|from now on|immer|ab jetzt|siempre|a partir de ahora|sempre" # i18n-allow
+ r"|a partir de agora)\s+)?" # i18n-allow
+ r"(?:(?:can|could|would) you\s+|(?:kannst|könntest) du\s+|puedes\s+" # i18n-allow
+ r"|(?:podes|consegues|pode|podia|podias)\s+)?" # i18n-allow
r"(?:(?:please|bitte|por favor)\s+)?" # i18n-allow
r"(?:(?:speak|reply|respond|answer|write|continue|switch)(?:\s+to me)?\s+"
r"|(?:sprich|spreche|antworte|antworten|schreib|schreibe|rede|wechsel|wechsle)\s+" # i18n-allow
r"|(?:sollst|du sollst)\s+" # i18n-allow
- r"|(?:habla|háblame|responde|contesta|escribe|cambia)\s+)?"
+ r"|(?:habla|háblame|responde|contesta|escribe|cambia)\s+"
+ r"|(?:fala|fale|falar|responde|responda|responder|escreve|escreva|escrever" # i18n-allow
+ r"|muda|mude|passa|continua)(?:-me)?(?:\s+comigo)?\s+)?" # i18n-allow
r"(?:(?:please|bitte|por favor)\s+)?" # i18n-allow
- r"(?:(?:always|from now on|immer|ab jetzt|siempre|a partir de ahora)\s+)?" # i18n-allow
- r"(?:(?:in|auf|en|to|zu|a)\s+)?" # i18n-allow
+ r"(?:(?:always|from now on|immer|ab jetzt|siempre|a partir de ahora|sempre" # i18n-allow
+ r"|a partir de agora)\s+)?" # i18n-allow
+ r"(?:(?:in|auf|en|to|zu|a|em|para)\s+)?" # i18n-allow
r"(?P<language>deutsch|german|alemán|aleman|english|englisch|inglés|ingles" # i18n-allow
- r"|español|espanol|spanish|spanisch)" # i18n-allow
+ r"|español|espanol|spanish|spanisch" # i18n-allow
+ r"|português|portugues|portugués|portuguese|portugiesisch" # i18n-allow
+ r"|alemão|alemao|inglês|espanhol)" # i18n-allow
r"(?:\s+(?:antworten|sprechen))?" # i18n-allow
- r"(?:[\s,]+(?:please|bitte|por favor|now|jetzt|ahora))?" # i18n-allow
+ r"(?:[\s,]+(?:please|bitte|por favor|now|jetzt|ahora|agora))?" # i18n-allow
r"[\s.!?]*",
re.IGNORECASE,
)
@@ -93,6 +102,9 @@ _REQUEST_LANGUAGE_CODES = {
"deutsch": "de", "german": "de", "alemán": "de", "aleman": "de", # i18n-allow
"english": "en", "englisch": "en", "inglés": "en", "ingles": "en", # i18n-allow
"español": "es", "espanol": "es", "spanish": "es", "spanisch": "es", # i18n-allow
+ "português": "pt", "portugues": "pt", "portugués": "pt", # i18n-allow
+ "portuguese": "pt", "portugiesisch": "pt", # i18n-allow
+ "alemão": "de", "alemao": "de", "inglês": "en", "espanhol": "es", # i18n-allow
}
# Output validation deliberately ignores code and links. They frequently carry
@@ -151,13 +163,17 @@ class OutputLanguageValidation:
return self.status == "mismatch"
-# Strong script signals: German-specific letters and Spanish punctuation or
-# accented vowels (minus the pan-European acute-e) are useful hints.
+# Strong script signals: German-specific letters, Spanish ñ and inverted
+# punctuation, and Portuguese nasal vowels, cedilla and circumflexes. The acute
+# vowels á/í/ó/ú are written in BOTH Spanish and Portuguese, so they only add a
+# weak point to each of the two (the pan-European acute-e counts for nothing).
_DE_SCRIPT_RE = re.compile(r"[äöüÄÖÜß]") # i18n-allow: German-script regex
-_ES_SCRIPT_RE = re.compile(r"[áíóúñÁÍÓÚÑ¿¡]")
+_ES_SCRIPT_RE = re.compile(r"[ñÑ¿¡]")
+_PT_SCRIPT_RE = re.compile(r"[ãõçâêôàÃÕÇÂÊÔÀ]")
+_IBERIAN_ACUTE_RE = re.compile(r"[áíóúÁÍÓÚ]")
# Function-word sets, kept mutually disjoint. Words common to more than one of
-# the three languages are excluded on purpose (see module docstring).
+# the supported languages are excluded on purpose (see module docstring).
_DE_TOKENS: frozenset[str] = frozenset({
"der", "die", "das", "den", "dem", "des", "ein", "eine", "einen", "einem", # i18n-allow
"und", "oder", "aber", "nicht", "ist", "sind", "bin", "bist", "wird", # i18n-allow
@@ -182,33 +198,54 @@ _EN_TOKENS: frozenset[str] = frozenset({
"be", "been", "i'm", "i", "we", "they", "he", "she", "weather",
"yesterday",
})
+# Spanish words also common in Portuguese ("que", "como", "por", "favor",
+# "para", "está", "estás", "abre", "clima") are excluded.
_ES_TOKENS: frozenset[str] = frozenset({
- "el", "la", "los", "las", "un", "una", "unos", "unas", "qué", "que",
- "cómo", "como", "cuándo", "cuando", "dónde", "donde", "quién", "quien",
- "por", "favor", "para", "hace", "hacer", "hoy", "mañana", "ahora",
- "está", "estás", "estoy", "tiempo", "gracias", "hola", "sí", "puedes",
- "puedo", "quiero", "necesito", "dime", "dame", "abre", "muestra", "lee",
- "escribe", "y", "pero", "con", "del", "al", "muy", "bien", "clima",
+ "el", "la", "los", "las", "un", "una", "unos", "unas", "qué",
+ "cómo", "cuándo", "cuando", "dónde", "donde", "quién", "quien",
+ "hace", "hacer", "hoy", "mañana", "ahora", "estoy", "tiempo", "gracias",
+ "hola", "sí", "puedes", "puedo", "puede", "quiero", "necesito", "dime",
+ "dame", "muestra", "lee", "escribe", "y", "pero", "con", "del", "al",
+ "muy", "bien", "hay", "yo", "tú", "lo", "eso", "esto", "también",
+ "entonces", "tengo",
+})
+# Portuguese words also common in Spanish, German or English ("que", "para",
+# "está", "da", "dos", "das", "um", "as", "do", "o", "e", "na", "tu", "porque",
+# "com" — a ".com" domain) are excluded.
+_PT_TOKENS: frozenset[str] = frozenset({
+ "não", "nao", "você", "voce", "obrigado", "obrigada", "também", "tambem",
+ "então", "entao", "isso", "isto", "muito", "muita", "uma", "os", "ao",
+ "à", "pelo", "pela", "num", "numa", "eu", "ele", "ela", "nós", "sim",
+ "olá", "ola", "bom", "boa", "fazer", "faz", "ficheiro", "ecrã", "agora",
+ "quando", "mais", "já", "só", "é", "estou", "tenho", "tens", "podes",
+ "pode", "consegues", "queres", "quero", "vou", "vai", "hoje", "amanhã",
+ "onde", "meu", "minha", "teu", "tua", "sua", "em", "tempo", "ainda",
+ "depois", "tudo", "coisa", "diz", "dizer", "mostra", "escreve", "lê",
+ "são", "foi", "bem", "neste", "nesta", "nesse", "nessa",
})
_SETS: tuple[tuple[str, frozenset[str]], ...] = (
("de", _DE_TOKENS),
("en", _EN_TOKENS),
("es", _ES_TOKENS),
+ ("pt", _PT_TOKENS),
)
# Whisper cloud APIs return language NAMES; local faster-whisper returns ISO
-# codes; some TTS configs use BCP-47. All collapse to de/en/es here.
+# codes; some TTS configs use BCP-47 ("pt-PT", "pt-BR"). All collapse to
+# de/en/es/pt here.
_TAG_TO_CODE: dict[str, str] = {
"de": "de", "deu": "de", "ger": "de", "german": "de", "deutsch": "de",
"en": "en", "eng": "en", "english": "en", "englisch": "en",
"es": "es", "spa": "es", "spanish": "es", "spanisch": "es",
"espanol": "es", "español": "es", "castellano": "es",
+ "pt": "pt", "por": "pt", "portuguese": "pt", "português": "pt", # i18n-allow
+ "portugues": "pt", "portugués": "pt", "portugiesisch": "pt", # i18n-allow
}
def normalize_language_tag(tag: object) -> str:
- """Collapse an STT/TTS language tag to ``de``/``en``/``es``/``unknown``."""
+ """Collapse an STT/TTS tag to ``de``/``en``/``es``/``pt``/``unknown``."""
if not tag:
return "unknown"
head = str(tag).strip().lower().replace("_", "-").split("-", 1)[0]
@@ -216,9 +253,9 @@ def normalize_language_tag(tag: object) -> str:
def detect_text_language(text: str) -> str:
- """Classify *text* as ``de``/``en``/``es`` — or ``unknown`` when unclear.
+ """Classify *text* as ``de``/``en``/``es``/``pt`` — or ``unknown`` when unclear.
- A language must score strictly higher than both others to win; ties and
+ A language must score strictly higher than every other to win; ties and
zero-overlap text (proper nouns, "ok") return ``"unknown"`` so the caller
can fall back to the STT tag.
"""
@@ -227,16 +264,26 @@ def detect_text_language(text: str) -> str:
return "unknown"
tokens = {tok.lower() for tok in _TOKEN_RE.findall(t)}
scores = {code: len(tokens & vocab) for code, vocab in _SETS}
- if _DE_SCRIPT_RE.search(t):
- scores["de"] += 2
- if _ES_SCRIPT_RE.search(t):
- scores["es"] += 2
+ _add_script_scores(t, scores)
best_code, best = max(scores.items(), key=lambda kv: kv[1])
if best == 0 or sum(1 for s in scores.values() if s == best) > 1:
return "unknown"
return best_code
+def _add_script_scores(text: str, scores: dict[str, int]) -> None:
+ """Add the character-level hints shared by input and output detection."""
+ if _DE_SCRIPT_RE.search(text):
+ scores["de"] += 2
+ if _ES_SCRIPT_RE.search(text):
+ scores["es"] += 2
+ if _PT_SCRIPT_RE.search(text):
+ scores["pt"] += 2
+ if _IBERIAN_ACUTE_RE.search(text):
+ scores["es"] += 1
+ scores["pt"] += 1
+
+
def _prose_for_output_validation(text: str) -> str:
"""Remove content whose syntax is not evidence of the reply language."""
prose = unicodedata.normalize("NFC", text or "")
@@ -266,17 +313,14 @@ def _detect_gross_vietnamese_output(text: str, tokens: list[str]) -> bool:
def _detect_strong_supported_output(text: str, tokens: list[str]) -> str:
- """Return de/en/es only when multiple independent prose signals agree."""
+ """Return de/en/es/pt only when multiple independent prose signals agree."""
if len(tokens) < 4:
return "unknown"
scores = {
code: sum(token in vocabulary for token in tokens)
for code, vocabulary in _SETS
}
- if _DE_SCRIPT_RE.search(text):
- scores["de"] += 2
- if _ES_SCRIPT_RE.search(text):
- scores["es"] += 2
+ _add_script_scores(text, scores)
ranked = sorted(scores.items(), key=lambda item: item[1], reverse=True)
(best_code, best_score), (_, second_score) = ranked[:2]
if best_score < 3 or best_score == second_score:
@@ -289,7 +333,7 @@ def validate_output_language(
*,
resolved_language: object,
) -> OutputLanguageValidation:
- """Validate reply *text* against an already-resolved ``de``/``en``/``es``.
+ """Validate reply *text* against a resolved ``de``/``en``/``es``/``pt``.
The target MUST come from :func:`resolve_output_language`; this function
never derives or changes the turn language. It only detects high-confidence
@@ -348,14 +392,14 @@ def resolve_transcript_language(reported: object, text: str) -> str:
one answers "which language do we SPEAK back", where a wrong guess sounds
odd; this one answers "whose word list may DELETE tokens from what the user
said", where a wrong guess removes content and reports success. Returns a
- code (``de`` / ``en`` / ``es``) or ``"unknown"`` — and ``"unknown"`` means
+ code (``de`` / ``en`` / ``es`` / ``pt``) or ``"unknown"`` — and ``"unknown"`` means
*run no language's rules*, never *pick a default*.
Precedence, and the order is the whole point:
1. **A tag we cannot place stays unplaced.** ``detect_text_language`` only
- knows three languages, so letting it overrule a "French" or "ja" tag
- would relabel that utterance as whichever of the three it scored highest
+ knows four languages, so letting it overrule a "French" or "ja" tag
+ would relabel that utterance as whichever of the four it scored highest
on and then run THAT language's word lists over it. ``unknown`` is the
honest answer for ~95 of the 100 recognition languages STT supports.
2. **Otherwise the TEXT outranks a tag that contradicts it.** The cloud
@@ -441,7 +485,7 @@ def resolve_output_language(
default: str = DEFAULT_LOCALE,
conversation_language: object = "",
) -> str:
- """The SINGLE authoritative output language for one turn (de/en/es).
+ """The SINGLE authoritative output language for one turn (de/en/es/pt).
Every spoken or written layer — the deep-brain reply, the ack-brain
preamble, spawn announcements, every canned status / error / clarify /
@@ -452,7 +496,7 @@ def resolve_output_language(
Precedence, highest first:
- 1. an explicit ``brain.reply_language`` pin (``de``/``en``/``es``) — the
+ 1. an explicit ``brain.reply_language`` pin (``de``/``en``/``es``/``pt``) — the
user-selected language wins over everything, including what STT heard;
2. else an explicit language instruction, even a two-word correction;
3. else, in auto mode, conversation stickiness: a "thin" turn (a one- or
@@ -467,7 +511,7 @@ def resolve_output_language(
``reply_language`` is tolerant: case/whitespace-insensitive, and any value
that is not a pin (``"auto"``, ``""``, ``None``, a typo) means "no pin —
- mirror the input". ``conversation_language`` (de/en/es) is the language of
+ mirror the input". ``conversation_language`` (de/en/es/pt) is the language of
the conversation so far; pass ``""`` when none is established yet.
"""
pin = str(reply_language or "").strip().lower()
diff --git a/jarvis/cu/engine.py b/jarvis/cu/engine.py
index c63fe2b6b3..ca0cc5db51 100644
--- a/jarvis/cu/engine.py
+++ b/jarvis/cu/engine.py
@@ -212,7 +212,12 @@ _JUDGE_SYSTEM = (
"* When done:false, state briefly in proof what is still missing."
)
-_LANGUAGE_NAMES = {"de": "German", "en": "English", "es": "Spanish"}
+_LANGUAGE_NAMES = {
+ "de": "German",
+ "en": "English",
+ "es": "Spanish",
+ "pt": "European Portuguese",
+}
def _proof_language_directive(output_language: str | None) -> str:
diff --git a/jarvis/cu/indicator/controller.py b/jarvis/cu/indicator/controller.py
index 0dc768313a..1bf10f93f9 100644
--- a/jarvis/cu/indicator/controller.py
+++ b/jarvis/cu/indicator/controller.py
@@ -56,6 +56,7 @@ _ESC_HINTS: dict[str, str] = {
"de": "Esc zum Abbrechen", # i18n-allow: localized product-surface UI string
"en": "Esc to cancel",
"es": "Esc para cancelar", # i18n-allow: localized product-surface UI string
+ "pt": "Esc para cancelar", # i18n-allow: localized product-surface UI string
}
_QUIT_GRACE_S = 1.5
diff --git a/jarvis/dictation/cleanup.py b/jarvis/dictation/cleanup.py
index 87f5729879..cf82630467 100644
--- a/jarvis/dictation/cleanup.py
+++ b/jarvis/dictation/cleanup.py
@@ -95,6 +95,17 @@ FILLER_WORDS: dict[str, tuple[str, ...]] = {
"ehh", "ehhh", "em", "emm",
"mm", "mmm", "ajá", "aja",
),
+ # European Portuguese: hesitation SOUNDS only. The discourse markers a
+ # Portuguese speaker also leans on ("pois", "tipo", "portanto", "pronto",
+ # "então", "quer dizer") are content words — "o tipo de ficheiro", "está
+ # pronto", "o que quer dizer isto" — and fail the admission rule above.
+ # Bare "hum" stays out for the reason "um" left English: it is an English
+ # content word ("the hum of the fan"); the longer spellings are not.
+ "pt": ( # i18n-allow: speech-recognition input vocabulary (§1 list #3)
+ "humm", "hummm", "ãh", "ãhh", "hã", # i18n-allow: input vocab
+ "ehh", "ehhh", "emm",
+ "hm", "hmm", "hmmm", "mhm", "mm", "mmm",
+ ),
}
#: Languages we have curated rules for. Anything else is a documented no-op.
@@ -115,6 +126,9 @@ _LANGUAGE_NAME_TO_CODE: dict[str, str] = {
"castilian": "es",
"español": "es",
"espanol": "es",
+ "portuguese": "pt",
+ "português": "pt", # i18n-allow: language name
+ "portugues": "pt",
}
# The ceiling exists to catch BROKEN RULES (a content word that slipped into a
diff --git a/jarvis/dictation/polish_guards.py b/jarvis/dictation/polish_guards.py
index 89cf0412eb..3764190eed 100644
--- a/jarvis/dictation/polish_guards.py
+++ b/jarvis/dictation/polish_guards.py
@@ -211,6 +211,8 @@ _META_PREFIX_RE: Final[re.Pattern[str]] = re.compile(
r"|der (?:korrigierte|formatierte) text\b" # i18n-allow: DE meta-preamble
r"|aqu\u00ed (?:est\u00e1|tienes|te dejo)\b"
r"|el texto (?:corregido|formateado)\b"
+ r"|aqui (?:está|tens|fica)\b" # i18n-allow: PT meta-preamble
+ r"|o texto (?:corrigido|formatado)\b" # i18n-allow: PT meta-preamble
r")",
re.IGNORECASE,
)
@@ -310,6 +312,28 @@ _COMMON_WORDS_BASE: Final[dict[str, frozenset[str]]] = {
"todo", "todos", "tras", "tuvo", "unos", "usted", "vale", "vamos", # i18n-allow
"verdad", "veces", # i18n-allow
}),
+ "pt": frozenset({ # i18n-allow: European Portuguese frequency data (§1 list #3)
+ "acho", "agora", "ainda", "algo", "alguma", "algumas", "algum", # i18n-allow
+ "alguns", "ali", "antes", "aqui", "assim", "até", "atrás", # i18n-allow
+ "bastante", "bem", "boa", "bom", "cada", "certo", "claro", "coisa", # i18n-allow
+ "coisas", "começar", "como", "contra", "dentro", "depois", # i18n-allow
+ "desde", "dessa", "desse", "deste", "desta", "dizer", "disse", # i18n-allow
+ "durante", "ela", "elas", "ele", "eles", "embora", "enquanto", # i18n-allow
+ "então", "entre", "essa", "essas", "esse", "esses", "esta", # i18n-allow
+ "está", "estas", "estão", "estava", "estamos", "estar", # i18n-allow
+ "este", "estes", "estou", "exatamente", "fazer", "favor", "feito", # i18n-allow
+ "fica", "ficar", "forma", "fora", "grande", "isso", "isto", "já", # i18n-allow
+ "lugar", "mais", "mesmo", "mesma", "melhor", "menos", "minha", # i18n-allow
+ "muito", "muita", "muitos", "muitas", "nada", "ninguém", "nossa", # i18n-allow
+ "nosso", "nunca", "obrigado", "obrigada", "onde", "ontem", "outra", # i18n-allow
+ "outras", "outro", "outros", "para", "parece", "parte", "pelo", # i18n-allow
+ "pela", "pelos", "pelas", "pode", "podem", "poder", "posso", "pois", # i18n-allow
+ "porque", "portanto", "pouco", "pronto", "quando", "quanto", "quase", # i18n-allow
+ "quer", "quero", "realmente", "sempre", "sido", "só", "sobre", # i18n-allow
+ "talvez", "também", "tanto", "tarde", "tem", "temos", "tenho", # i18n-allow
+ "ter", "tipo", "toda", "todas", "todo", "todos", "tudo", "vamos", # i18n-allow
+ "vezes", "verdade", "você", "amanhã", "hoje", # i18n-allow
+ }),
}
# Spoken number words are common vocabulary AND explicitly licensed to vanish:
@@ -354,6 +378,17 @@ _NUMBER_WORDS: Final[dict[str, frozenset[str]]] = {
"primero", "segundo", "tercero", "quinto", "sexto", "séptimo", # i18n-allow
"octavo", "noveno", "décimo", "medio", "cuarto", "docena", # i18n-allow
}),
+ "pt": frozenset({ # i18n-allow: Portuguese number words (§1 list #3)
+ "zero", "um", "uma", "dois", "duas", "três", "quatro", "cinco", # i18n-allow
+ "seis", "sete", "oito", "nove", "dez", "onze", "doze", "treze", # i18n-allow
+ "catorze", "quinze", "dezasseis", "dezassete", "dezoito", "dezanove", # i18n-allow
+ "vinte", "trinta", "quarenta", "cinquenta", "sessenta", "setenta", # i18n-allow
+ "oitenta", "noventa", "cem", "cento", "mil", "milhão", # i18n-allow
+ "milhões", "primeiro", "primeira", "segundo", "segunda", # i18n-allow
+ "terceiro", "terceira", "quarto", "quarta", "quinto", "sexto", # i18n-allow
+ "sétimo", "oitavo", "nono", "décimo", "primeiramente", # i18n-allow
+ "meio", "metade", "dúzia", # i18n-allow
+ }),
}
# i18n-allow: the tables below are speech-input command vocabulary (§1 list
@@ -403,6 +438,13 @@ _FORMAT_COMMAND_WORDS: Final[dict[str, frozenset[str]]] = {
"línea", "linea", "viñeta", "vineta", "salto", "nueva", "nuevo", # i18n-allow
"siguiente", # i18n-allow
}),
+ "pt": frozenset({ # i18n-allow: Portuguese spoken commands (§1 list #3)
+ "ponto", "pontos", "vírgula", "virgula", "interrogação", # i18n-allow
+ "interrogacao", "exclamação", "exclamacao", "hífen", # i18n-allow
+ "hifen", "travessão", "aspas", "parênteses", "parenteses", # i18n-allow
+ "parágrafo", "paragrafo", "linha", "marcador", "marcadores", # i18n-allow
+ "nova", "novo", "seguinte", "reticências", "reticencias", "barra", # i18n-allow
+ }),
}
#: The lookup the rarity filter actually uses: ordinary vocabulary plus the
@@ -455,6 +497,13 @@ _QUANTITY_WORDS: Final[dict[str, frozenset[str]]] = {
"treinta", "cuarenta", "cincuenta", "sesenta", "setenta", "ochenta", # i18n-allow
"noventa", "cien", "ciento", "mil", "millón", "millones", # i18n-allow
}),
+ "pt": frozenset({ # i18n-allow: Portuguese quantity words (§1 list #3)
+ "zero", "dois", "duas", "três", "quatro", "cinco", "seis", "sete", # i18n-allow
+ "oito", "nove", "dez", "onze", "doze", "treze", "catorze", "quinze", # i18n-allow
+ "dezasseis", "dezassete", "dezoito", "dezanove", "vinte", "trinta", # i18n-allow
+ "quarenta", "cinquenta", "sessenta", "setenta", "oitenta", "noventa", # i18n-allow
+ "cem", "cento", "mil", "milhão", "milhões", # i18n-allow
+ }),
}
@@ -536,6 +585,19 @@ _ESSENTIAL_WORDS: Final[dict[str, frozenset[str]]] = {
"no", "nunca", "jamás", "nada", "nadie", "ninguno", "ninguna", # i18n-allow
"ni", "sin", # i18n-allow
}),
+ "pt": frozenset({ # i18n-allow: European Portuguese grammar data (§1 list #3)
+ "é", "são", "sou", "és", "somos", "era", "eram", "eras", # i18n-allow
+ "foi", "foram", "fui", "seja", "sejam", "fosse", # i18n-allow
+ "está", "estão", "estou", "estás", "estamos", "estava", # i18n-allow
+ "estavam", "esteve", "estiveram", # i18n-allow
+ "há", "havia", "haja", "tem", "têm", "tenho", "tens", "temos", # i18n-allow
+ "tinha", "tinham", # i18n-allow
+ "pode", "podem", "posso", "podes", "podemos", "podia", # i18n-allow
+ "poderia", "poderiam", "deve", "devem", "devo", "deves", # i18n-allow
+ "deveria", "deveriam", "vai", "vão", "vou", "vais", # i18n-allow
+ "não", "nunca", "jamais", "nada", "ninguém", "nenhum", "nenhuma", # i18n-allow
+ "nem", "sem", # i18n-allow
+ }),
}
diff --git a/jarvis/dictation/translate_prompt.py b/jarvis/dictation/translate_prompt.py
index 2fed3bc948..11b632f408 100644
--- a/jarvis/dictation/translate_prompt.py
+++ b/jarvis/dictation/translate_prompt.py
@@ -91,7 +91,8 @@ LANGUAGE_ENGLISH_NAMES: Final[dict[str, str]] = {
"mr": "Marathi", "ms": "Malay", "mt": "Maltese", "my": "Burmese",
"ne": "Nepali", "nl": "Dutch", "nn": "Norwegian Nynorsk",
"no": "Norwegian", "oc": "Occitan", "pa": "Punjabi", "pl": "Polish",
- "ps": "Pashto", "pt": "Portuguese", "ro": "Romanian", "ru": "Russian",
+ "ps": "Pashto", "pt": "European Portuguese", "ro": "Romanian",
+ "ru": "Russian",
"sa": "Sanskrit", "sd": "Sindhi", "si": "Sinhala", "sk": "Slovak",
"sl": "Slovenian", "sn": "Shona", "so": "Somali", "sq": "Albanian",
"sr": "Serbian", "su": "Sundanese", "sv": "Swedish", "sw": "Swahili",
diff --git a/jarvis/google_cli/auth_service.py b/jarvis/google_cli/auth_service.py
index bc91472e1a..727da07610 100644
--- a/jarvis/google_cli/auth_service.py
+++ b/jarvis/google_cli/auth_service.py
@@ -16,7 +16,7 @@ import json
import logging
import os
import sys
-from dataclasses import dataclass
+from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
@@ -114,6 +114,18 @@ def _email_from_accounts(home: Path) -> str | None:
return active if isinstance(active, str) and active else None
+#: Every ``GoogleCliAuthStatus.message_code``. The desktop UI translates each
+#: one (``apikeys_antigravity.status_msg.<code>``);
+#: ``tests/unit/ui/test_backend_message_codes.py`` keeps both sides in step.
+GOOGLE_CLI_STATUS_MESSAGE_CODES: tuple[str, ...] = (
+ "not_installed",
+ "not_logged_in",
+ "connected_subscription",
+ "connected_subscription_email",
+ "connected_api_key",
+)
+
+
@dataclass(frozen=True)
class GoogleCliAuthStatus:
"""Snapshot of the Google CLI login state for the UI + provider routes."""
@@ -127,6 +139,10 @@ class GoogleCliAuthStatus:
user_email: str | None = None
binary_path: str = ""
error: str | None = None
+ # Stable code + fill-ins for ``message`` (``GOOGLE_CLI_STATUS_MESSAGE_CODES``)
+ # so the desktop UI shows it in the user's language; ``message`` stays English.
+ message_code: str = ""
+ message_params: dict[str, str] = field(default_factory=dict)
def to_dict(self) -> dict[str, Any]:
return {
@@ -135,6 +151,8 @@ class GoogleCliAuthStatus:
"mode": self.mode,
"cli_kind": self.cli_kind,
"message": self.message,
+ "message_code": self.message_code,
+ "message_params": dict(self.message_params),
"version": self.version,
"user_email": self.user_email,
"binary_path": self.binary_path,
@@ -187,6 +205,8 @@ class GoogleCliAuthService:
if cli is None:
return GoogleCliAuthStatus(
message=f"No Google CLI found. {antigravity_install_hint()}",
+ message_code="not_installed",
+ message_params={"command": antigravity_install_command(None)},
error="no google cli binary",
)
@@ -202,16 +222,22 @@ class GoogleCliAuthService:
# installed agy shows a bare "Installed" and the user rightly asks
# "installed WHAT?" (test-machine report 2026-07-18).
kind_label = "Antigravity (agy)" if cli.kind == "agy" else "Gemini CLI"
+ message_params: dict[str, str] = {"cli": kind_label}
if not connected:
message = f"{kind_label} installed but not logged in — run the Google login."
+ message_code = "not_logged_in"
elif mode == "oauth-personal":
message = (
f"Connected via Google subscription ({email})."
if email
else "Connected via Google subscription."
)
+ message_code = "connected_subscription_email" if email else "connected_subscription"
+ if email:
+ message_params["email"] = email
else:
message = "Connected via a Google API key."
+ message_code = "connected_api_key"
log.info(
"google cli status: installed=True connected=%s mode=%s kind=%s",
@@ -225,6 +251,8 @@ class GoogleCliAuthService:
mode=mode,
cli_kind=cli.kind,
message=message,
+ message_code=message_code,
+ message_params=message_params,
version=cli.version,
user_email=email,
binary_path=(cli.argv_prefix[0] if cli.argv_prefix else ""),
diff --git a/jarvis/harness/screenshot_only_loop.py b/jarvis/harness/screenshot_only_loop.py
index 6da30ea6d0..d7826583c1 100644
--- a/jarvis/harness/screenshot_only_loop.py
+++ b/jarvis/harness/screenshot_only_loop.py
@@ -1987,11 +1987,12 @@ _READ_DISCIPLINE_BLOCK = (
_READ_PROOF_MAX: int = 600
-#: de/en/es -> the English language name used inside the verifier directive.
+#: de/en/es/pt -> the English language name used inside the verifier directive.
_PROOF_LANGUAGE_NAMES: dict[str, str] = {
"de": "German",
"en": "English",
"es": "Spanish",
+ "pt": "European Portuguese",
}
diff --git a/jarvis/harness/screenshot_only_loop_stable.py b/jarvis/harness/screenshot_only_loop_stable.py
index c077da96da..91d29852cc 100644
--- a/jarvis/harness/screenshot_only_loop_stable.py
+++ b/jarvis/harness/screenshot_only_loop_stable.py
@@ -1772,11 +1772,12 @@ _READ_DISCIPLINE_BLOCK = (
_READ_PROOF_MAX: int = 600
-#: de/en/es -> the English language name used inside the verifier directive.
+#: de/en/es/pt -> the English language name used inside the verifier directive.
_PROOF_LANGUAGE_NAMES: dict[str, str] = {
"de": "German",
"en": "English",
"es": "Spanish",
+ "pt": "European Portuguese",
}
diff --git a/jarvis/jarvisx/overlay/controller.py b/jarvis/jarvisx/overlay/controller.py
index d9ebbebb18..d474d9274d 100644
--- a/jarvis/jarvisx/overlay/controller.py
+++ b/jarvis/jarvisx/overlay/controller.py
@@ -69,6 +69,12 @@ _TEXTS: dict[str, dict[str, str]] = {
"edit": "点击编辑", # i18n-allow: product UI string
"stop": "停止", # i18n-allow: product UI string
},
+ "pt": {
+ "select_capture": "Arrasta para capturar · Esc para cancelar", # i18n-allow: overlay UI
+ "select_record": "Arrasta a área a gravar · Esc para cancelar", # i18n-allow: overlay UI
+ "edit": "Clica para editar", # i18n-allow: localized overlay UI string
+ "stop": "Parar", # i18n-allow: localized overlay UI string
+ },
}
diff --git a/jarvis/live/native.py b/jarvis/live/native.py
index f10a41cc01..bc87ac82bf 100644
--- a/jarvis/live/native.py
+++ b/jarvis/live/native.py
@@ -429,6 +429,8 @@ class NativeLiveVoiceSession(LiveVoiceSession):
{
"type": "provider_error",
"error": "Voice connection lost; actions were not replayed.",
+ # Stable code the desktop UI translates; ``error`` stays.
+ "message_code": "voice_connection_lost",
}
)
finally:
diff --git a/jarvis/live/session.py b/jarvis/live/session.py
index b0ceeaaa88..ddaaa55bef 100644
--- a/jarvis/live/session.py
+++ b/jarvis/live/session.py
@@ -1135,7 +1135,14 @@ class LiveVoiceSession:
log.exception("Live connection terminated")
self._failed = True
self._detail = "The voice connection was lost. Pending actions were not replayed."
- await self._send_json({"type": "provider_error", "error": self._detail})
+ await self._send_json(
+ {
+ "type": "provider_error",
+ "error": self._detail,
+ # Stable code the desktop UI translates; ``error`` stays.
+ "message_code": "voice_connection_lost",
+ }
+ )
finally:
from jarvis.live.runtime import unregister
diff --git a/jarvis/live/subscription.py b/jarvis/live/subscription.py
index ed3d3331b4..265de83baa 100644
--- a/jarvis/live/subscription.py
+++ b/jarvis/live/subscription.py
@@ -402,6 +402,8 @@ class SubscriptionLiveVoiceSession(LiveVoiceSession):
"ChatGPT subscription access could not complete this request. "
"No API key was used."
),
+ # Stable code the desktop UI translates; ``error`` stays.
+ "message_code": "subscription_request_failed",
}
)
if terminal:
diff --git a/jarvis/live/tools.py b/jarvis/live/tools.py
index 887a5f7cf9..72e127b7c4 100644
--- a/jarvis/live/tools.py
+++ b/jarvis/live/tools.py
@@ -43,9 +43,12 @@ _GO_AHEAD_WORDS = frozenset(
# Spanish
"sí", "si", "claro", "vale", "dale", "confirmo", "hazlo", "envía", "envialo",
"envíalo", "adelante",
+ # European Portuguese # i18n-allow: spoken confirmation vocabulary
+ "sim", "avança", "avanca", "força", "forca", "pode", "podes", "faz",
+ "isso", "manda", "envia", "certo", "confirmado",
}
) # fmt: skip
-_APPROVAL_LOCALES = ("de", "en", "es")
+_APPROVAL_LOCALES = ("de", "en", "es", "pt")
_RECENT_SEGMENTS = 4
_REQUEST_TEXT_CHARS = 1200
# Declared before every other tool so the size budget never drops them.
diff --git a/jarvis/marketplace/amd_mcp.py b/jarvis/marketplace/amd_mcp.py
index 0fe64dbd69..327f8c2fba 100644
--- a/jarvis/marketplace/amd_mcp.py
+++ b/jarvis/marketplace/amd_mcp.py
@@ -16,6 +16,38 @@ _PCI_DEVICES = Path("/sys/bus/pci/devices")
_DRM_DEVICES = Path("/sys/class/drm")
+#: The user-facing sentences :func:`amd_unavailable_reason` answers with, keyed
+#: by a stable code the desktop UI translates
+#: (``plugins_view.unavailable_reason.<code>``); the English sentence stays the
+#: API answer and :func:`amd_unavailable_reason_code` maps it back to its code.
+AMD_UNAVAILABLE_REASONS: dict[str, str] = {
+ "amd_unverifiable": (
+ "AMD GPU availability could not be verified from Linux device information. "
+ "Check hardware access and permissions, including container device access."
+ ),
+ "amd_no_gpu": (
+ "No AMD GPU is visible to this connector. A compatible AMD GPU must be exposed "
+ "to this Linux environment before connecting."
+ ),
+ "amd_unsupported_os": (
+ "AMD GPU telemetry is unavailable on this operating system. "
+ "This connector requires a compatible Linux AMD host with AMD SMI."
+ ),
+ "amd_smi_missing": (
+ "AMD SMI is unavailable. Install AMD's supported SMI/ROCm tooling "
+ "on a compatible AMD host. Missing metrics are never reported as zero."
+ ),
+}
+
+
+def amd_unavailable_reason_code(reason: str | None) -> str:
+ """The stable code of an :func:`amd_unavailable_reason` sentence, or ``""``."""
+ for code, sentence in AMD_UNAVAILABLE_REASONS.items():
+ if sentence == reason:
+ return code
+ return ""
+
+
def _amd_hardware_unavailable_reason() -> str | None:
"""Read Linux device metadata only; an installed CLI is not hardware evidence.
@@ -50,28 +82,16 @@ def _amd_hardware_unavailable_reason() -> str | None:
# Hot unplug and unreadable sysfs must not escape into the UI.
incomplete = True
if not readable_root or incomplete:
- return (
- "AMD GPU availability could not be verified from Linux device information. "
- "Check hardware access and permissions, including container device access."
- )
- return (
- "No AMD GPU is visible to this connector. A compatible AMD GPU must be exposed "
- "to this Linux environment before connecting."
- )
+ return AMD_UNAVAILABLE_REASONS["amd_unverifiable"]
+ return AMD_UNAVAILABLE_REASONS["amd_no_gpu"]
def amd_unavailable_reason() -> str | None:
"""Cheap preflight for UI availability; connect still checks actual device data."""
if sys.platform != "linux":
- return (
- "AMD GPU telemetry is unavailable on this operating system. "
- "This connector requires a compatible Linux AMD host with AMD SMI."
- )
+ return AMD_UNAVAILABLE_REASONS["amd_unsupported_os"]
if not shutil.which("amd-smi"):
- return (
- "AMD SMI is unavailable. Install AMD's supported SMI/ROCm tooling "
- "on a compatible AMD host. Missing metrics are never reported as zero."
- )
+ return AMD_UNAVAILABLE_REASONS["amd_smi_missing"]
return _amd_hardware_unavailable_reason()
diff --git a/jarvis/mcp/adapter.py b/jarvis/mcp/adapter.py
index 48171346e4..725438e49c 100644
--- a/jarvis/mcp/adapter.py
+++ b/jarvis/mcp/adapter.py
@@ -33,7 +33,7 @@ log = logging.getLogger(__name__)
# no capability", and the deterministic force-spawn dispatched a heavy mission
# for a plain read-only MCP lookup — before the LLM router ever saw the turn
# (live realtime voice bug 2026-07-14, trace c82aa1a6). Expanding at
-# registration time keeps ``resolve_intent`` language-equal (de/en/es) per the
+# registration time keeps ``resolve_intent`` language-equal (de/en/es/pt) per the
# runtime-output-language contract: no supported language may route worse than
# English.
_VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
@@ -45,24 +45,29 @@ _VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
*("erstelle", "erstellen", "anlege", "anlegen"), # i18n-allow: input vocabulary
*("erzeuge", "erzeugen"), # i18n-allow: input vocabulary
*("crea", "crear"),
+ *("cria", "criar", "crie"), # i18n-allow: pt input vocabulary
),
"delete": (
*("loesche", "loeschen", "entferne", "entfernen"), # i18n-allow: input vocabulary
*("borra", "borrar", "elimina", "eliminar"),
+ *("apaga", "apagar"), # i18n-allow: pt input vocabulary
),
"update": (
*("aktualisiere", "aktualisieren"), # i18n-allow: input vocabulary
*("actualiza", "actualizar"),
+ *("atualiza", "atualizar"), # i18n-allow: pt input vocabulary
),
"list": (
*("liste", "auflisten", "auflistung"), # i18n-allow: input vocabulary
*("zeig", "zeige", "zeigt"), # i18n-allow: input vocabulary (show-family)
*("lista", "listar", "muestra", "mostrar"),
+ *("mostra",), # i18n-allow: pt input vocabulary
),
"get": (
*("hole", "holen", "abrufen", "gib"), # i18n-allow: input vocabulary
*("zeig", "zeige", "zeigt"), # i18n-allow: input vocabulary (show-family)
*("obten", "obtener", "muestra", "mostrar"),
+ *("obtém", "obtem", "obter", "mostra"), # i18n-allow: pt input vocabulary
),
"fetch": (
*("hole", "holen", "abrufen"), # i18n-allow: input vocabulary
@@ -71,14 +76,17 @@ _VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
"read": (
*("lies", "lese", "lesen", "vorlesen"), # i18n-allow: input vocabulary
*("lee",),
+ *("lê", "ler", "leia"), # i18n-allow: pt input vocabulary
),
"write": (
*("schreibe", "schreiben"), # i18n-allow: input vocabulary
*("escribe", "escribir"),
+ *("escreve", "escrever"), # i18n-allow: pt input vocabulary
),
"search": (
*("suche", "suchen", "durchsuche"), # i18n-allow: input vocabulary
*("busca", "buscar"),
+ *("pesquisa", "pesquisar", "procura", "procurar"), # i18n-allow: pt input vocabulary
),
"query": (
*("abfrage", "abfragen"), # i18n-allow: input vocabulary
@@ -87,23 +95,28 @@ _VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
"insert": (
*("einfuege", "einfuegen"), # i18n-allow: input vocabulary
*("inserta", "insertar"),
+ *("insere", "inserir"), # i18n-allow: pt input vocabulary
),
"execute": (
*("ausfuehren", "fuehre"), # i18n-allow: input vocabulary
*("ejecuta", "ejecutar"),
+ *("executa", "executar"), # i18n-allow: pt input vocabulary
),
"run": (
*("starte", "starten", "ausfuehren"), # i18n-allow: input vocabulary
*("inicia", "iniciar"),
+ *("corre", "correr", "executa"), # i18n-allow: pt input vocabulary
),
"upload": (
*("hochlade", "hochladen", "lade"), # i18n-allow: input vocabulary
*("sube", "subir"),
+ *("carrega", "carregar", "envia"), # i18n-allow: pt input vocabulary
),
"download": (
*("herunterlade", "herunterladen"), # i18n-allow: input vocabulary
*("runterlade", "runterladen", "lade"), # i18n-allow: input vocabulary
*("descarga", "descargar"),
+ *("descarrega", "descarregar", "transfere", "transferir"), # i18n-allow: pt vocab
),
"publish": (
*("veroeffentliche", "veroeffentlichen"), # i18n-allow: input vocabulary
@@ -112,6 +125,7 @@ _VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
"schedule": (
*("plane", "planen", "einplane", "einplanen"), # i18n-allow: input vocabulary
*("programa", "programar"),
+ *("agenda", "agendar"), # i18n-allow: pt input vocabulary
),
"post": (
*("poste", "posten"), # i18n-allow: input vocabulary
@@ -120,14 +134,17 @@ _VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
"set": (
*("setze", "setzen"), # i18n-allow: input vocabulary
*("configura", "configurar"),
+ *("define", "definir"), # i18n-allow: pt input vocabulary
),
"add": (
*("fuege", "hinzufuege", "hinzufuegen"), # i18n-allow: input vocabulary
*("agrega", "agregar"),
+ *("adiciona", "adicionar", "acrescenta", "acrescentar"), # i18n-allow: pt input vocabulary
),
"remove": (
*("entferne", "entfernen", "loesche", "loeschen"), # i18n-allow: input vocabulary
*("quita", "quitar"),
+ *("remove", "remover", "retira", "retirar"), # i18n-allow: pt input vocabulary
),
"edit": (
*("bearbeite", "bearbeiten"), # i18n-allow: input vocabulary
@@ -136,14 +153,17 @@ _VERB_SYNONYMS: dict[str, tuple[str, ...]] = {
"modify": (
*("aendere", "aendern"), # i18n-allow: input vocabulary
*("modifica", "modificar"),
+ *("altera", "alterar"), # i18n-allow: pt input vocabulary
),
"retrieve": (
*("hole", "holen", "abrufen"), # i18n-allow: input vocabulary
*("recupera", "recuperar"),
+ *("obtém", "obter"), # i18n-allow: pt input vocabulary
),
"find": (
*("finde", "finden", "suche", "suchen"), # i18n-allow: input vocabulary
*("encuentra", "encontrar", "busca", "buscar"),
+ *("encontra", "procura", "procurar"), # i18n-allow: pt input vocabulary
),
}
diff --git a/jarvis/mcp/state.py b/jarvis/mcp/state.py
index 9fe78236d5..6246fcf8c2 100644
--- a/jarvis/mcp/state.py
+++ b/jarvis/mcp/state.py
@@ -250,7 +250,31 @@ def remove_server(name: str) -> bool:
# Claude Desktop import
# ----------------------------------------------------------------------
+#: Every ``note_code`` :func:`import_claude_desktop_coded` returns. The desktop
+#: UI translates each one (``mcps_view.import_note.<code>``);
+#: ``tests/unit/ui/test_backend_message_codes.py`` keeps both sides in step.
+CLAUDE_DESKTOP_IMPORT_NOTE_CODES: tuple[str, ...] = (
+ "appdata_missing",
+ "config_not_found",
+ "invalid_json",
+ "not_readable",
+ "no_servers",
+ "imported",
+ "imported_with_skipped",
+)
+
+
def import_claude_desktop() -> tuple[int, list[str], str]:
+ """Import ``mcpServers`` from the Claude Desktop config: ``(count, added, note)``.
+
+ ``note`` is an English sentence; :func:`import_claude_desktop_coded` also
+ returns its stable code and fill-in values for a translated UI.
+ """
+ count, added, note, _code, _params = import_claude_desktop_coded()
+ return count, added, note
+
+
+def import_claude_desktop_coded() -> tuple[int, list[str], str, str, dict[str, str]]:
"""Import ``mcpServers`` from the Claude Desktop config into our mcp.json.
Path: ``%APPDATA%/Claude/claude_desktop_config.json`` (Windows).
@@ -260,27 +284,37 @@ def import_claude_desktop() -> tuple[int, list[str], str]:
"""
appdata = os.environ.get("APPDATA")
if not appdata:
- return (0, [], "APPDATA variable not set.")
+ return (0, [], "APPDATA variable not set.", "appdata_missing", {})
src = Path(appdata) / "Claude" / "claude_desktop_config.json"
if not src.exists():
return (
0,
[],
f"Claude Desktop config not found at {src}.",
+ "config_not_found",
+ {"path": str(src)},
)
try:
raw = json.loads(src.read_text(encoding="utf-8"))
except json.JSONDecodeError as exc:
# Line and column let the user fix their own file.
- return (0, [], f"Config is not valid JSON (line {exc.lineno}, column {exc.colno}).")
+ return (
+ 0,
+ [],
+ f"Config is not valid JSON (line {exc.lineno}, column {exc.colno}).",
+ "invalid_json",
+ {"line": str(exc.lineno), "column": str(exc.colno)},
+ )
except OSError:
log.warning("Claude Desktop config not readable: %s", src, exc_info=True)
- return (0, [], "Config not readable. Details are in the Dodaios log.")
+ return (
+ 0, [], "Config not readable. Details are in the Dodaios log.", "not_readable", {}
+ )
claude_servers = raw.get("mcpServers", {})
if not isinstance(claude_servers, dict) or not claude_servers:
- return (0, [], "No mcpServers found in the Claude Desktop config.")
+ return (0, [], "No mcpServers found in the Claude Desktop config.", "no_servers", {})
added: list[str] = []
skipped: list[str] = []
@@ -307,9 +341,13 @@ def import_claude_desktop() -> tuple[int, list[str], str]:
_write_mcp_json(cfg)
note = f"{len(added)} new servers imported"
+ params = {"added": str(len(added))}
+ code = "imported"
if skipped:
note += f", {len(skipped)} skipped (already exist)"
- return (len(added), added, note + ".")
+ params["skipped"] = str(len(skipped))
+ code = "imported_with_skipped"
+ return (len(added), added, note + ".", code, params)
# ----------------------------------------------------------------------
diff --git a/jarvis/memory/bootstrap_runner.py b/jarvis/memory/bootstrap_runner.py
index e15fdefa8f..430223956b 100644
--- a/jarvis/memory/bootstrap_runner.py
+++ b/jarvis/memory/bootstrap_runner.py
@@ -90,29 +90,42 @@ _FAREWELL = (
# "Ich heisse Ruben", "ich heiße ruben", "mein Name ist Ruben Lütke", # i18n-allow
# "ich bin Harald". Case-insensitive. Capture group = name remainder.
_NAME_INTRO_RE = re.compile(
- r"(?:ich\s+heisse|ich\s+heiße|mein\s+name\s+ist|ich\s+bin|my\s+name\s+is|i\s+am|i'm)\s+(.+)", # i18n-allow
+ r"(?:ich\s+heisse|ich\s+heiße|mein\s+name\s+ist|ich\s+bin|" # i18n-allow
+ r"my\s+name\s+is|i\s+am|i'm|"
+ r"chamo-me|eu\s+chamo-me|(?:o\s+)?meu\s+nome\s+[eé]|eu\s+sou)\s+(.+)", # i18n-allow
re.IGNORECASE,
)
# "Nenn mich Ruben", "ruf mich X", "call me X" — explicit form-of-address preference
_ADDRESS_RE = re.compile(
- r"(?:nenn(?:e)?\s+mich|ruf(?:e)?\s+mich|call\s+me|sag(?:e)?\s+(?:einfach\s+)?)\s+(.+)",
+ r"(?:nenn(?:e)?\s+mich|ruf(?:e)?\s+mich|call\s+me|sag(?:e)?\s+(?:einfach\s+)?|"
+ r"chama-me|trata-me\s+por)\s+(.+)", # i18n-allow: input vocab
re.IGNORECASE,
)
# Strip trailing junk after the actual name (e.g. "Ruben, aber nenn
# mich gerne Rube" → we want "Ruben"). Cut at first comma / " aber ".
-_NAME_TRAIL_RE = re.compile(r"[,;.!?]|\s+aber\s+|\s+und\s+|\s+but\s+", re.IGNORECASE) # i18n-allow
+_NAME_TRAIL_RE = re.compile(
+ r"[,;.!?]|\s+aber\s+|\s+und\s+|\s+but\s+|\s+mas\s+", re.IGNORECASE # i18n-allow
+)
# Language keywords → ISO-639-1. Key match is case-insensitive substring.
_LANGUAGE_MAP: tuple[tuple[tuple[str, ...], str], ...] = (
- (("deutsch", "german", "allemand", " de ", " de,", " de."), "de"),
- (("englisch", "english", "anglais", " en ", " en,", " en."), "en"),
- (("spanisch", "spanish", "espanol", "español", " es ", " es,"), "es"),
+ (
+ ("deutsch", "german", "allemand", "alemão", " alemao", # i18n-allow
+ " de ", " de,", " de."),
+ "de",
+ ),
+ (
+ ("englisch", "english", "anglais", "inglês", " ingles", # i18n-allow
+ " en ", " en,", " en."),
+ "en",
+ ),
+ (("spanisch", "spanish", "espanol", "español", "espanhol", " es ", " es,"), "es"), # i18n-allow
(("franzoesisch", "französisch", "french", "francais", "français", " fr "), "fr"), # i18n-allow
(("italienisch", "italian", "italiano", " it ", " it,"), "it"),
(("niederlaendisch", "niederländisch", "dutch", "nederlands", " nl "), "nl"), # i18n-allow
- (("portugiesisch", "portuguese", " pt ", " pt,"), "pt"),
+ (("portugiesisch", "portuguese", "português", "portugues", " pt ", " pt,"), "pt"), # i18n-allow
(("polnisch", "polish", "polski", " pl "), "pl"),
(("tuerkisch", "türkisch", "turkish", "türkçe", " tr "), "tr"), # i18n-allow
)
@@ -121,18 +134,23 @@ _LANGUAGE_MAP: tuple[tuple[tuple[str, ...], str], ...] = (
_DIRECT_KEYWORDS = (
"direkt", "kurz", "knapp", "tldr", "no fluff", "auf den punkt", # i18n-allow
"to the point", "brief", "short", "concise",
+ "direto", "curto", "conciso", "breve", # i18n-allow: pt input vocabulary
)
_VERBOSE_KEYWORDS = (
"ausfuehrlich", "ausführlich", "detailliert", "erklaer", "erklär", # i18n-allow
"verbose", "deep dive", "deep-dive", "tief", "genau", "mit details",
+ "detalhad", "com detalhe", "explicaç", "explicac", # i18n-allow: pt input vocabulary
)
# Pet-peeves splitter: ",", " und ", " sowie ", " plus ", " & "
-_PEEVE_SPLIT_RE = re.compile(r"\s*(?:,|;|\bund\b|\bsowie\b|\bplus\b|\band\b|&)\s*", re.IGNORECASE)
+_PEEVE_SPLIT_RE = re.compile(
+ r"\s*(?:,|;|\bund\b|\bsowie\b|\bplus\b|\band\b|\be(?=\s)|&)\s*", re.IGNORECASE # i18n-allow
+)
# Extract "Emojis" from "Keine Emojis". Analogous to English "no X". # i18n-allow
_NEGATIVE_PREFIX_RE = re.compile(
- r"^\s*(?:keine?|kein|no|nicht|never|please\s+no|bitte\s+kein(?:e)?)\s+", # i18n-allow
+ r"^\s*(?:keine?|kein|no|nicht|never|please\s+no|bitte\s+kein(?:e)?|" # i18n-allow
+ r"sem|nada\s+de|n[aã]o|nunca)\s+", # i18n-allow: pt input vocabulary
re.IGNORECASE,
)
@@ -141,6 +159,7 @@ _SKIP_KEYWORDS = (
"weiss nicht", "weiß nicht", "keine ahnung", "egal", "ist mir egal", # i18n-allow
"dont know", "don't know", "pass", "skip", "ueberspring",
"überspring", "weiter", # i18n-allow
+ "não sei", "nao sei", "tanto faz", "salta", # i18n-allow: pt input vocabulary
)
@@ -496,7 +515,7 @@ def _clean_peeve(fragment: str) -> str:
# "keine X" → "X" # i18n-allow
s = _NEGATIVE_PREFIX_RE.sub("", s).strip()
# Drop overly generic fragments
- if s.lower() in {"", "nichts", "nix", "keine", "kein", "nothing", "none"}: # i18n-allow
+ if s.lower() in {"", "nichts", "nix", "keine", "kein", "nothing", "none", "nada"}: # i18n-allow
return ""
return s
@@ -508,7 +527,13 @@ def _has_negation_near(text: str, keyword: str) -> bool:
return False
window_start = max(0, idx - 15)
window = text[window_start:idx]
- return bool(re.search(r"\b(kein(?:e)?|no|not|nicht|ohne|without)\b", window, re.IGNORECASE)) # i18n-allow
+ return bool(
+ re.search(
+ r"\b(kein(?:e)?|no|not|nicht|ohne|without|sem|n[aã]o|nada\s+de)\b", # i18n-allow
+ window,
+ re.IGNORECASE,
+ )
+ )
def _truncate(s: str, n: int) -> str:
diff --git a/jarvis/memory/learning/signals.py b/jarvis/memory/learning/signals.py
index ed80a7f23a..2419801bcb 100644
--- a/jarvis/memory/learning/signals.py
+++ b/jarvis/memory/learning/signals.py
@@ -32,6 +32,12 @@ _PEOPLE_AND_THINGS_ES = ( # i18n-allow: input vocabulary
"nombre|esposa|esposo|pareja|hijo|hija|madre|padre|hermano|hermana|jefe|equipo" # i18n-allow
"|empresa|trabajo|proyecto|plan|viaje|boda|examen|cita" # i18n-allow
)
+_PEOPLE_AND_THINGS_PT = ( # i18n-allow: input vocabulary
+ "nome|mulher|marido|esposa|namorada|namorado|filho|filha|filhos|m[ãa]e|pai" # i18n-allow
+ "|irm[ãa]o|irm[ãa]|chefe|equipa|empresa|trabalho|emprego|escrit[óo]rio|casa" # i18n-allow
+ "|anivers[áa]rio|morada|carro|c[ãa]o|gato|projeto|objetivo|plano|prazo" # i18n-allow
+ "|viagem|casamento|exame|consulta" # i18n-allow
+)
_SIGNALS: Final[tuple[re.Pattern[str], ...]] = tuple(
re.compile(pattern, re.IGNORECASE)
@@ -44,18 +50,25 @@ _SIGNALS: Final[tuple[re.Pattern[str], ...]] = tuple(
rf"\bmein(?:e|en|em|er)? (?:{_PEOPLE_AND_THINGS_DE})\b", # i18n-allow
r"\b(?:soy|estoy|trabajo|vivo en|tengo)\b", # i18n-allow
rf"\bmi (?:{_PEOPLE_AND_THINGS_ES})\b", # i18n-allow
+ r"\b(?:eu sou|chamo-me|trabalho (?:em|na|no|como|numa|num)|vivo em|moro em" # i18n-allow
+ r"|tenho (?:um|uma|dois|duas))\b", # i18n-allow
+ rf"\b(?:meu|minha|meus|minhas) (?:{_PEOPLE_AND_THINGS_PT})\b", # i18n-allow
# Preferences and standing wishes.
r"\bi (?:prefer|like|love|hate|don't like|do not like|can't stand|want you to)\b",
r"\b(?:call me|please always|please never|from now on|remember)\b",
r"\bich (?:mag|liebe|hasse|bevorzuge|will dass du|möchte dass du)\b", # i18n-allow
r"\b(?:nenn mich|bitte immer|bitte nie|ab jetzt|in zukunft|merk dir)\b", # i18n-allow
r"\b(?:prefiero|me gusta|no me gusta|odio|llámame|a partir de ahora)\b", # i18n-allow
+ r"\b(?:prefiro|gosto de|n[ãa]o gosto de|adoro|detesto|chama-me|trata-me por" # i18n-allow
+ r"|a partir de agora|daqui para a frente|lembra-te|n[ãa]o te esque[çc]as)\b", # i18n-allow
# Corrections of the assistant.
r"\b(?:that's wrong|that is wrong|not what i (?:said|meant|asked)|i told you"
r"|you forgot|no,? i meant|actually,? i)\b",
r"\b(?:das (?:ist|war) falsch|nein,? ich meinte|hab ich (?:dir )?doch gesagt" # i18n-allow
r"|du hast vergessen|stimmt nicht)\b", # i18n-allow
r"\b(?:eso está mal|no es lo que dije|te dije|te olvidaste)\b", # i18n-allow
+ r"\b(?:isso est[áa] errado|n[ãa]o foi isso que (?:eu )?disse|eu disse-te" # i18n-allow
+ r"|j[áa] te disse|esqueceste-te)\b", # i18n-allow
# Plans and goals.
r"\b(?:i|we)(?: am|'m| are|'re)? (?:plan|planning|going to|working on|preparing"
r"|moving|launching)\b",
@@ -63,6 +76,8 @@ _SIGNALS: Final[tuple[re.Pattern[str], ...]] = tuple(
r"\b(?:ich|wir) (?:plane|planen|werde|werden|arbeite gerade an|arbeiten an" # i18n-allow
r"|bereite|bereiten|ziehe um|ziehen um)\b|\b(?:umzug|abgabe)\b", # i18n-allow
r"\b(?:voy a|vamos a|planeo|planeamos|estoy preparando|me mudo)\b", # i18n-allow
+ r"\b(?:vou|vamos) (?:mudar|lan[çc]ar|come[çc]ar|casar)|\b(?:planeio|planeamos" # i18n-allow
+ r"|estou a preparar|estou a trabalhar em|vou mudar-me)\b", # i18n-allow
)
)
diff --git a/jarvis/memory/profile_capture.py b/jarvis/memory/profile_capture.py
index 000e07babf..540acd8304 100644
--- a/jarvis/memory/profile_capture.py
+++ b/jarvis/memory/profile_capture.py
@@ -67,6 +67,10 @@ _NOISE_VALUES: frozenset[str] = frozenset({
"mal", "auch", "einfach", "bitte", "doch", "so", "wieder", "nochmal", # i18n-allow
"gerne", "immer", "jetzt", "kurz", "back", "later", "please", "just", # i18n-allow
"again", "now", "me", "you", "it", "that", "this", "es", "das", "dich", # i18n-allow
+ # European Portuguese: "chama-me mais tarde", "trata-me por tu" (a register,
+ # not a name).
+ "só", "apenas", "mais", "depois", "agora", "já", "logo", "por", # i18n-allow
+ "favor", "tu", "você", "voce", # i18n-allow
})
# Spoken language name -> the code USER.md stores in identity.primary_language
@@ -80,9 +84,15 @@ _LANGUAGE_CODES: dict[str, str] = {
"italienisch": "it", "italian": "it", # i18n-allow
"niederländisch": "nl", "niederlaendisch": "nl", "dutch": "nl", # i18n-allow
"portugiesisch": "pt", "portuguese": "pt", # i18n-allow
+ "português": "pt", "portugues": "pt", # i18n-allow
"polnisch": "pl", "polish": "pl", # i18n-allow
"türkisch": "tr", "tuerkisch": "tr", "turkish": "tr", # i18n-allow
"russisch": "ru", "russian": "ru", # i18n-allow
+ # The other languages' names as a Portuguese speaker says them.
+ "alemão": "de", "alemao": "de", "inglês": "en", "ingles": "en", # i18n-allow
+ "espanhol": "es", "francês": "fr", "frances": "fr", "italiano": "it", # i18n-allow
+ "neerlandês": "nl", "holandês": "nl", "polaco": "pl", "turco": "tr", # i18n-allow
+ "russo": "ru", # i18n-allow
}
_LANG_ALTERNATION = "|".join(sorted(map(re.escape, _LANGUAGE_CODES), key=len, reverse=True))
@@ -171,6 +181,8 @@ _NAME_PATTERNS = (
_p(r"\bmein name ist\s+(.+)"), # i18n-allow
_p(r"\bmy name(?:'s| is)\s+(.+)"),
_p(r"\bi'?m called\s+(.+)"),
+ _p(r"\bchamo-me\s+(.+)"), # i18n-allow
+ _p(r"\b(?:o\s+)?meu nome [ée]\s+(.+)"), # i18n-allow
)
_ADDRESS_PATTERNS = (
@@ -178,11 +190,15 @@ _ADDRESS_PATTERNS = (
_p(r"\bdu kannst mich\s+(.+?)\s+nennen"), # i18n-allow
_p(r"\bsag(?:e)?\s+(?:einfach\s+|bitte\s+)*(.+?)\s+zu mir"), # i18n-allow
_p(r"\bcall me\s+(?:just\s+|simply\s+)*(.+)"),
+ _p(r"\bchama-me\s+(?:s[óo]\s+|apenas\s+)*(.+)"), # i18n-allow
+ _p(r"\bpodes chamar-me\s+(.+)"), # i18n-allow
+ _p(r"\btrata-me por\s+(.+)"), # i18n-allow
)
_PRONOUN_PATTERNS = (
_p(r"\bmeine pronomen sind\s+(.+)"), # i18n-allow
_p(r"\bmy pronouns are\s+(.+)"),
+ _p(r"\b(?:os\s+)?meus pronomes s[ãa]o\s+(.+)"), # i18n-allow
)
_TIMEZONE_PATTERNS = (
@@ -190,6 +206,7 @@ _TIMEZONE_PATTERNS = (
_p(r"\bich bin in der zeitzone\s+(.+)"), # i18n-allow
_p(r"\bmy time\s?zone is\s+(.+)"),
_p(r"\bi'?m in (?:the )?time\s?zone\s+(.+)"),
+ _p(r"\b(?:o\s+)?meu fuso hor[áa]rio [ée]\s+(.+)"), # i18n-allow
)
# A second language the user mentions speaking — appended, never replacing.
@@ -197,6 +214,8 @@ _EXTRA_LANGUAGE_PATTERNS = (
_p(rf"\bich spreche auch\s+({_LANG_ALTERNATION})\b"), # i18n-allow
_p(rf"\bich kann auch\s+({_LANG_ALTERNATION})\b"), # i18n-allow
_p(rf"\bi also speak\s+({_LANG_ALTERNATION})\b"),
+ _p(rf"\btamb[ée]m falo\s+({_LANG_ALTERNATION})\b"), # i18n-allow
+ _p(rf"\bfalo tamb[ée]m\s+({_LANG_ALTERNATION})\b"), # i18n-allow
)
# The language the conversation should be held in.
@@ -205,6 +224,9 @@ _PRIMARY_LANGUAGE_PATTERNS = (
_p(rf"\blass uns\s+({_LANG_ALTERNATION})\s+(?:sprechen|reden)\b"), # i18n-allow
_p(rf"\bspeak\s+({_LANG_ALTERNATION})\s+with me\b"),
_p(rf"\blet'?s speak\s+({_LANG_ALTERNATION})\b"),
+ _p(rf"\bfala\s+(?:em\s+)?({_LANG_ALTERNATION})\s+comigo\b"), # i18n-allow
+ _p(rf"\bfala\s+comigo\s+em\s+({_LANG_ALTERNATION})\b"), # i18n-allow
+ _p(rf"\bvamos falar\s+(?:em\s+)?({_LANG_ALTERNATION})\b"), # i18n-allow
)
# --- communication ----------------------------------------------------
@@ -217,10 +239,13 @@ _EMOJI_OFF = (
_p(r"\b(?:lass|lasse)\s+die emojis? weg\b"), # i18n-allow
_p(r"\bno emojis?\b"),
_p(r"\bskip the emojis?\b"),
+ _p(r"\b(?:sem|nada de)\s+emojis?\b"), # i18n-allow
+ _p(r"\bn[ãa]o (?:uses|ponhas) emojis?\b"), # i18n-allow
)
_EMOJI_ON = (
_p(r"\bemojis? (?:sind|find(?:e)? ich)\s+(?:ok|okay|gut|super)\b"), # i18n-allow
_p(r"\bemojis? are (?:fine|ok|okay|good)\b"),
+ _p(r"\b(?:os\s+)?emojis? (?:s[ãa]o|est[ãa]o)\s+(?:ok|okay|bem|[óo]timos?)\b"), # i18n-allow
)
_DIRECTNESS_HIGH = (
@@ -229,6 +254,8 @@ _DIRECTNESS_HIGH = (
_p(r"\bred(?:e)?\s+nicht um den hei(?:ß|ss)en brei\b"), # i18n-allow
_p(r"\bbe (?:blunt|direct) with me\b"),
_p(r"\bdon'?t sugarcoat\b"),
+ _p(r"\bs[êe]\s+(?:direto|direta)\s+comigo\b"), # i18n-allow
+ _p(r"\bn[ãa]o\s+(?:andes|estejas)\s+com rodeios\b"), # i18n-allow
)
_VERBOSITY_SHORT = (
@@ -237,21 +264,26 @@ _VERBOSITY_SHORT = (
_p(r"\bkurze antworten\b"), # i18n-allow
_p(r"\bkeep (?:it|your answers) (?:short|brief)\b"),
_p(r"\bbe (?:brief|concise)\b"),
+ _p(r"\bs[êe]\s+(?:breve|conciso|concisa)\b"), # i18n-allow
+ _p(r"\brespostas curtas\b"), # i18n-allow
)
_VERBOSITY_LONG = (
_p(r"\berklär(?:e)? mir das ausführlich\b"), # i18n-allow
_p(r"\bgib mir (?:immer )?das ganze bild\b"), # i18n-allow
_p(r"\bgive me the full picture\b"),
+ _p(r"\bexplica-me (?:isso |isto )?(?:com detalhe|em detalhe|detalhadamente)\b"), # i18n-allow
)
_FORMALITY_CASUAL = (
_p(r"\bduz(?:e)?\s+mich\b"), # i18n-allow
_p(r"\bwir k(?:ö|oe)nnen uns duzen\b"), # i18n-allow
_p(r"\bkeep it casual\b"),
+ _p(r"\btrata-me por tu\b"), # i18n-allow
)
_FORMALITY_FORMAL = (
_p(r"\bsiez(?:e)?\s+mich\b"), # i18n-allow
_p(r"\bbleib(?:en)? wir beim sie\b"), # i18n-allow
+ _p(r"\btrata-me por (?:voc[êe]|o senhor|a senhora)\b"), # i18n-allow
)
# --- values / relationship / work style -------------------------------
@@ -261,6 +293,8 @@ _PET_PEEVE_PATTERNS = (
_p(r"\bich hasse es,?\s+wenn\s+(.+)"), # i18n-allow
_p(r"\bi hate it when\s+(.+)"),
_p(r"\bit drives me (?:crazy|nuts) when\s+(.+)"),
+ _p(r"\b(?:odeio|detesto) quando\s+(.+)"), # i18n-allow
+ _p(r"\birrita-me quando\s+(.+)"), # i18n-allow
)
_FEEDBACK_DIRECT = (
@@ -274,6 +308,7 @@ _FOCUS_DEEP = (
_p(r"\bst(?:ö|oe)r(?:e)? mich nicht,?\s+wenn ich fokussiert bin\b"), # i18n-allow
_p(r"\bich arbeite (?:am liebsten )?in langen bl(?:ö|oe)cken\b"), # i18n-allow
_p(r"\bdon'?t interrupt my focus\b"),
+ _p(r"\bn[ãa]o me interrompas quando estou concentrad[oa]\b"), # i18n-allow
)
diff --git a/jarvis/memory/wiki/grounding.py b/jarvis/memory/wiki/grounding.py
index 56331c516d..fdbcdbc9a6 100644
--- a/jarvis/memory/wiki/grounding.py
+++ b/jarvis/memory/wiki/grounding.py
@@ -30,7 +30,8 @@ _PRIOR_CONTEXT_RE = re.compile(
_CLAUSE_RE = re.compile(r"([^.!?;,\n:\u2013\u2014]+)([.!?;,\n:\u2013\u2014]|\Z)")
# Candidate-output vocabulary. English is the normal structured-output
-# language; German and Spanish forms keep the guard equal across supported
+# language; German, Spanish and (accent-folded) European Portuguese forms keep
+# the guard equal across supported
# spoken languages when a provider mirrors the transcript language.
_CANDIDATE_INTEREST_RE = re.compile(
r"\b(?:"
@@ -39,7 +40,8 @@ _CANDIDATE_INTEREST_RE = re.compile(
r"enthusias\w*|fascinat\w*|dislikes?|hates?|avoids?|"
r"interess(?:e|iert\w*)|mag|liebt|" # i18n-allow: input vocabulary
r"bevorzugt|begeistert|fasziniert|" # i18n-allow: input vocabulary
- r"interesad[oa]s?|interes|le\s+gusta|prefiere|aficionad[oa]s?|fascina"
+ r"interesad[oa]s?|interes|le\s+gusta|prefiere|aficionad[oa]s?|fascina|"
+ r"interessad[oa]s?|interesse|gosta|adora|fa\s+de" # i18n-allow: input vocabulary
r")\b",
re.IGNORECASE,
)
@@ -48,7 +50,8 @@ _GENERIC_USER_REF_RE = re.compile(
r"\b(?:the\s+user|user|speaker|"
r"der\s+benutzer|die\s+benutzerin|" # i18n-allow: input vocabulary
r"sprecher|sprecherin|" # i18n-allow: input vocabulary
- r"el\s+usuario|la\s+usuaria|hablante)\b",
+ r"el\s+usuario|la\s+usuaria|hablante|"
+ r"o\s+utilizador|a\s+utilizadora|falante)\b", # i18n-allow: input vocabulary
re.IGNORECASE,
)
_SUBJECTLESS_INTEREST_RE = re.compile(
@@ -66,7 +69,9 @@ _QUESTION_PREFIX_RE = re.compile(
r"bin|bist|ist|sind|kann|koennte|wuerde|soll|" # i18n-allow: input vocabulary
r"erzaehl\w*|sag\s+mir|erklaer\w*|" # i18n-allow: input vocabulary
r"que|quien|como|donde|cuando|cual|puedo|puedes|podria|"
- r"deberia|dime|cuentame|explica"
+ r"deberia|dime|cuentame|explica|"
+ r"o\s+que|quem|onde|quando|qual|quais|posso|podes|" # i18n-allow: input vocabulary
+ r"diz-me|conta-me" # i18n-allow: input vocabulary
r")\b",
re.IGNORECASE,
)
@@ -84,7 +89,11 @@ _POSITIVE_INTEREST_ASSERTION_RE = re.compile(
r"mein\w*\s+(?:interesse|hobby|liebling\w*)|" # i18n-allow: input vocabulary
r"fasziniert\s+mich|" # i18n-allow: input vocabulary
r"me\s+(?:interesa|gusta|encanta|fascina)|prefiero|sigo|"
- r"mi\s+(?:interes|aficion|favorit\w*)"
+ r"mi\s+(?:interes|aficion|favorit\w*)|"
+ # European Portuguese, accent-folded like everything matched here
+ r"interesso-me|interessa-me|gosto\s+(?:de|muito)|adoro|prefiro|" # i18n-allow
+ r"(?:o\s+)?meu\s+(?:interesse|hobby|passatempo|favorit\w*)|" # i18n-allow
+ r"fascina-me|sou\s+fa" # i18n-allow: input vocabulary
r")\b",
re.IGNORECASE,
)
@@ -100,7 +109,9 @@ _NEGATIVE_INTEREST_ASSERTION_RE = re.compile(
r"ich\s+mag\b[^.!?;,]{0,80}\bnicht|" # i18n-allow: input vocabulary
r"ich\s+(?:hasse|meide)|" # i18n-allow: input vocabulary
r"no\s+me\s+(?:interesa|gusta|encanta|fascina)|"
- r"no\s+prefiero|odio|evito"
+ r"no\s+prefiero|odio|evito|"
+ r"nao\s+me\s+interessa|nao\s+(?:gosto|adoro|prefiro)|" # i18n-allow: input vocabulary
+ r"detesto|odeio" # i18n-allow: input vocabulary
r")\b",
re.IGNORECASE,
)
@@ -125,7 +136,8 @@ _CESSATION_ASSERTION_RE = re.compile(
r"\bi\s+no\s+longer\b|"
r"\bich\s+[^.!?;,\n]{0,60}\bnicht\s+mehr\b|" # i18n-allow: input vocab
r"\bich\s+habe\s+[^.!?;,\n]{0,50}\baufgeh(?:oe|o)rt\b|" # i18n-allow: input vocab
- r"\bya\s+no\s+\w+|\bdej[eo]\s+de\b"
+ r"\bya\s+no\s+\w+|\bdej[eo]\s+de\b|"
+ r"\bja\s+nao\s+\w+|\b(?:deixei|parei)\s+de\b" # i18n-allow: input vocabulary
r")",
re.IGNORECASE,
)
@@ -138,7 +150,8 @@ _CANDIDATE_HABIT_RE = re.compile(
r"plays?|practi[cs]es?|trains?|"
r"regularly|routinely|habitually|frequently|actively|"
r"spielt|trainiert|regelmaessig|regelmassig|" # i18n-allow: input vocabulary
- r"juega|entrena|practica|regularmente"
+ r"juega|entrena|practica|regularmente|"
+ r"joga|treina" # i18n-allow: input vocabulary
r")\b",
re.IGNORECASE,
)
@@ -170,6 +183,11 @@ _FIRST_PERSON_EXPERIENCE_RE = re.compile(
r"asisto|visito|estuve|estaba)\b|"
r"\bcada\s+\w+|\bsiempre\b|\bsuelo\b|"
r"\b(?:una\s+vez|dos\s+veces)\s+(?:a|por)\s+(?:la\s+)?\w+|"
+ # pt folded: "jogo/vou/treino...", "todos os sabados", "costumo"
+ r"\b(?:eu\s+)?(?:jogo|treino|cozinho|fico|caminho|pinto|ando|" # i18n-allow
+ r"estive)\b|" # i18n-allow: input vocabulary
+ r"\b(?:todos\s+os|todas\s+as)\s+\w+|\bcostumo\b|" # i18n-allow: input vocabulary
+ r"\b(?:uma\s+vez|duas\s+vezes)\s+por\s+\w+|" # i18n-allow: input vocabulary
# frequency phrases: "once/twice a week", "einmal pro Woche"
r"\b(?:once|twice)\s+a\s+(?:day|week|month|year)\b|"
r"\b(?:einmal|zweimal|mehrmals)\s+(?:pro|die|im)\s+\w+" # i18n-allow: input vocab
diff --git a/jarvis/memory/wiki/prompt.py b/jarvis/memory/wiki/prompt.py
index 98dd36afd3..6bb50ffa2c 100644
--- a/jarvis/memory/wiki/prompt.py
+++ b/jarvis/memory/wiki/prompt.py
@@ -476,7 +476,7 @@ salience=1-5 (how central the fact is to the user's own life).
cannot recover a fact the wiki never stored.
Explicit persistence requests are binding across all supported conversation
-languages (English, German, and Spanish):
+languages (English, German, Spanish, and European Portuguese):
- When the user asks the assistant to remember, note, save, record, or add something
to the wiki AND separately discloses a supported fact, elevate that fact.
The primary decision MUST be "add" or "update" unless the exact fact already
@@ -484,7 +484,8 @@ languages (English, German, and Spanish):
by the USER EVIDENCE excerpt. A near-term or dated plan is still durable
enough when the user explicitly asks to keep it.
- Examples include "Remember that I travel tomorrow", "Notiere, dass ich
- morgen reise", and "Recuerda que viajo mañana". Persist only the disclosed
+ morgen reise", "Recuerda que viajo mañana", and "Lembra-te de que viajo
+ amanhã". Persist only the disclosed
fact; the persistence directive itself is control syntax, not wiki content.
- For an explicit persistence request, do not choose "noop" merely because
the fact is near-term, ordinary, phrased as a request, or belongs on an
diff --git a/jarvis/memory/wiki/voice_bridge.py b/jarvis/memory/wiki/voice_bridge.py
index f2212f5221..304eac55eb 100644
--- a/jarvis/memory/wiki/voice_bridge.py
+++ b/jarvis/memory/wiki/voice_bridge.py
@@ -91,6 +91,9 @@ _ACK_KEYWORDS = ( # i18n-allow: multilingual acknowledgement-phrase matching vo
"anotado", # i18n-allow: Spanish acknowledgement-phrase matching vocabulary
"guardado", # i18n-allow: Spanish acknowledgement-phrase matching vocabulary
"apuntado", # i18n-allow: Spanish acknowledgement-phrase matching vocabulary
+ "registad", # i18n-allow: pt acknowledgement ("fica registado"); "anotado"/"guardado" shared
+ "tomei nota", # i18n-allow: Portuguese acknowledgement-phrase matching vocabulary
+ "memorizad", # i18n-allow: Portuguese acknowledgement-phrase matching vocabulary
)
# Minimum length for an acknowledged user utterance to be worth a review.
diff --git a/jarvis/missions/events.py b/jarvis/missions/events.py
index 712529b657..39ab78c0f0 100644
--- a/jarvis/missions/events.py
+++ b/jarvis/missions/events.py
@@ -16,6 +16,20 @@ from pydantic import BaseModel, ConfigDict, Field
from .ids import uuid7_str
+# Language a mission is dispatched in and read back in: every supported reply
+# language (``SUPPORTED_REPLY_LANGUAGES`` in jarvis/brain/manager.py minus
+# "auto"), mirrored in frontend/src/types/missions.ts. Parity is guarded by
+# tests/missions/test_mission_language_pt.py and test_mission_approved_parity.py.
+MissionLanguage = Literal["de", "en", "es", "pt"]
+MISSION_LANGUAGES: Final[tuple[str, ...]] = ("de", "en", "es", "pt")
+
+
+def coerce_mission_language(value: object, default: str = "de") -> str:
+ """Return *value* when it is a mission language, else *default*."""
+ code = str(value or "").strip().lower()
+ return code if code in MISSION_LANGUAGES else default
+
+
# --- Base ---
@@ -31,7 +45,7 @@ class MissionDispatched(_PayloadBase):
prompt: str
parent_mission_id: str | None = None
priority: int = 0
- language: Literal["de", "en"] = "de"
+ language: MissionLanguage = "de"
class MissionPlanReady(_PayloadBase):
@@ -139,6 +153,10 @@ class MissionApproved(_PayloadBase):
wall_ms: int
summary_de: str
summary_en: str
+ # Summary in the mission's dispatch language when that is neither de nor
+ # en (es/pt); empty otherwise. Mirrored in frontend/src/types/missions.ts
+ # (MissionApproved), which picks it for es/pt missions.
+ summary_local: str = ""
class MissionFailed(_PayloadBase):
diff --git a/jarvis/missions/kontrollierer/deliverable.py b/jarvis/missions/kontrollierer/deliverable.py
index f270527e90..c06ef31f85 100644
--- a/jarvis/missions/kontrollierer/deliverable.py
+++ b/jarvis/missions/kontrollierer/deliverable.py
@@ -108,6 +108,24 @@ _DELIVERABLE_TEMPLATES: Final[dict[str, dict[str, str]]] = {
"few": "Done. I have saved {count} files as artifacts: {joined}.",
"many": "Done. I have saved {count} files as artifacts.",
},
+ "es": {
+ "one": "Hecho. He guardado {name} como artefacto.", # i18n-allow: Spanish TTS
+ "few": "Hecho. He guardado {count} archivos como artefactos: {joined}.", # i18n-allow
+ "many": "Hecho. He guardado {count} archivos como artefactos.", # i18n-allow: Spanish TTS
+ },
+ "pt": {
+ "one": "Feito. Guardei {name} como artefacto.", # i18n-allow: PT TTS
+ "few": "Feito. Guardei {count} ficheiros como artefactos: {joined}.", # i18n-allow: PT TTS
+ "many": "Feito. Guardei {count} ficheiros como artefactos.", # i18n-allow: PT TTS
+ },
+}
+
+# Generic completion phrase when a mission produced nothing nameable.
+MISSION_COMPLETED_PHRASES: Final[dict[str, str]] = {
+ "de": "Mission abgeschlossen.", # i18n-allow: German TTS
+ "en": "Mission completed.",
+ "es": "Misión completada.", # i18n-allow: Spanish TTS
+ "pt": "Missão concluída.", # i18n-allow: PT TTS
}
_DELIVERED_TEMPLATES: Final[dict[str, dict[str, str]]] = _DELIVERABLE_TEMPLATES
@@ -487,6 +505,7 @@ def build_delivered_summary(delivered: list[Path], *, language: str = "de") -> s
__all__ = [
+ "MISSION_COMPLETED_PHRASES",
"build_deliverable_summary",
"build_delivered_summary",
"deliver_to_user_folder",
diff --git a/jarvis/missions/kontrollierer/orchestrator.py b/jarvis/missions/kontrollierer/orchestrator.py
index 693c4e6b12..6e84cee276 100644
--- a/jarvis/missions/kontrollierer/orchestrator.py
+++ b/jarvis/missions/kontrollierer/orchestrator.py
@@ -114,6 +114,7 @@ from ..worker_runtime.workspace import materialize_worker_contract
from ..workers.base import WorkerProtocol
from .decomposer import MissionDecomposer, MissionPlan, Step
from .deliverable import (
+ MISSION_COMPLETED_PHRASES,
build_deliverable_summary,
build_delivered_summary,
deliver_to_user_folder,
@@ -4284,6 +4285,17 @@ class Kontrollierer:
or build_deliverable_summary(mission_dir, language="en")
or "Mission completed."
)
+ # es/pt (every dispatch language besides de/en) get their own spoken
+ # summary, so the readback never falls back to the English one.
+ summary_local = ""
+ mission_language = await self._mission_language(mission_id)
+ if mission_language not in ("de", "en"):
+ summary_local = (
+ answer_summary
+ or build_delivered_summary(delivered, language=mission_language)
+ or build_deliverable_summary(mission_dir, language=mission_language)
+ or MISSION_COMPLETED_PHRASES.get(mission_language, "")
+ )
env = EventEnvelope(
mission_id=mission_id,
source_actor="kontrollierer",
@@ -4295,10 +4307,22 @@ class Kontrollierer:
wall_ms=0,
summary_de=summary_de,
summary_en=summary_en,
+ summary_local=summary_local,
),
)
await self._manager.store.append_and_publish(env)
+ async def _mission_language(self, mission_id: str) -> str:
+ """The mission's dispatch language, ``"de"`` when it cannot be read."""
+ try:
+ view = await self._manager.store.get_mission_view(mission_id)
+ except Exception: # noqa: BLE001 — the readback language is never mission-fatal
+ logger.warning(
+ "could not read the dispatch language of %s", mission_id, exc_info=True
+ )
+ return "de"
+ return str(view[2]) if view else "de"
+
async def _fail_mission(
self,
mission_id: str,
diff --git a/jarvis/missions/manager.py b/jarvis/missions/manager.py
index fa0f0c0ecb..ce17e83b45 100644
--- a/jarvis/missions/manager.py
+++ b/jarvis/missions/manager.py
@@ -23,6 +23,7 @@ from .event_store import MissionEventStore
from .events import (
EventEnvelope,
MissionDispatched,
+ MissionLanguage,
MissionStateChanged,
now_ms,
)
@@ -125,7 +126,7 @@ class MissionManager:
self,
*,
prompt: str,
- language: Literal["de", "en"] = "de",
+ language: MissionLanguage = "de",
source_actor: SourceActor = "hauptjarvis",
priority: int = 0,
parent_mission_id: str | None = None,
diff --git a/jarvis/missions/stream_evidence.py b/jarvis/missions/stream_evidence.py
index 3e1815560e..e2accd2385 100644
--- a/jarvis/missions/stream_evidence.py
+++ b/jarvis/missions/stream_evidence.py
@@ -1220,7 +1220,7 @@ def is_informational_request(prompt: str) -> bool:
# A worker clarification is not a completed informational deliverable. Match
# only an explicit clarification lead near the beginning; substantive answers
-# that merely end with "let me know" remain valid. German and Spanish entries
+# that merely end with "let me know" remain valid. German, Spanish and Portuguese entries
# are literal runtime-output classifiers (the multilingual product surface).
_CLARIFICATION_LEAD_RE = re.compile(
r"\b(?:"
@@ -1232,7 +1232,11 @@ _CLARIFICATION_LEAD_RE = re.compile(
r".{0,80}\b(?:brauche|welch|was)|" # i18n-allow
r"was\s+genau\s+(?:soll|moechtest|möchtest|willst)\s+du|" # i18n-allow
r"(?:pregunta|duda)\s+(?:rápida|breve)\s+de\s+aclaraci[oó]n|" # i18n-allow
- r"antes\s+de\s+(?:empezar|continuar).{0,80}\b(?:necesito|aclarar|cu[aá]l|qu[eé])"
+ r"antes\s+de\s+(?:empezar|continuar).{0,80}\b(?:necesito|aclarar|cu[aá]l|qu[eé])|"
+ # European Portuguese
+ r"(?:pergunta|d[uú]vida)\s+r[aá]pida|podes\s+esclarecer|" # i18n-allow
+ r"o\s+que\s+(?:exatamente|ao\s+certo)\s+(?:queres|devo)|" # i18n-allow
+ r"antes\s+de\s+(?:come[cç]ar|continuar).{0,80}\b(?:preciso|esclarecer|qual)" # i18n-allow
r")\b",
re.IGNORECASE | re.DOTALL,
)
diff --git a/jarvis/missions/voice/announcer.py b/jarvis/missions/voice/announcer.py
index 5eabaf799d..6dfb293814 100644
--- a/jarvis/missions/voice/announcer.py
+++ b/jarvis/missions/voice/announcer.py
@@ -32,7 +32,7 @@ from __future__ import annotations
import json
import logging
-from typing import Literal
+from typing import Literal, get_args
from jarvis.brain.output_filter import scrub_for_voice
from jarvis.brain.scrub_verdict import is_harmless_scrub_residue
@@ -40,6 +40,8 @@ from jarvis.core.bus import EventBus
from jarvis.core.events import AnnouncementRequested
from jarvis.missions.voice.readback import (
FAILURE_REASON_PHRASES,
+ Lang,
+ approved_summary,
failure_phrase_key,
render_agent_brand,
render_capacity_wait,
@@ -59,7 +61,39 @@ from ..events import (
logger = logging.getLogger(__name__)
-_Lang = Literal["de", "en"]
+_Lang = Lang
+_MISSION_LANGS: tuple[str, ...] = get_args(Lang)
+
+# Fixed announcer phrases per mission language (every supported reply
+# language; an unknown code speaks English).
+_FAILED_PREFIX: dict[str, str] = {
+ "de": "Die Mission ist fehlgeschlagen.", # i18n-allow: German TTS
+ "en": "The mission failed.",
+ "es": "La misión ha fallado.", # i18n-allow: Spanish TTS
+ "pt": "A missão falhou.", # i18n-allow: PT TTS
+}
+_REASON_LABEL: dict[str, str] = {
+ "de": "Grund", # i18n-allow: German TTS
+ "en": "Reason",
+ "es": "Motivo", # i18n-allow: Spanish TTS
+ "pt": "Motivo", # i18n-allow: PT TTS
+}
+_CANCELLED: dict[str, str] = {
+ "de": "Mission abgebrochen.", # i18n-allow: German TTS
+ "en": "Mission cancelled.",
+ "es": "Misión cancelada.", # i18n-allow: Spanish TTS
+ "pt": "Missão cancelada.", # i18n-allow: PT TTS
+}
+_TIMED_OUT: dict[str, str] = {
+ "de": "Die Mission lief in das Zeitlimit.", # i18n-allow: German TTS
+ "en": "The mission timed out.",
+ "es": "La misión superó el tiempo límite.", # i18n-allow: Spanish TTS
+ "pt": "A missão excedeu o tempo limite.", # i18n-allow: PT TTS
+}
+
+
+def _phrase(table: dict[str, str], lang: str) -> str:
+ return table.get(lang, table["en"])
MISSION_ANNOUNCEMENT_SOURCE_LAYER = "missions.voice.announcer"
@@ -213,8 +247,7 @@ class MissionAnnouncer:
payload = env.payload
if isinstance(payload, MissionApproved):
- summary = payload.summary_de if lang == "de" else payload.summary_en
- return (summary, "normal")
+ return (approved_summary(payload, lang), "normal")
if isinstance(payload, MissionFailed):
# BUG-LIVE-03 (Recon-Agent 3, 2026-05-16): the announcer used
@@ -250,14 +283,13 @@ class MissionAnnouncer:
# subprocess crashed but iter0 produced a real diff — the user hears
# that the work succeeded and only the reviewer failed (the diff is
# recoverable from the artifacts dir; live repro mission_019e3288).
- de_map = FAILURE_REASON_PHRASES["de"]
- en_map = FAILURE_REASON_PHRASES["en"]
- if lang == "de":
- tail = de_map.get(short_reason, f"Grund: {reason}" if reason else "") # i18n-allow
- text = f"Die Mission ist fehlgeschlagen. {render_agent_brand(tail)}".rstrip() # i18n-allow: real German TTS voice output
- else:
- tail = en_map.get(short_reason, f"Reason: {reason}" if reason else "")
- text = f"The mission failed. {render_agent_brand(tail)}".rstrip()
+ phrase_lang = lang if lang in FAILURE_REASON_PHRASES else "en"
+ label = _phrase(_REASON_LABEL, phrase_lang)
+ tail = FAILURE_REASON_PHRASES[phrase_lang].get(
+ short_reason, f"{label}: {reason}" if reason else ""
+ )
+ prefix = _phrase(_FAILED_PREFIX, phrase_lang)
+ text = f"{prefix} {render_agent_brand(tail)}".rstrip()
# AD-OE5 (2026-05-29): "speak ONLY at the next turn-boundary, never
# interrupt mid-utterance". A failed background mission must NOT
# barge in over current speech — combined with the silent spawn-ACK
@@ -287,19 +319,10 @@ class MissionAnnouncer:
)
if isinstance(payload, MissionCancelled):
- text = (
- "Mission abgebrochen."
- if lang == "de"
- else "Mission cancelled."
- )
- return (text, "normal")
+ return (_phrase(_CANCELLED, lang), "normal")
if isinstance(payload, MissionTimedOut):
- text = (
- "Die Mission lief in das Zeitlimit." # i18n-allow: real German TTS voice output
- if lang == "de"
- else "The mission timed out."
- )
+ text = _phrase(_TIMED_OUT, lang)
# AD-OE5: do not barge in mid-utterance — queue for the next
# turn-boundary (see MissionFailed above).
return (text, "normal")
@@ -324,7 +347,7 @@ class MissionAnnouncer:
if e.payload.event_type == "MissionDispatched":
is_voice = e.source_actor == "hauptjarvis"
raw_lang = e.payload.language # type: ignore[attr-defined]
- if raw_lang in ("de", "en"):
+ if raw_lang in _MISSION_LANGS:
lang = raw_lang # type: ignore[assignment]
break
diff --git a/jarvis/missions/voice/listener.py b/jarvis/missions/voice/listener.py
index 4ab10fba1d..20e1f52c52 100644
--- a/jarvis/missions/voice/listener.py
+++ b/jarvis/missions/voice/listener.py
@@ -38,7 +38,7 @@ from ..events import (
WorkerCorrectionRequired,
WorkerKilled,
)
-from .readback import Lang, MissionReadback, render_capacity_wait
+from .readback import Lang, MissionReadback, approved_summary, render_capacity_wait
logger = logging.getLogger(__name__)
@@ -132,7 +132,7 @@ class MissionVoiceListener:
if isinstance(payload, MissionApproved):
return self._readback.render_approved(
- summary=payload.summary_de if lang == "de" else payload.summary_en,
+ summary=approved_summary(payload, lang),
language=lang,
)
diff --git a/jarvis/missions/voice/readback.py b/jarvis/missions/voice/readback.py
index 7c8524d156..89aaf7dd85 100644
--- a/jarvis/missions/voice/readback.py
+++ b/jarvis/missions/voice/readback.py
@@ -31,7 +31,9 @@ if TYPE_CHECKING:
from jarvis.missions.critic.runner import CapabilityHonestyCheck
-Lang = Literal["de", "en"]
+# Every supported reply language (``SUPPORTED_REPLY_LANGUAGES`` minus "auto");
+# all locales are equal, so every table below carries each of them.
+Lang = Literal["de", "en", "es", "pt"]
TemplateKey = Literal[
"approved",
"failed",
@@ -62,6 +64,14 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"Done. {summary}",
"Completed. {summary}",
],
+ "es": [
+ "Hecho. {summary}", # i18n-allow: Spanish TTS
+ "Listo. {summary}", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Feito. {summary}", # i18n-allow: PT TTS
+ "Pronto. {summary}", # i18n-allow: PT TTS
+ ],
},
"failed": {
"de": [
@@ -73,6 +83,14 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"The task failed. Reason: {reason}",
"Task failed. {reason}",
],
+ "es": [
+ "La tarea ha fallado. Motivo: {reason}", # i18n-allow: Spanish TTS
+ "Tarea fallida. {reason}", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "A tarefa falhou. Motivo: {reason}", # i18n-allow: PT TTS
+ "Tarefa falhada. {reason}", # i18n-allow: PT TTS
+ ],
},
"timeout": {
"de": [
@@ -82,6 +100,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"The task timed out.",
],
+ "es": [
+ "La tarea superó el tiempo límite.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "A tarefa excedeu o tempo limite.", # i18n-allow: PT TTS
+ ],
},
"cancelled": {
"de": [
@@ -91,6 +115,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"Task cancelled.",
],
+ "es": [
+ "Tarea cancelada.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Tarefa cancelada.", # i18n-allow: PT TTS
+ ],
},
"budget_warn_50": {
"de": [
@@ -100,6 +130,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"Half the budget used.",
],
+ "es": [
+ "La mitad del presupuesto está gastada.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Metade do orçamento já foi gasta.", # i18n-allow: PT TTS
+ ],
},
"budget_warn_80": {
"de": [
@@ -109,6 +145,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"Eighty percent of budget used.",
],
+ "es": [
+ "El ochenta por ciento del presupuesto está gastado.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Oitenta por cento do orçamento já foi gasto.", # i18n-allow: PT TTS
+ ],
},
"budget_exceeded": {
"de": [
@@ -118,6 +160,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"Budget exhausted. Task aborted.",
],
+ "es": [
+ "Presupuesto agotado. Tarea cancelada.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Orçamento esgotado. Tarefa cancelada.", # i18n-allow: PT TTS
+ ],
},
"injection_blocked": {
"de": [
@@ -127,6 +175,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"Injection attempt detected. Task terminated.",
],
+ "es": [
+ "Intento de inyección detectado. Tarea detenida.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Tentativa de injeção detetada. Tarefa parada.", # i18n-allow: PT TTS
+ ],
},
"path_guard_blocked": {
"de": [
@@ -136,6 +190,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"A protected path was touched. Task aborted.",
],
+ "es": [
+ "Se tocó una ruta protegida. Tarea cancelada.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Foi tocado um caminho protegido. Tarefa cancelada.", # i18n-allow: PT TTS
+ ],
},
"destructive_confirm": {
"de": [
@@ -145,6 +205,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"This will destroy {target}. Are you sure? Please confirm in the UI.",
],
+ "es": [
+ "Esto eliminará {target}. ¿Seguro? Confírmalo en la interfaz.", # i18n-allow
+ ],
+ "pt": [
+ "Isto vai eliminar {target}. Tens a certeza? Confirma na interface.", # i18n-allow
+ ],
},
"crash_recovery": {
"de": [
@@ -154,6 +220,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"A previous task was aborted due to a crash.",
],
+ "es": [
+ "Una tarea anterior se canceló por un fallo.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Uma tarefa anterior foi cancelada devido a uma falha.", # i18n-allow: PT TTS
+ ],
},
"iteration_running": {
"de": [
@@ -163,6 +235,12 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-
"en": [
"Iteration {n} running.",
],
+ "es": [
+ "Iteración {n} en curso.", # i18n-allow: Spanish TTS
+ ],
+ "pt": [
+ "Iteração {n} em curso.", # i18n-allow: PT TTS
+ ],
},
}
@@ -251,29 +329,112 @@ FAILURE_REASON_PHRASES: Final[dict[str, dict[str, str]]] = {
"provider_unreachable": "The AI provider is currently unreachable.",
"worker_timeout": "The worker hit its time limit.",
},
- # Spanish is an equal supported product-surface language (AGENTS.md §1).
- # Only the portable workspace-setup reason keys carry ``es`` for now — the
- # rest of the table is de/en pending a broader translation pass; a missing
- # key here falls back via ``.get(language, {})``.
+ # Spanish and European Portuguese are equal supported product-surface
+ # languages (AGENTS.md §2); both carry the full de/en key set, guarded by
+ # ``test_failure_reason_phrases_all_locales_parity``.
"es": {
+ "critic_loop_exhausted": "Tres intentos no han bastado.", # i18n-allow: Spanish TTS
+ "critic_rejected": "La revisión no quedó satisfecha.", # i18n-allow: Spanish TTS
+ "task_error": "El worker se ha interrumpido.", # i18n-allow: Spanish TTS
+ "attempts_timed_out": "Se alcanzó el tiempo límite.", # i18n-allow: Spanish TTS
"review_time_budget_exhausted": ( # i18n-allow: Spanish TTS phrase
"Se agotó el tiempo de revisión; el resultado parcial está " # i18n-allow
"disponible." # i18n-allow
),
- "git_missing": "{agents} necesitan que git esté instalado y en el PATH.", # i18n-allow: Spanish TTS product-surface phrase
+ "budget_exceeded": "Se alcanzó el límite de coste.", # i18n-allow: Spanish TTS
+ "decompose_failed": "No he podido dividir la tarea.", # i18n-allow: Spanish TTS
+ "crash_recovery": "Se ha limpiado una misión antigua.", # i18n-allow: Spanish TTS
+ "interrupted": (
+ "Se interrumpió una misión en curso; los resultados " # i18n-allow: Spanish TTS
+ "parciales están disponibles." # i18n-allow: Spanish TTS
+ ),
+ "empty_diff": "No se escribió ningún archivo.", # i18n-allow: Spanish TTS
+ "critic_unavailable": (
+ "El revisor ha fallado; el trabajo se conserva en el worktree." # i18n-allow
+ ),
+ "worktree_setup_failed": "No he podido crear un espacio de trabajo.", # i18n-allow
+ "checkpoint_missing": (
+ "Falta el progreso guardado, así que no puedo continuar." # i18n-allow: Spanish TTS
+ ),
+ "git_missing": "{agents} necesitan que git esté instalado y en el PATH.", # i18n-allow
"git_not_a_repository": (
- "{agents} necesitan una copia de git (instala con el " # i18n-allow: Spanish TTS product-surface phrase
- "instalador de git, no con una descarga ZIP)." # i18n-allow: Spanish TTS product-surface phrase
+ "{agents} necesitan una copia de git (instala con el " # i18n-allow
+ "instalador de git, no con una descarga ZIP)." # i18n-allow
),
"source_checkout_unavailable": (
"Esta tarea de {agent} necesita el " # i18n-allow: Spanish TTS
"repositorio del código fuente, que no está " # i18n-allow: Spanish TTS
"disponible en esta instalación." # i18n-allow: Spanish TTS
),
+ "provider_auth": (
+ "El inicio de sesión del proveedor de IA no es válido o ha caducado." # i18n-allow
+ ),
+ "provider_quota": "La cuota del proveedor de IA está agotada.", # i18n-allow: Spanish TTS
+ "provider_unreachable": "El proveedor de IA no está disponible ahora.", # i18n-allow
+ "worker_timeout": "El worker superó su tiempo límite.", # i18n-allow: Spanish TTS
+ },
+ "pt": {
+ "critic_loop_exhausted": "Três tentativas não chegaram.", # i18n-allow: PT TTS
+ "critic_rejected": "A revisão não ficou satisfeita.", # i18n-allow: PT TTS
+ "task_error": "O worker foi interrompido.", # i18n-allow: PT TTS
+ "attempts_timed_out": "O tempo limite foi atingido.", # i18n-allow: PT TTS
+ "review_time_budget_exhausted": ( # i18n-allow: Portuguese TTS phrase
+ "O tempo de revisão esgotou-se; o resultado parcial está " # i18n-allow
+ "disponível." # i18n-allow
+ ),
+ "budget_exceeded": "O limite de custo foi atingido.", # i18n-allow: PT TTS
+ "decompose_failed": "Não consegui dividir a tarefa.", # i18n-allow: PT TTS
+ "crash_recovery": "Uma missão antiga foi limpa.", # i18n-allow: PT TTS
+ "interrupted": (
+ "Uma missão em curso foi interrompida; os resultados " # i18n-allow: PT TTS
+ "parciais estão disponíveis." # i18n-allow: PT TTS
+ ),
+ "empty_diff": "Não foi escrito nenhum ficheiro.", # i18n-allow: PT TTS
+ "critic_unavailable": (
+ "O revisor falhou; o trabalho está guardado no worktree." # i18n-allow: PT TTS
+ ),
+ "worktree_setup_failed": "Não consegui criar um espaço de trabalho.", # i18n-allow: PT TTS
+ "checkpoint_missing": (
+ "Falta o progresso guardado, por isso não posso continuar." # i18n-allow: PT TTS
+ ),
+ "git_missing": (
+ "{agents} precisam que o git esteja instalado e no PATH." # i18n-allow: PT TTS
+ ),
+ "git_not_a_repository": (
+ "{agents} precisam de uma cópia git (instala com o " # i18n-allow: PT TTS
+ "instalador do git, não com uma transferência ZIP)." # i18n-allow: PT TTS
+ ),
+ "source_checkout_unavailable": (
+ "Esta tarefa de {agent} precisa do " # i18n-allow: PT TTS
+ "repositório do código-fonte, que não está " # i18n-allow: PT TTS
+ "disponível nesta instalação." # i18n-allow: PT TTS
+ ),
+ "provider_auth": (
+ "O início de sessão no fornecedor de IA é inválido ou expirou." # i18n-allow: PT TTS
+ ),
+ "provider_quota": "A quota do fornecedor de IA está esgotada.", # i18n-allow: PT TTS
+ "provider_unreachable": "O fornecedor de IA não está acessível agora.", # i18n-allow
+ "worker_timeout": "O worker excedeu o tempo limite.", # i18n-allow: PT TTS
},
}
+def approved_summary(payload: object, language: str) -> str:
+ """The runtime-signed approval summary to speak in *language*.
+
+ ``summary_de``/``summary_en`` cover German and English; ``summary_local``
+ carries the dispatch language for every other locale. An event from
+ before ``summary_local`` existed falls back to ``summary_en``.
+ """
+ if language == "de":
+ return str(getattr(payload, "summary_de", "") or "")
+ if language != "en":
+ local = str(getattr(payload, "summary_local", "") or "")
+ if local:
+ return local
+ return str(getattr(payload, "summary_en", "") or "")
+
+
def render_agent_brand(phrase: str) -> str:
"""Resolve the ``{agent}``/``{agents}`` placeholders to the live brand.
@@ -357,6 +518,56 @@ CAPACITY_WAIT_PHRASES: Final[dict[str, dict[str, str]]] = {
"wait_auth": "The mission is waiting until you sign in again.",
"paid": "Paid API use only with your explicit approval in Artifacts.",
},
+ "es": {
+ "provider_quota": "La capacidad de {provider} está agotada por ahora.", # i18n-allow
+ "provider_auth": "El inicio de sesión de {provider} ha caducado.", # i18n-allow
+ "provider_unavailable": "{provider} no se puede usar ahora mismo.", # i18n-allow
+ "paid_cap_reached": (
+ "Se alcanzó el límite de coste de esta misión para {provider}." # i18n-allow
+ ),
+ "paid_daily_cap_reached": (
+ "Se alcanzó el límite diario de uso automático de {provider}." # i18n-allow
+ ),
+ "paid_consent_revoked": (
+ "El uso automático de {provider} se ha desactivado." # i18n-allow: Spanish TTS
+ ),
+ "saved": "El progreso hasta ahora se ha guardado.", # i18n-allow: Spanish TTS
+ "progress": "{done} de {total} pasos hechos, {open} pendientes.", # i18n-allow: Spanish TTS
+ "progress_single": "La tarea en sí sigue pendiente.", # i18n-allow: Spanish TTS
+ "file": "1 archivo guardado.", # i18n-allow: Spanish TTS
+ "files": "{files} archivos guardados.", # i18n-allow: Spanish TTS
+ "wait": "La misión espera hasta que vuelva a haber capacidad.", # i18n-allow: Spanish TTS
+ "wait_auth": "La misión espera hasta que vuelvas a iniciar sesión.", # i18n-allow
+ "paid": (
+ "Uso de API de pago solo con tu aprobación expresa " # i18n-allow: Spanish TTS
+ "en Artefactos." # i18n-allow: Spanish TTS
+ ),
+ },
+ "pt": {
+ "provider_quota": "A capacidade de {provider} está esgotada por agora.", # i18n-allow
+ "provider_auth": "O início de sessão em {provider} expirou.", # i18n-allow: PT TTS
+ "provider_unavailable": "{provider} não pode ser usado neste momento.", # i18n-allow
+ "paid_cap_reached": (
+ "O limite de custo desta missão para {provider} foi atingido." # i18n-allow: PT TTS
+ ),
+ "paid_daily_cap_reached": (
+ "O limite diário de uso automático de {provider} foi atingido." # i18n-allow: PT TTS
+ ),
+ "paid_consent_revoked": (
+ "O uso automático de {provider} foi desligado." # i18n-allow: PT TTS
+ ),
+ "saved": "O progresso até agora foi guardado.", # i18n-allow: PT TTS
+ "progress": "{done} de {total} passos feitos, {open} por fazer.", # i18n-allow: PT TTS
+ "progress_single": "A tarefa em si ainda está por fazer.", # i18n-allow: PT TTS
+ "file": "1 ficheiro guardado.", # i18n-allow: PT TTS
+ "files": "{files} ficheiros guardados.", # i18n-allow: PT TTS
+ "wait": "A missão aguarda até haver capacidade outra vez.", # i18n-allow: PT TTS
+ "wait_auth": "A missão aguarda até voltares a iniciar sessão.", # i18n-allow: PT TTS
+ "paid": (
+ "Uso de API paga só com a tua aprovação explícita " # i18n-allow: PT TTS
+ "em Artefactos." # i18n-allow: PT TTS
+ ),
+ },
}
_MAX_PROVIDER_CHARS: Final[int] = 40
@@ -377,6 +588,46 @@ _PROVIDER_DISPLAY: Final[dict[str, str]] = {
}
+# Spoken name for a provider slug the runtime could not resolve.
+_PROVIDER_FALLBACK_NAME: Final[dict[str, str]] = {
+ "de": "KI-Anbieter", # i18n-allow: German TTS
+ "en": "AI provider",
+ "es": "proveedor de IA", # i18n-allow: Spanish TTS
+ "pt": "fornecedor de IA", # i18n-allow: PT TTS
+}
+
+# Spoken defaults for an empty summary / reason / destructive target.
+_EMPTY_SUMMARY: Final[dict[str, str]] = {
+ "de": "Aufgabe erledigt.", # i18n-allow: German TTS
+ "en": "Task completed.",
+ "es": "Tarea completada.", # i18n-allow: Spanish TTS
+ "pt": "Tarefa concluída.", # i18n-allow: PT TTS
+}
+_UNKNOWN_REASON: Final[dict[str, str]] = {
+ "de": "unbekannter Fehler", # i18n-allow: German TTS
+ "en": "unknown error",
+ "es": "error desconocido", # i18n-allow: Spanish TTS
+ "pt": "erro desconhecido", # i18n-allow: PT TTS
+}
+_NO_TOOL_CALL: Final[dict[str, str]] = {
+ "de": "Konnte ich nicht ausführen — kein Tool-Aufruf.", # i18n-allow: German TTS
+ "en": "I could not do that — no tool call was made.",
+ "es": "No pude hacerlo: no hubo ninguna llamada a herramienta.", # i18n-allow: Spanish TTS
+ "pt": "Não consegui fazer isso: não houve nenhuma chamada a ferramenta.", # i18n-allow: PT TTS
+}
+_DEFAULT_TARGET: Final[dict[str, str]] = {
+ "de": "diese Aktion", # i18n-allow: German TTS
+ "en": "this action",
+ "es": "esta acción", # i18n-allow: Spanish TTS
+ "pt": "esta ação", # i18n-allow: PT TTS
+}
+
+
+def _localized(table: dict[str, str], language: str) -> str:
+ """Phrase for *language*; an unknown code speaks English."""
+ return table.get(language, table["en"])
+
+
def render_capacity_wait(
*,
reason: str,
@@ -391,7 +642,7 @@ def render_capacity_wait(
what is done, what is open, and the options (wait / approve paid use)."""
table = CAPACITY_WAIT_PHRASES.get(language, CAPACITY_WAIT_PHRASES["en"])
slug = (provider or "").strip()
- fallback = "KI-Anbieter" if language == "de" else "AI provider" # i18n-allow
+ fallback = _PROVIDER_FALLBACK_NAME.get(language, _PROVIDER_FALLBACK_NAME["en"])
name = (_PROVIDER_DISPLAY.get(slug.lower(), slug) or fallback)[:_MAX_PROVIDER_CHARS]
head = [table.get(reason, table["provider_unavailable"]).format(provider=name)]
if checkpoint_saved:
@@ -449,7 +700,9 @@ class MissionReadback:
"""Choose a template, avoiding immediate repetition."""
pool = READBACK_TEMPLATES.get(key, {}).get(lang, [])
if not pool:
- other: Lang = "en" if lang == "de" else "de"
+ # An unknown code speaks English, never German (AP-21: an
+ # arbitrary user is not a German speaker).
+ other: Lang = "de" if lang == "en" else "en"
pool = READBACK_TEMPLATES.get(key, {}).get(other, [])
if not pool:
return ""
@@ -489,10 +742,17 @@ class MissionReadback:
# --- Capability-Honesty last-resort check ---
if honesty_check is not None and honesty_check.honesty_overridden:
# The "approved" verdict is a false-positive: render failure.
- override_reason = (
- honesty_check.verdict.summary_de
- or "Konnte ich nicht ausführen — kein Tool-Aufruf." # i18n-allow: German TTS fallback phrase
- )
+ verdict = honesty_check.verdict
+ # The corrected verdict text exists in de/en only; any other
+ # language speaks its own fixed phrase rather than a German one.
+ if language == "de":
+ override_reason = verdict.summary_de or _localized(_NO_TOOL_CALL, "de")
+ elif language == "en":
+ override_reason = (
+ verdict.summary or _localized(_NO_TOOL_CALL, "en")
+ )
+ else:
+ override_reason = _localized(_NO_TOOL_CALL, language)
return self.render_failed(reason=override_reason, language=language)
template = self._pick("approved", language)
@@ -500,7 +760,7 @@ class MissionReadback:
return ""
# Insert cap so the final string does not exceed 280 chars
max_insert = MAX_VOICE_CHARS - len(template) + len("{summary}")
- safe_summary = (summary or "Aufgabe erledigt.").strip()
+ safe_summary = (summary or _localized(_EMPTY_SUMMARY, language)).strip()
if len(safe_summary) > max_insert:
safe_summary = safe_summary[:max_insert].rstrip()
return _truncate(template.format(summary=safe_summary))
@@ -533,7 +793,9 @@ class MissionReadback:
mapped = FAILURE_REASON_PHRASES.get(language, {}).get(short_reason)
if mapped:
mapped = render_agent_brand(mapped)
- safe_reason = mapped if mapped else (reason or "unbekannter Fehler").strip() # i18n-allow: German TTS fallback phrase
+ safe_reason = mapped if mapped else (
+ reason or _localized(_UNKNOWN_REASON, language)
+ ).strip()
max_insert = MAX_VOICE_CHARS - len(template) + len("{reason}")
if len(safe_reason) > max_insert:
safe_reason = safe_reason[:max_insert].rstrip()
@@ -562,13 +824,13 @@ class MissionReadback:
return _truncate(self._pick("path_guard_blocked", language))
def render_destructive_confirm(
- self, *, target: str = "diese Aktion", language: Lang = "de"
+ self, *, target: str = "", language: Lang = "de"
) -> str:
template = self._pick("destructive_confirm", language)
if not template:
return ""
max_insert = MAX_VOICE_CHARS - len(template) + len("{target}")
- safe_target = (target or "diese Aktion").strip()
+ safe_target = (target or _localized(_DEFAULT_TARGET, language)).strip()
if len(safe_target) > max_insert:
safe_target = safe_target[:max_insert].rstrip()
return _truncate(template.format(target=safe_target))
@@ -587,6 +849,7 @@ __all__ = [
"MAX_VOICE_CHARS",
"MissionReadback",
"READBACK_TEMPLATES",
+ "approved_summary",
"TemplateKey",
"failure_phrase_key",
]
diff --git a/jarvis/plugins/realtime/local_voice.py b/jarvis/plugins/realtime/local_voice.py
index 620e6ecb7d..779b7b62d6 100644
--- a/jarvis/plugins/realtime/local_voice.py
+++ b/jarvis/plugins/realtime/local_voice.py
@@ -46,6 +46,9 @@ _REFUSALS: dict[str, dict[str, str]] = {
"es": "La voz local aún no está configurada en este equipo. " # i18n-allow
"Inicia la configuración en la tarjeta Voz local de los " # i18n-allow
"Ajustes.", # i18n-allow
+ "pt": "A voz local ainda não está configurada neste computador. " # i18n-allow
+ "Inicia a configuração no cartão Voz local das " # i18n-allow
+ "Definições.", # i18n-allow
},
"loading": {
"en": "Local voice is still loading ({percent} %). The Local voice card "
@@ -54,6 +57,8 @@ _REFUSALS: dict[str, dict[str, str]] = {
"Stimme in den Einstellungen zeigt den Fortschritt.", # i18n-allow
"es": "La voz local aún se está cargando ({percent} %). La tarjeta " # i18n-allow
"Voz local de los Ajustes muestra el progreso.", # i18n-allow
+ "pt": "A voz local ainda está a carregar ({percent} %). O cartão " # i18n-allow
+ "Voz local das Definições mostra o progresso.", # i18n-allow
},
"failed": {
"en": "Local voice could not start. The Local voice card in Settings shows why.",
@@ -61,13 +66,15 @@ _REFUSALS: dict[str, dict[str, str]] = {
"Stimme in den Einstellungen zeigt den Grund.", # i18n-allow
"es": "La voz local no pudo arrancar. La tarjeta Voz local de los " # i18n-allow
"Ajustes muestra el motivo.", # i18n-allow
+ "pt": "A voz local não conseguiu arrancar. O cartão Voz local das " # i18n-allow
+ "Definições mostra o motivo.", # i18n-allow
},
}
NOT_SET_UP_REASON = _REFUSALS["not_set_up"]["en"]
def refusal(kind: str, language: str, **values: object) -> str:
- """One refusal sentence in ``language`` (de/en/es; anything else is English)."""
+ """One refusal sentence in ``language`` (de/en/es/pt; anything else is English)."""
table = _REFUSALS[kind]
return table.get(language, table["en"]).format(**values)
diff --git a/jarvis/plugins/realtime/openai_realtime.py b/jarvis/plugins/realtime/openai_realtime.py
index be62e8fc8e..474b233960 100644
--- a/jarvis/plugins/realtime/openai_realtime.py
+++ b/jarvis/plugins/realtime/openai_realtime.py
@@ -234,7 +234,7 @@ def _session_payload(
transcription: dict[str, Any] = {"model": transcription_model} if transcription_model else {}
input_language = str(getattr(cfg, "input_language", "auto") or "auto")
input_language = input_language.strip().lower().replace("_", "-").split("-", 1)[0]
- if input_language in {"de", "en", "es"}:
+ if input_language in {"de", "en", "es", "pt"}:
transcription["language"] = input_language
turn_detection = str(getattr(cfg, "turn_detection", "server_vad") or "server_vad")
diff --git a/jarvis/plugins/stt/transcript_filter.py b/jarvis/plugins/stt/transcript_filter.py
index c72645974a..9bdc53bfca 100644
--- a/jarvis/plugins/stt/transcript_filter.py
+++ b/jarvis/plugins/stt/transcript_filter.py
@@ -182,6 +182,7 @@ PHONETIC_FIXES: dict[str, tuple[tuple[str, str], ...]] = {
),
"en": (),
"es": (),
+ "pt": (),
}
diff --git a/jarvis/plugins/tool/create_artifact.py b/jarvis/plugins/tool/create_artifact.py
index 626a75ab17..581e9aa1c0 100644
--- a/jarvis/plugins/tool/create_artifact.py
+++ b/jarvis/plugins/tool/create_artifact.py
@@ -53,6 +53,7 @@ from jarvis.core.events import (
NavigateSidebar,
)
from jarvis.core.protocols import ExecutionContext, ToolResult
+from jarvis.missions.events import coerce_mission_language
from jarvis.voice.action_phrases import action_phrase, resolve_ambient_language
log = logging.getLogger(__name__)
@@ -169,7 +170,7 @@ class CreateArtifactTool:
},
"language": {
"type": "string",
- "enum": ["de", "en", "es"],
+ "enum": ["de", "en", "es", "pt"],
"description": "Language the user is speaking (fallback only).",
},
"spoken_ack": {
@@ -303,9 +304,10 @@ class CreateArtifactTool:
if wants_sample_data(f"{utterance}\n{request}")
else plan_source_data(f"{utterance}\n{request}")
)
- # The mission dispatch contract is de/en; an "es" turn keeps the German
- # mission readback (the same cap spawn_worker applies).
- mission_language = language if language in ("de", "en") else "de"
+ # Every supported reply language is a mission language, so the
+ # mission readback speaks the turn's language (the same rule
+ # spawn_worker applies).
+ mission_language = coerce_mission_language(language)
background = _called_in_background(ctx)
# UI/telemetry announce — the agent strip shows "builds the artifact".
diff --git a/jarvis/plugins/tool/delegate_to_agent.py b/jarvis/plugins/tool/delegate_to_agent.py
index b49c5a0def..47294b6646 100644
--- a/jarvis/plugins/tool/delegate_to_agent.py
+++ b/jarvis/plugins/tool/delegate_to_agent.py
@@ -38,81 +38,97 @@ _ACK: Final[dict[str, str]] = {
"de": "{name} ist dran, ich sage Bescheid.", # i18n-allow: spoken ack
"en": "{name} is on it, I will let you know.",
"es": "{name} se encarga, te aviso.",
+ "pt": "{name} trata disso, eu aviso-te.",
}
_QUIET_ACK: Final[dict[str, str]] = {
"de": "{name} ist dran.", # i18n-allow: spoken ack
"en": "{name} is on it.",
"es": "{name} se encarga.",
+ "pt": "{name} trata disso.",
}
_ERROR_ACK: Final[dict[str, str]] = {
"de": "{name} ist dran; ich melde mich bei Hindernissen.", # i18n-allow: spoken ack
"en": "{name} is on it; I will report any blockers.",
"es": "{name} se encarga; te avisare si hay impedimentos.",
+ "pt": "{name} trata disso; aviso-te se houver impedimentos.",
}
_QUEUED: Final[dict[str, str]] = {
"de": "Aufgabe für {name} erfasst; Start noch nicht bestätigt.", # i18n-allow: spoken ack
"en": "The task for {name} is recorded; its start is not confirmed yet.",
"es": "La tarea para {name} está registrada; su inicio aún no está confirmado.",
+ "pt": "A tarefa para {name} está registada; o início ainda não está confirmado.",
}
_NO_AGENT: Final[dict[str, str]] = {
"de": "Ich kenne keinen Agenten namens {target}.", # i18n-allow: spoken reply
"en": "I do not know an agent called {target}.",
"es": "No conozco ningún agente llamado {target}.",
+ "pt": "Não conheço nenhum agente chamado {target}.",
}
_ASK_AGENT: Final[dict[str, str]] = {
"de": "Meinst du {names}?", # i18n-allow: spoken reply
"en": "Did you mean {names}?",
"es": "¿Te refieres a {names}?",
+ "pt": "Referes-te a {names}?",
}
_OR: Final[dict[str, str]] = {
"de": " oder ", # i18n-allow: spoken reply
"en": " or ",
"es": " o ",
+ "pt": " ou ",
}
_AVAILABLE: Final[dict[str, str]] = {
"de": "Verfügbar sind: {names}.", # i18n-allow: spoken reply
"en": "Available agents: {names}.",
"es": "Agentes disponibles: {names}.",
+ "pt": "Agentes disponíveis: {names}.",
}
_NO_FIT: Final[dict[str, str]] = {
"de": "Keiner deiner Agenten passt zu dieser Aufgabe.", # i18n-allow: spoken reply
"en": "None of your agents fits this task.",
"es": "Ninguno de tus agentes encaja con esta tarea.",
+ "pt": "Nenhum dos teus agentes se adequa a esta tarefa.",
}
_REFUSED: Final[dict[str, str]] = {
"de": "{name} kann das gerade nicht übernehmen: {reason}.", # i18n-allow: spoken reply
"en": "{name} cannot take that right now: {reason}.",
"es": "{name} no puede encargarse ahora: {reason}.",
+ "pt": "{name} não pode tratar disso agora: {reason}.",
}
_NOT_READY: Final[dict[str, str]] = {
"de": "Die Agenten sind noch nicht bereit.", # i18n-allow: spoken reply
"en": "The agents are not ready yet.",
"es": "Los agentes aún no están listos.",
+ "pt": "Os agentes ainda não estão prontos.",
}
_STATUS_IDLE: Final[dict[str, str]] = {
"de": "{name} hat gerade nichts zu tun.", # i18n-allow: spoken reply
"en": "{name} has nothing to do right now.",
"es": "{name} no tiene nada que hacer ahora.",
+ "pt": "{name} não tem nada para fazer agora.",
}
_STATUS_WORKING: Final[dict[str, str]] = {
"de": "{name} arbeitet gerade: {text}", # i18n-allow: spoken reply
"en": "{name} is working on: {text}",
"es": "{name} está trabajando en: {text}",
+ "pt": "{name} está a trabalhar em: {text}",
}
_STATUS_LAST: Final[dict[str, str]] = {
"de": "{name}: zuletzt {kind}, {text}", # i18n-allow: spoken reply
"en": "{name}: last {kind}, {text}",
"es": "{name}: último {kind}, {text}",
+ "pt": "{name}: último {kind}, {text}",
}
_ROSTER: Final[dict[str, str]] = {
"de": "Deine Agenten: {names}.", # i18n-allow: spoken reply
"en": "Your agents: {names}.",
"es": "Tus agentes: {names}.",
+ "pt": "Os teus agentes: {names}.",
}
_EMPTY_ROSTER: Final[dict[str, str]] = {
"de": "Du hast noch keine Team-Agenten.", # i18n-allow: spoken reply
"en": "You do not have any team agents yet.",
"es": "Todavía no tienes agentes en tu equipo.",
+ "pt": "Ainda não tens agentes na tua equipa.",
}
diff --git a/jarvis/plugins/tool/dispatch_with_review.py b/jarvis/plugins/tool/dispatch_with_review.py
index c344f98979..15a08b35c9 100644
--- a/jarvis/plugins/tool/dispatch_with_review.py
+++ b/jarvis/plugins/tool/dispatch_with_review.py
@@ -30,15 +30,96 @@ from jarvis.core.review.spawns import ReviewerSpawner, WorkerSpawner
from jarvis.core.review.state import PipelineOutcome, PipelineResult
from jarvis.harness.manager import HarnessManager
-# AD-14: voice phrases are hardcoded here and byte-exact matched in the
-# smoke tests. Changes require a plan update.
-VOICE_HOLDING_PHRASE_DE = "Lass mich kurz an der Aufgabe arbeiten." # i18n-allow: German TTS phrase
-VOICE_OUTCOME_TEMPLATES_DE = {
- "success": "Erledigt — {summary}", # i18n-allow: German TTS phrase
- "cap_fired": "Mein bestes Ergebnis liegt vor, mit einer Einschränkung: {top_issue}", # i18n-allow: German TTS phrase
- "fail": "Das funktioniert so nicht — {summary}", # i18n-allow: German TTS phrase
- "precheck_fail": "Die Aufgabe ist zu kurz oder unklar — versuch's nochmal mit mehr Kontext.", # i18n-allow: German TTS phrase
+# AD-14: voice phrases are hardcoded here (never generated, never mutable via
+# voice/config) and byte-exact matched in the smoke tests. Each phrase exists
+# once per supported reply language; the German wording is the original AD-14
+# text and stays unchanged. The tool speaks the turn's output language
+# (``ctx.config["output_language"]``, decided once per turn by
+# ``jarvis/core/turn_language.py``), else the ambient answer language.
+VOICE_HOLDING_PHRASES: dict[str, str] = {
+ "de": "Lass mich kurz an der Aufgabe arbeiten.", # i18n-allow: German TTS phrase
+ "en": "Let me work on that task for a moment.",
+ "es": "Déjame trabajar un momento en la tarea.",
+ "pt": "Deixa-me trabalhar um pouco na tarefa.",
}
+VOICE_OUTCOME_TEMPLATES: dict[str, dict[str, str]] = {
+ "de": {
+ "success": "Erledigt — {summary}", # i18n-allow: German TTS phrase
+ "cap_fired": "Mein bestes Ergebnis liegt vor, mit einer Einschränkung: {top_issue}", # i18n-allow: German TTS phrase
+ "fail": "Das funktioniert so nicht — {summary}", # i18n-allow: German TTS phrase
+ "precheck_fail": "Die Aufgabe ist zu kurz oder unklar — versuch's nochmal mit mehr Kontext.", # i18n-allow: German TTS phrase
+ },
+ "en": {
+ "success": "Done — {summary}",
+ "cap_fired": "Here is my best result, with one caveat: {top_issue}",
+ "fail": "That does not work like this — {summary}",
+ "precheck_fail": "The task is too short or unclear — try again with more context.",
+ },
+ "es": {
+ "success": "Hecho — {summary}",
+ "cap_fired": "Aquí está mi mejor resultado, con una salvedad: {top_issue}",
+ "fail": "Así no funciona — {summary}",
+ "precheck_fail": (
+ "La tarea es demasiado corta o poco clara — vuelve a intentarlo con más contexto."
+ ),
+ },
+ "pt": {
+ "success": "Feito — {summary}",
+ "cap_fired": "Aqui está o meu melhor resultado, com uma ressalva: {top_issue}",
+ "fail": "Assim não funciona — {summary}",
+ "precheck_fail": (
+ "A tarefa é demasiado curta ou pouco clara — tenta outra vez com mais contexto."
+ ),
+ },
+}
+#: Fallback fillers when the reviewer left no summary / issue to quote.
+VOICE_FALLBACK_FILLERS: dict[str, dict[str, str]] = {
+ "de": {
+ "success": "fertig", # i18n-allow: German TTS phrase fallback
+ "cap_fired": "kleine Restbedenken", # i18n-allow: German TTS phrase fallback
+ "fail": "Architektur-Defekt", # i18n-allow: German TTS phrase fallback
+ },
+ "en": {
+ "success": "finished",
+ "cap_fired": "a few minor remaining concerns",
+ "fail": "an architectural defect",
+ },
+ "es": {
+ "success": "terminado",
+ "cap_fired": "algunas pequeñas dudas pendientes",
+ "fail": "un defecto de arquitectura",
+ },
+ "pt": {
+ "success": "concluído",
+ "cap_fired": "algumas pequenas dúvidas pendentes",
+ "fail": "um defeito de arquitetura",
+ },
+}
+
+# Back-compat aliases for callers that imported the German-only names.
+VOICE_HOLDING_PHRASE_DE = VOICE_HOLDING_PHRASES["de"]
+VOICE_OUTCOME_TEMPLATES_DE = VOICE_OUTCOME_TEMPLATES["de"]
+
+
+def _voice_language(ctx: Any) -> str:
+ """The turn's output language for the spoken phrases (de/en/es/pt).
+
+ ``ctx.config["output_language"]`` as the tool-use loop stamps it wins;
+ without one, the ambient answer language (reply pin, else the default
+ locale). This layer never re-derives a language from the task text.
+ """
+ config = getattr(ctx, "config", None)
+ value = ""
+ if isinstance(config, dict):
+ value = str(config.get("output_language") or "").strip().lower()
+ if not value:
+ try:
+ from jarvis.voice.action_phrases import resolve_ambient_language # noqa: PLC0415
+
+ value = resolve_ambient_language()
+ except Exception: # noqa: BLE001 — a spoken fallback beats a crash on the tool path
+ value = "en"
+ return value if value in VOICE_HOLDING_PHRASES else "en"
class DispatchWithReviewTool:
@@ -181,7 +262,7 @@ class DispatchWithReviewTool:
async def execute(
self, args: dict[str, Any], ctx: ExecutionContext
) -> ToolResult:
- del ctx # ExecutionContext not currently needed (Phase-8.4 scope)
+ language = _voice_language(ctx)
task = (args.get("task") or "").strip()
rubric_id = args.get("rubric_id") or "default"
# max_iterations as a per-run override; otherwise the ctor default.
@@ -208,7 +289,7 @@ class DispatchWithReviewTool:
pipeline = self._ensure_pipeline()
# AD-14: holding phrase ONCE per run — before the await pipeline.run().
# Bus publish is best-effort; if no bus is injected, no side effect.
- await self._announce_holding_phrase()
+ await self._announce_holding_phrase(language)
try:
result = await pipeline.run(
task,
@@ -236,9 +317,9 @@ class DispatchWithReviewTool:
error=f"{type(exc).__name__}: {exc}",
)
- return self._serialize_result(result)
+ return self._serialize_result(result, language)
- async def _announce_holding_phrase(self) -> None:
+ async def _announce_holding_phrase(self, language: str = "en") -> None:
"""AD-14: publish the voice holding phrase once per run.
Bus publish never fails hard — if no bus is injected, it's a no-op.
@@ -250,9 +331,9 @@ class DispatchWithReviewTool:
try:
await self._bus.publish(
AnnouncementRequested(
- text=VOICE_HOLDING_PHRASE_DE,
+ text=VOICE_HOLDING_PHRASES.get(language, VOICE_HOLDING_PHRASES["en"]),
priority="normal",
- language="de",
+ language=language,
)
)
except Exception: # noqa: BLE001, S110 — the voice side effect must not crash
@@ -262,7 +343,9 @@ class DispatchWithReviewTool:
# Result-Serialization
# ------------------------------------------------------------------
- def _serialize_result(self, result: PipelineResult) -> ToolResult:
+ def _serialize_result(
+ self, result: PipelineResult, language: str = "en"
+ ) -> ToolResult:
# `success` includes cap-fire (best-of) — the user gets a result.
# PRECHECK_FAIL and FAIL are hard errors.
success = result.outcome in (
@@ -279,7 +362,7 @@ class DispatchWithReviewTool:
# AD-14: voice outcome phrase in the output. The brain renders this
# as TTS after the tool call has completed.
- voice_phrase = self._build_voice_outcome_phrase(result)
+ voice_phrase = self._build_voice_outcome_phrase(result, language)
output: dict[str, Any] = {
"run_id": result.run_id,
@@ -324,34 +407,38 @@ class DispatchWithReviewTool:
return ToolResult(success=success, output=output, error=error)
@staticmethod
- def _build_voice_outcome_phrase(result: PipelineResult) -> str:
- """AD-14: outcome phrase based on PipelineOutcome.
+ def _build_voice_outcome_phrase(
+ result: PipelineResult, language: str = "en"
+ ) -> str:
+ """AD-14: outcome phrase based on PipelineOutcome, in ``language``.
Templates are hardcoded (Plan-§Forbidden: no mutation via
voice/config). Tests match byte-exact on the phrase prefixes.
"""
+ templates = VOICE_OUTCOME_TEMPLATES.get(language, VOICE_OUTCOME_TEMPLATES["en"])
+ fillers = VOICE_FALLBACK_FILLERS.get(language, VOICE_FALLBACK_FILLERS["en"])
outcome = result.outcome
if outcome is PipelineOutcome.SUCCESS:
summary = (
result.final_verdict.summary
if result.final_verdict is not None
- else "fertig" # i18n-allow: German TTS phrase fallback
+ else fillers["success"]
)
- return VOICE_OUTCOME_TEMPLATES_DE["success"].format(summary=summary)
+ return templates["success"].format(summary=summary)
if outcome is PipelineOutcome.CAP_FIRED:
- top_issue = "kleine Restbedenken" # i18n-allow: German TTS phrase fallback
+ top_issue = fillers["cap_fired"]
if result.final_verdict is not None:
if result.final_verdict.issues:
top_issue = result.final_verdict.issues[0].description
else:
top_issue = result.final_verdict.summary
- return VOICE_OUTCOME_TEMPLATES_DE["cap_fired"].format(top_issue=top_issue)
+ return templates["cap_fired"].format(top_issue=top_issue)
if outcome is PipelineOutcome.FAIL:
summary = (
result.final_verdict.summary
if result.final_verdict is not None
- else "Architektur-Defekt" # i18n-allow: German TTS phrase fallback
+ else fillers["fail"]
)
- return VOICE_OUTCOME_TEMPLATES_DE["fail"].format(summary=summary)
+ return templates["fail"].format(summary=summary)
# PRECHECK_FAIL
- return VOICE_OUTCOME_TEMPLATES_DE["precheck_fail"]
+ return templates["precheck_fail"]
diff --git a/jarvis/plugins/tool/spawn_worker.py b/jarvis/plugins/tool/spawn_worker.py
index 8427359212..67332e3fe3 100644
--- a/jarvis/plugins/tool/spawn_worker.py
+++ b/jarvis/plugins/tool/spawn_worker.py
@@ -41,6 +41,7 @@ from jarvis.brain.ack_brain.spawn_announcement import SpawnAnnouncementComposer
from jarvis.core.bus import EventBus
from jarvis.core.events import JarvisAgentAnnouncement, JarvisAgentBackgroundCompleted
from jarvis.core.protocols import ExecutionContext, ToolResult
+from jarvis.missions.events import coerce_mission_language
from jarvis.missions.manager import MissionManager
from jarvis.missions.stream_evidence import (
FORCE_SPAWN_DIRECTIVE,
@@ -563,13 +564,13 @@ class SpawnWorkerTool:
or None
)
ack_language = turn_language
- # MissionManager.dispatch + the mission voice readback (announcer /
- # readback) are de/en only — an "es" turn keeps the pre-existing German
- # readback (bringing the mission voice layer to "es" is the tracked
- # follow-up). Cap here so we never thread an unsupported value into the
- # ``Literal["de","en"]`` dispatch contract; the spoken ACK itself stays
- # fully de/en/es via the composer above.
- mission_language = turn_language if turn_language in ("de", "en") else "de"
+ # MissionManager.dispatch + the mission voice readback speak every
+ # supported reply language. Coerce so an unsupported value never
+ # reaches the ``MissionLanguage`` dispatch contract; a turn without a
+ # language follows the ambient answer language (reply pin → locale).
+ mission_language = coerce_mission_language(
+ turn_language or resolve_ambient_language()
+ )
# Spawn cooldown — suppress duplicate spawns while a dispatch is in
# flight AND within _COOLDOWN_SECONDS of the last arm. Live regression
@@ -697,10 +698,10 @@ class SpawnWorkerTool:
self._background_dispatch(
mission_prompt, utterance, manager, kontrollierer,
mission_language=mission_language,
- # Full de/en/es turn language (NOT the de/en-capped
- # mission_language): a failure readback the background task
- # renders itself must be in the same language the pipeline
- # will wrap it in.
+ # Full turn language (not the coerced mission_language):
+ # a failure readback the background task renders itself
+ # must be in the same language the pipeline will wrap it
+ # in.
readback_language=ack_language,
),
# NOTE: prefix "jarvis-agent-" is a live matching key, not a
diff --git a/jarvis/plugins/tts/__init__.py b/jarvis/plugins/tts/__init__.py
index b8e8ea65ce..f7025abc82 100644
--- a/jarvis/plugins/tts/__init__.py
+++ b/jarvis/plugins/tts/__init__.py
@@ -632,6 +632,7 @@ def _build_provider(tts_cfg: Any, provider: str) -> Any:
DEFAULT_VOICE_DE,
DEFAULT_VOICE_EN,
DEFAULT_VOICE_ES,
+ DEFAULT_VOICE_PT,
InworldTTS,
)
except ImportError as exc:
@@ -643,7 +644,7 @@ def _build_provider(tts_cfg: Any, provider: str) -> Any:
# Per-language voices live in the [tts.inworld] sub-table (extra="allow"),
# NOT [tts].voice_de — that field may hold a foreign Gemini voice name
# ("Charon") which is not a valid Inworld voice. Falls back to the
- # plugin's native defaults (Josef/Dennis/Diego). The shared [tts].model
+ # plugin's native defaults (Josef/Dennis/Diego/Leonor). The shared [tts].model
# is ignored here (it may hold another family's id); the model comes from
# the sub-table or the plugin default.
extras = getattr(tts_cfg, "model_extra", None) or {}
@@ -653,6 +654,7 @@ def _build_provider(tts_cfg: Any, provider: str) -> Any:
default_voice_de=iw.get("voice_de") or DEFAULT_VOICE_DE,
default_voice_en=iw.get("voice_en") or DEFAULT_VOICE_EN,
default_voice_es=iw.get("voice_es") or DEFAULT_VOICE_ES,
+ default_voice_pt=iw.get("voice_pt") or DEFAULT_VOICE_PT,
model=iw.get("model") or INWORLD_DEFAULT_MODEL,
language=tts_cfg.language_code or "auto",
speed=float(iw.get("speed", getattr(tts_cfg, "speed", 1.0))),
@@ -717,6 +719,7 @@ def _build_provider(tts_cfg: Any, provider: str) -> Any:
voice_id_de=ct.get("voice_id_de"),
voice_id_en=ct.get("voice_id_en"),
voice_id_es=ct.get("voice_id_es"),
+ voice_id_pt=ct.get("voice_id_pt"),
language=ct.get("language", tts_cfg.language_code or "auto"),
chunk_by_sentence=bool(ct.get("chunk_by_sentence", True)),
speed=float(ct.get("speed", tts_cfg.speed)),
diff --git a/jarvis/plugins/tts/cartesia_tts.py b/jarvis/plugins/tts/cartesia_tts.py
index c1f45cff2a..3d707b9081 100644
--- a/jarvis/plugins/tts/cartesia_tts.py
+++ b/jarvis/plugins/tts/cartesia_tts.py
@@ -40,6 +40,12 @@ DEFAULT_MODEL_ID = "sonic-3.5"
DEFAULT_VOICE_ID_DE = "b7187e84-fe22-4344-ba4a-bc013fcb533e" # Sebastian — Orator (DE)
DEFAULT_VOICE_ID_EN = "47c38ca4-5f35-497b-b1a3-415245fb35e1" # Daniel — Modern Assistant (EN)
DEFAULT_VOICE_ID_ES = "15d0c2e2-8d29-44c3-be23-d585d5f154a1" # Pedro — Formal Speaker (ES)
+# Portuguese: a Brazilian voice is the FALLBACK, not the preference. Cartesia's
+# library lists European Portuguese voices, but none has a publicly documented
+# UUID we could verify, and a guessed UUID fails every request. The ``language``
+# field still carries "pt" so Sonic speaks Portuguese; a user with a pt-PT voice
+# sets [tts.cartesia].voice_id_pt to its UUID.
+DEFAULT_VOICE_ID_PT = "6a16c1f4-462b-44de-998d-ccdaa4125a0a" # Friendly Brazilian Man (pt-BR)
# Generic fallback when no language is known. Defaults to the English voice
# so a missing language hint behaves like the previous single-voice plugin.
@@ -72,6 +78,7 @@ class CartesiaTTS:
voice_id_de: str | None = None,
voice_id_en: str | None = None,
voice_id_es: str | None = None,
+ voice_id_pt: str | None = None,
language: str = "auto",
chunk_by_sentence: bool = True,
speed: float = 1.0,
@@ -90,6 +97,7 @@ class CartesiaTTS:
"de": voice_id_de or DEFAULT_VOICE_ID_DE,
"en": voice_id_en or DEFAULT_VOICE_ID_EN,
"es": voice_id_es or DEFAULT_VOICE_ID_ES,
+ "pt": voice_id_pt or DEFAULT_VOICE_ID_PT,
}
self._language = language
# Voice used when neither a per-call language_code nor the text sniff
@@ -284,6 +292,7 @@ class CartesiaTTS:
self._voice_by_lang.get("de"),
self._voice_by_lang.get("en"),
self._voice_by_lang.get("es"),
+ self._voice_by_lang.get("pt"),
self._voice_id,
):
if v and v not in seen:
diff --git a/jarvis/plugins/tts/curated_catalog.py b/jarvis/plugins/tts/curated_catalog.py
index 0c31d06de1..031ad549cb 100644
--- a/jarvis/plugins/tts/curated_catalog.py
+++ b/jarvis/plugins/tts/curated_catalog.py
@@ -59,6 +59,8 @@ _VOICE_GENDERS: dict[str, str] = {
# Inworld
"Josef": MASCULINE, "Dennis": MASCULINE, "Diego": MASCULINE,
"Johanna": FEMININE, "Ashley": FEMININE, "Lupita": FEMININE,
+ "Leonor": FEMININE, # pt-PT
+ "Heitor": MASCULINE, # pt-BR
# ElevenLabs curated prebuilt voices (ids; all masculine)
"onwK4e9ZLuTAKqWW03F9": MASCULINE, # Daniel
"JBFqnCBsd6RMkjVDRZzb": MASCULINE, # George
@@ -110,10 +112,11 @@ def _v(voice_id: str, language: str = MULTILINGUAL) -> VoiceEntry:
class ModelEntry:
"""One vetted model on the allowlist.
- ``languages`` lists the first-class languages (de/en/es) the model covers
- well — the premium models cover far more, but these three are what Jarvis
- guarantees. ``status`` is ``"allowed"`` (selectable), ``"provisional"``
- (integrated but not yet eval-passed, hidden from the default picker), or
+ ``languages`` lists the first-class languages (de/en/es/pt) the model
+ covers well — the premium models cover far more, but these are what Jarvis
+ guarantees. ``pt`` is listed only where the vendor documents Portuguese.
+ ``status`` is ``"allowed"`` (selectable), ``"provisional"`` (integrated
+ but not yet eval-passed, hidden from the default picker), or
``"unlisted"`` (kept for provenance, never selectable).
"""
@@ -144,7 +147,7 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="inworld",
model_id="inworld-tts-2",
quality_tier="S",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="realtime",
streaming=True,
voices=(
@@ -154,13 +157,17 @@ _CATALOG: tuple[ModelEntry, ...] = (
_v("Ashley", "en"),
_v("Diego", "es"),
_v("Lupita", "es"),
+ # Leonor is a European Portuguese voice; Heitor is Brazilian and
+ # only the masculine alternative (no masculine pt-PT voice exists).
+ _v("Leonor", "pt"),
+ _v("Heitor", "pt"),
),
),
ModelEntry(
family="cartesia",
model_id="sonic-3.5",
quality_tier="S",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="realtime",
streaming=True,
),
@@ -168,7 +175,7 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="gemini-flash-tts",
model_id="gemini-3.1-flash-tts-preview",
quality_tier="S",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="standard", # ~300-500 ms, chunked (no true WS streaming)
streaming=True,
voices=tuple(
@@ -187,7 +194,7 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="elevenlabs",
model_id="eleven_flash_v2_5",
quality_tier="A",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="realtime",
streaming=True,
voices=(
@@ -202,7 +209,7 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="grok-voice",
model_id="grok-voice-tts-1.0",
quality_tier="A",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="realtime",
streaming=True,
voices=tuple(
@@ -220,7 +227,7 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="openrouter",
model_id="google/gemini-3.1-flash-tts-preview",
quality_tier="S",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="standard",
streaming=True,
),
@@ -228,10 +235,12 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="openrouter",
model_id="x-ai/grok-voice-tts-1.0",
quality_tier="A",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="realtime",
streaming=True,
),
+ # No "pt": Microsoft's public MAI-Voice-2 pages give a language count but
+ # no list we could verify, and the curated voices cover no Portuguese.
ModelEntry(
family="openrouter",
model_id="microsoft/mai-voice-2",
@@ -247,7 +256,7 @@ _CATALOG: tuple[ModelEntry, ...] = (
family="openrouter",
model_id="mistralai/voxtral-mini-tts-2603",
quality_tier="A",
- languages=("de", "en", "es"),
+ languages=("de", "en", "es", "pt"),
latency_class="standard",
streaming=True,
),
diff --git a/jarvis/plugins/tts/gemini_flash_tts.py b/jarvis/plugins/tts/gemini_flash_tts.py
index c3c249b223..05d7f23dce 100644
--- a/jarvis/plugins/tts/gemini_flash_tts.py
+++ b/jarvis/plugins/tts/gemini_flash_tts.py
@@ -847,6 +847,25 @@ def _split_sentences(text: str) -> list[str]:
# SAPI5 emergency fallback (Windows native, no quota)
# ----------------------------------------------------------------------
+def _sapi5_voice_preferences(language_code: str | None) -> tuple[str, ...]:
+ """Description substrings to look for, best match first, for a language.
+
+ Portuguese prefers an installed European voice (description mentions
+ "Portugal") and only then any Portuguese voice, which on most systems is
+ Brazilian. The region is matched without punctuation because Windows
+ spells it both "Portuguese (Portugal)" and "Portuguese(Portugal)".
+ English is the last resort for every language.
+ """
+ short = (language_code or "").lower().split("-", 1)[0]
+ if short == "de":
+ return ("German", "English")
+ if short == "es":
+ return ("Spain", "Spanish", "English")
+ if short == "pt":
+ return ("Portugal", "Portuguese", "English")
+ return ("English",)
+
+
def _sapi5_synthesize(text: str, language_code: str = "de-DE") -> bytes:
"""Blocking SAPI5 call, returns raw PCM (22050Hz 16-bit mono).
@@ -871,13 +890,16 @@ def _sapi5_synthesize(text: str, language_code: str = "de-DE") -> bytes:
try:
voice = win32com.client.Dispatch("SAPI.SpVoice")
voices = voice.GetVoices()
- # Pick a voice per language
- pick_substring = "German" if language_code.lower().startswith("de") else "English"
+ # Pick a voice per language. Windows voice descriptions name the
+ # language in English, e.g. "Microsoft Helia - Portuguese (Portugal)".
picked = None
- for i in range(voices.Count):
- desc = voices.Item(i).GetDescription()
- if pick_substring in desc:
- picked = voices.Item(i)
+ for pick_substring in _sapi5_voice_preferences(language_code):
+ for i in range(voices.Count):
+ desc = voices.Item(i).GetDescription()
+ if pick_substring in desc:
+ picked = voices.Item(i)
+ break
+ if picked is not None:
break
if picked is None and voices.Count > 0:
picked = voices.Item(0)
diff --git a/jarvis/plugins/tts/inworld_tts.py b/jarvis/plugins/tts/inworld_tts.py
index ec4c016c0e..539dc01055 100644
--- a/jarvis/plugins/tts/inworld_tts.py
+++ b/jarvis/plugins/tts/inworld_tts.py
@@ -44,10 +44,16 @@ DEFAULT_MODEL = "inworld-tts-2"
DEFAULT_VOICE_DE = "Josef"
DEFAULT_VOICE_EN = "Dennis"
DEFAULT_VOICE_ES = "Diego"
+# European Portuguese. Every pt-PT voice in the Inworld catalog is feminine
+# (Leonor, Madalena, Matilde); the masculine Portuguese voices (Heitor, Murilo)
+# are Brazilian. The accent is what a pt-PT listener hears first, so the
+# European voice wins over keeping the masculine pattern; set
+# [tts.inworld].voice_pt = "Heitor" to trade the accent for the speaker profile.
+DEFAULT_VOICE_PT = "Leonor"
# BCP-47 tags Inworld expects. Jarvis' turn resolver already emits de-DE/en-US/
-# es-ES, but a bare "de" is normalized up so the field is always well-formed.
-_BCP47 = {"de": "de-DE", "en": "en-US", "es": "es-ES"}
+# es-ES/pt-PT, but a bare "de" is normalized up so the field is always well-formed.
+_BCP47 = {"de": "de-DE", "en": "en-US", "es": "es-ES", "pt": "pt-PT"}
# DE letters are part of the sentence-boundary match set on the next line.
_SENTENCE_END = re.compile(r"(?<=[.!?…])\s+(?=[A-ZÄÖÜ])") # i18n-allow
@@ -74,7 +80,7 @@ def _normalize_language(code: str | None) -> str | None:
``None``/``auto`` → ``None`` (omit the field → Inworld auto-detects from the
text). A bare two-letter code or a BCP-47 tag is mapped to the canonical
- de-DE/en-US/es-ES; an unknown tag is passed through untouched.
+ de-DE/en-US/es-ES/pt-PT; an unknown tag is passed through untouched.
"""
if not code:
return None
@@ -107,6 +113,7 @@ class InworldTTS:
default_voice_de: str = DEFAULT_VOICE_DE,
default_voice_en: str = DEFAULT_VOICE_EN,
default_voice_es: str = DEFAULT_VOICE_ES,
+ default_voice_pt: str = DEFAULT_VOICE_PT,
model: str = DEFAULT_MODEL,
language: str = "auto",
chunk_by_sentence: bool = True,
@@ -118,6 +125,7 @@ class InworldTTS:
"de": default_voice_de or DEFAULT_VOICE_DE,
"en": default_voice_en or DEFAULT_VOICE_EN,
"es": default_voice_es or DEFAULT_VOICE_ES,
+ "pt": default_voice_pt or DEFAULT_VOICE_PT,
}
self._language = language
_loc = (language or "").lower().split("-", 1)[0]
@@ -292,6 +300,7 @@ class InworldTTS:
self._voice_by_lang.get("de"),
self._voice_by_lang.get("en"),
self._voice_by_lang.get("es"),
+ self._voice_by_lang.get("pt"),
):
if v and v not in seen:
seen.append(v)
diff --git a/jarvis/realtime/report_prompt.py b/jarvis/realtime/report_prompt.py
index 444f8a26ad..51336acf7a 100644
--- a/jarvis/realtime/report_prompt.py
+++ b/jarvis/realtime/report_prompt.py
@@ -17,7 +17,9 @@ __all__ = ["REPORT_PROMPT_CHARS", "clip_report", "report_update_prompt"]
#: runaway log keeps both ends, where the ask and the verdict are.
REPORT_PROMPT_CHARS = 6000
-_LANGUAGE_NAMES = {"de": "German", "en": "English", "es": "Spanish"}
+_LANGUAGE_NAMES = {
+ "de": "German", "en": "English", "es": "Spanish", "pt": "European Portuguese",
+}
def clip_report(report: str) -> str:
diff --git a/jarvis/realtime/session.py b/jarvis/realtime/session.py
index c51398cb75..d5e79e2e84 100644
--- a/jarvis/realtime/session.py
+++ b/jarvis/realtime/session.py
@@ -1042,6 +1042,7 @@ _LOCAL_OUTPUT_FAILURE: dict[str, str] = {
"de": "Ich konnte das gerade nicht abspielen. Der Lautsprecher war weg.", # i18n-allow
"en": "I couldn't play that just now. The speaker disappeared.",
"es": "No pude reproducirlo ahora. El altavoz desapareció.", # i18n-allow
+ "pt": "Não consegui reproduzir isso agora. O altifalante desapareceu.", # i18n-allow
}
_HISTORY_LOST_INSTRUCTION = (
"The previous realtime connection dropped and this is a FRESH session. "
@@ -1053,6 +1054,7 @@ _OUTPUT_LANGUAGE_FAILURE: dict[str, str] = {
"de": "Ich konnte gerade keine sichere Antwort auf Deutsch erzeugen.", # i18n-allow
"en": "I couldn't produce a safe answer in English just now.",
"es": "No pude generar una respuesta segura en español ahora mismo.", # i18n-allow
+ "pt": "Não consegui gerar uma resposta segura em português agora.", # i18n-allow
}
_PUBLIC_FACT_UNCERTAINTY: dict[str, str] = {
"de": ( # i18n-allow
@@ -1063,6 +1065,9 @@ _PUBLIC_FACT_UNCERTAINTY: dict[str, str] = {
"es": ( # i18n-allow
"No pude verificarlo de forma fiable con una fuente pública ahora mismo."
),
+ "pt": ( # i18n-allow
+ "Não consegui confirmar isso com fiabilidade numa fonte pública agora."
+ ),
}
# When a delegated Brain reply ends in a question (clarify or confirmation),
# the user's short elliptical answer ("the readme one", "yes the second")
@@ -1705,6 +1710,12 @@ _DELEGATE_BRIDGE_TEXTS: dict[str, tuple[str, ...]] = {
"Sigo en ello, un momento.",
"Dame un momento más.",
),
+ "pt": ( # i18n-allow: localized runtime progress output
+ "Ainda estou a tratar disso.",
+ "Só um momento, está quase.",
+ "Continuo nisso, dá-me um momento.",
+ "Dá-me só mais um momento.",
+ ),
}
@@ -1727,6 +1738,9 @@ _HANDSHAKE_FAILURE_MESSAGES: dict[str, dict[str, str]] = {
"es": ( # i18n-allow: localized runtime voice output
"La conexión de voz no se estableció a tiempo, así que lo detuve."
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "A ligação de voz não ficou pronta a tempo, por isso parei."
+ ),
},
"unavailable": {
"de": ( # i18n-allow: localized runtime voice output
@@ -1736,6 +1750,9 @@ _HANDSHAKE_FAILURE_MESSAGES: dict[str, dict[str, str]] = {
"es": ( # i18n-allow: localized runtime voice output
"No pude establecer la conexión de voz ahora mismo."
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Não consegui estabelecer a ligação de voz agora."
+ ),
},
"rate_limited": {
"de": ( # i18n-allow: localized runtime voice output
@@ -1750,6 +1767,10 @@ _HANDSHAKE_FAILURE_MESSAGES: dict[str, dict[str, str]] = {
"La conexión de voz está saturada ahora mismo. "
"Inténtalo de nuevo en un momento."
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "A ligação de voz está sobrecarregada neste momento. "
+ "Tenta outra vez daqui a pouco."
+ ),
},
"no_credits": {
"de": ( # i18n-allow: localized runtime voice output
@@ -1764,6 +1785,10 @@ _HANDSHAKE_FAILURE_MESSAGES: dict[str, dict[str, str]] = {
"Se agotó el saldo de la conexión de voz. "
"Recárgalo con el proveedor y volverá a funcionar."
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "O saldo da ligação de voz esgotou-se. "
+ "Carrega-o no fornecedor e volta a funcionar."
+ ),
},
"dropped": {
"de": ( # i18n-allow: localized runtime voice output
@@ -1773,6 +1798,9 @@ _HANDSHAKE_FAILURE_MESSAGES: dict[str, dict[str, str]] = {
"es": ( # i18n-allow: localized runtime voice output
"Se cortó la conexión de voz."
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "A ligação de voz caiu."
+ ),
},
}
@@ -1844,6 +1872,11 @@ _INTERRUPT_ACK_TEXTS: dict[str, tuple[str, ...]] = {
"De acuerdo, lo cancelo.",
"Vale, lo dejo.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Ok, parei isso.",
+ "Está bem, vou cancelar isso.",
+ "Ok, deixo isso.",
+ ),
}
@@ -1955,7 +1988,9 @@ _REALTIME_SAFETY_APPENDIX = (
"delivered it to the user. Never repeat or paraphrase an earlier tagged "
"result in a later turn unless the user explicitly asks for a repeat."
)
-_LANGUAGE_NAMES = {"de": "German", "en": "English", "es": "Spanish"}
+_LANGUAGE_NAMES = {
+ "de": "German", "en": "English", "es": "Spanish", "pt": "European Portuguese",
+}
_REALTIME_ENDING_SECTION_RE = re.compile(
r"(?ms)^ENDING THE CALL[ \t]*\r?\n.*?(?=^CONTEXT[ \t]*(?:\r?\n|\Z)|\Z)"
diff --git a/jarvis/safety/explicit_intent.py b/jarvis/safety/explicit_intent.py
index a91170180d..7456332e8d 100644
--- a/jarvis/safety/explicit_intent.py
+++ b/jarvis/safety/explicit_intent.py
@@ -18,8 +18,9 @@ _OPERAND = (
)
_REQUEST = re.compile(
r"(?:(?:please|bitte|por favor)\s+)?"
- r"(?:delete|remove|erase|lösch|lösche|entferne|borra|elimina)\s+"
- r"(?:(?:the file|the folder|the directory|die Datei|den Ordner|el archivo|la carpeta)\s+)?"
+ r"(?:delete|remove|erase|lösch|lösche|entferne|borra|elimina|apaga)\s+"
+ r"(?:(?:the file|the folder|the directory|die Datei|den Ordner|el archivo|la carpeta|"
+ r"o ficheiro|a pasta|o diret[oó]rio)\s+)?" # i18n-allow: pt input vocabulary
+ _OPERAND,
re.IGNORECASE,
)
diff --git a/jarvis/screen_context/intent.py b/jarvis/screen_context/intent.py
index 6c7f29efd4..2a3a856e7e 100644
--- a/jarvis/screen_context/intent.py
+++ b/jarvis/screen_context/intent.py
@@ -13,7 +13,7 @@ call and no network. An LLM classifier here would sit on the voice path (AP-9),
and it would make "did it look at my screen, and why?" unanswerable after the
fact — ``IntentVerdict.evidence`` exists so that question always has an answer.
-**Every supported locale is equal** (AGENTS.md §1): de, en and es are matched
+**Every supported locale is equal** (AGENTS.md §1): de, en, es and pt are matched
simultaneously rather than selected by the session locale, because a bilingual
user mixes them inside one sentence and a locale-gated matcher would go deaf on
the half it did not pick. Adding a locale is a data entry below, not code.
@@ -58,6 +58,11 @@ _SCREEN_CONTEXT_META_RE: re.Pattern[str] = re.compile(
r"\b(?:pantalla|captura|ver|mirar)\b"
r"|\bque\s+pasa\s+(?:si|cuando)\b[^.?!]{0,96}"
r"\b(?:pantalla|captura)\b"
+ # --- European Portuguese --- i18n-allow: PT speech-input matching data
+ r"|\bcomo\s+(?:(?:e\s+que\s+)?(?:posso|podes|poderia|podias)|se\s+pode)\b"
+ r"[^.?!]{0,96}\b(?:ecra|captura|ver|olhar)\b"
+ r"|\bo\s+que\s+acontece\s+(?:se|quando)\b[^.?!]{0,96}"
+ r"\b(?:ecra|captura)\b"
r")",
re.IGNORECASE,
)
@@ -67,7 +72,7 @@ _SCREEN_CONTEXT_META_RE: re.Pattern[str] = re.compile(
# Normalization
# --------------------------------------------------------------------------
-# German digraphs plus Spanish accent stripping, so the vocabulary below can be
+# German digraphs plus Spanish/Portuguese accent stripping, so the vocabulary below can be
# written in plain ASCII and still match accented input. # i18n-allow
_TRANSLITERATION = str.maketrans(
{
@@ -75,6 +80,7 @@ _TRANSLITERATION = str.maketrans(
"ä": "ae", "ö": "oe", "ü": "ue", "ß": "ss", # i18n-allow
"á": "a", "é": "e", "í": "i", "ó": "o", "ú": "u", "ñ": "n",
"à": "a", "è": "e", "ì": "i", "ò": "o", "ù": "u", "ç": "c",
+ "ã": "a", "õ": "o", "â": "a", "ê": "e", "ô": "o",
}
)
@@ -109,7 +115,10 @@ _IDIOM_NOISE_RE: re.Pattern[str] = re.compile(
r"|\bsieh\s+zu,?\s+dass\b|\bschau\s+(?:nach|ob)\b" # i18n-allow: DE input
# --- Spanish --- i18n-allow: Spanish speech-input matching data
r"|\bvamos\s+a\s+ver\b|\ba\s+ver\s+si\b|\bya\s+veo\b|\bveremos\b"
- r"|\bse\s+ve\b|\bmira\s+que\b|\bmira,?\s+(?:pero|es\s+que)\b",
+ r"|\bse\s+ve\b|\bmira\s+que\b|\bmira,?\s+(?:pero|es\s+que)\b"
+ # --- European Portuguese --- i18n-allow: PT speech-input matching data
+ r"|\bvamos\s+la\s+ver\b|\bja\s+vejo\b|\bve\s+se\b|\bestou\s+a\s+ver\b"
+ r"|\bolha\s+que\b|\bolha,?\s+(?:mas|e\s+que)\b",
re.IGNORECASE,
)
@@ -155,6 +164,10 @@ _WINDOW_SCOPE_RE: re.Pattern[str] = re.compile(
r"(?:ventana|pestana|pagina|aplicacion|hoja)\b"
r"|\b(?:este|ese)\s+(?:dialogo|documento|programa|archivo)\b"
r"|\ben\s+(?:esta|esa)\s+(?:ventana|pestana|pagina|aplicacion)\b"
+ # --- European Portuguese --- i18n-allow: PT speech-input matching data
+ r"|\b(?:esta|essa)\s+(?:janela|pagina|aplicacao|app|folha)\b"
+ r"|\b(?:este|esse)\s+(?:separador|dialogo|documento|programa|ficheiro)\b"
+ r"|\bnest[ae]\s+(?:janela|pagina|aplicacao|separador|documento)\b"
r")",
re.IGNORECASE,
)
@@ -201,6 +214,7 @@ _DE_TAIL = ( # i18n-allow: German speech-input matching data
r"|ueberhaupt|hier|da))*"
)
_ES_TAIL = r"(?:\s+(?:exactamente|ahora|aqui|ahi|entonces))*"
+_PT_TAIL = r"(?:\s+(?:exatamente|agora|aqui|ai|entao))*"
_SCREEN_INTENT_RE: re.Pattern[str] = re.compile(
r"(?:"
@@ -344,6 +358,24 @@ _SCREEN_INTENT_RE: re.Pattern[str] = re.compile(
rf"|\blee\s+(?:esto|eso){_END}"
r"|\blee\s+(?:el|este|ese)\s+(?:error|mensaje|dialogo|aviso)\b"
r"|\beste\s+error\b|\besta\s+ventana\s+de\s+error\b"
+
+ # ---------------- European Portuguese ---------------- i18n-allow: PT speech input
+ r"|\bolha\s+(?:para\s+)?(?:isto|isso|o\s+ecra|o\s+meu\s+ecra|o\s+erro)\b"
+ r"|\bolha\s+(?:para\s+)?(?:esta|essa)\s+(?:janela|pagina|aplicacao|app)\b"
+ r"|\bve\s+(?:isto|isso|o\s+ecra|o\s+meu\s+ecra)\b"
+ r"|\bda\s+uma\s+(?:vista\s+de\s+olhos|olhadela)"
+ rf"(?:\s+(?:a|em)\s+(?:isto|isso)|\s+ao\s+(?:meu\s+)?ecra)?{_END}"
+ r"|\b(?:podes|consegues)\s+ver\s+(?:isto|isso|o\s+meu\s+ecra|o\s+ecra)\b"
+ r"|\b(?:ves|estas\s+a\s+ver)\s+(?:isto|isso|o\s+meu\s+ecra)\b"
+ r"|\bo\s+que\s+(?:e\s+que\s+)?(?:ves|estas\s+a\s+ver)\b"
+ r"|\b(?:no|ao)\s+(?:meu\s+)?ecra\b|\bmeu\s+ecra\b"
+ rf"|\b(?:tira|faz|captura)(?:-me)?\b{_NEAR}"
+ r"\b(?:captura\s+de\s+ecra|screenshot)\b"
+ r"|\banalisa\s+(?:esta\s+|essa\s+|a\s+)?captura\s+de\s+ecra\b"
+ r"|\bo\s+que\s+diz\s+(?:ai|aqui|isto|isso)\b"
+ rf"|\ble\s+(?:isto|isso){_END}"
+ r"|\ble\s+(?:o|a|este|esta|esse|essa)\s+(?:erro|mensagem|dialogo|aviso)\b"
+ r"|\besta\s+janela\s+de\s+erro\b"
r")",
re.IGNORECASE,
)
@@ -370,6 +402,9 @@ _APPSHOT_META_RE: re.Pattern[str] = re.compile(
# i18n-allow: Spanish speech-input matching data
rf"|\bque\s+(?:es|son)\s+(?:un\s+)?{_APPSHOT_WORD}"
rf"|\bcomo\s+(?:funciona|funcionan|se\s+hace)\b[^.?!]{{0,48}}{_APPSHOT_WORD}"
+ # i18n-allow: Portuguese speech-input matching data
+ rf"|\bo\s+que\s+(?:e|sao)\s+(?:um\s+)?{_APPSHOT_WORD}"
+ rf"|\bcomo\s+(?:funciona|funcionam|se\s+faz)\b[^.?!]{{0,48}}{_APPSHOT_WORD}"
# Opening the Appshots settings page is navigation, not a capture.
r"|\b(?:open|go\s+to|navigate\s+to|oeffne|geh\s+(?:zu|in|auf)" # i18n-allow: DE input
r"|wechsel\s+(?:zu|in)|abre|ve\s+a)\b[^.?!]{0,24}?"
@@ -397,8 +432,8 @@ def mentions_appshot(text: str) -> bool:
# stay read-only while a later independent clause still owns its operation:
# "Explain this, then close the window." -> [observe, operate].
_COMMAND_CLAUSE_SPLIT_RE: re.Pattern[str] = re.compile(
- r"[.!?;]+|,\s*(?=(?:then|dann|luego)\b)|"
- r"\b(?:and\s+then|then|und\s+dann|dann|y\s+luego|luego)\b",
+ r"[.!?;]+|,\s*(?=(?:then|dann|luego|depois)\b)|"
+ r"\b(?:and\s+then|then|und\s+dann|dann|y\s+luego|luego|e\s+depois|depois)\b",
re.IGNORECASE,
)
@@ -436,6 +471,12 @@ _ES_ACTION = (
r"actualiza|recarga|inicia\s+sesion|cierra\s+sesion|minimiza|maximiza|"
r"mueve|cambia|navega|amplia|reduce)\w*"
)
+_PT_ACTION = ( # i18n-allow: Portuguese speech-input matching data
+ r"(?:clica|carrega\s+em|prime|escreve|cola|desliza|arrasta|seleciona|"
+ r"escolhe|envia|guarda|elimina|apaga|descarrega|abre|fecha|atualiza|"
+ r"recarrega|inicia\s+sessao|termina\s+sessao|minimiza|maximiza|move|"
+ r"muda|navega|amplia|reduz)\w*"
+)
# German separable verbs park the particle at the END of the clause: "mach das
# Fenster ZU", "mach den Browser AUF", "fahr den Rechner RUNTER". A matcher
@@ -476,8 +517,9 @@ _DE_SEPARABLE_ACTION = (
)
_ACTION_CONNECTOR_SPLIT_RE: re.Pattern[str] = re.compile(
- rf"\b(?:and|und|y)\s+"
- rf"(?=(?:{_EN_ACTION}|{_DE_ACTION}|{_ES_ACTION})\b|(?:{_DE_SEPARABLE_ACTION}))",
+ rf"\b(?:and|und|y|e)\s+"
+ rf"(?=(?:{_EN_ACTION}|{_DE_ACTION}|{_ES_ACTION}|{_PT_ACTION})\b"
+ rf"|(?:{_DE_SEPARABLE_ACTION}))",
re.IGNORECASE,
)
@@ -488,7 +530,9 @@ _OPERATION_EXPLANATION_CLAUSE_RE: re.Pattern[str] = re.compile(
r"|^(?:(?:kannst|koenntest|wuerdest|wirst)\s+du\s+(?:bitte\s+)?|bitte\s+)?"
r"(?:erklaer|zeig|sag)\w*\b"
r"|^(?:(?:puedes|podrias)\s+(?:por\s+favor\s+)?|por\s+favor\s+)?"
- r"(?:explica|muestra|dime)\b",
+ r"(?:explica|muestra|dime)\b"
+ r"|^(?:(?:podes|consegues|podias)\s+(?:por\s+favor\s+)?|por\s+favor\s+)?"
+ r"(?:explica|mostra|diz)\b",
re.IGNORECASE,
)
@@ -509,14 +553,24 @@ _SCREEN_OPERATION_CLAUSE_RE: re.Pattern[str] = re.compile(
rf"[^.?!]{{0,72}}?{_DE_SEPARABLE_ACTION}" # i18n-allow
# Spanish imperative and modal request forms.
rf"|^(?:por\s+favor\s+)?{_ES_ACTION}\b"
- rf"|^(?:puedes|podrias)\s+(?:por\s+favor\s+)?[^.?!]{{0,96}}?{_ES_ACTION}\b",
+ rf"|^(?:puedes|podrias)\s+(?:por\s+favor\s+)?[^.?!]{{0,96}}?{_ES_ACTION}\b"
+ # European Portuguese imperative and modal request forms.
+ rf"|^(?:por\s+favor\s+)?{_PT_ACTION}\b"
+ rf"|^(?:podes|consegues|podias)\s+(?:por\s+favor\s+)?[^.?!]{{0,96}}?{_PT_ACTION}\b",
re.IGNORECASE,
)
+_SURFACE_NOUN = ( # i18n-allow: Spanish/Portuguese speech-input matching data
+ r"(?:ventana|pestana|pagina|aplicacion|hoja|janela|aplicacao|app|folha)"
+)
+
_ACTION_STATE_OBSERVATION_RE: re.Pattern[str] = re.compile(
rf"^(?:{_EN_ACTION})\s+(?:is|are|was|were|looks?|seems?|appears?)\b"
rf"|^(?:{_DE_ACTION})\s+(?:ist|sind|war|waren|scheint)\b" # i18n-allow
- rf"|^(?:{_ES_ACTION})\s+(?:esta|estan|parece)\b",
+ # Accent folding merges "está" (is) with the demonstrative "esta" (this),
+ # so a following surface noun means "close THIS window", an operation.
+ rf"|^(?:{_ES_ACTION}|{_PT_ACTION})\s+(?:esta(?!\s+{_SURFACE_NOUN}\b)"
+ r"|estan|estao|parece)\b",
re.IGNORECASE,
)
@@ -589,6 +643,14 @@ _AMBIGUOUS_RE: re.Pattern[str] = re.compile(
rf"|\besta\s+bien\s+(?:esto|eso){_ES_TAIL}{_END}"
rf"|\bpuedes\s+(?:revisar|comprobar)(?:\s+(?:esto|eso))?{_END}"
rf"|\bque\s+significa\s+(?:esto|eso){_ES_TAIL}{_END}"
+ # --- European Portuguese --- i18n-allow: PT speech-input matching data
+ rf"|\bo\s+que\s+(?:e\s+)?(?:isto|isso){_PT_TAIL}{_END}"
+ rf"|\be\s+(?:isto|isso){_PT_TAIL}{_END}"
+ rf"|\bporque\s+(?:e\s+que\s+)?(?:isto|isso)\s+(?:e\s+assim|esta\s+assim)"
+ rf"{_PT_TAIL}{_END}"
+ rf"|\b(?:isto|isso)\s+esta\s+(?:bem|certo|correto){_PT_TAIL}{_END}"
+ rf"|\bpodes\s+(?:verificar|confirmar)(?:\s+(?:isto|isso))?{_END}"
+ rf"|\bo\s+que\s+significa\s+(?:isto|isso){_PT_TAIL}{_END}"
r")",
re.IGNORECASE,
)
@@ -679,12 +741,14 @@ _CLARIFY_QUESTION: dict[str, str] = {
"en": "Should I take a look at your screen?",
"de": "Soll ich einmal auf deinen Bildschirm schauen?", # i18n-allow: spoken
"es": "¿Quieres que eche un vistazo a tu pantalla?",
+ "pt": "Queres que dê uma vista de olhos ao teu ecrã?",
}
_CANCELLED_REPLY: dict[str, str] = {
"en": "Okay, I won't look at your screen.",
"de": "Okay, ich schaue nicht auf deinen Bildschirm.", # i18n-allow: spoken
"es": "De acuerdo, no miraré tu pantalla.",
+ "pt": "Está bem, não vou olhar para o teu ecrã.",
}
_NO_VISION_PROVIDER_REPLY: dict[str, str] = {
@@ -701,6 +765,10 @@ _NO_VISION_PROVIDER_REPLY: dict[str, str] = {
"Capturé la pantalla, pero ninguno de tus asistentes disponibles puede "
"analizar imágenes ahora. Conecta un proveedor con visión en Claves API."
),
+ "pt": (
+ "Capturei o ecrã, mas nenhum dos teus assistentes disponíveis consegue "
+ "analisar imagens agora. Liga um fornecedor com visão em Chaves API."
+ ),
}
_CAPTURE_FAILURE_REPLY: dict[str, str] = {
@@ -717,6 +785,10 @@ _CAPTURE_FAILURE_REPLY: dict[str, str] = {
"No pude revisar la pantalla de forma segura porque falló el contexto "
"de pantalla. No se adjuntó ninguna captura."
),
+ "pt": (
+ "Não consegui analisar o ecrã em segurança porque o contexto de ecrã "
+ "falhou. Não foi anexada nenhuma captura."
+ ),
}
_CAPTURE_UNAVAILABLE_REPLY: dict[str, dict[str, str]] = {
@@ -788,6 +860,28 @@ _CAPTURE_UNAVAILABLE_REPLY: dict[str, dict[str, str]] = {
"inició ninguna acción de escritorio."
),
},
+ "pt": {
+ "capture_permission": (
+ "Não consigo capturar o teu ecrã enquanto a gravação de ecrã não "
+ "estiver autorizada nas definições do sistema. Dá essa permissão e "
+ "volta a pedir. Não foi iniciada nenhuma ação no ambiente de trabalho."
+ ),
+ "wayland_portal": (
+ "A captura de ecrã ainda não funciona numa sessão Wayland. Inicia "
+ "uma sessão X11, por exemplo GNOME on Xorg, e volta a pedir. Não "
+ "foi iniciada nenhuma ação no ambiente de trabalho."
+ ),
+ "no_display": (
+ "Não consigo aceder a um ecrã interativo neste dispositivo. Inicia "
+ "uma sessão no ambiente de trabalho ou liga um ecrã e volta a "
+ "pedir. Não foi iniciada nenhuma ação no ambiente de trabalho."
+ ),
+ "capture_backend_unavailable": (
+ "O sistema de captura de ecrã não está disponível agora. Reinicia "
+ "a aplicação de ambiente de trabalho e volta a pedir. Não foi "
+ "iniciada nenhuma ação no ambiente de trabalho."
+ ),
+ },
}
#: Fallback locale for a language with no entry — the repo-wide default.
diff --git a/jarvis/sessions/chat_titles.py b/jarvis/sessions/chat_titles.py
index 4bca6dacac..7a022ac9cc 100644
--- a/jarvis/sessions/chat_titles.py
+++ b/jarvis/sessions/chat_titles.py
@@ -90,10 +90,11 @@ _ANNOTATION_RE = re.compile(
)
#: Hesitation sounds anywhere in an utterance.
_FILLER_RE = re.compile(
- r"(?i)(?<!\w)(?:ähm+|äh+|öhm+|öh+|ehm+|hmm*|mhm*|mh+|mm+|uh+m*|um+|erm+)(?!\w)[,.…]*"
+ r"(?i)(?<!\w)(?:ähm+|äh+|öhm+|öh+|ehm+|hmm*|mhm*|mh+|mm+|uh+m*|um+|erm+|hum+|ãh+)(?!\w)[,.…]*"
)
_GREETING = (
- r"(?:hey|hi|hallo|hello|moin|servus|na|yo|huhu|hej|hola|buenas|"
+ r"(?:hey|hi|hallo|hello|moin|servus|na|yo|huhu|hej|hola|buenas|ol[aá]|viva|"
+ r"bom\s+dia|boa\s+(?:tarde|noite)|"
r"guten\s+(?:morgen|tag|abend)|good\s+(?:morning|afternoon|evening))"
)
#: A greeting, optionally followed by a name it addresses ("Hey George,").
@@ -106,6 +107,7 @@ _SMALL_TALK_RE = re.compile(
r"was\s+geht(?:\s+ab)?|wie\s+geht(?:'?s|\s+es)(?:\s+dir)?|alles\s+(?:klar|gut|fit)|"
r"what'?s\s+(?:up|good)(?:\s+up)?|how\s+are\s+you(?:\s+doing)?|how'?s\s+it\s+going|"
r"qu[eé]\s+tal|c[oó]mo\s+est[aá]s|"
+ r"tudo\s+bem|tenho\s+uma\s+pergunta|desculpa|obrigad[oa]|espera(?:\s+a[ií])?|sim|"
r"nicht\s+(?:so\s+)?viel|weiß\s+ich\s+(?:nicht|nich)(?:\s+genau)?|"
r"ich\s+hab(?:e)?\s+(?:ne|eine)\s+frage|i\s+have\s+a\s+question|"
r"ich\s+verspre\w*(?:\s+mich)?|sorry|entschuldigung|moment|warte\s+mal|warte|"
@@ -123,6 +125,7 @@ _LEAD_IN_RE = re.compile(
r",?\s+dass\s+du(?:\s+(?:mir|für\s+mich|bitte|mal|kurz|einfach))*|"
r"(?:can|could|would|will)\s+you(?:\s+(?:please|just|quickly|maybe))*|"
r"(?:puedes|podrías)(?:\s+por\s+favor)?|"
+ r"(?:podes|poderias|consegues)(?:\s+por\s+favor)?|ajuda-me|por\s+favor|"
r"hilf\s+mir(?:\s+(?:bitte|mal|dabei))*|help\s+me|"
r"please|bitte(?:\s+mal)?|mal|auch|ganz"
r")(?![\w-])"
@@ -130,7 +133,9 @@ _LEAD_IN_RE = re.compile(
_LEAD_PUNCT_RE = re.compile(r"^[\s,.;:!?…\-–—'\"]+")
_SENTENCE_END_RE = re.compile(r"(?<=[.!?…])\s+|(?<=[.!?…])$")
#: Where a long clause can be cut without losing its head.
-_CLAUSE_CUT_RE = re.compile(r"(?i),\s+|\s+(?:und|and|aber|but|weil|because|y|pero)\s+")
+_CLAUSE_CUT_RE = re.compile(
+ r"(?i),\s+|\s+(?:und|and|aber|but|weil|because|y|pero|e|mas|porque)\s+"
+)
_WORD_RE = re.compile(r"[^\W\d_][\w'-]*", re.UNICODE)
#: Words that never make a topic on their own.
diff --git a/jarvis/setup/prefetch.py b/jarvis/setup/prefetch.py
index 74b21d0d26..2596371bfe 100644
--- a/jarvis/setup/prefetch.py
+++ b/jarvis/setup/prefetch.py
@@ -120,8 +120,8 @@ def prefetch_all(
)
# Any-word wake model (vosk_kws): the full desktop installer runs BEFORE
- # onboarding knows whether the user will choose English, German, or Spanish,
- # so it caches every supported language. The internal headless/base path
+ # onboarding knows whether the user will choose English, German, Spanish or
+ # Portuguese, so it caches every supported language. The internal headless/base path
# keeps its configured language to preserve the small-server floor.
languages: tuple[str | None, ...]
if all_wake_languages:
diff --git a/jarvis/skills/authoring_request.py b/jarvis/skills/authoring_request.py
index ed8b9e3ac2..bd53fe62fb 100644
--- a/jarvis/skills/authoring_request.py
+++ b/jarvis/skills/authoring_request.py
@@ -98,7 +98,8 @@ MetaKind = Literal["authoring", "lifecycle"]
_ARTIFACT_NOUN = (
r"(?:skills?|\w*routinen?|automatisierung(?:en)?|automations?|" # i18n-allow: speech vocab
r"workflows?|abl[äa]uf\w*|f[äa]higkeit(?:en)?|" # i18n-allow: speech vocab
- r"rutinas?|automatizaci[óo]n(?:es)?|flujos?)" # i18n-allow: speech vocab
+ r"rutinas?|automatizaci[óo]n(?:es)?|flujos?|" # i18n-allow: speech vocab
+ r"rotinas?|automatiza[çc](?:[ãa]o|[õo]es)|fluxos?)" # i18n-allow: speech vocab
)
_ARTIFACT_NOUN_RE = re.compile(rf"\b{_ARTIFACT_NOUN}\b", re.IGNORECASE)
@@ -118,7 +119,10 @@ _VERB_STEMS = (
r"add\w*|defin\w*|author\w*|develop\w*|program\w*|turn\w*|"
# Spanish
r"cre\w*|constru\w*|haz|hac\w*|escrib\w*|gener\w*|dise[ñn]\w*|" # i18n-allow: speech vocab
- r"a[ñn]ad\w*|agreg\w*|configur\w*" # i18n-allow: speech vocab
+ r"a[ñn]ad\w*|agreg\w*|configur\w*|" # i18n-allow: speech vocab
+ # European Portuguese
+ r"cria\w*|crie\w*|constr[óo]i\w*|faz|fa[çc]a\w*|escrev\w*|gera|gerar|gere|" # i18n-allow
+ r"desenh\w*|adicion\w*|acrescent\w*" # i18n-allow: speech vocab
)
# Shape A — an indefinite or "new" article ahead of the noun. Up to two words
@@ -129,15 +133,32 @@ _GAP_STOP = (
r"meiner|meine|meinen|meines|deiner|deine|seiner|ihrer|" # i18n-allow: speech vocab
r"unserer|aller|der|des|dieser|jener|" # i18n-allow: speech vocab
r"my|your|his|her|our|their|of|the|these|those|all|"
- r"de|mis|tus|sus|los|las|del" # i18n-allow: speech vocab
+ r"de|mis|tus|sus|los|las|del|" # i18n-allow: speech vocab
+ r"meus|minhas|teus|tuas|seus|suas|os|as|dos|das|do|da|" # i18n-allow: speech vocab
+ # German definite articles: "eine Liste über die skills" is ABOUT skills. # i18n-allow: example
+ r"die|den|dem|das" # i18n-allow: speech vocab
)
_INDEFINITE_NOUN_RE = re.compile(
r"\b(?:ein(?:e|en|es)?|neue[nrs]?|a|an|another|new|" # i18n-allow: speech vocab
- r"un|una|nuevo|nueva|otro|otra)\s+" # i18n-allow: speech vocab
+ r"un|una|nuevo|nueva|otro|otra|uma|novo|nova)\s+" # i18n-allow: speech vocab
rf"(?:(?!(?:{_GAP_STOP})\b)[\w-]+\s+){{0,2}}{_ARTIFACT_NOUN}\b",
re.IGNORECASE,
)
+# The Portuguese masculine article "um" is also a German preposition ("…, um
+# Skills zu aktivieren" = "in order to enable skills"), so it counts as an # i18n-allow: example
+# article only when a Portuguese-only request verb shares the utterance
+# ("cria um skill", "faz-me um workflow que …"). # i18n-allow: example
+_PT_UM_NOUN_RE = re.compile(
+ rf"\bum\s+(?:(?!(?:{_GAP_STOP})\b)[\w-]+\s+){{0,2}}{_ARTIFACT_NOUN}\b",
+ re.IGNORECASE,
+)
+_PT_ONLY_VERB_RE = re.compile(
+ r"\b(?:cria\w*|crie\w*|constr[óo]i\w*|construir|faz|fazer|" # i18n-allow: speech vocab
+ r"fa[çc]a\w*|escrev\w*|adicion\w*|acrescent\w*)\b", # i18n-allow: speech vocab
+ re.IGNORECASE,
+)
+
# Shape B — a creation verb shortly AFTER the noun (German verb-final clauses:
# "… einen skill erstellst", "… skill zu erstellen", "skill für mich # i18n-allow: example
# bauen"). Only the unambiguous creation stems here — "mach", "leg", "turn",
@@ -158,7 +179,10 @@ _NOUN_THEN_VERB_RE = re.compile(
# Spanish present / infinitive forms only — ``crea\w*`` would swallow the
# English "created" and ``gener\w*`` the English "generated".
r"crea(?:r|s|mos|n|ndo)?|constru(?:ir|ye|yes|yamos|yen|yendo|ya)?|" # i18n-allow: speech vocab
- r"gener(?:a|ar|as|amos|an|ando|e|es)?|escrib\w*|dise[ñn]\w*" # i18n-allow: speech vocab
+ r"gener(?:a|ar|as|amos|an|ando|e|es)?|escrib\w*|dise[ñn]\w*|" # i18n-allow: speech vocab
+ # European Portuguese present / infinitive forms, past participles left out
+ r"cria(?:r|s|mos|m|ndo)?|constr[óo]i(?:r|s)?|construir|" # i18n-allow: speech vocab
+ r"escrev(?:e|er|es|emos|em)|gera(?:r|s)?" # i18n-allow: speech vocab
r")\b",
re.IGNORECASE,
)
@@ -167,9 +191,10 @@ _NOUN_THEN_VERB_RE = re.compile(
# indefinite glue between ("erstell mir mal skill morgenroutine", "create skill
# …", "haz un skill"). Definite articles are NOT glue: "mach DEN skill aus". # i18n-allow: example
_VERB_THEN_NOUN_RE = re.compile(
- rf"\b(?:{_VERB_STEMS})\s+"
+ rf"\b(?:{_VERB_STEMS})(?:-(?:me|nos))?\s+"
r"(?:(?:mir|me|uns|us|bitte|please|doch|mal|jetzt|now|schnell|" # i18n-allow: speech vocab
- r"quick(?:ly)?|einen?|neuen?|new|a|an|un|una|nuevo|nueva|otro|otra)" # i18n-allow: speech vocab
+ r"quick(?:ly)?|einen?|neuen?|new|a|an|un|una|nuevo|nueva|otro|otra|" # i18n-allow: speech vocab
+ r"uma|novo|nova|outra|agora|j[áa]|por\s+favor)" # i18n-allow: speech vocab
r"\s+){0,4}"
rf"{_ARTIFACT_NOUN}\b",
re.IGNORECASE,
@@ -189,7 +214,8 @@ _LIFECYCLE_VERB_RE = re.compile(
r"schalt\w*|" # i18n-allow: speech vocab
r"disable\w*|enable\w*|delete\w*|remove\w*|show\w*|turn\s+(?:on|off)|"
r"switch\s+(?:on|off)|"
- r"desactiv\w*|activ\w*|elimin\w*|borr\w*|muestr\w*|mostrar|quit\w*" # i18n-allow: speech vocab
+ r"desactiv\w*|activ\w*|elimin\w*|borr\w*|muestr\w*|mostrar|quit\w*|" # i18n-allow: speech vocab
+ r"desativ\w*|ativ\w*|apag\w*|mostr\w*|desliga\w*|liga\w*" # i18n-allow: speech vocab
r")\b",
re.IGNORECASE,
)
@@ -232,6 +258,10 @@ def is_skill_authoring_request(utterance: str) -> bool:
_INDEFINITE_NOUN_RE.search(utterance)
or _NOUN_THEN_VERB_RE.search(utterance)
or _VERB_THEN_NOUN_RE.search(utterance)
+ or (
+ _PT_UM_NOUN_RE.search(utterance) is not None
+ and _PT_ONLY_VERB_RE.search(utterance) is not None
+ )
)
except Exception: # noqa: BLE001 — detection must never break a turn
return False
diff --git a/jarvis/skills/explicit_request.py b/jarvis/skills/explicit_request.py
index abe2861357..813e7b9bd7 100644
--- a/jarvis/skills/explicit_request.py
+++ b/jarvis/skills/explicit_request.py
@@ -52,7 +52,8 @@ _EXPLICIT_VERB_RE = re.compile(
r"start(?:e|et|en)?|f[üu]hr(?:e|t|en)?|fuehr(?:e|t|en)?|" # i18n-allow: speech-input vocabulary
r"aktivier(?:e|t|en)?|" # i18n-allow: speech-input vocabulary
r"run|use|execute|launch|trigger|invoke|activate|start|"
- r"usa|ejecuta|lanza|activa" # i18n-allow: speech-input vocabulary
+ r"usa|ejecuta|lanza|activa|" # i18n-allow: speech-input vocabulary
+ r"utiliza|executa|corre|lan[çc]a|ativa|inicia" # i18n-allow: speech-input vocabulary
r")\b",
re.IGNORECASE,
)
@@ -73,7 +74,8 @@ _INFO_QUESTION_OPENER_RE = re.compile(
r"welche[rsnm]?|wof[üu]r|wofuer|wozu|woher|wohin|wo|" # i18n-allow: speech-input vocabulary
r"how|what|whats|why|which|who|whom|whose|when|where|"
r"qu[ée]|c[óo]mo|cu[áa]ndo|d[óo]nde|por\s+qu[ée]|" # i18n-allow: speech-input vocabulary
- r"para\s+qu[ée]|qui[ée]n(?:es)?|cu[áa]l(?:es)?" # i18n-allow: speech-input vocabulary
+ r"para\s+qu[ée]|qui[ée]n(?:es)?|cu[áa]l(?:es)?|" # i18n-allow: speech-input vocabulary
+ r"o\s+que|quando|onde|porqu[eê]|quem|qual|quais" # i18n-allow: speech-input vocabulary
r")\b",
re.IGNORECASE,
)
diff --git a/jarvis/skills/relevance.py b/jarvis/skills/relevance.py
index d0291bbb43..0667e5d218 100644
--- a/jarvis/skills/relevance.py
+++ b/jarvis/skills/relevance.py
@@ -207,7 +207,13 @@ _FUNCTION_WORDS: frozenset[str] = frozenset(
"del son era eran ser estar tengo tienes tiene tener hacer solo " # i18n-allow
"tambien ahora quien donde cuando como mas mucho poco todo nada " # i18n-allow
"bien que sus esta este estos estas ese esa hay han desde hasta " # i18n-allow
- "entre sobre sin" # i18n-allow
+ "entre sobre sin " # i18n-allow
+ # -- European Portuguese (accent-folded) ----------------------
+ "uma umas uns com sem pelo pela pelos pelas aos das dos num numa " # i18n-allow
+ "ele ela eles elas voce voces meu minha meus minhas teu tua seu sua " # i18n-allow
+ "isto isso aquilo esse essa este aquele aquela nao sim mais muito " # i18n-allow
+ "pouco tudo agora ainda onde quando porque tambem qual quais quem " # i18n-allow
+ "sao estou estao foi tem temos ter fazer pode posso deve desde" # i18n-allow
).split()
)
diff --git a/jarvis/skills/trigger_matcher.py b/jarvis/skills/trigger_matcher.py
index 9b9abf4376..b4de84f709 100644
--- a/jarvis/skills/trigger_matcher.py
+++ b/jarvis/skills/trigger_matcher.py
@@ -60,6 +60,9 @@ _FILLER_WORDS: frozenset[str] = frozenset({
"let", "lets", "us", "can", "could", "would", "you",
# temporal courtesy
"jetzt", "now", "gleich", "schnell", "für", "fuer", "for", "me", "mich",
+ # European Portuguese courtesy and command glue
+ "olá", "ola", "por", "favor", "obrigado", "obrigada", # i18n-allow: input vocabulary
+ "podes", "consegues", "agora", # i18n-allow: input vocabulary
})
# Penalty applied to a filler-stripped match so a direct (unstripped) hit on
diff --git a/jarvis/society/intent.py b/jarvis/society/intent.py
index c81b206f70..3e3bc5abc2 100644
--- a/jarvis/society/intent.py
+++ b/jarvis/society/intent.py
@@ -21,6 +21,10 @@ _INVENTORY = re.compile(
r"|(?:list|show|tell me) (?:all |me )?(?:(?:my|your|our|the) )?agents"
r"|(?:zeig(?:e)?|nenn(?:e)?) (?:mir )?(?:(?:alle|meine|deine|unsere|die) )?agenten"
r"|(?:qué|que|cuántos|cuantos|cuáles|cuales) agentes (?:tienes|tengo|tenemos|hay)"
+ # European Portuguese ("que agentes tens", "quantos agentes temos")
+ r"|(?:que|quais|quantos) agentes (?:tens|tenho|temos|h[áa]|existem)" # i18n-allow
+ r"|(?:mostra|lista|diz)(?:-me)? (?:todos )?(?:os )?" # i18n-allow
+ r"(?:(?:meus|teus|nossos) )?agentes" # i18n-allow
r")",
re.IGNORECASE,
)
@@ -31,7 +35,7 @@ def is_inventory_question(text: str) -> bool:
normalized = re.sub(r"\s+", " ", str(text or "")).strip(" .?!¿¡")
normalized = re.sub(
r"\b(?:eigentlich|denn|bitte|actually|currently|please" # i18n-allow
- r"|right now|por favor)\b",
+ r"|right now|por favor|agora|afinal)\b", # i18n-allow
"",
normalized,
flags=re.IGNORECASE,
@@ -72,7 +76,8 @@ def is_team_management_request(text: str) -> bool:
return (
re.search(
r"\b(?:creat\w*|add|updat\w*|reconfigur\w*|renam\w*|"
- r"erstell\w*|konfigurier\w*|aender\w*|änder\w*|crea\w*|actualiza\w*)\b" # i18n-allow
+ r"erstell\w*|konfigurier\w*|aender\w*|änder\w*|crea\w*|actualiza\w*|" # i18n-allow
+ r"cria\w*|atualiza\w*|configura\w*|altera\w*|renomeia\w*)\b" # i18n-allow
r"[^.?!]{0,70}\bagent(?:en|s|e|es)?\b",
text,
re.IGNORECASE,
@@ -86,8 +91,9 @@ def explicitly_requests_worker(text: str) -> bool:
# i18n-allow: multilingual spoken-input vocabulary
return (
re.search(
- r"\b(?:spawn\w*|start\w*|creat\w*|erstell\w*|crea\w*)\b"
- r"[^.?!]{0,45}\b(?:sub-?agent\w*|worker\w*|background agent|mission\w*)\b",
+ r"\b(?:spawn\w*|start\w*|creat\w*|erstell\w*|crea\w*|cria\w*|lan[cç]a\w*)\b"
+ r"[^.?!]{0,45}\b(?:sub-?agent\w*|worker\w*|background agent|mission\w*|"
+ r"miss[aã]o|miss[oõ]es|agente em segundo plano)\b", # i18n-allow
text,
re.IGNORECASE,
)
diff --git a/jarvis/society/memory_intent.py b/jarvis/society/memory_intent.py
index 271bffa282..d86db2c95d 100644
--- a/jarvis/society/memory_intent.py
+++ b/jarvis/society/memory_intent.py
@@ -10,12 +10,13 @@ _REMEMBER = re.compile(
r"^\s*(?:(?:please|bitte|por favor)[, ]+)?" # i18n-allow: input vocabulary
r"(?:(?:can|could) you (?:please )?)?"
r"(?:remember|(?:merk|merke)\s+dir(?:\s+bitte)?|" # i18n-allow
- r"(?:speichere|speicher)\s+(?:dir\s+)?(?:bitte\s+)?|recuerda(?:\s+que)?)" # i18n-allow
+ r"(?:speichere|speicher)\s+(?:dir\s+)?(?:bitte\s+)?|recuerda(?:\s+que)?|" # i18n-allow
+ r"lembra-te(?:\s+de)?(?:\s+que)?|memoriza(?:\s+que)?)" # i18n-allow: input vocabulary
r"[\s,:]+(?P<content>.+?)\s*$",
re.IGNORECASE | re.DOTALL,
)
_REFERENCE_ONLY = re.compile(
- r"^(?:this|that|it|das|dies|dieses|es|esto|eso)" # i18n-allow
+ r"^(?:this|that|it|das|dies|dieses|es|esto|eso|isto|isso|disto|disso)" # i18n-allow
r"(?:\s+(?:please|bitte|por favor))?[.!]*$", # i18n-allow
re.IGNORECASE,
)
@@ -33,7 +34,8 @@ def user_evidence(event: dict[str, Any]) -> str:
#: "Remember that not" declines; "remember not to call late" is a request.
_NEGATED = re.compile(
- r"^(?:(?:das|dies|es|this|that|it|eso)\s+(?:nicht|not|no)|nicht)\b", # i18n-allow
+ r"^(?:(?:das|dies|es|this|that|it|eso|isso|isto)\s+" # i18n-allow
+ r"(?:nicht|not|no|n[ãa]o)|nicht)\b", # i18n-allow
re.IGNORECASE,
)
#: One spoken or typed sentence: the request may sit anywhere in a longer turn.
diff --git a/jarvis/society/message_routing.py b/jarvis/society/message_routing.py
index 3f64651597..bcb97b7043 100644
--- a/jarvis/society/message_routing.py
+++ b/jarvis/society/message_routing.py
@@ -9,10 +9,15 @@ from collections.abc import Iterable
def is_internal_message_request(text: str, agent_names: Iterable[str]) -> bool:
"""Require both a message request and a named teammate, not just 'Gmail'."""
norm = text.casefold()
- if not re.search(r"\b(message|nachricht|testnachricht|mensaje)\w*\b", norm): # i18n-allow # i18n-allow: speech-input vocabulary
+ if not re.search(
+ r"\b(message|nachricht|testnachricht|mensaje|mensagem|mensagens)\w*\b", # i18n-allow
+ norm,
+ ):
return False
if not re.search(
- r"\b(send|write|tell|schreib\w*|sende?\w*|schick\w*|env[ií]\w*|escrib\w*)\b", norm
+ r"\b(send|write|tell|schreib\w*|sende?\w*|schick\w*|env[ií]\w*|escrib\w*|"
+ r"escrev\w*|manda\w*|diz)\b", # i18n-allow: speech-input vocabulary
+ norm,
):
return False
for name in agent_names:
diff --git a/jarvis/society/quests.py b/jarvis/society/quests.py
index 34991dbe23..3e88effef8 100644
--- a/jarvis/society/quests.py
+++ b/jarvis/society/quests.py
@@ -36,6 +36,7 @@ from collections.abc import Callable, Mapping
from dataclasses import dataclass, field
from typing import Any, Final
+from jarvis.missions.events import MISSION_LANGUAGES
from jarvis.missions.ids import uuid7_str
from .capabilities import CapabilityRow
@@ -502,7 +503,7 @@ class Quests:
"quest_id": quest_id,
"title": quest.title,
}
- if lang in ("de", "en"):
+ if lang in MISSION_LANGUAGES:
payload["lang"] = lang
await self._set(
quest,
diff --git a/jarvis/society/reply_preference.py b/jarvis/society/reply_preference.py
index 6e3711ebc3..1fda739b7f 100644
--- a/jarvis/society/reply_preference.py
+++ b/jarvis/society/reply_preference.py
@@ -13,7 +13,7 @@ from .working_rules import PREFIX
_DURABLE = re.compile(
r"\b(?:always|from now on|immer|ab jetzt|siempre|a partir de ahora)\b", re.I # i18n-allow
) # i18n-allow
-_NAMES = {"en": "English", "de": "German", "es": "Spanish"}
+_NAMES = {"en": "English", "de": "German", "es": "Spanish", "pt": "European Portuguese"}
log = logging.getLogger(__name__)
diff --git a/jarvis/society/routine_intent.py b/jarvis/society/routine_intent.py
index 2949c8a3d0..e9144a2c1e 100644
--- a/jarvis/society/routine_intent.py
+++ b/jarvis/society/routine_intent.py
@@ -7,27 +7,31 @@ import re
from jarvis.skills.authoring_request import is_skill_authoring_request
_ROUTINE_NOUN = re.compile(
- r"\b(?:\w*routinen?|rutinas?)\b", # i18n-allow: input vocabulary
+ r"\b(?:\w*routinen?|rutinas?|rotinas?)\b", # i18n-allow: input vocabulary
re.IGNORECASE,
)
_CREATE_VERB = re.compile(
r"\b(?:erstell\w*|anleg\w*|einricht\w*|creat\w*|set\s+up|" # i18n-allow: input vocabulary
- r"program\w*|configur\w*)\b",
+ r"program\w*|configur\w*|cria\w*|crie\w*)\b", # i18n-allow: input vocabulary
re.IGNORECASE,
)
_HOW_TO = re.compile(
r"\b(?:wie\s+(?:kann|könnte|soll|würde|erstelle)|" # i18n-allow: input vocabulary
r"how\s+(?:do|can|to)|"
- r"cómo\s+(?:puedo|crear))\b",
+ r"cómo\s+(?:puedo|crear)|" # i18n-allow: input vocabulary
+ r"como\s+(?:posso|consigo|crio|criar|se\s+cria|fa[çc]o))\b", # i18n-allow: input vocabulary
re.IGNORECASE,
)
_CONFIRMED_CREATE = re.compile(
r"^\s*(?:bitte\s+|please\s+)?(?:erstell\w*|create|set\s+up|" # i18n-allow: input vocabulary
- r"configur\w*)\s+(?:mir\s+)?(?:die|diese|the|this)\s+routine\b",
+ r"configur\w*)\s+(?:mir\s+)?(?:die|diese|the|this)\s+routine\b|"
+ r"^\s*(?:por\s+favor\s+)?(?:cria|configura)(?:-me)?\s+" # i18n-allow: input vocabulary
+ r"(?:a|esta|essa)\s+rotina\b", # i18n-allow: input vocabulary
re.IGNORECASE,
)
_PAST_REPORT = re.compile(
- r"\b(?:wurde|war|was|were|had|habe|hatte)\s+\w*", # i18n-allow: input vocabulary
+ r"\b(?:wurde|war|was|were|had|habe|hatte|" # i18n-allow: input vocabulary
+ r"tinha|tive|criei|criaste)\s+\w*", # i18n-allow: input vocabulary
re.IGNORECASE,
)
@@ -45,7 +49,8 @@ def requests_routine_creation(text: str) -> bool:
)
-# Recurrence phrases in English, German and Spanish ("every day at 8").
+# Recurrence phrases in English, German, Spanish and European Portuguese
+# ("every day at 8").
_RECURRENCE = re.compile(
r"\b(?:every\s+(?:day|morning|evening|night|week|weekday|month|hour|"
r"monday|tuesday|wednesday|thursday|friday|saturday|sunday|\d+\s+\w+)|"
@@ -60,6 +65,13 @@ _RECURRENCE = re.compile(
r"lunes|martes|miércoles|jueves|viernes|sábado|domingo|" # i18n-allow: input vocabulary
r"\d+\s+\w+)|"
r"todos\s+los\s+(?:días|dias|lunes)|" # i18n-allow: input vocabulary
+ # European Portuguese ("cada dia/semana/mes/hora" are shared above)
+ r"cada\s+(?:manh[ãa]|tarde|noite|m[êe]s|segunda|ter[çc]a|quarta|quinta|" # i18n-allow
+ r"sexta|s[áa]bado)|" # i18n-allow: input vocabulary
+ r"todos\s+os\s+(?:dias|meses|domingos|s[áa]bados|dias\s+[úu]teis)|" # i18n-allow
+ r"todas\s+as\s+(?:manh[ãa]s|tardes|noites|semanas|horas|segundas|" # i18n-allow
+ r"ter[çc]as|quartas|quintas|sextas)|" # i18n-allow: input vocabulary
+ r"mensalmente|de\s+hora\s+a\s+hora|" # i18n-allow: input vocabulary
r"diariamente|semanalmente)\b",
re.IGNORECASE,
)
@@ -71,7 +83,9 @@ _REQUEST_CUE = re.compile(
r"should|want|please|give|make|create|remind|set\s+up|can\s+you|could\s+you|"
r"summari[sz]e|brief|tell\s+me|"
r"quiero|por\s+favor|dame|envía|envia|crea|" # i18n-allow: input vocabulary
- r"recuérdame|puedes)\b", # i18n-allow: input vocabulary
+ r"recuérdame|puedes|" # i18n-allow: input vocabulary
+ r"quero|queria|d[áa]-me|manda|cria|lembra-me|podes|consegues|" # i18n-allow
+ r"resume|avisa-me|informa-me)\b", # i18n-allow: input vocabulary
re.IGNORECASE,
)
diff --git a/jarvis/society/runtime.py b/jarvis/society/runtime.py
index c5262ac648..fb2f939f25 100644
--- a/jarvis/society/runtime.py
+++ b/jarvis/society/runtime.py
@@ -27,6 +27,8 @@ from pathlib import Path
from typing import Any, Final
from uuid import uuid4
+from jarvis.missions.events import MISSION_LANGUAGES
+
from .approvals import Approvals
from .bridge import MissionBridge
from .browser.session import BrowserJobs
@@ -1108,7 +1110,7 @@ class SocietyRuntime:
"prompt": _agent_frame(target, task),
"source_actor": "hauptjarvis",
}
- if language in ("de", "en"):
+ if language in MISSION_LANGUAGES:
kwargs["language"] = language
mission_id = await manager.dispatch(**kwargs)
self._owners[str(mission_id)] = target.agent_id
diff --git a/jarvis/speech/hangup.py b/jarvis/speech/hangup.py
index 84c6252dfc..d428e43e60 100644
--- a/jarvis/speech/hangup.py
+++ b/jarvis/speech/hangup.py
@@ -122,8 +122,8 @@ def contains_end_signal(text: str | None) -> bool:
# Gratitude alone is not closing intent, and neither is the assistant saying
# that it has completed the requested work.
_SEMANTIC_CLOSING_RE = re.compile(
- r"\s*(?:(?:okay|ok|thanks|thank you|danke|gracias)[\s,.!]+)*" # i18n-allow
- r"(?:(?:i think|i guess|ich glaube|ich denke|creo que)[\s,]+)?" # i18n-allow
+ r"\s*(?:(?:okay|ok|thanks|thank you|danke|gracias|obrigad[oa])[\s,.!]+)*" # i18n-allow
+ r"(?:(?:i think|i guess|ich glaube|ich denke|creo que|acho que)[\s,]+)?" # i18n-allow
r"(?:"
r"(?:we are|we're|i am|i'm) (?:done|finished)(?: (?:here|for now|for today))?"
r"|(?:that is|that's|that was) all(?: (?:for now|for today|i needed))?"
@@ -138,8 +138,11 @@ _SEMANTIC_CLOSING_RE = re.compile(
r"|eso es todo(?: por (?:ahora|hoy))?|hemos terminado|ya terminamos"
r"|no necesito nada más|no tengo más preguntas|me tengo que ir"
r"|cuelga|adiós|adios|hasta luego"
+ r"|é tudo(?: por (?:agora|hoje))?|já terminámos|terminámos" # i18n-allow
+ r"|não preciso de mais nada|não tenho mais perguntas|tenho de ir" # i18n-allow
+ r"|desliga|adeus|até logo|até já|tchau" # i18n-allow
r")"
- r"(?:[\s,.!]+(?:thanks|thank you|danke|gracias|jarvis))*[\s.!]*", # i18n-allow
+ r"(?:[\s,.!]+(?:thanks|thank you|danke|gracias|obrigad[oa]|jarvis))*[\s.!]*", # i18n-allow
re.IGNORECASE,
)
@@ -164,9 +167,9 @@ def user_asked_to_hang_up(user_text: str | None) -> bool:
_CONFIRM_HANGUP_RE = re.compile(
- r"\A\s*(?:yes|yeah|yep|ja|sí|si)" # i18n-allow
+ r"\A\s*(?:yes|yeah|yep|ja|sí|si|sim)" # i18n-allow
r"(?:[\s,]+(?:please|bitte|por favor|hang up|end the call|" # i18n-allow
- r"auflegen|leg auf|beende das gespräch|cuelga))*[\s.!]*\Z", # i18n-allow
+ r"auflegen|leg auf|beende das gespräch|cuelga|desliga))*[\s.!]*\Z", # i18n-allow
re.IGNORECASE,
)
@@ -181,6 +184,7 @@ def hangup_confirmation_question(language: str) -> str:
return {
"de": "Möchtest du wirklich auflegen?", # i18n-allow
"es": "¿De verdad quieres colgar?",
+ "pt": "Queres mesmo desligar?", # i18n-allow
}.get(language.split("-")[0].lower(), "Do you really want to hang up?")
@@ -188,6 +192,7 @@ def hangup_cancelled_reply(language: str) -> str:
return {
"de": "Okay, ich bleibe dran.", # i18n-allow
"es": "Vale, seguimos hablando.",
+ "pt": "Ok, continuamos a falar.", # i18n-allow
}.get(language.split("-")[0].lower(), "Okay, I'll stay on the call.")
@@ -227,7 +232,7 @@ class HangupConfirmation:
if confirms_hangup(text):
return "confirmed"
if re.fullmatch(
- r"\A\s*(?:no|nope|nein|cancel|abbrechen)[\s.!]*\Z", # i18n-allow
+ r"\A\s*(?:no|nope|nein|cancel|abbrechen|não|nao|cancela)[\s.!]*\Z", # i18n-allow
text, re.I,
):
return "cancelled"
diff --git a/jarvis/speech/local_models.py b/jarvis/speech/local_models.py
index 22b3f1f611..e67299ca04 100644
--- a/jarvis/speech/local_models.py
+++ b/jarvis/speech/local_models.py
@@ -535,8 +535,9 @@ def _piper_bundle(name: str, *, label: str, language: str, gender: str) -> Sherp
#: Every model bundle the local providers can use, keyed by id.
#:
#: The voices are picked for CONSISTENCY across languages rather than one at a
-#: time: the same perceived speaker in German, English and Spanish, so switching
-#: language mid-conversation does not switch who is talking (BUG-086). A second,
+#: time: the same perceived speaker in German, English, Spanish and Portuguese,
+#: so switching language mid-conversation does not switch who is talking
+#: (BUG-086). A second,
#: feminine set is listed so a user can change voice without losing that
#: property — it is downloadable, not downloaded by default.
SHERPA_BUNDLES: dict[str, SherpaBundle] = {
@@ -569,6 +570,15 @@ SHERPA_BUNDLES: dict[str, SherpaBundle] = {
language="es",
gender="masculine",
),
+ # The only European Portuguese Piper voice (pt_PT, CC0 dataset). There is
+ # no feminine pt_PT voice upstream, so the feminine set falls back to this
+ # one for Portuguese rather than to a Brazilian accent.
+ "vits-piper-pt_PT-tugao-medium": _piper_bundle(
+ "vits-piper-pt_PT-tugao-medium",
+ label="Tugão (European Portuguese)",
+ language="pt",
+ gender="masculine",
+ ),
"vits-piper-de_DE-ramona-low": _piper_bundle(
"vits-piper-de_DE-ramona-low",
label="Ramona (German)",
@@ -596,8 +606,14 @@ PIPER_DEFAULT_VOICES: tuple[str, ...] = (
"vits-piper-de_DE-thorsten-medium",
"vits-piper-en_US-ryan-medium",
"vits-piper-es_ES-davefx-medium",
+ "vits-piper-pt_PT-tugao-medium",
)
+#: One medium Piper archive, voice plus its ``espeak-ng-data`` copy: each of the
+#: default voices measures 67.2 MB upstream. The provider card's download size
+#: is derived from it, so adding a default voice cannot leave the label stale.
+_PIPER_VOICE_DOWNLOAD_MB = 67
+
LOCAL_PROVIDERS: tuple[LocalProvider, ...] = (
LocalProvider(
provider_id="faster-whisper",
@@ -624,7 +640,7 @@ LOCAL_PROVIDERS: tuple[LocalProvider, ...] = (
runtime="sherpa-onnx",
model_id=PIPER_DEFAULT_VOICES[0],
model_label="Piper voices",
- download_size="about 200 MB",
+ download_size=f"about {round(len(PIPER_DEFAULT_VOICES) * _PIPER_VOICE_DOWNLOAD_MB, -1)} MB",
pip_package=SHERPA_ONNX_PACKAGE,
bundles=PIPER_DEFAULT_VOICES,
),
diff --git a/jarvis/speech/pipeline.py b/jarvis/speech/pipeline.py
index a21d5e210d..d0c810f7df 100644
--- a/jarvis/speech/pipeline.py
+++ b/jarvis/speech/pipeline.py
@@ -461,6 +461,10 @@ _BRAIN_UNAVAILABLE_PHRASE: dict[str, str] = {
"Lo siento, Ruben — ahora mismo no puedo acceder a ninguno de mis "
"modelos de lenguaje. Comprueba si tus proveedores aún tienen crédito."
),
+ "pt": (
+ "Desculpa, Ruben — neste momento não consigo aceder a nenhum dos meus "
+ "modelos de linguagem. Verifica se os teus fornecedores ainda têm crédito."
+ ),
}
# AD-OE6 zero-silent-drop fallback for the *final* utterance STT. A cloud STT
@@ -476,6 +480,7 @@ _STT_UNAVAILABLE_PHRASE: dict[str, str] = {
),
"en": "Sorry, I didn't catch that just now. Could you say it again?",
"es": "Perdona, no te he entendido bien ahora mismo. ¿Puedes repetirlo, por favor?",
+ "pt": "Desculpa, não percebi bem o que disseste. Podes repetir, por favor?",
}
# Honest cross-family fallback when a requested duplex provider cannot open a
@@ -495,6 +500,10 @@ _REALTIME_UNAVAILABLE_PHRASE: dict[str, str] = {
"La conexión en tiempo real no está disponible ahora mismo. "
"Cambiaré esta sesión al sistema de voz clásico."
),
+ "pt": (
+ "A ligação em tempo real não está disponível neste momento. "
+ "Vou mudar esta sessão para o sistema de voz clássico."
+ ),
}
# AD-OE6 zero-silent-drop fallback for a brain TURN that times out. Live bug
@@ -515,7 +524,7 @@ _REALTIME_UNAVAILABLE_PHRASE: dict[str, str] = {
# • NO-ANSWER — a bare provider stall / total cap with no tool evidence:
# honestly admit we could not find it out, never the vague "took too long".
# Both are short, TTS-clean (``_speak`` does not scrub — no em-dash, two short
-# sentences), and carry all supported locales (de/en/es). String-only: NO LLM
+# sentences), and carry all supported locales (de/en/es/pt). String-only: NO LLM
# call in this timeout/scrub path (AP-11). Resolved through the ONE output-
# language decision via ``_resolve_timeout_phrase`` below (AGENTS.md §1 — no
# per-layer language re-derivation).
@@ -526,12 +535,17 @@ _TIMEOUT_TOOL_STALL_PHRASE: dict[str, str] = {
),
"en": "I couldn't get an answer in time. A tool I was waiting on didn't respond.",
"es": "No pude obtener una respuesta a tiempo. Una herramienta que esperaba no respondió.",
+ "pt": (
+ "Não consegui obter uma resposta a tempo. "
+ "Uma ferramenta de que estava à espera não respondeu."
+ ),
}
_TIMEOUT_NO_ANSWER_PHRASE: dict[str, str] = {
"de": "Das konnte ich gerade nicht herausfinden.",
"en": "I couldn't find that out just now.",
"es": "No pude averiguar eso ahora mismo.",
+ "pt": "Não consegui descobrir isso agora.",
}
# AD-OE6 zero-silent-drop fallback for an ABANDONED incomplete utterance. When
@@ -546,6 +560,7 @@ _CLARIFY_QUESTION_PHRASE: dict[str, str] = {
"de": "Wie meinst du das genau?",
"en": "What do you mean exactly?",
"es": "¿Qué quieres decir exactamente?",
+ "pt": "O que queres dizer exatamente?",
}
# AD-OE6 confirmation for a SUCCESSFUL wordless desktop-action turn. When the
@@ -562,21 +577,22 @@ _ACTION_DONE_PHRASE: dict[str, str] = {
"de": "Erledigt.",
"en": "Done.",
"es": "Listo.",
+ "pt": "Feito.",
}
-_PHRASE_LANGS: frozenset[str] = frozenset({"de", "en", "es"})
+_PHRASE_LANGS: frozenset[str] = frozenset({"de", "en", "es", "pt"})
def _phrase_lang(lang: str | None) -> str:
- """Normalize a detected-language tag to a canned-phrase key ("de"/"en"/"es").
+ """Normalize a detected-language tag to a canned-phrase key ("de"/"en"/"es"/"pt").
The utterance language reaches the phrase pickers in two shapes: full
language NAMES from the STT transcript (``(transcript.language or
"en").lower()`` → ``"german"``/``"spanish"`` for Groq Whisper) and
BCP-47-ish CODES ("de", "de-DE", "es-ES") from config pins / announcements.
Both collapse through the canonical ``normalize_language_tag`` so every
- supported language (de/en/es) selects its own phrase set; anything
+ supported language (de/en/es/pt) selects its own phrase set; anything
unrecognised falls back to ``DEFAULT_LOCALE``. The pickers used to test
``lang.startswith("de")`` only — ``"german"`` does not start with "de", so
every canned AD-OE6 fallback (clarify question, action-done ack,
@@ -585,7 +601,7 @@ def _phrase_lang(lang: str | None) -> str:
bug 2026-06-09: "antwortet fast immer mit einer englischen
Standardphrase"); a Spanish speaker hit the same trap until this normalizer
learned ``es`` (Runtime Output Language doctrine). The canned tables now
- carry all three languages.
+ carry every supported language (de/en/es/pt).
"""
code = normalize_language_tag(lang)
return code if code in _PHRASE_LANGS else DEFAULT_LOCALE
@@ -1930,11 +1946,21 @@ def _smalltalk_fallback_for_non_substantive(prompt: str, lang: str) -> str | Non
"wie geht",
"how are you",
"how's it going",
+ "qué tal", # i18n-allow: Spanish wellbeing marker
+ "cómo estás", # i18n-allow: Spanish wellbeing marker
+ "como estas", # i18n-allow: Spanish wellbeing marker
+ "como estás", # i18n-allow: PT wellbeing marker
+ "tudo bem", # i18n-allow: PT wellbeing marker
)
if not any(marker in low for marker in wellbeing_markers):
return None
- if _phrase_lang(lang) == "de":
+ phrase_lang = _phrase_lang(lang)
+ if phrase_lang == "de":
return "Mir geht's gut, Ruben. Was machen wir als Naechstes?"
+ if phrase_lang == "es":
+ return "Estoy bien. ¿Qué hacemos ahora?" # i18n-allow: Spanish TTS
+ if phrase_lang == "pt":
+ return "Estou bem. O que fazemos a seguir?" # i18n-allow: PT TTS
return "I'm good, Ruben. What's next?"
@@ -5075,6 +5101,10 @@ class SpeechPipeline:
"[ejecución programada] Es hora del skill '{name}'. Ejecuta sus "
"instrucciones ahora e informa brevemente el resultado."
),
+ "pt": (
+ "[execução agendada] Está na hora do skill '{name}'. Executa as "
+ "suas instruções agora e informa brevemente o resultado."
+ ),
"en": (
"[scheduled run] It is time for the '{name}' skill. Execute its "
"instructions now and report the result briefly."
@@ -17003,8 +17033,8 @@ class SpeechPipeline:
# These are *runtime* bilingual output strings (not artifacts),
# so they stay bilingual per the voice-output policy.
spoken_phrases: dict[str, dict[str, str]] = {
- "incomplete": {"de": "Mhm?", "en": "Mhm?"},
- "abort": {"de": "Okay.", "en": "Okay."},
+ "incomplete": {"de": "Mhm?", "en": "Mhm?", "es": "¿Mhm?", "pt": "Hum?"},
+ "abort": {"de": "Okay.", "en": "Okay.", "es": "Vale.", "pt": "Ok."},
}
lang_key = _phrase_lang(lang)
phrase = spoken_phrases.get(kind, {}).get(lang_key, "Mhm?")
@@ -18317,7 +18347,7 @@ class SpeechPipeline:
return result is not False
#: Spoken readback for a Jarvis-Agent background task that finished off the
- #: chat path. de/en/es so the readback follows the conversation language
+ #: chat path. de/en/es/pt so the readback follows the conversation language
#: instead of a hardcoded German literal (forensic 2026-06-23). German
#: strings are TTS product surface, not source artifacts (i18n-allow).
_BG_READBACK_PHRASES: dict[str, dict[str, str]] = {
@@ -18339,13 +18369,21 @@ class SpeechPipeline:
"fail": "Eso no funcionó. {e}",
"unknown_err": "error desconocido",
},
+ "pt": {
+ "done": "Feito.",
+ "done_summ": "Feito. {s}",
+ "fail": "Isso não funcionou. {e}",
+ "unknown_err": "erro desconhecido",
+ },
}
- _BCP47: dict[str, str] = {"de": "de-DE", "en": "en-US", "es": "es-ES"}
+ _BCP47: dict[str, str] = {
+ "de": "de-DE", "en": "en-US", "es": "es-ES", "pt": "pt-PT",
+ }
@classmethod
def _bcp47(cls, lang: object) -> str | None:
- """Map a de/en/es turn-language code to a TTS BCP-47 locale, else None.
+ """Map a de/en/es/pt turn-language code to a TTS BCP-47 locale, else None.
Single source for the whole pipeline — replaces four hand-copied maps,
one of which (the task-ack prerender) had silently dropped ``es``, so a
diff --git a/jarvis/speech/tts_eval/__main__.py b/jarvis/speech/tts_eval/__main__.py
index bac8e0ecea..f13e9d542e 100644
--- a/jarvis/speech/tts_eval/__main__.py
+++ b/jarvis/speech/tts_eval/__main__.py
@@ -23,7 +23,7 @@ from jarvis.speech.tts_eval.corpus import HARD_CORPUS, EvalItem, items_for_langu
from jarvis.speech.tts_eval.harness import EvalReport, SynthResult, Thresholds, evaluate
from jarvis.speech.tts_eval.metrics import default_metrics
-_BCP47 = {"de": "de-DE", "en": "en-US", "es": "es-ES"}
+_BCP47 = {"de": "de-DE", "en": "en-US", "es": "es-ES", "pt": "pt-PT"}
def _make_synth_fn(provider: str):
diff --git a/jarvis/speech/wake_constants.py b/jarvis/speech/wake_constants.py
index 8c6f276b28..37d875ad8a 100644
--- a/jarvis/speech/wake_constants.py
+++ b/jarvis/speech/wake_constants.py
@@ -243,18 +243,32 @@ def _vosk_models_root() -> Path:
return Path(base) / "wake_models" / "vosk"
+def _is_vosk_model_dir(cand: Path) -> bool:
+ """True when ``cand`` itself is an extracted Vosk model.
+
+ ``am/`` or ``conf/model.conf`` marks the current layout; a root-level
+ ``final.mdl`` marks the legacy flat layout (vosk-model-small-pt-0.3),
+ which the Vosk runtime still loads.
+ """
+ return (
+ (cand / "am").is_dir()
+ or (cand / "conf" / "model.conf").is_file()
+ or (cand / "final.mdl").is_file()
+ )
+
+
def _vosk_model_dir(cand: Path) -> Path | None:
"""The extracted model dir inside a language folder, or None.
- A folder counts as a model when it carries Vosk's ``am/`` subdir or a
- ``conf/model.conf`` (top-level or one level down, so both an extracted
- ``vosk-model-small-de-0.15/`` inside the lang folder and a flattened
- layout resolve).
+ A folder counts as a model when it carries one of the
+ ``_is_vosk_model_dir`` markers (top-level or one level down, so both an
+ extracted ``vosk-model-small-de-0.15/`` inside the lang folder and a
+ flattened layout resolve).
"""
- if (cand / "am").is_dir() or (cand / "conf" / "model.conf").is_file():
+ if _is_vosk_model_dir(cand):
return cand
for sub in sorted(p for p in cand.iterdir() if p.is_dir()):
- if (sub / "am").is_dir() or (sub / "conf" / "model.conf").is_file():
+ if _is_vosk_model_dir(sub):
return sub
return None
diff --git a/jarvis/speech/wake_model_fetch.py b/jarvis/speech/wake_model_fetch.py
index 8c000e4bec..7882927ee8 100644
--- a/jarvis/speech/wake_model_fetch.py
+++ b/jarvis/speech/wake_model_fetch.py
@@ -28,7 +28,7 @@ log = logging.getLogger("jarvis.wake.model_fetch")
_BASE_URL = "https://alphacephei.com/vosk/models/"
# DEFAULT_LOCALE fallback (jarvis/core/turn_language.py) kept as a literal so this
-# module needs no heavy import; supported app languages are en/de/es.
+# module needs no heavy import; supported app languages are en/de/es/pt.
_DEFAULT_LANG = "en"
@@ -55,6 +55,13 @@ VOSK_MODELS: dict[str, VoskModelSpec] = {
"vosk-model-small-es-0.42.zip",
"09b239888f633ef2f0b4e09736e3d9936acfd810bc65d53fad45261762c6511f",
),
+ # Pinned 2026-10-10 (32,453,112 bytes). The only small Portuguese model
+ # alphacephei publishes; it ships the legacy flat layout (final.mdl at the
+ # model root, no am/ or conf/), which _lang_dir_has_model accepts.
+ "pt": VoskModelSpec(
+ "vosk-model-small-pt-0.3.zip",
+ "6e1ce909032e1afa7a88e68a3d628ecafff302bdf195befab308826c395e93b7",
+ ),
}
@@ -117,17 +124,27 @@ def _models_root(data_dir: str | None) -> Path:
return Path(base) / "wake_models" / "vosk"
+def _is_model_dir(cand: Path) -> bool:
+ """Same markers as ``wake_constants._is_vosk_model_dir`` -- do not diverge.
+
+ ``am/`` or ``conf/model.conf`` is the current Vosk layout; a root-level
+ ``final.mdl`` is the legacy flat layout (e.g. vosk-model-small-pt-0.3),
+ which the Vosk runtime still loads.
+ """
+ return (
+ (cand / "am").is_dir()
+ or (cand / "conf" / "model.conf").is_file()
+ or (cand / "final.mdl").is_file()
+ )
+
+
def _lang_dir_has_model(lang_dir: Path) -> bool:
"""Mirrors resolve_vosk_model_path's own "is this a model dir" check."""
if not lang_dir.is_dir():
return False
- if (lang_dir / "am").is_dir() or (lang_dir / "conf" / "model.conf").is_file():
+ if _is_model_dir(lang_dir):
return True
- return any(
- (sub / "am").is_dir() or (sub / "conf" / "model.conf").is_file()
- for sub in lang_dir.iterdir()
- if sub.is_dir()
- )
+ return any(_is_model_dir(sub) for sub in lang_dir.iterdir() if sub.is_dir())
def vosk_model_present(language: str | None, *, data_dir: str | None = None) -> bool:
diff --git a/jarvis/speech/wake_phrase.py b/jarvis/speech/wake_phrase.py
index 00fc85fc7d..bcac90d6b5 100644
--- a/jarvis/speech/wake_phrase.py
+++ b/jarvis/speech/wake_phrase.py
@@ -22,7 +22,7 @@ docs/local-wakeword/CUSTOM-WAKE-WORD-DESIGN.md). Two public pieces:
from __future__ import annotations
import logging
-from dataclasses import dataclass
+from dataclasses import dataclass, field
from difflib import SequenceMatcher
from pathlib import Path
from typing import Any
@@ -296,6 +296,12 @@ class WakeWordPlan:
# and the single language-matched model eats genuine wakes it cannot
# spell. Empty tuple = fall back to the single vosk_model_path.
vosk_model_paths: tuple[str, ...] = ()
+ # Stable machine code for ``message`` (one of ``WAKE_PLAN_MESSAGE_CODES``)
+ # plus its fill-in values, so the desktop UI renders the status in the
+ # user's language; ``message`` stays the English sentence for logs, the CLI
+ # and API callers. Empty = no translatable status (renders ``message``).
+ message_code: str = ""
+ message_params: dict[str, str] = field(default_factory=dict)
def _read(cfg: Any, name: str, default: Any) -> Any:
@@ -364,6 +370,8 @@ def resolve_wake_plan(
needs_local_whisper=False,
degraded=False,
message=f"Custom ONNX wake model: {custom_path}",
+ message_code="custom_onnx",
+ message_params={"path": str(custom_path)},
# ALWAYS verify custom-model hits with the STT prefix gate.
# Live forensic 2026-07-01: trusting the trained model alone
# ("it IS its own discriminator") caused a false-positive storm
@@ -449,6 +457,8 @@ def resolve_wake_plan(
f"Any-word Vosk keyword spotting for '{phrase}' "
f"(model: {vosk_model})."
),
+ message_code="vosk_kws",
+ message_params={"phrase": phrase, "model": str(vosk_model)},
verify_prefix=False, # the provider's sound confirm is built in
vosk_model_path=vosk_model,
# Every installed model, primary first: the provider listens
@@ -478,6 +488,8 @@ def resolve_wake_plan(
f"Custom ONNX not found ({custom_path}); "
"using local-Whisper transcript match instead."
)
+ message_code = "custom_onnx_missing"
+ message_params = {"path": str(custom_path)}
elif custom_stale:
# A STALE custom model (belongs to another phrase) is NOT a
# degrade: the transcript match IS the regular path for the new
@@ -489,6 +501,8 @@ def resolve_wake_plan(
f"different phrase; '{phrase}' uses the local-Whisper "
"transcript match."
)
+ message_code = "custom_onnx_other_phrase"
+ message_params = {"model_file": Path(custom_path).name, "phrase": phrase}
else:
# A custom word served ONLY by the transcribe-and-match path is
# UNRELIABLE for hard proper nouns (AP-27): the base model garbles
@@ -502,6 +516,10 @@ def resolve_wake_plan(
f"model for {_lang} to make it reliable (Settings -> Wake word -> "
"'Download wake model')."
)
+ message_code = (
+ "stt_match_unreliable" if language else "stt_match_unreliable_any_language"
+ )
+ message_params = {"phrase": phrase, "language": str(language or "")}
log.warning(
"Wake word '%s' resolved to stt_match only (no Vosk model, no "
"custom ONNX) — recognition will be unreliable for a hard name. "
@@ -519,6 +537,8 @@ def resolve_wake_plan(
needs_local_whisper=True,
degraded=degraded,
message=message,
+ message_code=message_code,
+ message_params=message_params,
# The rolling-whisper path already matches the phrase itself; no
# second-stage prefix verification (that gate exists for weak
# custom_onnx models — see WakeWordPlan.verify_prefix).
@@ -548,13 +568,31 @@ def resolve_wake_plan(
"it. Until then the wake word is off — use the Call shortcut "
"to start a voice turn."
),
+ message_code="needs_local_model" if phrase else "needs_local_model_no_phrase",
+ message_params={"phrase": phrase},
verify_prefix=False,
wake_available=False,
)
+#: Every ``WakeWordPlan.message_code`` the resolver emits. The desktop UI holds
+#: one translation per code (``settings_view.wake_word.msg.<code>``); the parity
+#: test ``tests/unit/ui/test_backend_message_codes.py`` keeps both sides in step.
+WAKE_PLAN_MESSAGE_CODES: tuple[str, ...] = (
+ "custom_onnx",
+ "vosk_kws",
+ "custom_onnx_missing",
+ "custom_onnx_other_phrase",
+ "stt_match_unreliable",
+ "stt_match_unreliable_any_language",
+ "needs_local_model",
+ "needs_local_model_no_phrase",
+)
+
+
__all__ = [
"CUSTOM_ONNX_THRESHOLD",
+ "WAKE_PLAN_MESSAGE_CODES",
"WAKE_POLL_INTERVAL_S",
"WakeMatcher",
"WakeWordPlan",
diff --git a/jarvis/tasks/runner.py b/jarvis/tasks/runner.py
index 742309bc3b..830c23a1b8 100644
--- a/jarvis/tasks/runner.py
+++ b/jarvis/tasks/runner.py
@@ -534,10 +534,12 @@ class TaskRunner:
# scrub_for_voice before TTS synthesizes it. Defense-in-depth: workflow
# definitions could have brain-generated text as a speak action without
# the skill author explicitly calling the filter.
- # Language: action has an optional .language; otherwise default "de".
+ # Language: the action's optional .language; otherwise the ambient
+ # answer language (reply-language pin, then the default locale).
from jarvis.brain.output_filter import scrub_for_voice
+ from jarvis.voice.action_phrases import resolve_ambient_language
- speak_lang = getattr(action, "language", None) or "de"
+ speak_lang = getattr(action, "language", None) or resolve_ambient_language()
scrubbed = scrub_for_voice(text, language=speak_lang)
if scrubbed.actions:
log.info(
diff --git a/jarvis/telephony/session.py b/jarvis/telephony/session.py
index 7cdfe082b3..1710ff3791 100644
--- a/jarvis/telephony/session.py
+++ b/jarvis/telephony/session.py
@@ -81,6 +81,25 @@ log = logging.getLogger("jarvis.telephony.session")
# product imposes no fixed name here (jarvis/brain/assistant_name.py).
DEFAULT_GREETING_DE = "Guten Tag, wie kann ich helfen?" # i18n-allow
DEFAULT_GREETING_EN = "Hello, how can I help?"
+_DEFAULT_GREETINGS: dict[str, str] = {
+ "de": DEFAULT_GREETING_DE,
+ "en": DEFAULT_GREETING_EN,
+ "es": "Hola, ¿en qué puedo ayudarte?", # i18n-allow: Spanish TTS
+ "pt": "Olá, em que posso ajudar?", # i18n-allow: PT TTS
+}
+# Greeting when an assistant name is set; placeholder {name}.
+_NAMED_GREETINGS: dict[str, str] = {
+ "de": "Hier ist {name}. Wie kann ich helfen?", # i18n-allow: German TTS greeting
+ "en": "{name} here. How can I help?",
+ "es": "Soy {name}. ¿En qué puedo ayudarte?", # i18n-allow: Spanish TTS
+ "pt": "Olá, sou {name}. Em que posso ajudar?", # i18n-allow: PT TTS
+}
+_FALLBACK_PHRASES: dict[str, str] = {
+ "de": "Entschuldigung, das habe ich nicht verstanden. Bitte wiederhole es.", # i18n-allow
+ "en": "Sorry, I did not catch that. Could you say it again?",
+ "es": "Perdona, no te he entendido. ¿Puedes repetirlo?", # i18n-allow: Spanish TTS
+ "pt": "Desculpa, não percebi. Podes repetir?", # i18n-allow: PT TTS
+}
# Send callback signature: an awaitable that ships one JSON-serialisable dict
# to Twilio over the WS.
@@ -609,7 +628,9 @@ class TelephonyCallSession:
# -- helpers -----------------------------------------------------------
def _lang_short(self) -> str:
- return "en" if self.language_code.lower().startswith("en") else "de"
+ """Short language code of the call (de/en/es/pt); German for others."""
+ short = self.language_code.lower().split("-")[0]
+ return short if short in _DEFAULT_GREETINGS else "de"
def _default_greeting(self) -> str:
"""Greeting spoken when no custom ``greeting`` was configured.
@@ -623,15 +644,11 @@ class TelephonyCallSession:
from jarvis.brain.assistant_name import DEFAULT_ASSISTANT_NAME
if name and name != DEFAULT_ASSISTANT_NAME:
- if lang == "en":
- return f"{name} here. How can I help?"
- return f"Hier ist {name}. Wie kann ich helfen?" # i18n-allow: German TTS greeting
- return DEFAULT_GREETING_EN if lang == "en" else DEFAULT_GREETING_DE
+ return _NAMED_GREETINGS[lang].format(name=name)
+ return _DEFAULT_GREETINGS[lang]
def _fallback_phrase(self) -> str:
- if self._lang_short() == "en":
- return "Sorry, I did not catch that. Could you say it again?"
- return "Entschuldigung, das habe ich nicht verstanden. Bitte wiederhole es." # i18n-allow
+ return _FALLBACK_PHRASES[self._lang_short()]
# -- bus events --------------------------------------------------------
diff --git a/jarvis/trigger/hotkey.py b/jarvis/trigger/hotkey.py
index 2b54faeacb..bc6b3ea829 100644
--- a/jarvis/trigger/hotkey.py
+++ b/jarvis/trigger/hotkey.py
@@ -436,6 +436,42 @@ def combos_collide(a: str, b: str) -> bool:
return tokens_a <= tokens_b or tokens_b <= tokens_a
+#: The user-facing sentences :func:`mouse_hotkeys_available` answers with,
+#: keyed by a stable code the desktop UI translates
+#: (``settings_view.keybinds.mouse_reason.<code>``). The English sentence stays
+#: the API answer; ``mouse_hotkeys_reason_code`` maps it back to its code.
+MOUSE_HOTKEY_REASONS: dict[str, str] = {
+ "macos_needs_quartz": (
+ "Mouse-button shortcuts need the pyobjc Quartz package, which is "
+ "not installed — install the [full] profile. Key combinations "
+ "still work."
+ ),
+ "wayland": (
+ "Wayland does not let an application watch the mouse buttons "
+ "globally, so a mouse-button shortcut cannot work here. Use a "
+ "key combination, or bind a compositor shortcut to the Dodaios "
+ "CLI."
+ ),
+ "linux_needs_pynput": (
+ "Mouse-button shortcuts need the pynput package, which is not "
+ "installed — install the [desktop-linux] extra. Key combinations "
+ "still work."
+ ),
+ "unsupported_host": (
+ "This system has no way to watch the mouse buttons globally — use a "
+ "key combination instead."
+ ),
+}
+
+
+def mouse_hotkeys_reason_code(reason: str) -> str:
+ """The stable code of a :func:`mouse_hotkeys_available` sentence, or ``""``."""
+ for code, sentence in MOUSE_HOTKEY_REASONS.items():
+ if sentence == reason:
+ return code
+ return ""
+
+
def mouse_hotkeys_available(platform: str | None = None) -> tuple[bool, str]:
"""Can this host bind a MOUSE BUTTON as a shortcut? ``(ok, reason)``.
@@ -461,11 +497,7 @@ def mouse_hotkeys_available(platform: str | None = None) -> tuple[bool, str]:
if host == "darwin":
if _module_present("Quartz"):
return True, ""
- return False, (
- "Mouse-button shortcuts need the pyobjc Quartz package, which is "
- "not installed — install the [full] profile. Key combinations "
- "still work."
- )
+ return False, MOUSE_HOTKEY_REASONS["macos_needs_quartz"]
if host == "linux":
try:
from jarvis.platform.probes import is_wayland
@@ -474,23 +506,11 @@ def mouse_hotkeys_available(platform: str | None = None) -> tuple[bool, str]:
except Exception: # noqa: BLE001 — a probe failure must never hard-fail
wayland = False
if wayland:
- return False, (
- "Wayland does not let an application watch the mouse buttons "
- "globally, so a mouse-button shortcut cannot work here. Use a "
- "key combination, or bind a compositor shortcut to the Dodaios "
- "CLI."
- )
+ return False, MOUSE_HOTKEY_REASONS["wayland"]
if _module_present("pynput"):
return True, ""
- return False, (
- "Mouse-button shortcuts need the pynput package, which is not "
- "installed — install the [desktop-linux] extra. Key combinations "
- "still work."
- )
- return False, (
- "This system has no way to watch the mouse buttons globally — use a "
- "key combination instead."
- )
+ return False, MOUSE_HOTKEY_REASONS["linux_needs_pynput"]
+ return False, MOUSE_HOTKEY_REASONS["unsupported_host"]
def _module_present(name: str) -> bool:
@@ -1227,7 +1247,9 @@ __all__ = [
"HotkeyVerdict",
"combos_collide",
"modifier_snapshot",
+ "MOUSE_HOTKEY_REASONS",
"mouse_hotkeys_available",
+ "mouse_hotkeys_reason_code",
"normalized_combo_tokens",
"validate_hotkey",
"_normalize_combo",
diff --git a/jarvis/ui/desktop_app.py b/jarvis/ui/desktop_app.py
index 6cc3ef1416..3ceb2df133 100644
--- a/jarvis/ui/desktop_app.py
+++ b/jarvis/ui/desktop_app.py
@@ -1716,11 +1716,13 @@ _CONDUCTOR_NEWS_PHRASES: dict[str, dict[str, str]] = {
"de": "Der geplante Job {name} schlägt gerade fehl.", # i18n-allow
"en": "The scheduled job {name} has started failing.",
"es": "El trabajo programado {name} está fallando.",
+ "pt": "A tarefa agendada {name} começou a falhar.", # i18n-allow
},
"recovered": {
"de": "Der geplante Job {name} läuft wieder.", # i18n-allow
"en": "The scheduled job {name} is working again.",
"es": "El trabajo programado {name} vuelve a funcionar.",
+ "pt": "A tarefa agendada {name} voltou a funcionar.", # i18n-allow
},
}
diff --git a/jarvis/ui/pets/context_menu.py b/jarvis/ui/pets/context_menu.py
index f444bcfa91..8f2591fc23 100644
--- a/jarvis/ui/pets/context_menu.py
+++ b/jarvis/ui/pets/context_menu.py
@@ -11,6 +11,7 @@ LABELS = {
"en": ("Open app", "Reset position", "Hide pet"),
"de": ("App öffnen", "Position zurücksetzen", "Ausblenden"), # i18n-allow
"es": ("Abrir la aplicación", "Restablecer posición", "Ocultar mascota"),
+ "pt": ("Abrir a aplicação", "Repor posição", "Ocultar pet"), # i18n-allow
"zh": ("打开应用", "重置位置", "隐藏宠物"),
}
diff --git a/jarvis/ui/pets/notices.py b/jarvis/ui/pets/notices.py
index b9623d597d..b8f8bd66ba 100644
--- a/jarvis/ui/pets/notices.py
+++ b/jarvis/ui/pets/notices.py
@@ -34,36 +34,42 @@ NOTICE_LABELS: dict[str, dict[str, str]] = {
"de": "Aufgabe erledigt", # i18n-allow
"es": "Tarea hecha", # i18n-allow
"zh": "任务已完成", # i18n-allow
+ "pt": "Tarefa concluída", # i18n-allow
},
"task_failed": {
"en": "Task failed",
"de": "Aufgabe fehlgeschlagen", # i18n-allow
"es": "La tarea falló", # i18n-allow
"zh": "任务失败", # i18n-allow
+ "pt": "A tarefa falhou", # i18n-allow
},
"result_ready": {
"en": "{name} is done",
"de": "{name} ist fertig", # i18n-allow
"es": "{name} terminó", # i18n-allow
"zh": "{name} 已完成", # i18n-allow
+ "pt": "{name} terminou", # i18n-allow
},
"result_failed": {
"en": "{name} failed",
"de": "{name} ist gescheitert", # i18n-allow
"es": "{name} falló", # i18n-allow
"zh": "{name} 失败了", # i18n-allow
+ "pt": "{name} falhou", # i18n-allow
},
"agent": {
"en": "The agent",
"de": "Der Agent", # i18n-allow
"es": "El agente", # i18n-allow
"zh": "智能体", # i18n-allow
+ "pt": "O agente", # i18n-allow
},
"no_answer": {
"en": "Dodaios could not answer",
"de": "Dodaios konnte nicht antworten", # i18n-allow
"es": "Dodaios no pudo responder", # i18n-allow
"zh": "Dodaios 无法回答", # i18n-allow
+ "pt": "O Dodaios não conseguiu responder", # i18n-allow
},
}
diff --git a/jarvis/ui/web/control_routes.py b/jarvis/ui/web/control_routes.py
index f8bfa8d353..cd75ad60f9 100644
--- a/jarvis/ui/web/control_routes.py
+++ b/jarvis/ui/web/control_routes.py
@@ -154,7 +154,7 @@ class PendingIdBody(BaseModel):
class LanguageBody(BaseModel):
# Constrained so a bad value (e.g. "zh") is rejected with 422 at the boundary
# instead of being written to jarvis.toml and silently normalised to "auto".
- reply_language: Literal["auto", "de", "en", "es"]
+ reply_language: Literal["auto", "de", "en", "es", "pt"]
class SecretBody(BaseModel):
@@ -313,14 +313,14 @@ def reject_config(body: PendingIdBody, request: Request) -> dict[str, Any]:
@router.put("/language", dependencies=[Depends(require_control_key)])
def put_language(body: LanguageBody, request: Request) -> dict[str, Any]:
- """Switch the language. A concrete code (de/en/es) sets BOTH the reply
+ """Switch the language. A concrete code (de/en/es/pt) sets BOTH the reply
language (what Jarvis speaks) AND the interface language (what the user
sees) so the whole experience switches; "auto" only affects replies (it
mirrors the input language). Both are SAFE -> applied immediately, and the
interface switches live in the open UI via the ConfigReloaded broadcast."""
store = _pending_store(request)
reason = "control-api language switch"
- switch_ui = body.reply_language in ("de", "en", "es")
+ switch_ui = body.reply_language in ("de", "en", "es", "pt")
# Validate BOTH writes before applying either, so a refused interface
# language never leaves the reply language switched on its own.
writer = _control_writer(request)
diff --git a/jarvis/ui/web/frontend/src/App.tsx b/jarvis/ui/web/frontend/src/App.tsx
index c37b1f7b0a..3e62c077b1 100644
--- a/jarvis/ui/web/frontend/src/App.tsx
+++ b/jarvis/ui/web/frontend/src/App.tsx
@@ -26,6 +26,7 @@ import { CommandActivityLayer } from "@/components/CommandActivityLayer";
import { AppshotEditorHost } from "@/components/appshot/AppshotEditorHost";
import { EditContextMenu } from "@/components/EditContextMenu";
import { useMacWindowCloseFallback } from "@/lib/macWindowClose";
+import { useT } from "@/i18n";
/*
Lazy on purpose. The overlay pulls in the dialog primitives, the keyboard
layout table and the keybind hook — none of which anything needs before
@@ -107,6 +108,7 @@ export function SectionStage({
}
export default function App() {
+ const t = useT();
/*
`?` opens the shortcut overlay. Registered here rather than per view so it
works everywhere, and guarded by shouldOpenShortcutOverlay so it never eats
@@ -366,7 +368,7 @@ export default function App() {
onDoubleClick={sidebar.reset}
onNudge={sidebar.nudge}
active={sidebar.isResizing}
- title="Drag to resize the sidebar — double-click to reset"
+ title={t("sidebar.resize_hint")}
/>
</>
)}
diff --git a/jarvis/ui/web/frontend/src/__tests__/i18n.test.ts b/jarvis/ui/web/frontend/src/__tests__/i18n.test.ts
index 9da131c8d8..6824b17670 100644
--- a/jarvis/ui/web/frontend/src/__tests__/i18n.test.ts
+++ b/jarvis/ui/web/frontend/src/__tests__/i18n.test.ts
@@ -2,10 +2,11 @@ import { describe, it, expect, beforeEach, vi, afterEach } from "vitest";
import en from "@/i18n/locales/en.json";
import de from "@/i18n/locales/de.json";
import es from "@/i18n/locales/es.json";
+import pt from "@/i18n/locales/pt.json";
-const LOCALES = { en, de, es } as const;
-const CODES = ["en", "de", "es"] as const;
-const REPLY_CODES = ["auto", "en", "de", "es"] as const;
+const LOCALES = { en, de, es, pt } as const;
+const CODES = ["en", "de", "es", "pt"] as const;
+const REPLY_CODES = ["auto", "en", "de", "es", "pt"] as const;
describe("locale completeness (raw-key bug guard)", () => {
for (const [name, loc] of Object.entries(LOCALES)) {
@@ -21,7 +22,7 @@ describe("locale completeness (raw-key bug guard)", () => {
}
});
- it(`${name}: reply_options cover auto/en/de/es`, () => {
+ it(`${name}: reply_options cover auto/en/de/es/pt`, () => {
for (const code of REPLY_CODES) {
expect(lv.reply_options[code], `${name}.reply_options.${code}`).toBeTruthy();
}
diff --git a/jarvis/ui/web/frontend/src/__tests__/i18nNameInterpolation.test.tsx b/jarvis/ui/web/frontend/src/__tests__/i18nNameInterpolation.test.tsx
index 24a8633c15..1bb7129ff6 100644
--- a/jarvis/ui/web/frontend/src/__tests__/i18nNameInterpolation.test.tsx
+++ b/jarvis/ui/web/frontend/src/__tests__/i18nNameInterpolation.test.tsx
@@ -74,7 +74,7 @@ describe("useT name substitution", () => {
expect(screen.getByTestId("hint").textContent).toBe("Restart Athena");
});
- it.each(["en", "de", "es"] as const)(
+ it.each(["en", "de", "es", "pt"] as const)(
"brands the %s workspace copy with a nonstandard assistant name",
(language) => {
useI18nStore.getState().setUi(language, { push: false });
diff --git a/jarvis/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx b/jarvis/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx
index abc1997410..5d7125e82c 100644
--- a/jarvis/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx
+++ b/jarvis/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx
@@ -23,6 +23,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import enJson from "@/i18n/locales/en.json";
import deJson from "@/i18n/locales/de.json";
import esJson from "@/i18n/locales/es.json";
+import ptJson from "@/i18n/locales/pt.json";
// usePluginAttention polls /api/marketplace/plugins — mocked so the sidebar
// renders without a fetch.
@@ -263,12 +264,12 @@ describe("voice API-Keys tab brand", () => {
/**
* The locale-level root cause. The rendered checks above only see the keys this
- * one tab happens to mount; these pin the values themselves, in all three
- * locales, so a translation cannot reintroduce the literal name through a
- * surface no test renders.
+ * one tab happens to mount; these pin the values themselves, in every locale,
+ * so a translation cannot reintroduce the literal name through a surface no
+ * test renders.
*/
describe("voice locale copy", () => {
- const LOCALES = { en: enJson, de: deJson, es: esJson } as const;
+ const LOCALES = { en: enJson, de: deJson, es: esJson, pt: ptJson } as const;
// The descriptions the merged voice section and the API-Keys view share.
const NAME_BEARING_KEYS = [
diff --git a/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx b/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
index 5cab11423e..638d18a011 100644
--- a/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
+++ b/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
@@ -26,7 +26,8 @@
import { Gauge } from "lucide-react";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import type { AccountUsage, UsageWindow } from "@/lib/agentAccountsApi";
import { cn } from "@/lib/utils";
@@ -201,7 +202,7 @@ export function AccountUsageMeters({
// The whole point of this line: a cached weekly figure for an idle
// seat can be days old, and it is the number a subscription is picked
// on. The exact timestamp is one hover away.
- title={usage.as_of ? new Date(usage.as_of * 1000).toLocaleString() : undefined}
+ title={usage.as_of ? new Date(usage.as_of * 1000).toLocaleString(localeForUiLanguage(useI18nStore.getState().ui)) : undefined}
>
<span
aria-hidden="true"
diff --git a/jarvis/ui/web/frontend/src/components/AntigravitySubscriptionCard.tsx b/jarvis/ui/web/frontend/src/components/AntigravitySubscriptionCard.tsx
index 3b62367716..d6d1ab333d 100644
--- a/jarvis/ui/web/frontend/src/components/AntigravitySubscriptionCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/AntigravitySubscriptionCard.tsx
@@ -2,6 +2,7 @@ import { useEffect, useState } from "react";
import { KeyRound } from "lucide-react";
import type { AntigravityStatus } from "@/hooks/useProviders";
import { useT } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
/** A connected Google login is a subscription even without multi-account support. */
export function AntigravitySubscriptionCard({ refresh }: { refresh: number }) {
@@ -28,7 +29,7 @@ export function AntigravitySubscriptionCard({ refresh }: { refresh: number }) {
<div className="space-y-2 rounded-xl border border-border px-3 py-2">
<p className="flex items-start gap-2 text-xs text-muted-foreground">
<KeyRound className="mt-0.5 h-3.5 w-3.5 shrink-0" aria-hidden />
- {status ? connected || status.mode !== "api_key" ? status.message : t("agent_accounts.not_signed_in") : t(failed ? "agent_accounts.usage.state.unavailable" : "agent_accounts.loading")}
+ {status ? connected || status.mode !== "api_key" ? backendMessage(t, "apikeys_antigravity.status_msg", status.message_code, status.message_params, status.message) : t("agent_accounts.not_signed_in") : t(failed ? "agent_accounts.usage.state.unavailable" : "agent_accounts.loading")}
</p>
<p className="text-micro text-muted-foreground">{t("agent_accounts.single_google_login")}</p>
<p className="text-micro text-muted-foreground">{t("agent_accounts.usage.state.unsupported")}</p>
diff --git a/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx b/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx
index c38566553b..d809300e68 100644
--- a/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx
+++ b/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx
@@ -12,7 +12,7 @@ import {
import { keyFormatConfirmed, keyMatchesSecret } from "@/lib/keyFormat";
import { useEventStore } from "@/store/events";
import { cn } from "@/lib/utils";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
interface ApiKeyFormProps {
secretKey: string;
@@ -322,7 +322,7 @@ export function ApiKeyForm({ secretKey, dashboardUrl, configured, credentialHelp
variant="ghost"
onClick={handleDelete}
disabled={pending}
- aria-label={`Delete ${secretKey}`}
+ aria-label={fill(t("apikeys_view.delete_key_named"), { key: secretKey })}
title={t("apikeys_view.delete_key_tooltip")}
className="h-7 w-7 p-0 text-muted-foreground hover:text-destructive"
>
@@ -362,7 +362,7 @@ export function ApiKeyForm({ secretKey, dashboardUrl, configured, credentialHelp
<div className="relative flex-1">
<input
type={reveal ? "text" : "password"}
- aria-label={`Enter ${secretKey}`}
+ aria-label={fill(t("apikeys_view.enter_key_named"), { key: secretKey })}
value={value}
onChange={(e) => setValue(e.target.value)}
// Human words, not the internal slot name: `Enter openai_api_key…`
diff --git a/jarvis/ui/web/frontend/src/components/ChatInput.tsx b/jarvis/ui/web/frontend/src/components/ChatInput.tsx
index 3681d375b1..66543dfefa 100644
--- a/jarvis/ui/web/frontend/src/components/ChatInput.tsx
+++ b/jarvis/ui/web/frontend/src/components/ChatInput.tsx
@@ -227,7 +227,7 @@ export function ChatInput() {
type="button"
onClick={send}
disabled={!canSend}
- aria-label="Send"
+ aria-label={t("agent_chat.send")}
data-testid="composer-send"
className={cn(
// --primary is a fill and this is the one place in the composer
diff --git a/jarvis/ui/web/frontend/src/components/EventTimeline.tsx b/jarvis/ui/web/frontend/src/components/EventTimeline.tsx
index 409b6fda7e..08db31985d 100644
--- a/jarvis/ui/web/frontend/src/components/EventTimeline.tsx
+++ b/jarvis/ui/web/frontend/src/components/EventTimeline.tsx
@@ -1,6 +1,8 @@
import { useState } from "react";
import { useEventStore, type EventItem } from "@/store/events";
import { ScrollArea } from "@/components/ui/scroll-area";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
/*
* There is no colour key here any more.
@@ -13,13 +15,14 @@ import { ScrollArea } from "@/components/ui/scroll-area";
* columns to the right. The dot was a legend for a legend.
*/
-function fmtTime(ts: number): string {
+function fmtTime(ts: number, locale: string): string {
const d = new Date(ts);
- return d.toLocaleTimeString(undefined, { hour12: false }) + "." +
+ return d.toLocaleTimeString(locale, { hour12: false }) + "." +
String(d.getMilliseconds()).padStart(3, "0");
}
export function EventTimeline() {
+ const t = useT();
const events = useEventStore((s) => s.events);
const visible = events.slice(0, 100);
@@ -28,7 +31,7 @@ export function EventTimeline() {
<ul className="divide-y divide-border">
{visible.length === 0 && (
<li className="p-4 text-body text-muted-foreground">
- No events yet. Emit a test event from the Debug tab.
+ {t("shell_events.empty")}
</li>
)}
{visible.map((e) => (
@@ -40,13 +43,15 @@ export function EventTimeline() {
}
function EventRow({ event }: { event: EventItem }) {
+ const t = useT();
+ const locale = useRunLocale();
const [open, setOpen] = useState(false);
const hasPayload = event.payload !== undefined && event.payload !== null;
return (
<li className="px-4 py-2">
<div className="flex items-center gap-stack">
<span className="font-mono text-meta tabular-nums text-muted-foreground">
- {fmtTime(event.ts)}
+ {fmtTime(event.ts, locale)}
</span>
<span className="min-w-0 flex-1 truncate text-body text-foreground">{event.name}</span>
{event.layer && (
@@ -59,7 +64,7 @@ function EventRow({ event }: { event: EventItem }) {
onClick={() => setOpen((v) => !v)}
aria-expanded={open}
>
- {open ? "hide" : "payload"}
+ {open ? t("shell_events.hide_payload") : t("shell_events.show_payload")}
</button>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/InstallStandard.tsx b/jarvis/ui/web/frontend/src/components/InstallStandard.tsx
index 0cf3dac079..4f4cc72062 100644
--- a/jarvis/ui/web/frontend/src/components/InstallStandard.tsx
+++ b/jarvis/ui/web/frontend/src/components/InstallStandard.tsx
@@ -15,6 +15,7 @@ import { Check, Copy } from "lucide-react";
import { robustCopy } from "@/lib/clipboard";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
/** The three install surfaces, computed server-side. */
export interface InstallStandardWire {
@@ -25,24 +26,25 @@ export interface InstallStandardWire {
// In the order a visitor tries them: the curated CLI command, the zero-install
// uvx runner, the assistant prompt.
+// `label` and `hint` are translation keys, translated where rendered.
const INSTALL_TABS = [
- { id: "cli", label: "CLI", hint: "Runs in any terminal while the app is running." },
+ { id: "cli", label: "install_standard.tab_cli", hint: "install_standard.hint_cli" },
{
id: "runner",
- label: "uvx",
- hint: "No install needed — uv fetches the CLI and runs the same command.",
+ label: "install_standard.tab_runner",
+ hint: "install_standard.hint_runner",
},
{
id: "prompt",
- label: "Prompt",
- hint: "Paste this to your assistant — it runs the install for you.",
+ label: "install_standard.tab_prompt",
+ hint: "install_standard.hint_prompt",
},
] as const;
type InstallTabId = (typeof INSTALL_TABS)[number]["id"];
export function InstallStandard({
install,
- heading = "Install",
+ heading,
note,
}: {
install: InstallStandardWire;
@@ -51,6 +53,7 @@ export function InstallStandard({
/** One extra line under the tabs' own hint, for surface-specific context. */
note?: string;
}) {
+ const tr = useT();
const [tab, setTab] = useState<InstallTabId>("cli");
const [copied, setCopied] = useState(false);
useEffect(() => {
@@ -65,7 +68,7 @@ export function InstallStandard({
<section>
<div className="mb-2 flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1">
<h3 className="text-xs font-semibold uppercase tracking-wider text-foreground">
- {heading}
+ {heading ?? tr("install_standard.heading")}
</h3>
<div className="flex items-center">
{INSTALL_TABS.map((t, i) => (
@@ -86,7 +89,7 @@ export function InstallStandard({
tab === t.id ? "text-primary" : "text-muted-foreground hover:text-foreground",
)}
>
- {t.label}
+ {tr(t.label)}
</button>
</span>
))}
@@ -107,8 +110,8 @@ export function InstallStandard({
if (await robustCopy(value)) setCopied(true);
}}
className="grid h-7 w-7 shrink-0 place-items-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
- title={copied ? "Copied" : "Copy"}
- aria-label={`Copy the ${active.label} install command`}
+ title={tr(copied ? "install_standard.copied" : "install_standard.copy")}
+ aria-label={fill(tr("install_standard.copy_named"), { method: tr(active.label) })}
>
{copied ? (
<Check className="h-3.5 w-3.5 text-primary" />
@@ -117,7 +120,7 @@ export function InstallStandard({
)}
</button>
</div>
- <p className="mt-1.5 text-xs text-muted-foreground">{note ?? active.hint}</p>
+ <p className="mt-1.5 text-xs text-muted-foreground">{note ?? tr(active.hint)}</p>
</section>
);
}
diff --git a/jarvis/ui/web/frontend/src/components/InstallTerminal.tsx b/jarvis/ui/web/frontend/src/components/InstallTerminal.tsx
index 5bbcf006fc..9b8dc0af0f 100644
--- a/jarvis/ui/web/frontend/src/components/InstallTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/InstallTerminal.tsx
@@ -26,6 +26,7 @@ import { Check, Copy } from "lucide-react";
import { robustCopy } from "@/lib/clipboard";
import { shellPrompt, type InstallCommand } from "@/lib/installStandard";
import { cn } from "@/lib/utils";
+import { useT } from "@/i18n";
export function InstallTerminal({
commands,
@@ -42,6 +43,7 @@ export function InstallTerminal({
className?: string;
}) {
const [activeId, setActiveId] = useState(commands[0]?.id);
+ const t = useT();
const [copied, setCopied] = useState(false);
const resetTimer = useRef<number | undefined>(undefined);
@@ -64,7 +66,7 @@ export function InstallTerminal({
return (
<div className={className}>
{commands.length > 1 && (
- <div role="tablist" aria-label="Install method" className="mb-1.5 flex gap-1">
+ <div role="tablist" aria-label={t("install_standard.method")} className="mb-1.5 flex gap-1">
{commands.map((cmd) => (
<button
key={cmd.id}
@@ -112,7 +114,7 @@ export function InstallTerminal({
<button
type="button"
onClick={onCopy}
- aria-label="Copy the install command"
+ aria-label={t("install_standard.copy_command")}
className={cn(
"ml-auto inline-flex shrink-0 items-center gap-1.5 rounded-md border px-2 py-1 font-mono text-xs transition-colors",
copied
@@ -125,7 +127,7 @@ export function InstallTerminal({
) : (
<Copy className="h-3 w-3" />
)}
- {copied ? "Copied" : "Copy"}
+ {t(copied ? "install_standard.copied" : "install_standard.copy")}
</button>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
index 473c26533f..812ff7a68f 100644
--- a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
+++ b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
@@ -1,7 +1,7 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { JARVIS_LOGO_PATH } from "@/components/brand/jarvisLogoPath";
import { cn } from "@/lib/utils";
-import { translate, useT } from "@/i18n";
+import { fill, translate, useT } from "@/i18n";
import { useEventStore, type VoiceState, type SectionId } from "@/store/events";
export type MascotAction =
@@ -179,41 +179,47 @@ function GigiBubble({
);
}
+// The comment pools below are i18n keys for mascot chat-bubble text spoken to
+// the user. They are translated when shown, never at import time, so a UI
+// language switch takes effect on the next bubble.
const IDLE_COMMENTS = [
- "hm …",
- "alles ruhig.",
- "noch da?",
- "was geht so?",
- "ich beobachte dich.",
- "konzentriert, was?",
- "mach doch mal Pause.",
- "arbeitest du heute was Cooles?",
- "bisschen langweilig grad.",
- "ich hab gute Ohren. falls du was brauchst.",
+ "mascot_gigi.idle.hm",
+ "mascot_gigi.idle.all_quiet",
+ "mascot_gigi.idle.still_there",
+ "mascot_gigi.idle.whats_up",
+ "mascot_gigi.idle.watching",
+ "mascot_gigi.idle.focused",
+ "mascot_gigi.idle.take_break",
+ "mascot_gigi.idle.cool_work",
+ "mascot_gigi.idle.bit_boring",
+ "mascot_gigi.idle.good_ears",
];
-// The comment pools below are mascot chat-bubble text spoken to the user —
-// runtime product-surface output, not developer-facing strings.
const SECTION_COMMENTS: Partial<Record<SectionId, string[]>> = {
- chats: ["bereit wenn du bist.", "ich höre.", "sag mal was.", "schreib oder rede — egal."], // i18n-allow: mascot chat-bubble output shown to the user
- agents: ["die Agents sind meine Kollegen.", "wer ist dein Liebling?"], // i18n-allow: mascot chat-bubble output shown to the user
- skills: ["Skills sind mein Lieblings-Feature.", "was sollen wir lernen?"], // i18n-allow: mascot chat-bubble output shown to the user
- mcps: ["mehr MCPs = mehr Power.", "was sollen wir dazuholen?"], // i18n-allow: mascot chat-bubble output shown to the user
- languages: ["ich spreche DE und EN.", "Sprachwechsel? Einfach sagen."], // i18n-allow: mascot chat-bubble output shown to the user
- apikeys: ["pass auf die Keys auf.", "nicht in Git committen!"], // i18n-allow: mascot chat-bubble output shown to the user
- settings: ["was stört dich?", "tweaken wir was?"], // i18n-allow: mascot chat-bubble output shown to the user
+ chats: [
+ "mascot_gigi.section.chats_ready",
+ "mascot_gigi.section.chats_listening",
+ "mascot_gigi.section.chats_say_something",
+ "mascot_gigi.section.chats_type_or_talk",
+ ],
+ agents: ["mascot_gigi.section.agents_colleagues", "mascot_gigi.section.agents_favourite"],
+ skills: ["mascot_gigi.section.skills_favourite", "mascot_gigi.section.skills_learn"],
+ mcps: ["mascot_gigi.section.mcps_power", "mascot_gigi.section.mcps_add"],
+ languages: ["mascot_gigi.section.languages_speak", "mascot_gigi.section.languages_switch"],
+ apikeys: ["mascot_gigi.section.apikeys_careful", "mascot_gigi.section.apikeys_no_git"],
+ settings: ["mascot_gigi.section.settings_bother", "mascot_gigi.section.settings_tweak"],
};
const VOICE_COMMENTS: Partial<Record<VoiceState, string[]>> = {
- listening: ["ich höre!", "raus damit.", "ja?"], // i18n-allow: mascot chat-bubble output shown to the user
- thinking: ["mal schauen …", "Moment.", "hmm …"],
- speaking: ["jetzt rede ich.", "kurz mal zuhören."], // i18n-allow: mascot chat-bubble output shown to the user
- error: ["oha.", "ups.", "das war nicht ich!"], // i18n-allow: mascot chat-bubble output shown to the user
+ listening: ["mascot_gigi.voice.listening_1", "mascot_gigi.voice.listening_2", "mascot_gigi.voice.listening_3"],
+ thinking: ["mascot_gigi.voice.thinking_1", "mascot_gigi.voice.thinking_2", "mascot_gigi.voice.thinking_3"],
+ speaking: ["mascot_gigi.voice.speaking_1", "mascot_gigi.voice.speaking_2"],
+ error: ["mascot_gigi.voice.error_1", "mascot_gigi.voice.error_2", "mascot_gigi.voice.error_3"],
};
const TIME_COMMENTS = {
- morning: ["guten Morgen!", "auf, auf."], // i18n-allow: mascot chat-bubble output shown to the user
- night: ["noch wach?", "es ist spät.", "schlaf genug gekriegt?"], // i18n-allow: mascot chat-bubble output shown to the user
+ morning: ["mascot_gigi.time.morning_1", "mascot_gigi.time.morning_2"],
+ night: ["mascot_gigi.time.night_1", "mascot_gigi.time.night_2", "mascot_gigi.time.night_3"],
};
function pickRandom<T>(arr: readonly T[]): T {
@@ -222,8 +228,8 @@ function pickRandom<T>(arr: readonly T[]): T {
function greetByHour(): string | null {
const h = new Date().getHours();
- if (h >= 5 && h < 11) return pickRandom(TIME_COMMENTS.morning);
- if (h >= 22 || h < 5) return pickRandom(TIME_COMMENTS.night);
+ if (h >= 5 && h < 11) return translate(pickRandom(TIME_COMMENTS.morning));
+ if (h >= 22 || h < 5) return translate(pickRandom(TIME_COMMENTS.night));
return null;
}
@@ -243,7 +249,7 @@ function useMascotComments(enabled: boolean): string | null {
const dismissTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);
const idleTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);
- // Show a comment with auto-dismiss. Jeder neue show() ersetzt den alten.
+ // Show a comment with auto-dismiss. Every new show() replaces the previous one.
const show = useCallback((text: string, duration = 4200) => {
if (!enabled) return;
setComment(text);
@@ -257,7 +263,7 @@ function useMascotComments(enabled: boolean): string | null {
if (activeSection === lastSectionRef.current) return;
lastSectionRef.current = activeSection;
const pool = SECTION_COMMENTS[activeSection];
- if (pool) show(pickRandom(pool));
+ if (pool) show(translate(pickRandom(pool)));
}, [activeSection, show]);
// A voice-state change triggers a comment.
@@ -266,17 +272,17 @@ function useMascotComments(enabled: boolean): string | null {
if (voiceState === lastVoiceRef.current) return;
lastVoiceRef.current = voiceState;
const pool = VOICE_COMMENTS[voiceState];
- if (pool) show(pickRandom(pool), 2800);
+ if (pool) show(translate(pickRandom(pool)), 2800);
}, [voiceState, show]);
- // Provider-Wechsel.
+ // Provider switch.
useEffect(() => {
if (!mountedRef.current) return;
if (brainProvider === lastProviderRef.current) return;
const prev = lastProviderRef.current;
lastProviderRef.current = brainProvider;
if (prev && brainProvider) {
- show(`wechsel auf ${brainProvider}. ok!`);
+ show(fill(translate("mascot.brain_switched"), { "0": brainProvider }));
}
}, [brainProvider, show]);
@@ -321,7 +327,7 @@ function useMascotComments(enabled: boolean): string | null {
const delay = 25000 + Math.random() * 35000;
idleTimerRef.current = setTimeout(() => {
if (cancelled) return;
- if (Math.random() < 0.6) show(pickRandom(IDLE_COMMENTS));
+ if (Math.random() < 0.6) show(translate(pickRandom(IDLE_COMMENTS)));
scheduleNext();
}, delay);
};
diff --git a/jarvis/ui/web/frontend/src/components/OpenRouterTtsVoicePicker.tsx b/jarvis/ui/web/frontend/src/components/OpenRouterTtsVoicePicker.tsx
index c048cf4976..277c3b99ea 100644
--- a/jarvis/ui/web/frontend/src/components/OpenRouterTtsVoicePicker.tsx
+++ b/jarvis/ui/web/frontend/src/components/OpenRouterTtsVoicePicker.tsx
@@ -90,6 +90,8 @@ function languageChip(
return { flag: "🇬🇧", label: "EN" };
case "es":
return { flag: "🇪🇸", label: "ES" };
+ case "pt":
+ return { flag: "🇵🇹", label: "PT" };
case "fr":
return { flag: "🇫🇷", label: "FR" };
case "multi":
@@ -133,10 +135,10 @@ function VoicePicker({
const [loading, setLoading] = useState(false);
const [saving, setSaving] = useState(false);
const [open, setOpen] = useState(false);
- // The sample language — defaults to the app's UI language (DE/EN/ES are the
+ // The sample language — defaults to the app's UI language (DE/EN/ES/PT are the
// supported sample languages; any other locale falls back to EN).
- const [previewLang, setPreviewLang] = useState<"de" | "en" | "es">(
- uiLang === "de" ? "de" : uiLang === "es" ? "es" : "en",
+ const [previewLang, setPreviewLang] = useState<"de" | "en" | "es" | "pt">(
+ uiLang === "de" ? "de" : uiLang === "es" ? "es" : uiLang === "pt" ? "pt" : "en",
);
// The voice currently PLAYING vs. the voice whose audio is being FETCHED — the
// preview button shows a spinner while loading, a stop icon while playing.
@@ -293,7 +295,7 @@ function VoicePicker({
<span className="text-xs text-muted-foreground">
{t("apikeys_voice.preview_in")}
</span>
- {(["de", "en", "es"] as const).map((lng) => (
+ {(["de", "en", "es", "pt"] as const).map((lng) => (
<button
key={lng}
type="button"
diff --git a/jarvis/ui/web/frontend/src/components/ProviderSwitcher.tsx b/jarvis/ui/web/frontend/src/components/ProviderSwitcher.tsx
index 7a5e09143d..282c47a60d 100644
--- a/jarvis/ui/web/frontend/src/components/ProviderSwitcher.tsx
+++ b/jarvis/ui/web/frontend/src/components/ProviderSwitcher.tsx
@@ -2,7 +2,7 @@ import { useState } from "react";
import { Button } from "@/components/ui/button";
import { BrandedSelect } from "@/components/ui/select";
import { switchBrainProvider, useProviders } from "@/hooks/useProviders";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { useEventStore } from "@/store/events";
/**
@@ -35,7 +35,7 @@ export function ProviderSwitcher() {
setPending(true);
try {
await switchBrainProvider(choice);
- pushToast("success", `Brain → ${choice}`);
+ pushToast("success", fill(t("provider_switcher.switched_toast"), { provider: choice }));
window.dispatchEvent(new CustomEvent("jarvis:brain-switched"));
refetch();
} catch (e) {
@@ -48,12 +48,12 @@ export function ProviderSwitcher() {
return (
<div className="space-y-3">
<label className="text-xs text-muted-foreground">
- Active Brain
+ {t("provider_switcher.active_brain")}
</label>
<BrandedSelect
value={choice}
onValueChange={setTarget}
- ariaLabel="Active Brain"
+ ariaLabel={t("provider_switcher.active_brain")}
options={brainProviders.map((provider) => ({
value: provider.id,
label: `${provider.label}${
@@ -65,7 +65,7 @@ export function ProviderSwitcher() {
}))}
/>
<Button onClick={handleApply} disabled={pending} className="w-full">
- {pending ? "Switching…" : "Apply"}
+ {pending ? t("provider_switcher.switching") : t("common.apply")}
</Button>
{active && (
<p className="text-xs text-muted-foreground">
diff --git a/jarvis/ui/web/frontend/src/components/RealtimeOptionsControl.tsx b/jarvis/ui/web/frontend/src/components/RealtimeOptionsControl.tsx
index 005a3ae198..fe6b0928b0 100644
--- a/jarvis/ui/web/frontend/src/components/RealtimeOptionsControl.tsx
+++ b/jarvis/ui/web/frontend/src/components/RealtimeOptionsControl.tsx
@@ -369,7 +369,7 @@ function ModelOption({
/**
* Voice row: current pick, expanding into the full selectable voice list.
* When the backend advertises a sampler, every voice can be auditioned without
- * saving and the sample language follows the same DE/EN/ES control as TTS.
+ * saving and the sample language follows the same DE/EN/ES/PT control as TTS.
*/
function RealtimeVoiceRow({
providerId,
@@ -395,8 +395,8 @@ function RealtimeVoiceRow({
const pushToast = useEventStore((s) => s.pushToast);
const [open, setOpen] = useState(false);
- const [previewLang, setPreviewLang] = useState<"de" | "en" | "es">(
- uiLang === "de" ? "de" : uiLang === "es" ? "es" : "en",
+ const [previewLang, setPreviewLang] = useState<"de" | "en" | "es" | "pt">(
+ uiLang === "de" ? "de" : uiLang === "es" ? "es" : uiLang === "pt" ? "pt" : "en",
);
// The voice currently PLAYING vs. the voice whose audio is being FETCHED —
// the preview button shows a spinner while loading, a stop icon while
@@ -557,7 +557,7 @@ function RealtimeVoiceRow({
<span className="text-xs text-muted-foreground">
{t("apikeys_voice.preview_in")}
</span>
- {(["de", "en", "es"] as const).map((lng) => (
+ {(["de", "en", "es", "pt"] as const).map((lng) => (
<button
key={lng}
type="button"
diff --git a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
index 971a2c9848..886bd45ced 100644
--- a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
+++ b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
@@ -13,7 +13,7 @@ import { useEventStore, type Toast } from "@/store/events";
import { cn } from "@/lib/utils";
import { openDownloadedFile, revealInFolder } from "@/lib/fileActions";
import { canNativeDrag, startNativeFileDrag } from "@/lib/nativeDrag";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
const ICON_FOR_KIND = {
info: Info,
@@ -95,7 +95,7 @@ export function ToastLayer() {
{toast.count > 1 && (
<span
data-testid={`toast-repeat-${toast.count}`}
- aria-label={`Repeated ${toast.count} times`}
+ aria-label={fill(t("common.repeated_times"), { count: toast.count })}
className={cn(
"mt-px shrink-0 rounded-full border border-current/30 px-1.5 py-px text-micro font-semibold tabular-nums",
ACCENT_FOR_KIND[toast.kind],
@@ -121,7 +121,7 @@ export function ToastLayer() {
onMouseDown={(e) => e.stopPropagation()}
onClick={() => dismiss(toast.id)}
className="shrink-0 text-muted-foreground transition-colors hover:text-foreground"
- aria-label="Dismiss"
+ aria-label={t("common.dismiss")}
>
<X className="h-3.5 w-3.5" />
</button>
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx b/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx
index 1bf8c0cd45..48e0a7be60 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx
@@ -11,7 +11,8 @@ import { TurnTrace, type Decide, type TraceLook } from "./WorkTrace";
import type { TimelineItem, TurnItem, TextBlock } from "./reduce";
import { TraceMessageLine } from "./TraceTimeline";
import { attachTurnMessages, type TraceMessage } from "./turnMessages";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
/** Shared transcript shell; the work trace owns all execution presentation. */
@@ -255,9 +256,10 @@ export function timeStamps(items: TimelineItem[], now: Date = new Date()): Map<s
}
function stampLabel(at: Date, now: Date): string {
- const time = at.toLocaleTimeString(undefined, { hour: "numeric", minute: "2-digit" });
+ const locale = localeForUiLanguage(useI18nStore.getState().ui);
+ const time = at.toLocaleTimeString(locale, { hour: "numeric", minute: "2-digit" });
if (at.toDateString() === now.toDateString()) return time;
- const date = at.toLocaleDateString(undefined, {
+ const date = at.toLocaleDateString(locale, {
month: "short",
day: "numeric",
...(at.getFullYear() === now.getFullYear() ? {} : { year: "numeric" }),
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/ChatCommands.tsx b/jarvis/ui/web/frontend/src/components/agentchat/ChatCommands.tsx
index bfe68272bb..684a10234f 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/ChatCommands.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/ChatCommands.tsx
@@ -16,7 +16,7 @@ const LOCAL = new Set<ChatCommandName>(["help", "clear", "history", "model", "ro
export function useChatCommands({ value, setValue, onModel, onClear, agentId = "jarvis", attachments = [], attachmentsBusy = false, onAttachmentsSent }: Options) {
const t = useT();
const localeValue = t("slash.locale");
- const locale = ["en", "de", "es"].includes(localeValue) ? localeValue : "en";
+ const locale = ["en", "de", "es", "pt"].includes(localeValue) ? localeValue : "en";
const store = useAgentChatApi();
const sid = useAgentChat((s) => s.activeSessionId);
const surface = useAgentChat((s) => s.surface);
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/ChatMarkdown.tsx b/jarvis/ui/web/frontend/src/components/agentchat/ChatMarkdown.tsx
index 0eefe23c81..9dea2b76e0 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/ChatMarkdown.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/ChatMarkdown.tsx
@@ -2,7 +2,7 @@ import { Children, createContext, lazy, Suspense, useContext, useEffect, useMemo
import ReactMarkdown, { type Components } from "react-markdown";
import remarkGfm from "remark-gfm";
import { AlertCircle, Download, Maximize2, X } from "lucide-react";
-import { useT } from "@/i18n";
+import { translate, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import { openExternalUrl } from "@/lib/openExternal";
import { openLocalPath } from "@/lib/openLocalPath";
@@ -159,10 +159,10 @@ function onChatLinkClick(event: { preventDefault(): void }, href: string, label
// Stable component identities are essential: changing these on each streamed
// token would unmount videos, reset playback and discard image error state.
const MARKDOWN_COMPONENTS: Components = {
- img: ({ src = "", alt = "image" }) => {
+ img: ({ src = "", alt = translate("chat_media.image_fallback") }) => {
const local = localPathFromChatHref(src);
if (local) return <a href={src} title={local} onClick={event => onChatLinkClick(event, src, alt || local)}>{alt || local}</a>;
- return <MediaPreview src={src} label={alt || "image"} kind={mediaKind(src) ?? "image"} />;
+ return <MediaPreview src={src} label={alt || translate("chat_media.image_fallback")} kind={mediaKind(src) ?? "image"} />;
},
a: function MediaLink({ href = "", children }) {
const imageKeys = useContext(ImageKeysContext);
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/InternalMessageBubble.test.tsx b/jarvis/ui/web/frontend/src/components/agentchat/InternalMessageBubble.test.tsx
index 1d1cb48639..d10edab24a 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/InternalMessageBubble.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/InternalMessageBubble.test.tsx
@@ -3,6 +3,7 @@ import { afterEach, expect, it, vi } from "vitest";
import en from "@/i18n/locales/en.json";
import de from "@/i18n/locales/de.json";
import es from "@/i18n/locales/es.json";
+import pt from "@/i18n/locales/pt.json";
import { InternalMessageBubble, internalNeedsFold, internalPreview } from "./InternalMessageBubble";
import { EMPTY_TIMELINE, reduceEvent, reduceEvents } from "./reduce";
import type { AgentChatEvent } from "@/lib/agentChatApi";
@@ -25,7 +26,7 @@ const delivered: AgentChatEvent = {
afterEach(cleanup);
-it.each([en, de, es])("shows the trusted sender and live delivery status in each locale", (resource) => {
+it.each([en, de, es, pt])("shows the trusted sender and live delivery status in each locale", (resource) => {
locale.strings = resource.agent_chat;
let timeline = reduceEvent(EMPTY_TIMELINE, incoming);
const item = timeline.items[0];
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.test.tsx b/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.test.tsx
index 0732f33521..7aaf73a83f 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.test.tsx
@@ -5,7 +5,7 @@ import { PairConversation, PairConversationBoundary, pairMessages } from "./Pair
import { InternalMessageBubble } from "./InternalMessageBubble";
import { EMPTY_TIMELINE, reduceEvent } from "./reduce";
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useI18nStore: { getState: () => ({ ui: "en" }) } }));
vi.mock("@/hooks/useStickToBottom", () => ({ useStickToBottom: () => ({ rootRef: { current: null }, contentRef: { current: null }, atEnd: true, jumpToEnd: () => {}, follow: () => {} }) }));
function envelope(seq: number, from: string, to: string | null, text = `Message ${seq}`): SocietyEnvelope {
return { seq, event_id: `m${seq}`, msg_type: "SAY", from_agent: from, to_agent: to, trace_id: "trace", parent_event_id: null, ts_ms: seq * 1000, cost_usd: 0, payload: { text } };
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.tsx b/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.tsx
index 3e0cb8e0c1..c973c9f010 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/PairConversation.tsx
@@ -1,7 +1,8 @@
import { createContext, useContext, useEffect, useLayoutEffect, useRef, useState, type ReactNode } from "react";
import { ArrowLeftRight, Lock, X } from "lucide-react";
import { ChatMarkdown } from "./ChatMarkdown";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import type { SocietyEnvelope } from "@/lib/societyApi";
import { useStickToBottom } from "@/hooks/useStickToBottom";
@@ -110,7 +111,7 @@ export function PairConversation({ pair, onClose }: { pair: Pair; onClose: () =>
{messages.map((message) => <article key={message.event_id} className={cn("max-w-[90%]", message.from_agent === first ? "self-start" : "self-end")} data-message-id={message.event_id}>
<div className={cn("mb-1 flex flex-wrap items-baseline gap-2 text-xs", message.from_agent !== first && "justify-end")}>
<span className="font-medium text-foreground">{pair.find((person) => person.id === message.from_agent)?.name ?? message.from_agent}</span>
- <time className="text-muted-foreground" dateTime={new Date(message.ts_ms).toISOString()}>{new Date(message.ts_ms).toLocaleString()}</time>
+ <time className="text-muted-foreground" dateTime={new Date(message.ts_ms).toISOString()}>{new Date(message.ts_ms).toLocaleString(localeForUiLanguage(useI18nStore.getState().ui))}</time>
</div>
<div className="rounded-2xl border border-border bg-card px-3.5 py-2.5 text-foreground">
<div className="prose prose-sm prose-neutral max-w-none dark:prose-invert prose-p:my-1 prose-pre:overflow-x-auto [overflow-wrap:anywhere]">
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/providerHealth.test.tsx b/jarvis/ui/web/frontend/src/components/agentchat/providerHealth.test.tsx
index cd6ba02e80..512fcc2fd3 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/providerHealth.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/providerHealth.test.tsx
@@ -31,6 +31,7 @@ import type { AgentChatCatalog, ProviderHealth } from "@/lib/agentChatApi";
import de from "@/i18n/locales/de.json";
import en from "@/i18n/locales/en.json";
import es from "@/i18n/locales/es.json";
+import pt from "@/i18n/locales/pt.json";
function lookup(dict: Record<string, unknown>) {
return (key: string): string => {
@@ -67,7 +68,7 @@ describe("provider health reasons", () => {
});
it("is translated in every shipped locale", () => {
- for (const dict of [de, en, es]) {
+ for (const dict of [de, en, es, pt]) {
const t = lookup(dict as Record<string, unknown>);
for (const reason of ["bad_key", "no_credits", "unreachable", "timeout", "nonsense"]) {
expect(healthReasonLabel(reason, t).length).toBeGreaterThan(0);
@@ -76,12 +77,12 @@ describe("provider health reasons", () => {
}
});
- it("keeps the three locales in step on every health key", () => {
+ it("keeps every locale in step on every health key", () => {
const keys = Object.keys((de as Record<string, Record<string, unknown>>).agent_chat).filter((k) =>
k.startsWith("provider_health_"),
);
expect(keys.length).toBeGreaterThan(0);
- for (const dict of [en, es]) {
+ for (const dict of [en, es, pt]) {
const other = (dict as Record<string, Record<string, unknown>>).agent_chat;
for (const key of keys) expect(typeof other[key]).toBe("string");
}
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/traceEntries.test.ts b/jarvis/ui/web/frontend/src/components/agentchat/traceEntries.test.ts
index e9048326d8..950251f72c 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/traceEntries.test.ts
+++ b/jarvis/ui/web/frontend/src/components/agentchat/traceEntries.test.ts
@@ -2,6 +2,7 @@ import { describe, expect, it } from "vitest";
import en from "@/i18n/locales/en.json";
import de from "@/i18n/locales/de.json";
import es from "@/i18n/locales/es.json";
+import pt from "@/i18n/locales/pt.json";
import { reduceThinkingSteps, type ThinkingStep } from "@/lib/thinkingSteps";
import type { ToolBlock, TurnBlock } from "./reduce";
import {
@@ -156,7 +157,7 @@ describe("trace timeline", () => {
expect(shortPath("C:\\Users\\me\\repo\\src\\a.ts")).toBe("…/repo/src/a.ts");
});
- it.each([["de", de], ["es", es]] as const)("fills every %s line", (lang, dict) => {
+ it.each([["de", de], ["es", es], ["pt", pt]] as const)("fills every %s line", (lang, dict) => {
const tl = translator(dict as Dict);
const line = buildTimeline([
text("n", "Why."),
@@ -177,7 +178,7 @@ describe("trace_report locale parity", () => {
return Object.entries(obj).flatMap(([k, v]) => (v && typeof v === "object" ? keys(v as Dict, `${prefix}${k}.`) : [`${prefix}${k}`]));
}
const base = keys((en as Dict).trace_report as Dict).sort();
- it.each([["de", de], ["es", es]] as const)("%s carries exactly the English keys", (_lang, dict) => {
+ it.each([["de", de], ["es", es], ["pt", pt]] as const)("%s carries exactly the English keys", (_lang, dict) => {
expect(keys((dict as Dict).trace_report as Dict).sort()).toEqual(base);
});
it("never uses {name}, which the i18n layer fills with the assistant's name", () => {
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/useChatAttachments.ts b/jarvis/ui/web/frontend/src/components/agentchat/useChatAttachments.ts
index 64c06bdc58..6fb99a7626 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/useChatAttachments.ts
+++ b/jarvis/ui/web/frontend/src/components/agentchat/useChatAttachments.ts
@@ -32,6 +32,7 @@ import {
type AgentChatSurface,
type ChatAttachment,
} from "@/lib/agentChatApi";
+import { translate } from "@/i18n";
export interface ChatAttachments {
/** What will travel with the next message. */
@@ -224,7 +225,7 @@ export function useChatAttachments(
surface,
});
if (found.length === 0) {
- onProblem("That drop carried nothing this chat could use.", "warning");
+ onProblem(translate("agent_chat.drop_nothing_usable"), "warning");
return;
}
const pictures = matchPreviews(found, payload.files);
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/useOutgoingMessages.test.tsx b/jarvis/ui/web/frontend/src/components/agentchat/useOutgoingMessages.test.tsx
index d3285bc62b..e03929d466 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/useOutgoingMessages.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/useOutgoingMessages.test.tsx
@@ -6,7 +6,7 @@ import { InternalMessageBubble } from "./InternalMessageBubble";
import { PairConversationBoundary } from "./PairConversation";
import type { InternalMessageItem, TimelineItem } from "./reduce";
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useI18nStore: { getState: () => ({ ui: "en" }) } }));
vi.mock("@/hooks/useStickToBottom", () => ({ useStickToBottom: () => ({ rootRef: { current: null }, contentRef: { current: null }, atEnd: true, jumpToEnd: () => {}, follow: () => {} }) }));
const names = new Map([["jarvis", "Jarvis"], ["nala", "Nala"], ["scout", "Scout"]]);
function row(seq: number, from = "nala", to: string | null = "jarvis", kind: SocietyEnvelope["msg_type"] = "ANSWER"): SocietyEnvelope {
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx
index ab46f35777..0f5099dc3f 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx
@@ -25,6 +25,7 @@
*/
import { useCallback, useEffect, useRef, useState } from "react";
import { createPortal } from "react-dom";
+import { fill, useT } from "@/i18n";
import { Check, Loader2, X } from "lucide-react";
import { WorkspaceTerminal } from "../workspace/WorkspaceTerminal";
@@ -67,6 +68,7 @@ export function AgentInstallDialog({
logoUrl,
onClose,
}: AgentInstallDialogProps) {
+ const t = useT();
const [installed, setInstalled] = useState(false);
const [version, setVersion] = useState<string | null>(null);
/*
@@ -130,7 +132,7 @@ export function AgentInstallDialog({
<div
role="dialog"
aria-modal="true"
- aria-label={`Install ${displayName}`}
+ aria-label={fill(t("ide_panes.install.title"), { agent: displayName })}
data-testid={`agent-install-dialog-${agent}`}
// A dialog floats: the floating ground plus the cast edge, not a card
// fill with a hairline drawn around it.
@@ -146,7 +148,7 @@ export function AgentInstallDialog({
/>
<div className="min-w-0 flex-1">
<p className="truncate text-sm font-semibold text-foreground">
- Install {displayName}
+ {fill(t("ide_panes.install.title"), { agent: displayName })}
</p>
{/* The command, before and while it runs. A user who would rather
run it in their own shell can read it here and close this. */}
@@ -158,7 +160,7 @@ export function AgentInstallDialog({
</div>
<button
type="button"
- aria-label="Close"
+ aria-label={t("common.close")}
data-testid={`agent-install-close-${agent}`}
onClick={close}
className="rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-primary/10 hover:text-foreground"
@@ -174,7 +176,7 @@ export function AgentInstallDialog({
<WorkspaceTerminal
paneKey={`install-${agent}`}
installName={agent}
- title={`Installing ${displayName}`}
+ title={fill(t("ide_panes.install.installing"), { agent: displayName })}
/* The pane must never be an empty black rectangle. A package
manager can take several seconds to say its first word, and in
that gap the only honest thing on screen is what is about to
@@ -182,7 +184,7 @@ export function AgentInstallDialog({
banner={
command
? `\x1b[2m$ ${command}\x1b[0m`
- : `\x1b[2mStarting the installer for ${displayName}…\x1b[0m`
+ : `\x1b[2m${fill(t("ide_panes.install.starting"), { agent: displayName })}\x1b[0m`
}
/>
</div>
@@ -197,7 +199,7 @@ export function AgentInstallDialog({
>
<Check className="h-4 w-4" />
<span>
- {displayName} is installed
+ {fill(t("ide_panes.install.installed"), { agent: displayName })}
{version ? ` — ${version}` : ""}
</span>
</p>
@@ -207,7 +209,7 @@ export function AgentInstallDialog({
{/* Not "installing…": what is true is that this app is watching.
The installer's own progress is the terminal above, and
claiming to know its state would be inventing one. */}
- <span>Watching for {displayName} to appear…</span>
+ <span>{fill(t("ide_panes.install.watching"), { agent: displayName })}</span>
</p>
)}
<button
@@ -220,7 +222,7 @@ export function AgentInstallDialog({
: "shrink-0 rounded-md border border-border px-3 py-1.5 text-sm text-foreground transition-colors hover:bg-primary/10"
}
>
- {installed ? "Done" : "Close"}
+ {installed ? t("ide_panes.common.done") : t("common.close")}
</button>
</footer>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentPicker.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentPicker.tsx
index 2d496296e5..d65e2c288b 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgentPicker.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentPicker.tsx
@@ -28,6 +28,7 @@
*/
import { useEffect, useState } from "react";
import { createPortal } from "react-dom";
+import { useT } from "@/i18n";
import type { CuratedModel, PermissionModeOption } from "@/lib/agentChatApi";
import { cn } from "@/lib/utils";
@@ -209,6 +210,7 @@ export function AgentPickerMenu({
*/
onInstalled?: (agent: string, installed: boolean) => void;
}) {
+ const t = useT();
const first = agents.find((a) => a.installed);
const [placement, setPlacement] = useState<FixedPlacement | null>(null);
/*
@@ -372,7 +374,7 @@ export function AgentPickerMenu({
nothing the button does not. */}
{!agent.installed && !installable && (
<span className="shrink-0 text-micro font-medium text-muted-foreground">
- {agent.kind === "shell" ? "no shell here" : "not installed"}
+ {agent.kind === "shell" ? t("ide_panes.picker.no_shell") : t("ide_panes.picker.not_installed")}
</span>
)}
</button>
@@ -392,7 +394,7 @@ export function AgentPickerMenu({
tokens, so it follows light and dark. */
className="my-0.5 shrink-0 self-center rounded-md border border-border px-2 py-1 text-micro font-medium text-foreground transition-colors hover:border-primary/60 hover:bg-primary/10"
>
- Install
+ {t("ide_panes.picker.install")}
</button>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx
index b44891a8fd..bffbb27cdb 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx
@@ -274,19 +274,19 @@ const VIEW_BUTTONS: ReadonlyArray<{
view: WorkspaceView;
testId: string;
icon: LucideIcon;
- title: string;
+ titleKey: string;
}> = [
{
view: "grid",
testId: "agentic-view-mode-grid",
icon: LayoutGrid,
- title: "Terminal grid — every pane on screen at once.",
+ titleKey: "agentic_grid.view_buttons.grid_title",
},
{
view: "chat",
testId: "agentic-view-mode-toggle",
icon: MessagesSquare,
- title: "Chat view — read one agent at a time, like a conversation.",
+ titleKey: "agentic_grid.view_buttons.chat_title",
},
];
@@ -2308,8 +2308,8 @@ export function AgenticGrid({
data-testid="agentic-focus-toggle"
title={
focusMode
- ? "Focused coding mode is on — your assistant answers inside this workspace. Click to leave."
- : "Turn on focused coding mode — your assistant answers inside this workspace until you switch back."
+ ? t("agentic_grid.focus_mode.on_title")
+ : t("agentic_grid.focus_mode.off_title")
}
className={cn(TOOLBAR_BTN, focusMode && TOOLBAR_BTN_ON)}
>
@@ -2327,14 +2327,14 @@ export function AgenticGrid({
`agentic-view-mode-toggle` stays on the chat button: it is the one
this control used to be, and the tests that press it are about
chat view rather than about the switch. */}
- {VIEW_BUTTONS.map(({ view, testId, icon: Icon, title }) => (
+ {VIEW_BUTTONS.map(({ view, testId, icon: Icon, titleKey }) => (
<button
key={view}
type="button"
data-testid={testId}
aria-pressed={viewMode === view}
onClick={() => setViewMode(view)}
- title={title}
+ title={t(titleKey)}
className={cn(TOOLBAR_BTN, viewMode === view && TOOLBAR_BTN_ON)}
>
<Icon className="h-4 w-4 shrink-0" />
@@ -2501,8 +2501,8 @@ export function AgenticGrid({
type="button"
className={cn(TOOLBAR_BTN, "hover:bg-destructive/10 hover:text-destructive")}
disabled={busy}
- aria-label="Close workspace"
- title="Close the workspace and stop every agent in it"
+ aria-label={t("agentic_grid.close_workspace.aria")}
+ title={t("agentic_grid.close_workspace.title")}
>
<Power className="h-4 w-4 shrink-0" />
</button>
@@ -2939,7 +2939,7 @@ export function AgenticGrid({
))}
{session.terminals.length === 0 && (
<div className="absolute inset-0 flex flex-col items-center justify-center gap-3 text-sm text-muted-foreground">
- <span>Every terminal in this workspace is closed.</span>
+ <span>{t("agentic_grid.empty_workspace.all_closed")}</span>
{/* `relative` so the picker hangs under the button rather than off
the grid canvas. */}
<div className="relative">
@@ -2952,12 +2952,12 @@ export function AgenticGrid({
onClick={() => openTerminal("empty")}
>
<Plus className="h-4 w-4" />
- Open a terminal
+ {t("agentic_grid.empty_workspace.open_terminal")}
</button>
{picking === "empty" && (
<AgentPickerMenu
- title="Open a terminal — what?"
- ariaLabel="What should run in the new terminal?"
+ title={t("agentic_grid.empty_workspace.picker_title")}
+ ariaLabel={t("agentic_grid.empty_workspace.picker_aria")}
agents={agents ?? []}
testId="empty-workspace-agent-menu"
itemTestId={(agent) => `empty-workspace-new-${agent}`}
@@ -3451,7 +3451,7 @@ function ConfirmWorkspaceClose({
busy: boolean;
onConfirm: () => void;
}) {
- const agentLabel = terminalCount === 1 ? "coding agent" : "coding agents";
+ const t = useT();
return (
<Dialog.Portal>
@@ -3467,16 +3467,22 @@ function ConfirmWorkspaceClose({
}}
>
<Dialog.Title className="font-display text-base font-semibold">
- Close this workspace?
+ {t("agentic_grid.close_workspace.confirm_title")}
</Dialog.Title>
<Dialog.Description className="mt-2 text-sm text-muted-foreground">
- This stops all {terminalCount} {agentLabel} and closes every terminal session. Anything
- already written to disk stays.
+ {fill(
+ t(
+ terminalCount === 1
+ ? "agentic_grid.close_workspace.confirm_body_one"
+ : "agentic_grid.close_workspace.confirm_body_other",
+ ),
+ { count: terminalCount },
+ )}
</Dialog.Description>
<div className="mt-5 flex items-center justify-end gap-2">
<Dialog.Close asChild>
<button type="button" className="btn-ghost" autoFocus disabled={busy}>
- Keep workspace open
+ {t("agentic_grid.close_workspace.keep")}
</button>
</Dialog.Close>
<button
@@ -3486,7 +3492,7 @@ function ConfirmWorkspaceClose({
disabled={busy}
onClick={onConfirm}
>
- Close workspace
+ {t("agentic_grid.close_workspace.confirm")}
</button>
</div>
</Dialog.Content>
@@ -3512,11 +3518,12 @@ function ConfirmClose({
onCancel: () => void;
onConfirm: () => void;
}) {
+ const t = useT();
return (
<div
role="dialog"
aria-modal="true"
- aria-label={`Close ${name}`}
+ aria-label={fill(t("agentic_grid.close_pane.aria"), { pane: name })}
data-testid="confirm-close-terminal"
className="absolute inset-0 z-30 flex items-center justify-center bg-background p-6 backdrop-blur-sm"
onKeyDown={(e) => {
@@ -3524,14 +3531,15 @@ function ConfirmClose({
}}
>
<div className="w-full max-w-sm rounded-lg bg-popover shadow-float p-5">
- <h3 className="font-display text-base font-semibold">Close {name}?</h3>
+ <h3 className="font-display text-base font-semibold">
+ {fill(t("agentic_grid.close_pane.title"), { pane: name })}
+ </h3>
<p className="mt-2 text-sm text-muted-foreground">
- The coding agent running in this terminal is stopped and its session is gone. Anything it
- already wrote to disk stays.
+ {t("agentic_grid.close_pane.body")}
</p>
<div className="mt-5 flex items-center justify-end gap-2">
<button type="button" className="btn-ghost" autoFocus disabled={busy} onClick={onCancel}>
- Keep it open
+ {t("agentic_grid.close_pane.keep")}
</button>
<button
type="button"
@@ -3540,7 +3548,7 @@ function ConfirmClose({
disabled={busy}
onClick={onConfirm}
>
- Close {name}
+ {fill(t("agentic_grid.close_pane.confirm"), { pane: name })}
</button>
</div>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
index b6a73ce896..6d6873aa05 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
@@ -163,7 +163,7 @@ import { prefetchPaneChanges } from "./paneChangesApi";
import { WorkspaceTerminalHeader } from "./WorkspaceTerminalHeader";
import { usePaneContextMenu } from "./usePaneContextMenu";
import { SessionGitHubBadge } from "./SessionGitHubBadge";
-import { loadLocaleChunk, useT } from "@/i18n";
+import { fill, loadLocaleChunk, translate, useT } from "@/i18n";
/**
* How old a delivery may be and still raise its receipt on a fresh connection.
@@ -766,6 +766,7 @@ export function AgenticTerminal({
const statusRef = useRef<PaneStatus>("connecting");
// Mirrored into state purely so the header can show/hide the restart button;
// it transitions a handful of times per pane, never per output chunk.
+ const t = useT();
const [visibleStatus, setVisibleStatus] = useState<PaneStatus>("connecting");
/*
* What the socket said ABOUT that status, in the user's words.
@@ -1145,7 +1146,7 @@ export function AgenticTerminal({
isMac,
onUnavailable: () =>
onAttachErrorRef.current?.(
- "Could not copy the terminal selection on this machine.",
+ translate("agentic_grid.pane.copy_unavailable"),
),
},
);
@@ -1163,7 +1164,7 @@ export function AgenticTerminal({
isMac,
onUnavailable: () =>
onAttachErrorRef.current?.(
- "Could not read the clipboard on this machine.",
+ translate("agentic_grid.pane.paste_unavailable"),
),
},
);
@@ -2257,10 +2258,10 @@ export function AgenticTerminal({
report(
"live",
reattached
- ? "still running — picked up where you left it"
+ ? translate("agentic_grid.pane.ready_reattached")
: resumed
- ? "continued its previous conversation"
- : "started a new conversation",
+ ? translate("agentic_grid.pane.ready_resumed")
+ : translate("agentic_grid.pane.ready_fresh"),
);
if (
activeRef.current &&
@@ -2779,7 +2780,7 @@ export function AgenticTerminal({
const attach = useCallback(
async (payload: PaneDropPayload) => {
if (isEmptyPayload(payload)) {
- onAttachError?.("That drop carried no file this pane could use.");
+ onAttachError?.(translate("agentic_grid.pane.drop_empty"));
return;
}
setAttaching(true);
@@ -3154,7 +3155,7 @@ export function AgenticTerminal({
style={{ background: chrome.shell, borderColor: chrome.border }}
>
<Loader2 className="h-4 w-4 animate-spin" />
- <span>Starting {displayName}…</span>
+ <span>{fill(t("agentic_grid.pane.starting"), { agent: displayName })}</span>
</div>
</div>
)}
@@ -3172,13 +3173,14 @@ export function AgenticTerminal({
{attaching ? (
<>
<Loader2 className="h-4 w-4 animate-spin text-muted-foreground" />
- <span>Attaching to {name}…</span>
+ <span>{fill(t("agentic_grid.pane.attaching"), { pane: name })}</span>
</>
) : (
<>
<Paperclip className="h-4 w-4 text-muted-foreground" />
<span>
- Drop to put it in front of <strong>{name}</strong>
+ {t("agentic_grid.pane.drop_hint_before")}<strong>{name}</strong>
+ {t("agentic_grid.pane.drop_hint_after")}
</span>
</>
)}
@@ -3391,16 +3393,16 @@ function PaneHeader({
// a maximized pane cannot be dragged, so its sentence never claims it can.
const tipText = [
onArrangeStart
- ? `Drag ${name} by this bar to move it.`
+ ? fill(t("agentic_grid.pane.tip_drag"), { pane: name })
: "",
onToggleMaximize
? onArrangeStart
? maximized
- ? "Double-click to put it back."
- : "Double-click to fill the workspace."
+ ? t("agentic_grid.pane.tip_restore")
+ : t("agentic_grid.pane.tip_fill")
: maximized
- ? `Double-click to put ${name} back in the grid.`
- : `Double-click to make ${name} fill the workspace.`
+ ? fill(t("agentic_grid.pane.tip_restore_named"), { pane: name })
+ : fill(t("agentic_grid.pane.tip_fill_named"), { pane: name })
: "",
]
.filter(Boolean)
@@ -3522,7 +3524,7 @@ function PaneHeader({
/>
<div className="flex min-w-0 flex-1 items-center gap-2">
{showArrangeHandle && onArrangeStart && (
- <button type="button" aria-label={`Move ${name}`} title={`Move ${name}`}
+ <button type="button" aria-label={fill(t("agentic_grid.pane.move"), { pane: name })} title={fill(t("agentic_grid.pane.move"), { pane: name })}
data-ide-drag-handle="true"
data-testid={`pane-move-${name}`}
onPointerDown={(event) => {
@@ -3562,7 +3564,7 @@ function PaneHeader({
value={draft}
maxLength={MAX_TERMINAL_NAME}
disabled={saving}
- aria-label={`Rename ${name}`}
+ aria-label={fill(t("agentic_grid.pane.rename"), { pane: name })}
data-testid={`pane-rename-input-${name}`}
onFocus={(event) => event.currentTarget.select()}
onChange={(event) => setDraft(event.target.value)}
@@ -3587,7 +3589,7 @@ function PaneHeader({
<button
type="submit"
disabled={saving || !draft.trim()}
- aria-label={`Save name for ${name}`}
+ aria-label={fill(t("agentic_grid.pane.rename_save"), { pane: name })}
data-testid={`pane-rename-save-${name}`}
className={cn(
"flex h-5 w-5 shrink-0 items-center justify-center rounded-md text-[color:var(--pane-ink)]",
@@ -3604,7 +3606,7 @@ function PaneHeader({
<button
type="button"
disabled={saving}
- aria-label={`Cancel renaming ${name}`}
+ aria-label={fill(t("agentic_grid.pane.rename_cancel"), { pane: name })}
onClick={() => setDraft(null)}
className={cn(
"flex h-5 w-5 shrink-0 items-center justify-center rounded-md",
@@ -3666,8 +3668,8 @@ function PaneHeader({
{onRename && (
<button
type="button"
- aria-label={`Rename ${name}`}
- title={`Rename ${name}`}
+ aria-label={fill(t("agentic_grid.pane.rename"), { pane: name })}
+ title={fill(t("agentic_grid.pane.rename"), { pane: name })}
data-testid={`pane-rename-${name}`}
onClick={() => setDraft(name)}
onMouseDown={(event) => event.stopPropagation()}
@@ -3742,7 +3744,7 @@ function PaneHeader({
// the lift chip, with no rim: the fill already separates it.
className="min-w-0 max-w-[8rem] truncate rounded-full px-2 py-px font-display text-micro font-medium tracking-wide"
style={{ color: brand.inkMuted, backgroundColor: brand.chip }}
- title={`Running on ${accountLabel}`}
+ title={fill(t("agentic_grid.pane.running_on_account"), { account: accountLabel })}
data-testid={`pane-account-${name}`}
>
{accountLabel}
@@ -3796,7 +3798,7 @@ function PaneHeader({
</PaneAction>
{onReviewChanges && (
<PaneAction
- label={`Review changes by ${name}`}
+ label={fill(t("agentic_grid.pane.review_changes"), { pane: name })}
testId={`pane-review-changes-${name}`}
onClick={onReviewChanges}
onHover={onReviewChangesPrefetch}
@@ -3805,7 +3807,10 @@ function PaneHeader({
</PaneAction>
)}
<PaneAction
- label={maximized ? `Restore ${name}` : `Maximize ${name}`}
+ label={fill(
+ t(maximized ? "agentic_grid.pane.restore" : "agentic_grid.pane.maximize"),
+ { pane: name },
+ )}
testId={`pane-maximize-${name}`}
onClick={onToggleMaximize}
>
@@ -3816,7 +3821,7 @@ function PaneHeader({
)}
</PaneAction>
<PaneAction
- label={`Open another terminal beside ${name}`}
+ label={fill(t("agentic_grid.pane.split_right"), { pane: name })}
testId={`pane-split-right-${name}`}
disabled={splitDisabled}
expanded={offersChoice ? picking === "right" : undefined}
@@ -3825,7 +3830,7 @@ function PaneHeader({
<SplitRightIcon className="h-3.5 w-3.5" />
</PaneAction>
<PaneAction
- label={`Split ${name} and open a terminal below it`}
+ label={fill(t("agentic_grid.pane.split_down"), { pane: name })}
testId={`pane-split-down-${name}`}
disabled={splitDisabled}
expanded={offersChoice ? picking === "down" : undefined}
@@ -3834,7 +3839,7 @@ function PaneHeader({
<SplitBelowIcon className="h-3.5 w-3.5" />
</PaneAction>
<PaneAction
- label={`Close ${name}`}
+ label={fill(t("agentic_grid.close_pane.aria"), { pane: name })}
testId={`pane-close-${name}`}
danger
onClick={onClose}
@@ -3846,9 +3851,18 @@ function PaneHeader({
{picking && (
<AgentPickerMenu
title={
- picking === "right" ? "Open beside — what?" : "Split below — what?"
+ picking === "right"
+ ? t("agentic_grid.pane.split_right_picker")
+ : t("agentic_grid.pane.split_down_picker")
}
- ariaLabel={`What should run ${picking === "right" ? "beside" : "below"} ${name}?`}
+ ariaLabel={fill(
+ t(
+ picking === "right"
+ ? "agentic_grid.pane.split_right_picker_aria"
+ : "agentic_grid.pane.split_down_picker_aria",
+ ),
+ { pane: name },
+ )}
agents={choices}
testId={`pane-split-menu-${picking}-${name}`}
itemTestId={(agent) => `pane-split-${picking}-${name}-${agent}`}
@@ -4103,6 +4117,7 @@ function PaneStatusNotice({
light: boolean;
onRestart?: () => void;
}) {
+ const t = useT();
if (status !== "exited" && status !== "error") return null;
const appearance: TerminalAppearance = light ? "light" : "dark";
const tone = NOTICE_TONE[status === "error" ? "error" : "warning"][appearance];
@@ -4117,10 +4132,10 @@ function PaneStatusNotice({
*/
const message =
status === "error"
- ? detail || `${name} could not be reached.`
+ ? detail || fill(t("agentic_grid.pane.unreachable"), { pane: name })
: detail
- ? `${displayName} ${detail}`
- : `${displayName} is no longer running in ${name}.`;
+ ? fill(t("agentic_grid.pane.exited_detail"), { agent: displayName, detail })
+ : fill(t("agentic_grid.pane.exited"), { agent: displayName, pane: name });
return (
<div
data-testid={`pane-notice-${name}`}
@@ -4154,8 +4169,8 @@ function PaneStatusNotice({
{onRestart && (
<button
type="button"
- aria-label={`Restart ${name}`}
- title={`Start a fresh ${displayName} in ${name}`}
+ aria-label={fill(t("agentic_grid.pane.restart_aria"), { pane: name })}
+ title={fill(t("agentic_grid.pane.restart_title"), { agent: displayName, pane: name })}
data-testid={`pane-restart-${name}`}
onClick={(e) => {
e.stopPropagation();
@@ -4175,7 +4190,7 @@ function PaneStatusNotice({
)}
>
<RotateCcw className="h-3 w-3" aria-hidden="true" />
- Restart
+ {t("agentic_grid.pane.restart")}
</button>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/CloseAgentDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/CloseAgentDialog.tsx
index 955c08c96d..f7da2679cb 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/CloseAgentDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/CloseAgentDialog.tsx
@@ -1,5 +1,6 @@
import * as Dialog from "@radix-ui/react-dialog";
import { Loader2, Power } from "lucide-react";
+import { fill, useT } from "@/i18n";
import { AgentMark } from "./AgentMark";
/** What is about to close: one pane, or a whole workspace with its panes. */
@@ -20,15 +21,22 @@ interface Props {
* ("127.0.0.1:47821 says") in the OS language, and it blocks the event loop.
*/
export function CloseAgentDialog({ target, busy, onCancel, onConfirm }: Props) {
+ const t = useT();
const terminal = target?.kind === "terminal" ? target : null;
const workspace = target?.kind === "workspace" ? target : null;
const count = workspace?.agents.length ?? 1;
- const title = terminal ? `Close ${terminal.name}?` : `Close ${workspace?.name ?? "workspace"}?`;
+ const title = terminal
+ ? fill(t("agentic_grid.close_pane.title"), { pane: terminal.name })
+ : workspace?.name
+ ? fill(t("ide_panes.close_dialog.workspace_title"), { workspace: workspace.name })
+ : t("ide_panes.close_dialog.workspace_title_unnamed");
const body = terminal
- ? `The coding agent in this pane stops right away, including any task it is still working on.`
+ ? t("ide_panes.close_dialog.pane_body")
: count === 0
- ? "The workspace closes. You can restore it from Projects at any time."
- : `${count === 1 ? "Its coding agent stops" : `All ${count} coding agents stop`} right away. You can restore the workspace from Projects at any time.`;
+ ? t("ide_panes.close_dialog.workspace_body_empty")
+ : count === 1
+ ? t("ide_panes.close_dialog.workspace_body_one")
+ : fill(t("ide_panes.close_dialog.workspace_body_other"), { count });
return <Dialog.Root open={target !== null} onOpenChange={(open) => { if (!open && !busy) onCancel(); }}>
<Dialog.Portal>
@@ -61,11 +69,11 @@ export function CloseAgentDialog({ target, busy, onCancel, onConfirm }: Props) {
<div className="mt-6 flex justify-end gap-2">
<button type="button" data-close-cancel disabled={busy} onClick={onCancel}
className="rounded-lg border border-border px-3.5 py-2 text-sm font-medium hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40">
- Keep running</button>
+ {t("ide_panes.close_dialog.keep")}</button>
<button type="button" disabled={busy} onClick={onConfirm}
className="flex items-center gap-1.5 rounded-lg bg-destructive px-3.5 py-2 text-sm font-medium text-destructive-foreground hover:bg-destructive/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-destructive focus-visible:ring-offset-2 focus-visible:ring-offset-popover disabled:opacity-60">
{busy && <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden />}
- {terminal ? "Close agent" : "Close workspace"}</button>
+ {terminal ? t("ide_panes.close_dialog.close_agent") : t("agentic_grid.close_workspace.confirm")}</button>
</div>
</Dialog.Content>
</Dialog.Portal>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/FolderPicker.tsx b/jarvis/ui/web/frontend/src/components/agentic/FolderPicker.tsx
index 74c549abcb..934c100581 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/FolderPicker.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/FolderPicker.tsx
@@ -86,6 +86,8 @@ import {
X,
} from "lucide-react";
import { cn } from "@/lib/utils";
+import { fill, translate, useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { waitForNativeDrop } from "@/lib/nativeDrop";
import { useDragSessionEnd } from "./dragSessionEnd";
import { Button, Field, IconButton, SectionLabel } from "./controls";
@@ -181,6 +183,7 @@ export function FolderPicker({
showSelection = true,
className,
}: FolderPickerProps) {
+ const t = useT();
const [path, setPath] = useState<string | null>(null);
const [parent, setParent] = useState<string | null>(null);
const [entries, setEntries] = useState<FolderItem[]>([]);
@@ -433,7 +436,7 @@ export function FolderPicker({
createFolder({ parent, name })
.then((res) => {
if (res.error || !res.folder) {
- setCreateNote(res.error || "Could not create that folder.");
+ setCreateNote(res.error || t("ide_folder_picker.create_failed"));
return;
}
setNaming(false);
@@ -507,12 +510,10 @@ export function FolderPicker({
// Read the DataTransfer BEFORE awaiting anything (see extractDropPayload).
const payload = extractDropPayload(event.dataTransfer);
if (!payload.path && !payload.name) {
- setDropNote(
- "That was not a folder. Drop a folder here, or pick one from the list.",
- );
+ setDropNote(t("ide_folder_picker.drop_not_folder"));
return;
}
- setDropNote("Finding the folder you dropped…");
+ setDropNote(t("ide_folder_picker.drop_finding"));
// The desktop shell knows the real path of what was dropped and says so a
// moment after the drop; with only a name, that beats searching for it.
// The wait itself is armed here, synchronously, so no announcement is
@@ -532,7 +533,7 @@ export function FolderPicker({
navigate(res.resolved);
} else {
setDropChoices(res.candidates);
- setDropNote(res.detail || "Could not find that folder.");
+ setDropNote(res.detail || t("ide_folder_picker.drop_not_found"));
}
})
.catch((e) => setDropNote((e as Error).message));
@@ -551,15 +552,15 @@ export function FolderPicker({
// hints. Built from the real home folder, never from a hard-coded `C:\…` —
// the same UI is opened against Macs and Linux boxes.
const pathExample = home ? joinPath(home, "my-project") : null;
- const machine = deviceName || "This machine";
+ const machine = deviceName || t("ide_folder_picker.this_machine");
const crumbs = path ? foldCrumbs(pathCrumbs(path)) : [];
const listLabel = searchingMachine
? null
: pathLeaf !== null
- ? `Folders starting with “${pathLeaf}”`
+ ? fill(t("ide_folder_picker.starting_with"), { leaf: pathLeaf })
: path
- ? `Folders in ${leafName(path)}`
- : "Places";
+ ? fill(t("ide_folder_picker.folders_in"), { folder: leafName(path) })
+ : t("ide_folder_picker.places");
const hasMessages = Boolean(error || nativeNote || dropNote || createNote);
return (
@@ -586,7 +587,7 @@ export function FolderPicker({
<div className="pointer-events-none absolute inset-0 z-40 flex flex-col items-center justify-center gap-2 rounded-surface border-2 border-dashed border-primary/60 bg-background/95">
<FolderOpen className="h-8 w-8 text-primary" />
<span className="text-sm font-medium text-foreground">
- Drop to choose this folder
+ {t("ide_folder_picker.drop_overlay")}
</span>
</div>
)}
@@ -602,8 +603,8 @@ export function FolderPicker({
<Field
value={query}
onChange={(e) => setQuery(e.target.value)}
- placeholder="Search by name or paste a path"
- aria-label="Search folders by name, or paste a path"
+ placeholder={t("ide_folder_picker.search_placeholder")}
+ aria-label={t("ide_folder_picker.search_aria")}
data-testid="folder-search"
data-autofocus
className="h-9 w-full pl-9 pr-8"
@@ -613,7 +614,7 @@ export function FolderPicker({
{query && (
<IconButton
size="sm"
- label="Clear search"
+ label={t("ide_folder_picker.clear_search")}
onClick={() => setQuery("")}
className="absolute right-1.5 top-1/2 -translate-y-1/2"
>
@@ -626,7 +627,7 @@ export function FolderPicker({
onClick={browseNatively}
disabled={nativeOpen}
data-testid="native-browse"
- title="Choose the folder in this computer's own folder window"
+ title={t("ide_folder_picker.browse_title")}
className="h-9"
>
{nativeOpen ? (
@@ -634,7 +635,7 @@ export function FolderPicker({
) : (
<FolderOpen className="h-4 w-4" />
)}
- {nativeOpen ? "Window open…" : "Browse…"}
+ {nativeOpen ? t("ide_folder_picker.window_open") : t("ide_folder_picker.browse")}
</Button>
)}
<Button
@@ -645,11 +646,11 @@ export function FolderPicker({
}}
disabled={naming}
data-testid="new-folder"
- title={`Make a new folder in ${path ?? "your home folder"}`}
+ title={fill(t("ide_folder_picker.new_folder_title"), { path: path ?? t("ide_folder_picker.your_home_folder") })}
className="h-9"
>
<FolderPlus className="h-4 w-4" />
- New folder
+ {t("ide_folder_picker.new_folder")}
</Button>
</div>
@@ -658,8 +659,7 @@ export function FolderPicker({
that hung. Saying so costs one line and saves the confusion. */}
{nativeOpen && (
<p className="mt-2 text-xs text-primary" role="status">
- A folder window has opened. Choose your folder there. If you cannot
- see it, it is behind this window or in the taskbar.
+ {t("ide_folder_picker.native_open_note")}
</p>
)}
@@ -670,7 +670,7 @@ export function FolderPicker({
{/* ------------------------------------------------------ address bar */}
<div className="relative flex h-10 shrink-0 items-center gap-0.5 rounded-t-surface border-b border-border bg-secondary/40 px-1">
<IconButton
- label="Go up one folder"
+ label={t("ide_folder_picker.go_up")}
onClick={() => navigate(parent)}
disabled={loading || searchingMachine || path === null}
>
@@ -692,18 +692,18 @@ export function FolderPicker({
) : searchingMachine ? (
<span className="min-w-0 flex-1 truncate px-2 text-xs text-muted-foreground">
{visible.length === 0 && !searching
- ? `Nothing on ${machine} is called “${query.trim()}”`
- : `Folders called “${query.trim()}” anywhere on ${machine}`}
+ ? fill(t("ide_folder_picker.nothing_called"), { machine, query: query.trim() })
+ : fill(t("ide_folder_picker.called_anywhere"), { machine, query: query.trim() })}
</span>
) : (
<nav
- aria-label="Folder path"
+ aria-label={t("ide_folder_picker.folder_path")}
className="flex h-full min-w-0 flex-1 items-center"
>
<button
type="button"
onClick={() => navigate(null)}
- title={`Start: recent folders and places on ${machine}`}
+ title={fill(t("ide_folder_picker.start_title"), { machine })}
aria-current={path === null ? "location" : undefined}
className={cn(
CRUMB,
@@ -723,8 +723,8 @@ export function FolderPicker({
<button
type="button"
onClick={() => setEditingPath(true)}
- title={`${crumb.hidden}\nClick to see and edit the whole path`}
- aria-label="Show the whole path"
+ title={`${crumb.hidden}\n${t("ide_folder_picker.click_to_edit_path")}`}
+ aria-label={t("ide_folder_picker.show_whole_path")}
className={cn(CRUMB, "shrink-0")}
>
…
@@ -761,8 +761,8 @@ export function FolderPicker({
{!editingPath && (
<IconButton
- label="Type a path"
- title="Type or paste a path — Tab completes folder names"
+ label={t("ide_folder_picker.type_path")}
+ title={t("ide_folder_picker.type_path_title")}
onClick={() => setEditingPath(true)}
data-testid="edit-path"
>
@@ -770,11 +770,11 @@ export function FolderPicker({
</IconButton>
)}
<IconButton
- label={showHidden ? "Hide hidden folders" : "Show hidden folders"}
+ label={showHidden ? t("ide_folder_picker.hide_hidden") : t("ide_folder_picker.show_hidden")}
title={
showHidden
- ? "Hidden folders (names starting with a dot) are shown"
- : "Also list hidden folders — names starting with a dot"
+ ? t("ide_folder_picker.hidden_shown_title")
+ : t("ide_folder_picker.hidden_list_title")
}
aria-pressed={showHidden}
onClick={toggleHidden}
@@ -789,7 +789,7 @@ export function FolderPicker({
)}
</IconButton>
<IconButton
- label="Reload this folder"
+ label={t("ide_folder_picker.reload")}
onClick={() => void load(path)}
disabled={loading}
>
@@ -824,8 +824,8 @@ export function FolderPicker({
setCreateNote(null);
}
}}
- placeholder="Name of the new folder"
- aria-label="Name of the new folder"
+ placeholder={t("ide_folder_picker.new_folder_name")}
+ aria-label={t("ide_folder_picker.new_folder_name")}
data-testid="new-folder-name"
className="min-w-0 flex-1"
spellCheck={false}
@@ -838,10 +838,10 @@ export function FolderPicker({
data-testid="new-folder-create"
>
{creating && <Loader2 className="h-3.5 w-3.5 animate-spin" />}
- Create
+ {t("ide_folder_picker.create")}
</Button>
<IconButton
- label="Cancel new folder"
+ label={t("ide_folder_picker.cancel_new_folder")}
onClick={() => {
setNaming(false);
setCreateNote(null);
@@ -851,8 +851,8 @@ export function FolderPicker({
</IconButton>
</div>
<p className="mt-1.5 truncate pl-6 text-xs text-muted-foreground">
- Created in{" "}
- <span className="font-mono">{path ?? "your home folder"}</span>
+ {t("ide_folder_picker.created_in")}{" "}
+ <span className="font-mono">{path ?? t("ide_folder_picker.your_home_folder")}</span>
</p>
</form>
)}
@@ -860,8 +860,8 @@ export function FolderPicker({
{/* ------------------------------------------------------------- list */}
<div className="min-h-[14rem] flex-1 overflow-y-auto scrollbar-jarvis p-1.5">
{visibleRecents.length > 0 && (
- <section aria-label="Recent folders" className="pb-2">
- <GroupLabel>Recent folders</GroupLabel>
+ <section aria-label={t("ide_folder_picker.recent_folders")} className="pb-2">
+ <GroupLabel>{t("ide_folder_picker.recent_folders")}</GroupLabel>
<ul>
{visibleRecents.map((recent) => (
<li key={recent.path} className="group/row relative">
@@ -895,16 +895,18 @@ export function FolderPicker({
layout is replayed — the launcher. */}
{onSelectRecent && (
<span className="block tabular-nums">
- {recent.terminals}{" "}
- {recent.terminals === 1 ? "terminal" : "terminals"}
+ {fill(
+ t(recent.terminals === 1 ? "ide_folder_picker.terminals_one" : "ide_folder_picker.terminals_other"),
+ { count: recent.terminals },
+ )}
</span>
)}
</span>
</button>
<IconButton
size="sm"
- label={`Forget ${recent.name}`}
- title="Remove from this list (the folder itself stays)"
+ label={fill(t("ide_folder_picker.forget"), { folder: recent.name })}
+ title={t("ide_folder_picker.forget_title")}
onClick={(e) => {
e.stopPropagation();
setRecents((prev) =>
@@ -944,10 +946,10 @@ export function FolderPicker({
)}
<span className="min-w-0 flex-1">
<span className="block truncate">
- Create folder “{createOffer.name}”
+ {fill(t("ide_folder_picker.create_folder_named"), { folder: createOffer.name })}
</span>
<span className="block truncate font-mono text-micro text-muted-foreground">
- in {createOffer.parent ?? "your home folder"}
+ {fill(t("ide_folder_picker.in_parent"), { path: createOffer.parent ?? t("ide_folder_picker.your_home_folder") })}
</span>
</span>
</button>
@@ -960,18 +962,18 @@ export function FolderPicker({
{visible.length === 0 && !loading && !searching ? (
<p className="px-2.5 py-6 text-center text-sm text-muted-foreground">
{searchingMachine
- ? `No folder with that name was found.${
+ ? `${t("ide_folder_picker.empty_search")}${
pathExample
- ? ` To open one by where it is, type its full path — like ${pathExample}.`
+ ? ` ${fill(t("ide_folder_picker.empty_search_hint"), { example: pathExample })}`
: ""
}`
: pathLeaf !== null
- ? `No folder here starts with “${pathLeaf}”.`
+ ? fill(t("ide_folder_picker.empty_leaf"), { leaf: pathLeaf })
: needle
- ? `No folder here matches “${query.trim()}”. Keep typing to search the whole machine.`
+ ? fill(t("ide_folder_picker.empty_needle"), { query: query.trim() })
: path
- ? "This folder has no folders inside. You can choose it as it is, or make a new folder in it."
- : "Nothing to list here — search above, drop a folder, or type its path."}
+ ? t("ide_folder_picker.empty_folder")
+ : t("ide_folder_picker.empty_start")}
</p>
) : (
<ul>
@@ -1040,8 +1042,9 @@ export function FolderPicker({
<p className="text-destructive">{error}</p>
{pathExample && (
<p className="mt-0.5 text-muted-foreground">
- A full path on this machine looks like{" "}
- <code className="font-mono">{pathExample}</code>.
+ {t("ide_folder_picker.path_example_before")}{" "}
+ <code className="font-mono">{pathExample}</code>
+ {t("ide_folder_picker.path_example_after")}
</p>
)}
{/* The path field's "no such folder", answered: make it. */}
@@ -1057,7 +1060,7 @@ export function FolderPicker({
) : (
<FolderPlus className="h-3.5 w-3.5" />
)}
- Create folder “{createOffer.name}”
+ {fill(t("ide_folder_picker.create_folder_named"), { folder: createOffer.name })}
</Button>
)}
</div>
@@ -1102,7 +1105,7 @@ export function FolderPicker({
</div>
) : (
<p className="mt-2 text-xs text-muted-foreground">
- Tip: you can also drag a folder here from your file manager.
+ {t("ide_folder_picker.tip_drag")}
</p>
)}
</div>
@@ -1134,6 +1137,7 @@ function GroupLabel({ children }: { children: React.ReactNode }) {
* the choice is gone the moment it is made.
*/
function SelectedFolder({ selected }: { selected: string | null }) {
+ const t = useT();
return (
<div
data-testid="folder-selection"
@@ -1151,7 +1155,7 @@ function SelectedFolder({ selected }: { selected: string | null }) {
</span>
<span className="min-w-0 flex-1">
<span className="block truncate text-sm font-medium">
- <span className="sr-only">Chosen folder: </span>
+ <span className="sr-only">{t("ide_folder_picker.chosen_folder")}{" "}</span>
{leafName(selected)}
</span>
<span
@@ -1166,7 +1170,7 @@ function SelectedFolder({ selected }: { selected: string | null }) {
<>
<Folder className="h-4 w-4 shrink-0 text-muted-foreground" />
<span className="text-sm text-muted-foreground">
- No folder chosen yet. Open a folder in the list to choose it.
+ {t("ide_folder_picker.no_folder_chosen")}
</span>
</>
)}
@@ -1275,14 +1279,16 @@ export function lastUsedLabel(lastUsed: number, now: number = Date.now()): strin
return d.getTime();
};
const days = Math.round((dayStart(now) - dayStart(ms)) / 86_400_000);
- if (days <= 0) return "Today";
- if (days === 1) return "Yesterday";
- if (days < 7) return `${days} days ago`;
+ if (days <= 0) return translate("ide_folder_picker.today");
+ if (days === 1) return translate("ide_folder_picker.yesterday");
+ if (days < 7) return fill(translate("ide_folder_picker.days_ago"), { count: days });
if (days < 30) {
const weeks = Math.floor(days / 7);
- return weeks === 1 ? "Last week" : `${weeks} weeks ago`;
+ return weeks === 1
+ ? translate("ide_folder_picker.last_week")
+ : fill(translate("ide_folder_picker.weeks_ago"), { count: weeks });
}
- return new Date(ms).toLocaleDateString(undefined, {
+ return new Date(ms).toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), {
day: "numeric",
month: "short",
year: days > 300 ? "numeric" : undefined,
@@ -1368,6 +1374,7 @@ function PathInput({
onUse: (value: string) => Promise<void>;
onCancel: () => void;
}) {
+ const t = useT();
const [value, setValue] = useState(initial);
const [options, setOptions] = useState<FolderItem[]>([]);
const [active, setActive] = useState(-1);
@@ -1489,8 +1496,8 @@ function PathInput({
if (document.activeElement !== inputRef.current) onCancel();
}, 150)
}
- placeholder="Type a path — Tab completes folder names"
- aria-label="Folder path"
+ placeholder={t("ide_folder_picker.path_input_placeholder")}
+ aria-label={t("ide_folder_picker.folder_path")}
data-testid="folder-path-input"
className="h-8 w-full pr-8 font-mono text-xs"
spellCheck={false}
@@ -1504,7 +1511,7 @@ function PathInput({
{value.trim() && (
<IconButton
size="sm"
- label="Go to this path"
+ label={t("ide_folder_picker.go_to_path")}
onMouseDown={(e) => e.preventDefault()}
onClick={submit}
className="absolute right-1 top-1/2 -translate-y-1/2 text-primary"
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx
index 1fbd965a37..dd10b3b2bd 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx
@@ -5,6 +5,7 @@ import { AgentMark } from "./AgentMark";
import { BranchIcon } from "./branchIcon";
import { fetchForkSuggestion, type ForkSuggestion } from "@/lib/agenticIdeApi";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
/** The pane a fork is being made of. */
export interface ForkSource {
@@ -30,6 +31,7 @@ interface Props {
* (call-sign plus what it is working on), and stays editable.
*/
export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {
+ const t = useT();
const [mode, setMode] = useState<ForkMode>("chat");
const [branch, setBranch] = useState("");
const [info, setInfo] = useState<ForkSuggestion | null>(null);
@@ -69,17 +71,17 @@ export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {
const options: { mode: ForkMode; title: string; body: string; Icon: ComponentType<{ className?: string }>; disabled: boolean }[] = [
{
mode: "chat",
- title: "Fork chat",
- body: "A new agent opens beside this one and continues a copy of the conversation, in the same folder.",
+ title: t("ide_panes.fork.chat_title"),
+ body: t("ide_panes.fork.chat_body"),
Icon: MessagesSquare,
disabled: false,
},
{
mode: "worktree",
- title: "Fork into a worktree",
+ title: t("ide_panes.fork.worktree_title"),
body: worktreeOff
- ? "Needs a git repository — this folder is not one."
- : "Same copy of the conversation, but in its own git worktree and branch, so both agents can change files without getting in each other's way.",
+ ? t("ide_panes.fork.worktree_needs_repo")
+ : t("ide_panes.fork.worktree_body"),
Icon: FolderGit2,
disabled: worktreeOff,
},
@@ -96,9 +98,9 @@ export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {
<BranchIcon className="h-[18px] w-[18px]" />
</div>
<div className="min-w-0 flex-1">
- <Dialog.Title className="truncate text-base font-semibold">Fork {source?.name}</Dialog.Title>
+ <Dialog.Title className="truncate text-base font-semibold">{fill(t("ide_panes.fork.title"), { pane: source?.name ?? "" })}</Dialog.Title>
<Dialog.Description className="mt-1.5 text-sm leading-relaxed text-muted-foreground">
- Start a second agent from where this one is. The original keeps running unchanged.
+ {t("ide_panes.fork.description")}
</Dialog.Description>
</div>
</div>
@@ -109,7 +111,7 @@ export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {
<span className="ml-auto shrink-0 font-mono text-xs text-muted-foreground">{source.name}</span>
</div>}
- <div role="radiogroup" aria-label="How to fork" className="mt-4 grid gap-2">
+ <div role="radiogroup" aria-label={t("ide_panes.fork.how")} className="mt-4 grid gap-2">
{options.map((option) => {
const checked = mode === option.mode;
return <button key={option.mode} type="button" role="radio" aria-checked={checked}
@@ -129,29 +131,29 @@ export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {
</div>
{mode === "worktree" && <div className="mt-4">
- <label htmlFor="fork-branch-name" className="text-xs font-medium text-muted-foreground">Worktree and branch name</label>
+ <label htmlFor="fork-branch-name" className="text-xs font-medium text-muted-foreground">{t("ide_panes.fork.branch_label")}</label>
<input id="fork-branch-name" ref={nameRef} data-testid="fork-branch-name" value={branch} disabled={busy || info === null}
onChange={(event) => setBranch(event.target.value)} spellCheck={false} autoComplete="off" maxLength={80}
- placeholder={info === null ? "Finding a name…" : undefined}
+ placeholder={info === null ? t("ide_panes.fork.finding_name") : undefined}
className="mt-1.5 w-full rounded-lg border border-border bg-background px-3 py-2 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60" />
<p className="mt-1.5 text-xs leading-relaxed text-muted-foreground">
- Created from the last commit. Changes that are not committed yet stay in the current folder.
+ {t("ide_panes.fork.branch_hint")}
</p>
</div>}
{info && !info.can_fork && <p className="mt-4 text-xs leading-relaxed text-muted-foreground">
- {source?.displayName} cannot copy its conversation, so the fork starts with a fresh chat.
+ {fill(t("ide_panes.fork.cannot_copy"), { agent: source?.displayName ?? "" })}
</p>}
{loadError && <p role="alert" className="mt-4 text-xs text-destructive">{loadError}</p>}
<div className="mt-6 flex justify-end gap-2">
<button type="button" disabled={busy} onClick={onCancel}
className="rounded-lg border border-border px-3.5 py-2 text-sm font-medium hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40">
- Cancel</button>
+ {t("common.cancel")}</button>
<button type="submit" data-testid="fork-confirm" disabled={!canSubmit}
className="flex items-center gap-1.5 rounded-lg bg-primary px-3.5 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-popover disabled:opacity-50">
{busy && <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden />}
- {mode === "worktree" ? "Fork into worktree" : "Fork chat"}</button>
+ {mode === "worktree" ? t("ide_panes.fork.confirm_worktree") : t("ide_panes.fork.chat_title")}</button>
</div>
</form>
</Dialog.Content>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/IdeHotkeyMenu.tsx b/jarvis/ui/web/frontend/src/components/agentic/IdeHotkeyMenu.tsx
index d2764d6597..637f54dc88 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/IdeHotkeyMenu.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/IdeHotkeyMenu.tsx
@@ -1,5 +1,6 @@
import { useEffect, useMemo, useRef, useState } from "react";
import { appZoomCaps } from "@/lib/appZoom";
+import { fill, useT } from "@/i18n";
import { appChord, useAppChordSettings } from "@/store/appChordSettings";
import {
STICKY_ACTIONS, assignAgentKeys, hotkeyHints, isLeaderChord, modeBar, resolveHotkey,
@@ -38,6 +39,7 @@ function Cap({ children }: { children: React.ReactNode }) {
* moving between steps never makes it blink.
*/
export function IdeHotkeyMenu({ enabled, agents, pane, onAction, onRenamePane, onPassThrough }: Props) {
+ const t = useT();
const [view, setView] = useState<View | null>(null);
const [draft, setDraft] = useState("");
const leader = useAppChordSettings((state) => state.bindings.ide_menu);
@@ -117,11 +119,11 @@ export function IdeHotkeyMenu({ enabled, agents, pane, onAction, onRenamePane, o
if (name && name !== pane) onRenamePane(name);
};
- return <div data-ide-hotkey-menu role="dialog" aria-label="IDE shortcuts"
+ return <div data-ide-hotkey-menu role="dialog" aria-label={t("ide_hotkeys.menu.aria")}
className="pointer-events-none fixed inset-x-0 bottom-4 z-[90] flex flex-col items-center gap-2 px-4">
- {view.menu === "help" && <section aria-label="All keys"
+ {view.menu === "help" && <section aria-label={t("ide_hotkeys.menu.all_keys")}
className="pointer-events-auto w-full max-w-3xl rounded-xl border border-border bg-popover p-4 text-popover-foreground shadow-xl motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-bottom-1 motion-safe:duration-150">
- <h2 className="mb-3 text-sm font-semibold">All keys</h2>
+ <h2 className="mb-3 text-sm font-semibold">{t("ide_hotkeys.menu.all_keys")}</h2>
<div className="grid gap-x-6 gap-y-3 sm:grid-cols-3">
{hotkeyHints({ menu: "root" }, keyed, leaderCaps).map((group) => <section key={group.title} className="min-w-0">
<h3 className="mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground">{group.title}</h3>
@@ -136,14 +138,14 @@ export function IdeHotkeyMenu({ enabled, agents, pane, onAction, onRenamePane, o
</section>}
<div className="pointer-events-auto flex h-10 max-w-full items-center gap-3 overflow-hidden rounded-xl border border-border bg-popover pl-1.5 pr-2 text-xs text-popover-foreground shadow-lg motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-bottom-1 motion-safe:duration-150">
<span className="flex h-7 shrink-0 items-center gap-1.5 rounded-lg bg-primary px-2.5 text-[11px] font-semibold tracking-wide text-primary-foreground">
- <span className="h-1.5 w-1.5 rounded-full bg-primary-foreground" aria-hidden="true" />{view.menu === "rename" ? "RENAME" : bar.badge}
+ <span className="h-1.5 w-1.5 rounded-full bg-primary-foreground" aria-hidden="true" />{view.menu === "rename" ? t("ide_hotkeys.badge.rename") : bar.badge}
</span>
{pane && step.menu !== "workspace" && <span className="max-w-[10rem] shrink-0 truncate font-medium">{pane}</span>}
{view.menu === "rename" ? <form className="flex items-center gap-2" onSubmit={submitRename}>
- <input autoFocus aria-label={`Rename ${pane}`} value={draft} maxLength={40} onChange={(event) => setDraft(event.target.value)}
+ <input autoFocus aria-label={fill(t("agentic_grid.pane.rename"), { pane })} value={draft} maxLength={40} onChange={(event) => setDraft(event.target.value)}
onFocus={(event) => event.currentTarget.select()}
className="h-7 w-48 rounded-md border border-input bg-background px-2 text-xs text-foreground outline-none focus:border-ring focus:ring-1 focus:ring-ring/30" />
- <button type="submit" className="h-7 rounded-md bg-primary px-2.5 text-xs font-medium text-primary-foreground">Save</button>
+ <button type="submit" className="h-7 rounded-md bg-primary px-2.5 text-xs font-medium text-primary-foreground">{t("common.save")}</button>
</form>
: <ul className="flex min-w-0 items-center gap-3 overflow-hidden whitespace-nowrap">
{bar.hints.map((hint) => <li key={`${hint.keys.join("+")}:${hint.label}`} className="inline-flex shrink-0 items-center gap-1">
@@ -151,7 +153,7 @@ export function IdeHotkeyMenu({ enabled, agents, pane, onAction, onRenamePane, o
</li>)}
</ul>}
<span className="ml-auto inline-flex shrink-0 items-center gap-1 border-l border-border pl-3">
- <Cap>Esc</Cap><span className="text-muted-foreground">{view.menu === "rename" ? "cancel" : "exit"}</span>
+ <Cap>Esc</Cap><span className="text-muted-foreground">{view.menu === "rename" ? t("ide_hotkeys.menu.cancel") : t("ide_hotkeys.menu.exit")}</span>
</span>
</div>
</div>;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
index 140c5088eb..08ce1c5504 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
@@ -9,6 +9,7 @@ import { useEventStore } from "@/store/events";
import { useIdeProjectsStore } from "@/store/ideProjects";
import cursorLogo from "@/assets/editors/cursor.svg?url";
import vscodeLogo from "@/assets/editors/vscode.svg?url";
+import { fill, translate, useT } from "@/i18n";
const EXPANSION_KEY = "jarvis.ide.projectExpansion.v1";
const WORKSPACE_DRAG_MIME = "application/x-jarvis-workspace-id";
@@ -28,22 +29,22 @@ const PANE_DROP_ACTIVE = "data-[pane-drop-active=true]:bg-primary/10 data-[pane-
* back in step. Shown instead of the server's bare "Method Not Allowed",
* which names the HTTP verdict rather than the fix.
*/
-const REORDER_NEEDS_RESTART = "This view is newer than the backend — restart the app and try again.";
+const REORDER_NEEDS_RESTART = "ide_projects.reorder_needs_restart";
/** A reorder failure in the user's terms: a stale backend gets the fix, anything else the server's own words. */
function reorderErrorMessage(error: unknown): string {
- if (error instanceof IdeApiError && error.status === 405) return REORDER_NEEDS_RESTART;
- if (error instanceof ChatLibraryError && error.status === 405) return REORDER_NEEDS_RESTART;
+ if (error instanceof IdeApiError && error.status === 405) return translate(REORDER_NEEDS_RESTART);
+ if (error instanceof ChatLibraryError && error.status === 405) return translate(REORDER_NEEDS_RESTART);
return error instanceof Error ? error.message : String(error);
}
/** Why opening a folder failed, in the user's terms. */
function revealErrorMessage(error: unknown): string {
if (error instanceof ChatLibraryError && error.message === "native-file-actions-disabled") {
- return "Opening folders works in the desktop app only.";
+ return translate("ide_projects.reveal_desktop_only");
}
if (error instanceof ChatLibraryError && (error.status === 405 || (error.status === 404 && error.message === "Not Found"))) {
- return REORDER_NEEDS_RESTART;
+ return translate(REORDER_NEEDS_RESTART);
}
return error instanceof Error ? error.message : String(error);
}
@@ -55,7 +56,7 @@ function revealErrorMessage(error: unknown): string {
*/
function removalErrorMessage(error: unknown): string {
if (error instanceof IdeApiError && (error.status === 405 || (error.status === 404 && error.message === "Not Found"))) {
- return REORDER_NEEDS_RESTART;
+ return translate(REORDER_NEEDS_RESTART);
}
return error instanceof Error ? error.message : String(error);
}
@@ -99,10 +100,11 @@ function soloWorkspace(project: IdeProject): ProjectWorkspace | null {
/** The agent sessions behind a row: a quiet number that makes room for the row's actions on hover. */
function SessionCount({ count, hover }: { count: number; hover: "group" | "group/space" }) {
+ const t = useT();
const fade = hover === "group"
? "group-hover:opacity-0 group-focus-within:opacity-0"
: "group-hover/space:opacity-0 group-focus-within/space:opacity-0";
- return <span aria-label={`${count} agent ${count === 1 ? "session" : "sessions"}`}
+ return <span aria-label={fill(t(count === 1 ? "ide_projects.sessions_one" : "ide_projects.sessions_other"), { count })}
className={`shrink-0 text-[13px] tabular-nums text-muted-foreground/70 transition-opacity [@media(hover:none)]:opacity-0 ${fade}`}>{count}</span>;
}
@@ -121,6 +123,7 @@ function saveExpansion(value: Record<string, boolean>): void {
/** Compact, accessible navigation over real projects and their workspace IDs. */
export function IdeProjectTree() {
+ const t = useT();
const projects = useIdeProjectsStore((state) => state.projects);
const activeWorkspaceId = useIdeProjectsStore((state) => state.activeWorkspaceId);
const pendingWorkspaceId = useIdeProjectsStore((state) => state.pendingWorkspaceId);
@@ -278,7 +281,7 @@ export function IdeProjectTree() {
const copyPath = async (path: string) => {
const copied = await robustCopy(path);
- pushToast(copied ? "success" : "error", copied ? "Folder path copied" : "Could not copy the folder path");
+ pushToast(copied ? "success" : "error", copied ? t("ide_projects.path_copied") : t("ide_projects.path_copy_failed"));
};
const revealFolder = async (projectId: string) => {
@@ -325,9 +328,9 @@ export function IdeProjectTree() {
const openIn = async (projectId: string, target: string, label: string) => {
// A cold editor can take seconds to draw its first window; say at once
// that the click landed instead of leaving the user guessing.
- pushToast("info", `Opening ${label}…`);
+ pushToast("info", fill(t("ide_projects.opening"), { label }));
try {
- if (!(await openProjectIn(projectId, target))) pushToast("error", `${label} could not be started`);
+ if (!(await openProjectIn(projectId, target))) pushToast("error", fill(t("ide_projects.open_failed"), { label }));
} catch (error) { pushToast("error", revealErrorMessage(error)); }
};
@@ -346,7 +349,7 @@ export function IdeProjectTree() {
await startIdeSession(
workspace.folder || project.path,
panes.map((pane) => ({ agent: pane.agent, ...(pane.account ? { account: pane.account } : {}) })),
- { projectId: project.id, name: `${workspace.name} copy` },
+ { projectId: project.id, name: fill(t("ide_projects.workspace_copy"), { workspace: workspace.name }) },
);
requestRefresh();
} catch (error) { pushToast("error", (error as Error).message); }
@@ -356,20 +359,20 @@ export function IdeProjectTree() {
const interruptAgents = async (workspace: ProjectWorkspace, panes: WorkspacePaneRow[]) => {
const results = await Promise.allSettled(panes.map((pane) => interruptTerminal(pane.key, workspace.id)));
const failed = results.filter((result) => result.status === "rejected").length;
- if (failed) pushToast("error", `${failed} of ${panes.length} agents could not be interrupted.`);
- else pushToast("success", `Interrupted ${panes.length} ${panes.length === 1 ? "agent" : "agents"}.`);
+ if (failed) pushToast("error", fill(t("ide_projects.interrupt_failed"), { failed, total: panes.length }));
+ else pushToast("success", fill(t(panes.length === 1 ? "ide_projects.interrupted_one" : "ide_projects.interrupted_other"), { count: panes.length }));
};
// A whole workspace to a connected computer (or back): one folder transfer,
// every pane's conversation carried, the agents then run there in tmux.
const computers = useComputerChoices();
const placeWorkspaceOn = async (workspace: ProjectWorkspace, computerId: string | null) => {
- const target = computerId ? (computers.find((c) => c.id === computerId)?.name ?? "the computer") : "this computer";
- pushToast("info", `Moving ${workspace.name} to ${target}. This can take a minute.`);
+ const target = computerId ? (computers.find((c) => c.id === computerId)?.name ?? t("ide_projects.the_computer")) : t("ide_projects.this_computer");
+ pushToast("info", fill(t("ide_projects.moving"), { workspace: workspace.name, target }));
try {
const { message } = await placeWorkspace(workspace.id, computerId);
window.dispatchEvent(new CustomEvent("jarvis:ide-panes-reconnect", { detail: { workspaceId: workspace.id } }));
- pushToast("success", `${workspace.name} now runs on ${target}. ${message}`.trim());
+ pushToast("success", `${fill(t("ide_projects.moved"), { workspace: workspace.name, target })} ${message}`.trim());
} catch (error) { pushToast("error", (error as Error).message); }
};
@@ -526,13 +529,13 @@ export function IdeProjectTree() {
}}
className={`group relative flex min-h-8 items-center rounded-md transition-colors hover:bg-muted ${active ? "text-foreground" : ""} ${soloSelected || soloPending ? "bg-muted" : ""} ${isProjectDragged ? "opacity-40" : ""} ${isProjectDropBefore ? "before:absolute before:-top-0.5 before:left-2 before:right-2 before:h-0.5 before:rounded-full before:bg-primary" : ""} ${isProjectDropAfter ? "after:absolute after:-bottom-0.5 after:left-2 after:right-2 after:h-0.5 after:rounded-full after:bg-primary" : ""} ${projectDraggable ? "cursor-grab active:cursor-grabbing" : ""} ${PANE_DROP_ACTIVE}`}>
{renamingId === project.id ? <form className="flex min-w-0 flex-1 items-center gap-1 px-2" onSubmit={(event) => { event.preventDefault(); const name = draftName.trim(); if (name && name !== project.name) void mutate(project, { name }); else setRenamingId(null); }}>
- <input autoFocus aria-label={`Rename ${project.name}`} value={draftName} maxLength={80} disabled={working}
+ <input autoFocus aria-label={fill(t("ide_projects.rename_named"), { target: project.name })} value={draftName} maxLength={80} disabled={working}
onChange={(event) => setDraftName(event.target.value)} onKeyDown={(event) => { if (event.key === "Escape") { event.stopPropagation(); setRenamingId(null); } }}
className="min-w-0 flex-1 rounded border border-input bg-background px-2 py-1 text-sm text-foreground outline-none focus:ring-2 focus:ring-ring" />
- <button type="submit" aria-label={`Save ${project.name}`} disabled={working || !draftName.trim()} className="rounded p-1 text-muted-foreground hover:text-foreground disabled:opacity-40"><Check className="h-4 w-4" /></button>
- <button type="button" aria-label={`Cancel renaming ${project.name}`} onClick={() => setRenamingId(null)} className="rounded p-1 text-muted-foreground hover:text-foreground"><X className="h-4 w-4" /></button>
+ <button type="submit" aria-label={fill(t("ide_projects.save_named"), { target: project.name })} disabled={working || !draftName.trim()} className="rounded p-1 text-muted-foreground hover:text-foreground disabled:opacity-40"><Check className="h-4 w-4" /></button>
+ <button type="button" aria-label={fill(t("ide_projects.cancel_rename_named"), { target: project.name })} onClick={() => setRenamingId(null)} className="rounded p-1 text-muted-foreground hover:text-foreground"><X className="h-4 w-4" /></button>
</form> : <>
- <button type="button" aria-label={solo ? `Open ${project.name}` : `${open ? "Collapse" : "Expand"} ${project.name}`}
+ <button type="button" aria-label={fill(t(solo ? "ide_projects.open_named" : open ? "ide_projects.collapse_named" : "ide_projects.expand_named"), { target: project.name })}
aria-expanded={solo ? undefined : open}
aria-current={soloSelected ? "page" : undefined} aria-busy={soloPending || undefined}
data-testid={solo ? `ide-workspace-${solo.id}` : undefined}
@@ -548,7 +551,7 @@ export function IdeProjectTree() {
if (!neighbour) return;
void moveProject(project.id, neighbour.id, event.key === "ArrowUp");
}}
- title={soloBlocked ? "This workspace cannot be restored on this machine" : `${project.name} — drag to reorder, or press Alt plus arrow keys to move`}
+ title={soloBlocked ? t("ide_projects.not_restorable") : fill(t("ide_projects.drag_hint"), { target: project.name })}
className={`flex min-h-8 min-w-0 flex-1 items-center gap-2.5 rounded-md px-2 text-left text-[15px] [@media(hover:none)]:pr-14 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-45 ${solo && solo.status !== "open" && !soloSelected && !soloPending ? "text-muted-foreground" : "text-foreground"}`}>
{/* The folder itself shows the fold: open while its rows show, closed when folded. */}
{soloPending
@@ -557,12 +560,12 @@ export function IdeProjectTree() {
? <FolderOpen aria-hidden className="h-4 w-4 shrink-0 text-muted-foreground" strokeWidth={1.75} />
: <Folder aria-hidden className="h-4 w-4 shrink-0 text-muted-foreground" strokeWidth={1.75} />}
<span className="min-w-0 flex-1 truncate">{project.name}</span>
- {soloPending && <span className="sr-only">Switching workspace</span>}
+ {soloPending && <span className="sr-only">{t("ide_projects.switching")}</span>}
{/* An open project's rows carry their own counts; the total only speaks for a folded one. */}
{count > 0 && (solo || !open) && <SessionCount count={count} hover="group" />}
</button>
<div className={`absolute inset-y-0 right-0 flex items-center rounded-r-md bg-gradient-to-l from-muted from-60% to-transparent pl-5 pr-1 transition-opacity ${projectMenuOpen ? "opacity-100" : "pointer-events-none opacity-0 group-hover:pointer-events-auto group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:opacity-100 [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100"}`} data-project-menu={project.id}>
- <button type="button" aria-label={`Project actions for ${project.name}`} title="Project actions" aria-haspopup="menu" aria-expanded={projectMenuOpen}
+ <button type="button" aria-label={fill(t("ide_projects.project_actions_for"), { target: project.name })} title={t("ide_projects.project_actions")} aria-haspopup="menu" aria-expanded={projectMenuOpen}
data-tree-menu-anchor
onClick={(event) => toggleAnchoredMenu(event, solo
? { kind: "workspace", projectId: project.id, workspaceId: solo.id }
@@ -570,7 +573,7 @@ export function IdeProjectTree() {
className={`rounded p-1 hover:bg-background/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${projectMenuOpen ? "bg-background/70 text-foreground" : "text-muted-foreground"}`}>
{working ? <Loader2 className="h-3.5 w-3.5 animate-spin" /> : <MoreHorizontal className="h-3.5 w-3.5" />}
</button>
- <button type="button" aria-label={`New workspace in ${project.name}`} title="New workspace" onClick={() => newWorkspace(project.id)}
+ <button type="button" aria-label={fill(t("ide_projects.new_workspace_in"), { project: project.name })} title={t("ide_projects.new_workspace")} onClick={() => newWorkspace(project.id)}
className="rounded p-1 text-muted-foreground hover:bg-background/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
<Plus className="h-3.5 w-3.5" />
</button>
@@ -632,7 +635,7 @@ export function IdeProjectTree() {
>
<input
autoFocus
- aria-label={`Rename ${workspace.name}`}
+ aria-label={fill(t("ide_projects.rename_named"), { target: workspace.name })}
value={draftWorkspaceName}
maxLength={80}
disabled={mutatingId === workspace.id}
@@ -647,7 +650,7 @@ export function IdeProjectTree() {
/>
<button
type="submit"
- aria-label={`Save ${workspace.name}`}
+ aria-label={fill(t("ide_projects.save_named"), { target: workspace.name })}
disabled={mutatingId === workspace.id || !draftWorkspaceName.trim()}
className="rounded p-1 text-muted-foreground hover:text-foreground disabled:opacity-40"
>
@@ -655,7 +658,7 @@ export function IdeProjectTree() {
</button>
<button
type="button"
- aria-label={`Cancel renaming ${workspace.name}`}
+ aria-label={fill(t("ide_projects.cancel_rename_named"), { target: workspace.name })}
onClick={() => setRenamingWorkspaceId(null)}
className="rounded p-1 text-muted-foreground hover:text-foreground"
>
@@ -666,7 +669,7 @@ export function IdeProjectTree() {
<>
<button type="button" data-testid={`ide-workspace-${workspace.id}`}
aria-current={selected ? "page" : undefined} aria-busy={pending || undefined}
- title={workspace.status === "closed" && !workspace.restorable ? "This workspace cannot be restored on this machine" : workspace.status === "open" ? `${workspace.name} — drag to reorder, or press Alt plus arrow keys to move` : undefined}
+ title={workspace.status === "closed" && !workspace.restorable ? t("ide_projects.not_restorable") : workspace.status === "open" ? fill(t("ide_projects.drag_hint"), { target: workspace.name }) : undefined}
disabled={workspace.status === "closed" && !workspace.restorable}
onClick={() => activateWorkspace(workspace.id)}
onKeyDown={(event) => {
@@ -684,7 +687,7 @@ export function IdeProjectTree() {
<span className="min-w-0 flex-1 truncate">{workspace.name}</span>
{pending ? <Loader2 aria-hidden className="h-3 w-3 shrink-0 animate-spin text-muted-foreground" />
: workspace.terminals > 0 && <SessionCount count={workspace.terminals} hover="group/space" />}
- {pending && <span className="sr-only">Switching workspace</span>}
+ {pending && <span className="sr-only">{t("ide_projects.switching")}</span>}
</button>
{(() => {
const spaceMenuOpen = contextMenu?.kind === "workspace" && contextMenu.workspaceId === workspace.id;
@@ -695,7 +698,7 @@ export function IdeProjectTree() {
const reveal = pending && !spaceMenuOpen
? "pointer-events-none opacity-0"
: `focus-visible:opacity-100 group-hover/space:opacity-100 group-focus-within/space:opacity-100 [@media(hover:none)]:opacity-100 ${spaceMenuOpen ? "bg-background/70 text-foreground opacity-100" : "opacity-0"}`;
- return <button type="button" aria-label={`Workspace actions for ${workspace.name}`} title="Workspace actions"
+ return <button type="button" aria-label={fill(t("ide_projects.workspace_actions_for"), { target: workspace.name })} title={t("ide_projects.workspace_actions")}
aria-haspopup="menu" aria-expanded={spaceMenuOpen} data-tree-menu-anchor
tabIndex={pending && !spaceMenuOpen ? -1 : undefined}
onClick={(event) => toggleAnchoredMenu(event, { kind: "workspace", projectId: project.id, workspaceId: workspace.id })}
@@ -707,7 +710,7 @@ export function IdeProjectTree() {
)}
</div>;
})}
- {project.workspaces.length === 0 && <button type="button" onClick={() => newWorkspace(project.id)} className="px-2 py-1.5 text-left text-[13px] text-muted-foreground hover:text-foreground">Create workspace</button>}
+ {project.workspaces.length === 0 && <button type="button" onClick={() => newWorkspace(project.id)} className="px-2 py-1.5 text-left text-[13px] text-muted-foreground hover:text-foreground">{t("ide_projects.create_workspace")}</button>}
</div>}
</div>;
};
@@ -721,33 +724,33 @@ export function IdeProjectTree() {
const items: TreeMenuItem[] = found.editors.map((editor) => {
const installed = editor.installed !== false;
return {
- id: `editor-${editor.id}`, label: `Open in ${editor.label}`, icon: SquareCode, image: EDITOR_LOGOS[editor.id],
- testId: `ide-${scope}-menu-editor-${editor.id}`, disabled: !installed, hint: installed ? undefined : "Not installed",
+ id: `editor-${editor.id}`, label: fill(t("ide_projects.open_in"), { editor: editor.label }), icon: SquareCode, image: EDITOR_LOGOS[editor.id],
+ testId: `ide-${scope}-menu-editor-${editor.id}`, disabled: !installed, hint: installed ? undefined : t("ide_projects.not_installed"),
onSelect: run(() => void openIn(project.id, editor.id, editor.label)),
};
});
if (scope === "project" && found.file_manager) {
- items.push({ id: "reveal", label: FILE_MANAGER_LABEL, icon: FolderOpen, testId: "ide-project-menu-reveal", onSelect: run(() => void revealFolder(project.id)) });
+ items.push({ id: "reveal", label: t(FILE_MANAGER_LABEL), icon: FolderOpen, testId: "ide-project-menu-reveal", onSelect: run(() => void revealFolder(project.id)) });
}
if (scope === "project" && found.remote_url) {
- items.push({ id: "remote", label: `Open on ${found.remote_label ?? "the web"}`, icon: Globe, testId: "ide-project-menu-remote", onSelect: run(() => void openIn(project.id, "remote", found.remote_label ?? "the web page")) });
+ items.push({ id: "remote", label: fill(t("ide_projects.open_on"), { target: found.remote_label ?? t("ide_projects.the_web") }), icon: Globe, testId: "ide-project-menu-remote", onSelect: run(() => void openIn(project.id, "remote", found.remote_label ?? t("ide_projects.the_web_page"))) });
}
return items;
};
const projectMenuSections = (project: IdeProject): TreeMenuItem[][] => [
[
- { id: "new", label: "New workspace", icon: FolderPlus, testId: "ide-project-menu-new", onSelect: run(() => newWorkspace(project.id)) },
- { id: "new-worktree", label: "New workspace in a worktree", icon: FolderGit2, testId: "ide-project-menu-new-worktree",
- hint: "Own folder and branch for its agents", onSelect: run(() => newWorkspace(project.id, { worktree: true })) },
+ { id: "new", label: t("ide_projects.new_workspace"), icon: FolderPlus, testId: "ide-project-menu-new", onSelect: run(() => newWorkspace(project.id)) },
+ { id: "new-worktree", label: t("ide_projects.new_worktree"), icon: FolderGit2, testId: "ide-project-menu-new-worktree",
+ hint: t("ide_projects.new_worktree_hint"), onSelect: run(() => newWorkspace(project.id, { worktree: true })) },
...launcherItems(project, "project"),
],
[
- { id: "rename", label: "Rename project", icon: Pencil, testId: "ide-project-menu-rename", onSelect: run(() => { setDraftName(project.name); setRenamingId(project.id); }) },
- { id: "pin", label: project.pinned ? "Unpin project" : "Pin project", icon: project.pinned ? PinOff : Pin, testId: "ide-project-menu-pin", onSelect: run(() => void mutate(project, { pinned: !project.pinned })) },
+ { id: "rename", label: t("ide_projects.rename_project"), icon: Pencil, testId: "ide-project-menu-rename", onSelect: run(() => { setDraftName(project.name); setRenamingId(project.id); }) },
+ { id: "pin", label: project.pinned ? t("ide_projects.unpin_project") : t("ide_projects.pin_project"), icon: project.pinned ? PinOff : Pin, testId: "ide-project-menu-pin", onSelect: run(() => void mutate(project, { pinned: !project.pinned })) },
],
[
- { id: "delete", label: "Delete project", icon: Trash2, testId: "ide-project-menu-delete", destructive: true, onSelect: run(() => setConfirmProject(project.id)) },
+ { id: "delete", label: t("ide_projects.delete_project"), icon: Trash2, testId: "ide-project-menu-delete", destructive: true, onSelect: run(() => setConfirmProject(project.id)) },
],
];
@@ -756,41 +759,41 @@ export function IdeProjectTree() {
const panes = menuPanes ?? [];
const busy = panes.filter((pane) => pane.activity === "working" || pane.activity === "asking");
const agentActions: TreeMenuItem[] = isOpen ? [
- { id: "add", label: "Add another agent", icon: Plus, testId: "ide-workspace-menu-add", onSelect: run(() => void addAgent(workspace)) },
- { id: "duplicate", label: "Duplicate workspace", icon: CopyPlus, testId: "ide-workspace-menu-duplicate", disabled: panes.length === 0,
- hint: panes.length ? `Starts ${panes.length} fresh ${panes.length === 1 ? "agent" : "agents"}` : undefined,
+ { id: "add", label: t("ide_projects.add_agent"), icon: Plus, testId: "ide-workspace-menu-add", onSelect: run(() => void addAgent(workspace)) },
+ { id: "duplicate", label: t("ide_projects.duplicate"), icon: CopyPlus, testId: "ide-workspace-menu-duplicate", disabled: panes.length === 0,
+ hint: panes.length ? fill(t(panes.length === 1 ? "ide_projects.duplicate_hint_one" : "ide_projects.duplicate_hint_other"), { count: panes.length }) : undefined,
onSelect: run(() => void duplicateWorkspace(project, workspace, panes)) },
- ...(busy.length ? [{ id: "interrupt", label: `Interrupt ${busy.length} working ${busy.length === 1 ? "agent" : "agents"}`, icon: OctagonPause,
- testId: "ide-workspace-menu-interrupt", hint: "Stops the current task, keeps the chat", onSelect: run(() => void interruptAgents(workspace, busy)) }] : []),
+ ...(busy.length ? [{ id: "interrupt", label: fill(t(busy.length === 1 ? "ide_projects.interrupt_one" : "ide_projects.interrupt_other"), { count: busy.length }), icon: OctagonPause,
+ testId: "ide-workspace-menu-interrupt", hint: t("ide_projects.interrupt_hint"), onSelect: run(() => void interruptAgents(workspace, busy)) }] : []),
] : [
- { id: "reopen", label: "Reopen workspace", icon: ArrowUpRight, testId: "ide-workspace-menu-open", disabled: !workspace.restorable,
- hint: workspace.restorable ? undefined : "Its folder is not reachable",
+ { id: "reopen", label: t("ide_projects.reopen"), icon: ArrowUpRight, testId: "ide-workspace-menu-open", disabled: !workspace.restorable,
+ hint: workspace.restorable ? undefined : t("ide_projects.reopen_unreachable"),
onSelect: run(() => { activateWorkspace(workspace.id); setProjectOpen(project.id, true); }) },
];
return [
agentActions,
[
...launcherItems(project, "workspace"),
- { id: "copy", label: "Copy folder path", icon: Copy, testId: "ide-workspace-menu-copy", onSelect: run(() => void copyPath(workspace.folder || project.path)) },
+ { id: "copy", label: t("ide_projects.copy_path"), icon: Copy, testId: "ide-workspace-menu-copy", onSelect: run(() => void copyPath(workspace.folder || project.path)) },
],
isOpen ? [
...computers.filter((computer) => computer.health.status !== "provisioning").map((computer) => ({
- id: `place-${computer.id}`, label: `Move workspace to ${computer.name}`, icon: Server,
- testId: `ide-workspace-menu-place-${computer.id}`, hint: "Keeps running while this PC is off",
+ id: `place-${computer.id}`, label: fill(t("ide_projects.move_to"), { computer: computer.name }), icon: Server,
+ testId: `ide-workspace-menu-place-${computer.id}`, hint: t("ide_projects.move_hint"),
onSelect: run(() => void placeWorkspaceOn(workspace, computer.id)) })),
- ...(computers.length ? [{ id: "place-home", label: "Bring workspace back here", icon: ArrowUpRight,
+ ...(computers.length ? [{ id: "place-home", label: t("ide_projects.bring_back"), icon: ArrowUpRight,
testId: "ide-workspace-menu-place-home", onSelect: run(() => void placeWorkspaceOn(workspace, null)) }] : []),
] : [],
isOpen ? [
- { id: "git", label: "Git", icon: GitBranch, testId: "ide-workspace-menu-git", hint: "Commit, push, pull request, worktrees",
+ { id: "git", label: "Git", icon: GitBranch, testId: "ide-workspace-menu-git", hint: t("ide_projects.git_hint"),
onSelect: run(() => openGitPanel(workspace.id)) },
] : [],
isOpen ? [
- { id: "rename", label: "Rename workspace", icon: Pencil, testId: "ide-workspace-menu-rename",
+ { id: "rename", label: t("ide_projects.rename_workspace"), icon: Pencil, testId: "ide-workspace-menu-rename",
onSelect: run(() => { setDraftWorkspaceName(workspace.name); setRenamingWorkspaceId(workspace.id); setProjectOpen(project.id, true); }) },
] : [],
[
- { id: "remove", label: "Remove workspace", icon: Trash2, testId: "ide-workspace-menu-close", destructive: true,
+ { id: "remove", label: t("ide_projects.remove_workspace"), icon: Trash2, testId: "ide-workspace-menu-close", destructive: true,
onSelect: run(() => setConfirmWorkspace({ projectId: project.id, workspaceId: workspace.id })) },
],
];
@@ -805,7 +808,7 @@ export function IdeProjectTree() {
const [projectCreate, projectMeta, projectDelete] = projectMenuSections(project);
return [
agentActions,
- [...projectCreate, { id: "copy", label: "Copy folder path", icon: Copy, testId: "ide-workspace-menu-copy", onSelect: run(() => void copyPath(workspace.folder || project.path)) }],
+ [...projectCreate, { id: "copy", label: t("ide_projects.copy_path"), icon: Copy, testId: "ide-workspace-menu-copy", onSelect: run(() => void copyPath(workspace.folder || project.path)) }],
place,
git,
projectMeta,
@@ -827,21 +830,21 @@ export function IdeProjectTree() {
return <div data-testid="ide-project-tree" className="flex-1 px-2 pb-3 pt-2">
<div className="flex h-8 items-center justify-between pl-2 pr-1 text-[15px] font-semibold text-foreground">
- <span>Workspaces</span>
+ <span>{t("ide_projects.workspaces")}</span>
<div className="flex items-center gap-0.5">
<button type="button" aria-label="Dodaios Live" title="Dodaios Live" onClick={toggleVoice}
className="rounded-md p-1.5 text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><Mic className="h-3.5 w-3.5" /></button>
- <button type="button" aria-label="Connect project" title="Connect project folder" onClick={connectProject}
+ <button type="button" aria-label={t("ide_projects.connect_title")} title={t("ide_projects.connect_folder_title")} onClick={connectProject}
className="rounded-md p-1.5 text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><Plus className="h-3.5 w-3.5" /></button>
</div>
</div>
{visible.some((project) => project.pinned) && <>
- <div className="px-2 pb-1 pt-3 text-[13px] font-medium text-muted-foreground/80">Pinned</div>
+ <div className="px-2 pb-1 pt-3 text-[13px] font-medium text-muted-foreground/80">{t("ide_projects.pinned")}</div>
{visible.filter((project) => project.pinned).map(projectRow)}
- {visible.some((project) => !project.pinned) && <div className="px-2 pb-1 pt-4 text-[13px] font-medium text-muted-foreground/80">Other projects</div>}
+ {visible.some((project) => !project.pinned) && <div className="px-2 pb-1 pt-4 text-[13px] font-medium text-muted-foreground/80">{t("ide_projects.other_projects")}</div>}
</>}
{visible.filter((project) => !project.pinned).map(projectRow)}
- {visible.length === 0 && <p className="px-2 py-2 text-[13px] text-muted-foreground">Connect a folder to start a project.</p>}
+ {visible.length === 0 && <p className="px-2 py-2 text-[13px] text-muted-foreground">{t("ide_projects.empty")}</p>}
{contextMenu && menuProject && (
<TreeContextMenu
x={contextMenu.x}
@@ -859,11 +862,11 @@ export function IdeProjectTree() {
)}
{confirmWorkspaceTarget && (
<ConfirmTreeAction
- title={`Remove ${confirmWorkspaceTarget.workspace.name}?`}
+ title={fill(t("ide_projects.remove_title"), { workspace: confirmWorkspaceTarget.workspace.name })}
body={confirmWorkspaceTarget.workspace.status === "open"
- ? `Its ${confirmWorkspaceTarget.workspace.terminals} coding ${confirmWorkspaceTarget.workspace.terminals === 1 ? "agent" : "agents"} will stop and the workspace leaves the sidebar. The folder on disk and its chats stay untouched.`
- : "The workspace leaves the sidebar. The folder on disk and its chats stay untouched."}
- confirmLabel={confirmBusy ? "Removing…" : `Remove ${confirmWorkspaceTarget.workspace.name}`}
+ ? fill(t(confirmWorkspaceTarget.workspace.terminals === 1 ? "ide_projects.remove_body_one" : "ide_projects.remove_body_other"), { count: confirmWorkspaceTarget.workspace.terminals })
+ : t("ide_projects.remove_body_closed")}
+ confirmLabel={confirmBusy ? t("ide_projects.removing") : fill(t("ide_projects.remove_named"), { workspace: confirmWorkspaceTarget.workspace.name })}
busy={confirmBusy}
testId="ide-workspace-confirm-close"
onCancel={() => {
@@ -874,16 +877,19 @@ export function IdeProjectTree() {
)}
{confirmProjectTarget && (
<ConfirmTreeAction
- title={`Delete ${confirmProjectTarget.name}?`}
+ title={fill(t("ide_projects.delete_title"), { project: confirmProjectTarget.name })}
body={(() => {
const openSpaces = confirmProjectTarget.workspaces.filter((workspace) => workspace.status === "open");
if (openSpaces.length === 0) {
- return `This forgets the project and its chats. The folders on disk stay untouched.`;
+ return t("ide_projects.delete_body_idle");
}
const agents = openSpaces.reduce((total, workspace) => total + workspace.terminals, 0);
- return `This stops ${agents} running ${agents === 1 ? "agent" : "agents"} in ${openSpaces.length} open ${openSpaces.length === 1 ? "workspace" : "workspaces"} and forgets the project and its chats. The folders on disk stay untouched.`;
+ return fill(t("ide_projects.delete_body"), {
+ agents: fill(t(agents === 1 ? "ide_projects.running_agents_one" : "ide_projects.running_agents_other"), { count: agents }),
+ workspaces: fill(t(openSpaces.length === 1 ? "ide_projects.open_workspaces_one" : "ide_projects.open_workspaces_other"), { count: openSpaces.length }),
+ });
})()}
- confirmLabel={confirmBusy ? "Deleting…" : `Delete ${confirmProjectTarget.name}`}
+ confirmLabel={confirmBusy ? t("ide_projects.deleting") : fill(t("ide_projects.delete_named"), { project: confirmProjectTarget.name })}
busy={confirmBusy}
testId="ide-project-confirm-delete"
onCancel={() => {
@@ -897,12 +903,12 @@ export function IdeProjectTree() {
const TREE_MENU_WIDTH = 240;
-/** What the OS calls its file manager, for the "show the folder" item. */
+/** What the OS calls its file manager, for the "show the folder" item (a locale key). */
const FILE_MANAGER_LABEL = (() => {
const platform = typeof navigator === "undefined" ? "" : navigator.userAgent;
- if (/Windows/i.test(platform)) return "Show in Explorer";
- if (/Mac OS X|Macintosh/i.test(platform)) return "Show in Finder";
- return "Show in file manager";
+ if (/Windows/i.test(platform)) return "ide_projects.show_in_explorer";
+ if (/Mac OS X|Macintosh/i.test(platform)) return "ide_projects.show_in_finder";
+ return "ide_projects.show_in_file_manager";
})();
const TREE_MENU_MARGIN = 8;
/** Each featured editor's own app icon, in its real colours. */
@@ -945,6 +951,7 @@ function TreeContextMenu({
busy: boolean;
sections: TreeMenuItem[][];
}) {
+ const t = useT();
const menuRef = useRef<HTMLDivElement | null>(null);
useEffect(() => {
@@ -1007,7 +1014,7 @@ function TreeContextMenu({
<div
ref={menuRef}
role="menu"
- aria-label={`${kind === "workspace" ? "Workspace" : "Project"} actions for ${label}`}
+ aria-label={fill(t(kind === "workspace" ? "ide_projects.workspace_actions_for" : "ide_projects.project_actions_for"), { target: label })}
data-testid={kind === "workspace" ? "ide-workspace-menu" : "ide-project-menu"}
onKeyDown={onMenuKeyDown}
style={{ width: TREE_MENU_WIDTH, visibility: "hidden" }}
@@ -1070,6 +1077,7 @@ function ConfirmTreeAction({
onCancel: () => void;
onConfirm: () => void;
}) {
+ const t = useT();
return createPortal(
<div
role="dialog"
@@ -1095,7 +1103,7 @@ function ConfirmTreeAction({
disabled={busy}
onClick={onCancel}
>
- Keep
+ {t("ide_projects.keep")}
</button>
<button
type="button"
diff --git a/jarvis/ui/web/frontend/src/components/agentic/MovePaneDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/MovePaneDialog.tsx
index ca95653aa9..c23e30cfdd 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/MovePaneDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/MovePaneDialog.tsx
@@ -6,6 +6,7 @@ import { treeLayout } from "./treeLayout";
import { workspaceLayout } from "./workspaceDocking";
import { fetchWorkspaceLayout, type TransferPlacement, type TransferSide, type WorkspaceLayoutView } from "@/lib/agenticIdeApi";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
/** The pane being moved and the open workspace it goes to. */
export interface MovePaneRequest {
@@ -28,14 +29,13 @@ type MapPane = WorkspaceLayoutView["terminals"][number];
* pointer is the one that lights up, the same rule the grid's own drag uses.
* Clipped buttons hit-test by their shape, so the whole tile is the target.
*/
-const SIDES: { side: TransferSide; words: string; clip: string; key: string }[] = [
- { side: "left", words: "left of", clip: "polygon(0 0, 50% 50%, 0 100%)", key: "ArrowLeft" },
- { side: "right", words: "right of", clip: "polygon(100% 0, 100% 100%, 50% 50%)", key: "ArrowRight" },
- { side: "above", words: "above", clip: "polygon(0 0, 100% 0, 50% 50%)", key: "ArrowUp" },
- { side: "below", words: "below", clip: "polygon(0 100%, 50% 50%, 100% 100%)", key: "ArrowDown" },
+const SIDES: { side: TransferSide; clip: string; key: string }[] = [
+ { side: "left", clip: "polygon(0 0, 50% 50%, 0 100%)", key: "ArrowLeft" },
+ { side: "right", clip: "polygon(100% 0, 100% 100%, 50% 50%)", key: "ArrowRight" },
+ { side: "above", clip: "polygon(0 0, 100% 0, 50% 50%)", key: "ArrowUp" },
+ { side: "below", clip: "polygon(0 100%, 50% 50%, 100% 100%)", key: "ArrowDown" },
];
const anchorOf = (pane: MapPane) => pane.history_id ? `pane:${pane.history_id}` : pane.name;
-const capital = (text: string) => text.charAt(0).toUpperCase() + text.slice(1);
/** A pane on the map, drawn like the real one: a title row over its task. */
function MiniPane({ pane, dimmed = false }: { pane: MapPane; dimmed?: boolean }) {
@@ -50,6 +50,7 @@ function MiniPane({ pane, dimmed = false }: { pane: MapPane; dimmed?: boolean })
/** Where the moved pane would sit: its own mark in the accent, or "no room". */
function Ghost({ request, chosen, allowed, children }: { request: MovePaneRequest; chosen: boolean; allowed: boolean; children?: ReactNode }) {
+ const t = useT();
return <div className={cn(
"flex h-full min-h-0 w-full min-w-0 flex-col items-center justify-center gap-1 rounded-lg border-2 px-2 text-center",
!allowed ? "border-dashed border-destructive/50 bg-destructive/5 text-destructive"
@@ -59,7 +60,7 @@ function Ghost({ request, chosen, allowed, children }: { request: MovePaneReques
{chosen && <Check className="h-3.5 w-3.5 shrink-0" aria-hidden />}
<AgentMark agent={request.pane.agent} label={request.pane.displayName} variant="plain" size="sm" />
<span className="truncate">{request.pane.name}</span>
- </span> : <span className="text-[11px] font-medium">No room</span>}
+ </span> : <span className="text-[11px] font-medium">{t("ide_panes.move.no_room")}</span>}
{children}
</div>;
}
@@ -75,6 +76,7 @@ function Ghost({ request, chosen, allowed, children }: { request: MovePaneReques
* keeps the quick path. Arrow keys pick a side of the focused pane.
*/
export function MovePaneDialog({ request, busy, onCancel, onConfirm }: Props) {
+ const t = useT();
const [view, setView] = useState<WorkspaceLayoutView | null>(null);
const [loadError, setLoadError] = useState("");
const [choice, setChoice] = useState<TransferPlacement | null>(null);
@@ -123,12 +125,11 @@ export function MovePaneDialog({ request, busy, onCancel, onConfirm }: Props) {
const summary = (() => {
if (!view) return "";
- if (!panes.length) return `${targetName} is empty, so ${paneName} fills it.`;
- if (!shown) return `${paneName} joins ${targetName}, and every pane gets an even share.`;
+ if (!panes.length) return fill(t("ide_panes.move.summary_empty"), { workspace: targetName, pane: paneName });
+ if (!shown) return fill(t("ide_panes.move.summary_even"), { workspace: targetName, pane: paneName });
const pane = panes.find((entry) => anchorOf(entry) === shown.anchor);
- const words = SIDES.find((entry) => entry.side === shown.side)?.words ?? shown.side;
if (!pane) return "";
- return `${capital(words)} ${pane.name}: ${paneName} takes half of its space.`;
+ return fill(t(`ide_panes.move.summary_${shown.side}`), { anchor: pane.name, pane: paneName });
})();
const submit = () => { if (!busy && view) onConfirm(choice); };
@@ -143,9 +144,9 @@ export function MovePaneDialog({ request, busy, onCancel, onConfirm }: Props) {
<FolderInput className="h-[18px] w-[18px]" aria-hidden />
</div>
<div className="min-w-0 flex-1">
- <Dialog.Title className="truncate text-base font-semibold">Move {paneName} to {targetName}</Dialog.Title>
+ <Dialog.Title className="truncate text-base font-semibold">{fill(t("ide_panes.move.title"), { pane: paneName, workspace: targetName })}</Dialog.Title>
<Dialog.Description className="mt-1.5 text-sm leading-relaxed text-muted-foreground">
- Point at a pane and click the side it should go on. The agent keeps running.
+ {t("ide_panes.move.description")}
</Dialog.Description>
</div>
</div>
@@ -154,9 +155,9 @@ export function MovePaneDialog({ request, busy, onCancel, onConfirm }: Props) {
onMouseLeave={() => setHover(null)}>
<div data-testid="move-pane-map" className="relative h-full w-full">
{!view && !loadError && <div className="flex h-full items-center justify-center gap-2 text-xs text-muted-foreground">
- <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden />Loading {targetName}…</div>}
+ <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden />{fill(t("ide_panes.move.loading"), { workspace: targetName })}</div>}
{view && panes.length === 0 && request && <div className="h-full p-0.5"><Ghost request={request} chosen allowed>
- <span className="text-[11px] text-primary/80">Fills the empty workspace</span></Ghost></div>}
+ <span className="text-[11px] text-primary/80">{t("ide_panes.move.fills_empty")}</span></Ghost></div>}
{request && panes.map((pane, index) => {
const box = boxes[index];
if (!box) return null;
@@ -170,19 +171,19 @@ export function MovePaneDialog({ request, busy, onCancel, onConfirm }: Props) {
: [<MiniPane key="pane" pane={pane} />];
if (ghostFirst) parts.reverse();
return <div key={pane.key} data-testid={`move-pane-tile-${pane.name}`} data-lit={lit ?? undefined}
- tabIndex={0} role="group" aria-label={`${pane.name}. Arrow keys choose the side ${paneName} goes on.`}
+ tabIndex={0} role="group" aria-label={fill(t("ide_panes.move.tile_aria"), { anchor: pane.name, pane: paneName })}
onKeyDown={(event) => onTileKey(event, pane)}
className="absolute rounded-xl p-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
style={{ left: `${box.x * 100}%`, top: `${box.y * 100}%`, width: `${box.w * 100}%`, height: `${box.h * 100}%` }}>
<div className={cn("flex h-full w-full gap-1", horizontal ? "flex-row" : "flex-col")}>
{parts.map((part) => <div key={part.key} className="min-h-0 min-w-0 flex-1">{part}</div>)}
</div>
- {SIDES.map(({ side, words, clip }) => {
+ {SIDES.map(({ side, clip }) => {
const allowed = fits(pane, side);
return <button key={side} type="button" tabIndex={-1} aria-disabled={!allowed || busy}
aria-pressed={choice?.anchor === anchor && choice.side === side}
data-testid={`move-pane-${pane.name}-${side}`}
- aria-label={`Place ${paneName} ${words} ${pane.name}`}
+ aria-label={fill(t(`ide_panes.move.place_${side}`), { anchor: pane.name, pane: paneName })}
onMouseEnter={() => setHover({ anchor, side })}
onClick={() => pick(pane, side)}
style={{ clipPath: clip }}
@@ -201,11 +202,11 @@ export function MovePaneDialog({ request, busy, onCancel, onConfirm }: Props) {
<div className="mt-4 flex items-center justify-end gap-2">
<button type="button" disabled={busy} onClick={onCancel}
className="rounded-lg border border-border px-3.5 py-2 text-sm font-medium hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40">
- Cancel</button>
+ {t("common.cancel")}</button>
<button type="submit" data-testid="move-pane-confirm" disabled={busy || !view}
className="flex items-center gap-1.5 rounded-lg bg-primary px-3.5 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-popover disabled:opacity-50">
{busy && <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden />}
- Move to {targetName}</button>
+ {fill(t("ide_panes.move.confirm"), { workspace: targetName })}</button>
</div>
</form>
</Dialog.Content>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
index c49144f652..f5bc49cd14 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
@@ -1,5 +1,6 @@
import { AlertCircle, Check, Loader2 } from "lucide-react";
import { cn } from "@/lib/utils";
+import { fill, translate, useT } from "@/i18n";
import type { PaneActivity } from "@/lib/agenticIdeApi";
/** Task lifecycle supplied by the backend. Silence alone never means done. */
@@ -28,7 +29,8 @@ export type PaneActivityState =
/** The accessible meaning of each activity, and how its icon is drawn. */
type Look = {
state: PaneActivityState;
- label: string;
+ /** i18n key of the state's word. */
+ labelKey: string;
className: string;
icon: "spinner" | "dot" | "ring" | "alert" | "beacon" | "check";
/**
@@ -38,7 +40,7 @@ type Look = {
*/
glow?: boolean;
/** The sentence behind the badge, minus the timing clause. */
- hint: string;
+ hintKey: string;
};
/**
@@ -52,32 +54,32 @@ type Look = {
*/
const LOOK: Record<Exclude<PaneActivity, "" | "waiting">, Look> = {
stopped: {
- state: "stopped", label: "stopped", className: "text-muted-foreground",
- icon: "ring", hint: "The task was interrupted.",
+ state: "stopped", labelKey: "ide_panes.activity.label.stopped", className: "text-muted-foreground",
+ icon: "ring", hintKey: "ide_panes.activity.hint.interrupted",
},
unknown: {
- state: "unknown", label: "status unknown", className: "text-muted-foreground",
- icon: "ring", hint: "No verified task status is available.",
+ state: "unknown", labelKey: "ide_panes.activity.label.status_unknown", className: "text-muted-foreground",
+ icon: "ring", hintKey: "ide_panes.activity.hint.unknown",
},
working: {
state: "working",
- label: "working",
+ labelKey: "ide_panes.activity.label.working",
// Life. A status is never --foreground: ink is the colour of everything
// that is NOT a signal, so a state painted in it reads as a label.
className: "text-accent",
icon: "spinner",
- hint: "Working — the task is still in progress.",
+ hintKey: "ide_panes.activity.hint.working",
},
starting: {
state: "starting",
- label: "starting",
+ labelKey: "ide_panes.activity.label.starting",
className: "text-muted-foreground",
icon: "spinner",
- hint: "Starting up. Its agent has not taken the pane yet.",
+ hintKey: "ide_panes.activity.hint.starting",
},
asking: {
state: "asking",
- label: "needs you",
+ labelKey: "ide_panes.activity.label.needs_you",
// Degraded — the pane is stalled until somebody answers it. It used to be
// a Tailwind sky blue, which is a literal colour and a fourth hue in a
// palette that has exactly three.
@@ -90,31 +92,31 @@ const LOOK: Record<Exclude<PaneActivity, "" | "waiting">, Look> = {
* now, so it is the single one allowed to wave.
*/
icon: "beacon",
- hint: "Stopped with a question on screen. It is waiting for your answer.",
+ hintKey: "ide_panes.activity.hint.asking",
},
exited: {
state: "exited",
- label: "exited",
+ labelKey: "ide_panes.activity.label.exited",
className: "text-muted-foreground",
icon: "dot",
- hint: "Its process is gone.",
+ hintKey: "ide_panes.activity.hint.exited",
},
failed: {
state: "failed",
- label: "failed",
+ labelKey: "ide_panes.activity.label.failed",
className: "text-destructive",
icon: "alert",
- hint: "Its agent could not be started.",
+ hintKey: "ide_panes.activity.hint.failed",
},
};
const DONE: Look = {
state: "done",
- label: "done",
+ labelKey: "ide_panes.activity.label.done",
className: "text-accent",
icon: "check",
glow: true,
- hint: "Finished and waiting at its prompt. That it stopped, not that the work is right.",
+ hintKey: "ide_panes.activity.hint.done",
};
/**
@@ -127,35 +129,35 @@ const DONE: Look = {
*/
const IDLE: Look = {
state: "idle",
- label: "idle",
+ labelKey: "ide_panes.activity.label.idle",
className: "text-accent",
icon: "ring",
- hint: "Waiting at its prompt. Nothing has been sent to it yet.",
+ hintKey: "ide_panes.activity.hint.idle",
};
/** The pipe, for the three cases where the pipe is the news. */
const CONNECTING: Look = {
state: "starting",
- label: "starting",
+ labelKey: "ide_panes.activity.label.starting",
className: "text-muted-foreground",
icon: "spinner",
- hint: "Connecting to the pane.",
+ hintKey: "ide_panes.activity.hint.connecting",
};
const EXITED: Look = {
state: "exited",
- label: "exited",
+ labelKey: "ide_panes.activity.label.exited",
className: "text-muted-foreground",
icon: "dot",
- hint: "Its process is gone.",
+ hintKey: "ide_panes.activity.hint.exited",
};
const BROKEN: Look = {
state: "error",
- label: "error",
+ labelKey: "ide_panes.activity.label.error",
className: "text-destructive",
icon: "alert",
- hint: "This pane could not be reached.",
+ hintKey: "ide_panes.activity.hint.error",
};
/**
@@ -170,10 +172,10 @@ const BROKEN: Look = {
*/
const CONNECTED: Look = {
state: "live",
- label: "live",
+ labelKey: "ide_panes.activity.label.live",
className: "text-muted-foreground",
icon: "ring",
- hint: "Connected.",
+ hintKey: "ide_panes.activity.hint.connected",
};
function lookFor(
@@ -207,7 +209,7 @@ export function paneActivityLabel(
activity: PaneActivity = "",
worked = false,
): string {
- return lookFor(status, activity, worked).label;
+ return translate(lookFor(status, activity, worked).labelKey);
}
/**
@@ -235,11 +237,13 @@ export function paneActivityState(
*/
export function durationLabel(since: number, now: number): string {
const seconds = Math.max(0, Math.round(now / 1000 - since));
- if (seconds < 60) return `${seconds}s`;
+ if (seconds < 60) return fill(translate("ide_panes.activity.duration_seconds"), { count: seconds });
const minutes = Math.round(seconds / 60);
- if (minutes < 60) return `${minutes} min`;
+ if (minutes < 60) return fill(translate("ide_panes.activity.duration_minutes"), { count: minutes });
const hours = Math.round(minutes / 60);
- return hours === 1 ? "1 hour" : `${hours} hours`;
+ return hours === 1
+ ? translate("ide_panes.activity.duration_hour_one")
+ : fill(translate("ide_panes.activity.duration_hours_other"), { count: hours });
}
/**
@@ -313,12 +317,17 @@ export function PaneActivityPill({
/** Injectable clock, in milliseconds — the tests do not race the wall. */
now?: number;
}) {
+ const t = useT();
const look = lookFor(status, activity, worked);
// How long it has been in this state, when the backend knows. Only in the
// tooltip: the badge itself sits in a 64-pixel column beside a call-sign, and
// a number that changes every second there is movement without information.
const elapsed = since > 0 ? durationLabel(since, now ?? Date.now()) : "";
- const title = [look.hint, elapsed && `For ${elapsed}.`, detail]
+ const title = [
+ t(look.hintKey),
+ elapsed && fill(t("ide_panes.activity.for_elapsed"), { elapsed }),
+ detail,
+ ]
.filter(Boolean)
.join(" ");
return (
@@ -331,7 +340,7 @@ export function PaneActivityPill({
look.className,
)}
title={title}
- aria-label={`${look.label}. ${title}`}
+ aria-label={`${t(look.labelKey)}. ${title}`}
>
{/* Keyed by the shape it is changing TO, so a state change replaces the
icon and plays one short zoom-in — the flip from spinner to dot is
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsx
index c31c5c5094..5ba2ce052f 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsx
@@ -6,6 +6,7 @@ import { useCodeEditorStore } from "@/store/codeEditor";
import en from "@/i18n/locales/pane_review/en.json";
import de from "@/i18n/locales/pane_review/de.json";
import es from "@/i18n/locales/pane_review/es.json";
+import pt from "@/i18n/locales/pane_review/pt.json";
const author = (pane: string) => ({ pane, history_id: `h-${pane}`, agent: "claude", display_name: "Claude", last_edit_ms: 1 });
@@ -222,7 +223,7 @@ describe("pane review i18n parity", () => {
? keys(nested as Record<string, unknown>, `${prefix}${key}.`)
: [`${prefix}${key}`]).sort();
- for (const [language, locale] of Object.entries({ de, es })) {
+ for (const [language, locale] of Object.entries({ de, es, pt })) {
it(`${language} has the same keys as en`, () => {
expect(keys(locale)).toEqual(keys(en));
});
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx
index f68e42fd54..6a31cf3a3b 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx
@@ -49,6 +49,7 @@ import {
User,
X,
} from "lucide-react";
+import { fill, translate, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import type { RecapReason, RecapSource } from "@/lib/agenticIdeApi";
import { PANE_BRAND } from "./terminalThemes";
@@ -75,44 +76,45 @@ export const MAX_DETAIL = 2000;
* wrote it and how long ago, and repeating that in a sentence is noise.
*/
const WHY: Partial<Record<RecapReason, string>> = {
- pinned: "You wrote this. It stays until you reset it.",
- cli_title: "The agent in this pane named its session itself.",
- disabled:
- "Model recaps are switched off, so this is read from the pane's own output.",
- not_started: "Nothing is running in this pane yet, so there is nothing to summarize.",
- warming:
- "Too little output so far to summarize — this line is read from the pane's own output.",
- working: "A summary is being written now. This line is read from the pane's own output.",
- queued:
- "Waiting its turn to be summarized. This line is read from the pane's own output.",
- unavailable:
- "No model could summarize this pane, so this line is read from its own output.",
+ pinned: "ide_panes.recap.why.pinned",
+ cli_title: "ide_panes.recap.why.cli_title",
+ disabled: "ide_panes.recap.why.disabled",
+ not_started: "ide_panes.recap.why.not_started",
+ warming: "ide_panes.recap.why.warming",
+ working: "ide_panes.recap.why.working",
+ queued: "ide_panes.recap.why.queued",
+ unavailable: "ide_panes.recap.why.unavailable",
};
/** What the footer badge says about who wrote the sentence above it. */
function credit(source: RecapSource, writer: string): { label: string; icon: JSX.Element } {
if (source === "user")
- return { label: "Written by you", icon: <User className="h-3 w-3" /> };
+ return { label: translate("ide_panes.recap.credit.user"), icon: <User className="h-3 w-3" /> };
if (source === "cli")
return {
- label: writer ? `Named by ${writer}` : "Named by the agent",
+ label: writer
+ ? fill(translate("ide_panes.recap.credit.cli_named"), { writer })
+ : translate("ide_panes.recap.credit.cli"),
icon: <Terminal className="h-3 w-3" />,
};
if (source === "model")
return {
- label: writer ? `Summarized by ${writer}` : "Summarized by a model",
+ label: writer
+ ? fill(translate("ide_panes.recap.credit.model_named"), { writer })
+ : translate("ide_panes.recap.credit.model"),
icon: <Sparkles className="h-3 w-3" />,
};
- return { label: "Read from the output", icon: <Terminal className="h-3 w-3" /> };
+ return { label: translate("ide_panes.recap.credit.heuristic"), icon: <Terminal className="h-3 w-3" /> };
}
/** "34s ago" / "6 min ago" — the same wording the backend uses for idle time. */
function ago(at: number): string {
if (!at) return "";
const seconds = Math.max(0, Math.round(Date.now() / 1000 - at));
- if (seconds < 60) return `${seconds}s ago`;
- if (seconds < 3600) return `${Math.floor(seconds / 60)} min ago`;
- return `${Math.floor(seconds / 3600)} h ago`;
+ if (seconds < 60) return fill(translate("ide_panes.recap.ago_seconds"), { count: seconds });
+ if (seconds < 3600)
+ return fill(translate("ide_panes.recap.ago_minutes"), { count: Math.floor(seconds / 60) });
+ return fill(translate("ide_panes.recap.ago_hours"), { count: Math.floor(seconds / 3600) });
}
interface Anchor {
@@ -187,6 +189,7 @@ export function PaneRecap({
onClear,
onRefresh,
}: PaneRecapProps) {
+ const t = useT();
const lineRef = useRef<HTMLButtonElement | null>(null);
const cardRef = useRef<HTMLDivElement | null>(null);
@@ -305,7 +308,7 @@ export function PaneRecap({
aria-haspopup="dialog"
aria-expanded={open}
aria-controls={open ? tipId : undefined}
- aria-label={`What ${name} is doing`}
+ aria-label={fill(t("ide_panes.recap.what_doing"), { pane: name })}
data-testid={`pane-recap-${name}`}
onMouseDown={(e) => e.stopPropagation()}
onClick={(e) => {
@@ -339,7 +342,7 @@ export function PaneRecap({
ref={cardRef}
id={tipId}
role="dialog"
- aria-label={`What ${name} is doing`}
+ aria-label={fill(t("ide_panes.recap.what_doing"), { pane: name })}
data-testid={`pane-recap-card-${name}`}
data-placement={anchor.placement}
onMouseDown={(e) => e.stopPropagation()}
@@ -381,7 +384,7 @@ export function PaneRecap({
</span>
<button
type="button"
- aria-label="Close"
+ aria-label={t("common.close")}
data-testid={`pane-recap-close-${name}`}
onClick={close}
className="-mr-1.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
@@ -423,12 +426,12 @@ export function PaneRecap({
{body}
</p>
)}
- {WHY[reason] && (
+ {WHY[reason] !== undefined && (
<p
className="border-l-2 border-primary/45 bg-primary/[0.035] px-3 py-2 text-micro text-muted-foreground"
data-testid={`pane-recap-why-${name}`}
>
- {WHY[reason]}
+ {t(WHY[reason] ?? "")}
{note && <span className="mt-1 block opacity-70">{note}</span>}
</p>
)}
@@ -456,7 +459,7 @@ export function PaneRecap({
<span className="flex shrink-0 items-center gap-1.5">
{onSave && (
<CardAction
- label="Write it yourself"
+ label={t("ide_panes.recap.write_yourself")}
testId={`pane-recap-card-edit-${name}`}
onClick={() => {
setEditing(true);
@@ -467,7 +470,7 @@ export function PaneRecap({
)}
{source === "user" && onClear ? (
<CardAction
- label="Back to the automatic recap"
+ label={t("ide_panes.recap.back_to_auto")}
testId={`pane-recap-reset-${name}`}
busy={busy === "clear"}
onClick={() => void run("clear", onClear)}
@@ -477,7 +480,7 @@ export function PaneRecap({
) : (
onRefresh && (
<CardAction
- label="Summarize this pane again"
+ label={t("ide_panes.recap.summarize_again")}
testId={`pane-recap-refresh-${name}`}
busy={busy === "refresh"}
onClick={() => void run("refresh", onRefresh)}
@@ -552,6 +555,7 @@ function RecapEditor({
onSave: (headline: string, detail: string) => void;
onCancel: () => void;
}) {
+ const t = useT();
const [line, setLine] = useState(headline);
const [body, setBody] = useState(detail);
const firstRef = useRef<HTMLInputElement | null>(null);
@@ -578,13 +582,13 @@ function RecapEditor({
<div className="flex flex-col gap-2">
<label className="flex flex-col gap-1">
<span className="text-micro text-muted-foreground">
- Header line
+ {t("ide_panes.recap.header_line")}
</span>
<input
ref={firstRef}
value={line}
maxLength={MAX_HEADLINE}
- placeholder="What this pane is for"
+ placeholder={t("ide_panes.recap.header_placeholder")}
data-testid={`pane-recap-input-${name}`}
onChange={(e) => setLine(e.target.value)}
onKeyDown={onKeyDown}
@@ -593,13 +597,14 @@ function RecapEditor({
</label>
<label className="flex flex-col gap-1">
<span className="text-micro text-muted-foreground">
- The longer version <span className="opacity-60">— optional</span>
+ {t("ide_panes.recap.longer")}{" "}
+ <span className="opacity-60">{t("ide_panes.recap.optional")}</span>
</span>
<textarea
value={body}
rows={4}
maxLength={MAX_DETAIL}
- placeholder="Where the work stands, what is outstanding…"
+ placeholder={t("ide_panes.recap.detail_placeholder")}
data-testid={`pane-recap-detail-input-${name}`}
onChange={(e) => setBody(e.target.value)}
onKeyDown={onKeyDown}
@@ -611,8 +616,8 @@ function RecapEditor({
{/* An empty header line is how you clear a hand-written recap, and
saying so beats a disabled Save nobody can explain. */}
{line.trim()
- ? "⌘/Ctrl + Enter to save"
- : "Save with an empty line to go back to the automatic recap"}
+ ? t("ide_panes.recap.save_hint")
+ : t("ide_panes.recap.save_empty_hint")}
</span>
<span className="flex items-center gap-1.5">
<button
@@ -621,7 +626,7 @@ function RecapEditor({
data-testid={`pane-recap-cancel-${name}`}
className="rounded-md px-2 py-1 text-micro text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
- Cancel
+ {t("common.cancel")}
</button>
<button
type="button"
@@ -631,7 +636,7 @@ function RecapEditor({
className="flex items-center gap-1 rounded-md bg-foreground/70 px-2.5 py-1.5 text-micro font-semibold text-primary-foreground transition-[filter] hover:brightness-95 disabled:opacity-50"
>
{saving && <Loader2 className="h-3 w-3 animate-spin" />}
- Save
+ {t("common.save")}
</button>
</span>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ProjectConnectDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/ProjectConnectDialog.tsx
index 95b5a959a6..b53687d93d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ProjectConnectDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/ProjectConnectDialog.tsx
@@ -3,6 +3,7 @@ import * as Dialog from "@radix-ui/react-dialog";
import { ArrowLeft, Folder, FolderOpen, FolderPlus, Loader2, X } from "lucide-react";
import { fetchFolders } from "@/lib/agenticIdeApi";
import { cn } from "@/lib/utils";
+import { useT } from "@/i18n";
import { FolderPicker } from "./FolderPicker";
interface Props {
@@ -16,6 +17,7 @@ const primaryButton = `inline-flex h-10 items-center justify-center gap-2 rounde
/** A project summary with a separate, explicitly confirmed folder selection. */
export function ProjectConnectDialog({ onClose, onConnect }: Props) {
+ const t = useT();
const [name, setName] = useState("");
const [path, setPath] = useState<string | null>(null);
const [candidate, setCandidate] = useState<string | null>(null);
@@ -47,7 +49,7 @@ export function ProjectConnectDialog({ onClose, onConnect }: Props) {
try {
await operation();
} catch (reason) {
- setError(reason instanceof Error ? reason.message : "Could not connect this folder. Try again.");
+ setError(reason instanceof Error ? reason.message : t("ide_projects.connect_failed"));
} finally {
inFlight.current = false;
setBusy(false);
@@ -60,7 +62,7 @@ export function ProjectConnectDialog({ onClose, onConnect }: Props) {
// Recents and pasted paths may have disappeared since they were listed.
const folder = await fetchFolders(candidate, true);
if (folder.error) throw new Error(folder.error);
- if (!folder.path) throw new Error("Choose a folder to continue.");
+ if (!folder.path) throw new Error(t("ide_projects.choose_folder_error"));
setPath(folder.path);
setChoosing(false);
});
@@ -80,10 +82,10 @@ export function ProjectConnectDialog({ onClose, onConnect }: Props) {
className={cn("fixed left-1/2 top-1/2 z-[90] flex max-h-[calc(100dvh-2rem)] w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-2xl border border-border bg-card text-card-foreground shadow-2xl", choosing ? "h-[min(42rem,calc(100dvh-2rem))] max-w-3xl" : "max-w-xl")}
>
<header className="flex shrink-0 items-center gap-3 px-6 pb-5 pt-6 sm:px-7">
- {choosing && <button type="button" aria-label="Back to project" disabled={busy} onClick={back} className={cn("-ml-2 rounded-lg p-2 text-muted-foreground hover:bg-muted", focusRing)}><ArrowLeft className="h-5 w-5" /></button>}
- <Dialog.Title className="flex-1 text-xl font-semibold tracking-tight">{choosing ? "Choose a folder" : "Connect project"}</Dialog.Title>
- <Dialog.Close disabled={busy} aria-label="Close" className={cn("-mr-2 rounded-lg p-2 text-muted-foreground hover:bg-muted hover:text-foreground disabled:opacity-50", focusRing)}><X className="h-5 w-5" /></Dialog.Close>
- <Dialog.Description className="sr-only">Choose a source folder and an optional project name.</Dialog.Description>
+ {choosing && <button type="button" aria-label={t("ide_projects.back_to_project")} disabled={busy} onClick={back} className={cn("-ml-2 rounded-lg p-2 text-muted-foreground hover:bg-muted", focusRing)}><ArrowLeft className="h-5 w-5" /></button>}
+ <Dialog.Title className="flex-1 text-xl font-semibold tracking-tight">{choosing ? t("ide_projects.choose_folder_title") : t("ide_projects.connect_title")}</Dialog.Title>
+ <Dialog.Close disabled={busy} aria-label={t("common.close")} className={cn("-mr-2 rounded-lg p-2 text-muted-foreground hover:bg-muted hover:text-foreground disabled:opacity-50", focusRing)}><X className="h-5 w-5" /></Dialog.Close>
+ <Dialog.Description className="sr-only">{t("ide_projects.connect_description")}</Dialog.Description>
</header>
{choosing ? <>
@@ -95,38 +97,38 @@ export function ProjectConnectDialog({ onClose, onConnect }: Props) {
<footer className="shrink-0 border-t border-border px-6 py-4 sm:px-7">
{error && <p role="alert" className="mb-3 text-sm text-destructive">{error}</p>}
<div className="flex flex-wrap items-center justify-between gap-3">
- <p className="min-w-0 flex-1 truncate text-xs text-muted-foreground" title={candidate ?? undefined}>{candidate || "Choose a folder to continue"}</p>
+ <p className="min-w-0 flex-1 truncate text-xs text-muted-foreground" title={candidate ?? undefined}>{candidate || t("ide_projects.choose_folder_hint")}</p>
<div className="flex gap-2">
- <button type="button" disabled={busy} onClick={back} className={secondaryButton}>Back</button>
- <button type="button" disabled={busy || !candidate} onClick={confirmFolder} className={primaryButton}>{busy && <Loader2 aria-hidden="true" className="h-4 w-4 animate-spin" />}Use this folder</button>
+ <button type="button" disabled={busy} onClick={back} className={secondaryButton}>{t("common.back")}</button>
+ <button type="button" disabled={busy || !candidate} onClick={confirmFolder} className={primaryButton}>{busy && <Loader2 aria-hidden="true" className="h-4 w-4 animate-spin" />}{t("ide_projects.use_folder")}</button>
</div>
</div>
</footer>
</> : <form className="min-h-0 overflow-y-auto" onSubmit={(event) => { event.preventDefault(); if (path) void perform(() => onConnect(path, name.trim() || undefined)); }}>
<fieldset disabled={busy} className="space-y-6 px-6 pb-7 sm:px-7">
<label className="block">
- <span className="sr-only">Project name</span>
+ <span className="sr-only">{t("ide_projects.project_name")}</span>
<span className="flex h-12 items-center gap-3 rounded-xl border border-input bg-background/40 px-4 focus-within:border-ring focus-within:ring-1 focus-within:ring-ring">
<Folder className="h-5 w-5 shrink-0 text-muted-foreground" aria-hidden="true" />
- <input ref={nameInput} value={name} onChange={(event) => setName(event.target.value)} placeholder={folderName || "Project name (optional)"} className="min-w-0 flex-1 bg-transparent text-base outline-none placeholder:text-muted-foreground disabled:opacity-50" />
+ <input ref={nameInput} value={name} onChange={(event) => setName(event.target.value)} placeholder={folderName || t("ide_projects.project_name_optional")} className="min-w-0 flex-1 bg-transparent text-base outline-none placeholder:text-muted-foreground disabled:opacity-50" />
</span>
</label>
- <section aria-label="Source folder">
- <h3 className="mb-3 text-sm font-medium">Source folder</h3>
+ <section aria-label={t("ide_projects.source_folder")}>
+ <h3 className="mb-3 text-sm font-medium">{t("ide_projects.source_folder")}</h3>
{path ? <div className="flex items-center gap-3 rounded-xl border border-border bg-muted/20 p-4">
<div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-lg bg-muted"><FolderOpen className="h-5 w-5 text-muted-foreground" aria-hidden="true" /></div>
<div className="min-w-0 flex-1"><p className="truncate text-sm font-medium">{folderName}</p><p title={path} className="mt-1 break-all text-xs leading-relaxed text-muted-foreground">{path}</p></div>
- <button type="button" onClick={choose} className={cn(secondaryButton, "shrink-0 px-3")}>Change</button>
+ <button type="button" onClick={choose} className={cn(secondaryButton, "shrink-0 px-3")}>{t("ide_projects.change")}</button>
</div> : <div className="flex min-h-36 flex-col items-center justify-center gap-4 rounded-xl border border-dashed border-border bg-muted/10 p-5">
- <p className="text-center text-sm text-muted-foreground">Add a folder from this computer</p>
- <button type="button" onClick={choose} className={cn(secondaryButton, "border border-border bg-muted/60 text-foreground")}><FolderPlus className="h-4 w-4" aria-hidden="true" />Choose folder</button>
+ <p className="text-center text-sm text-muted-foreground">{t("ide_projects.add_folder_hint")}</p>
+ <button type="button" onClick={choose} className={cn(secondaryButton, "border border-border bg-muted/60 text-foreground")}><FolderPlus className="h-4 w-4" aria-hidden="true" />{t("ide_projects.choose_folder")}</button>
</div>}
</section>
{error && <p role="alert" className="text-sm text-destructive">{error}</p>}
</fieldset>
<footer className="flex justify-end gap-2 px-6 pb-6 sm:px-7">
- <button type="button" disabled={busy} onClick={onClose} className={secondaryButton}>Cancel</button>
- <button type="submit" disabled={busy || !path} className={primaryButton}>{busy && <Loader2 aria-hidden="true" className="h-4 w-4 animate-spin" />}{busy ? "Connecting…" : "Connect project"}</button>
+ <button type="button" disabled={busy} onClick={onClose} className={secondaryButton}>{t("common.cancel")}</button>
+ <button type="submit" disabled={busy || !path} className={primaryButton}>{busy && <Loader2 aria-hidden="true" className="h-4 w-4 animate-spin" />}{busy ? t("ide_projects.connecting") : t("ide_projects.connect_title")}</button>
</footer>
</form>}
</Dialog.Content>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx b/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx
index 6a18f979c6..7bf8eb1fa5 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx
@@ -1,6 +1,8 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { AlertTriangle, Check, ChevronDown, HelpCircle, X } from "lucide-react";
import { fetchLastPrompt } from "@/lib/agenticIdeApi";
+import { fill, translate, useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage, useRunLocale } from "@/components/runs/format";
/**
* Visible proof that a pane was handed a prompt — drawn by the app, never by
@@ -92,18 +94,21 @@ export interface PromptReceiptProps {
/** "just now" / "3 min ago" — short enough for a one-line receipt. */
export function agoLabel(deliveredAt: number, now: number): string {
const seconds = Math.max(0, Math.round((now - deliveredAt * 1000) / 1000));
- if (seconds < 10) return "just now";
- if (seconds < 60) return `${seconds}s ago`;
+ if (seconds < 10) return translate("ide_panes.receipt.just_now");
+ if (seconds < 60) return fill(translate("ide_panes.recap.ago_seconds"), { count: seconds });
const minutes = Math.round(seconds / 60);
- if (minutes < 60) return `${minutes} min ago`;
+ if (minutes < 60) return fill(translate("ide_panes.recap.ago_minutes"), { count: minutes });
const hours = Math.round(minutes / 60);
- return hours === 1 ? "1 hour ago" : `${hours} hours ago`;
+ return hours === 1
+ ? translate("ide_panes.receipt.ago_hour_one")
+ : fill(translate("ide_panes.receipt.ago_hours_other"), { count: hours });
}
/** The clock time it landed — the detail that can be checked against a memory. */
export function clockLabel(deliveredAt: number): string {
try {
- return new Date(deliveredAt * 1000).toLocaleTimeString(undefined, {
+ const locale = localeForUiLanguage(useI18nStore.getState().ui);
+ return new Date(deliveredAt * 1000).toLocaleTimeString(locale, {
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
@@ -122,6 +127,8 @@ export function PromptReceipt({
submitted,
onDismiss,
}: PromptReceiptProps) {
+ const t = useT();
+ const locale = useRunLocale();
const [gone, setGone] = useState(false);
const [open, setOpen] = useState(false);
const [hovered, setHovered] = useState(false);
@@ -195,7 +202,7 @@ export function PromptReceipt({
if (!mounted.current) return;
// The excerpt is still on screen, so this degrades to "you can see the
// opening but not the rest" rather than to an empty box.
- setLoadError(err instanceof Error ? err.message : "The full prompt could not be read.");
+ setLoadError(err instanceof Error ? err.message : translate("ide_panes.receipt.load_failed"));
}
}, [full, terminal, workspaceId]);
@@ -210,14 +217,14 @@ export function PromptReceipt({
submitted === true
? {
icon: <Check className="h-3.5 w-3.5 shrink-0 text-muted-foreground" />,
- label: "Prompt sent",
- note: "the agent took it and started",
+ label: t("ide_panes.receipt.sent"),
+ note: t("ide_panes.receipt.sent_note"),
}
: submitted === false
? {
icon: <AlertTriangle className="h-3.5 w-3.5 shrink-0 text-foreground" />,
- label: "Prompt typed, not started",
- note: "it is sitting in this pane's input box — press Enter here to run it",
+ label: t("ide_panes.receipt.typed"),
+ note: t("ide_panes.receipt.typed_note"),
}
: {
icon: <HelpCircle className="h-3.5 w-3.5 shrink-0 text-muted-foreground" />,
@@ -226,8 +233,8 @@ export function PromptReceipt({
// reading a bare "Prompt sent" would quietly upgrade "could not
// confirm it started" into "it started" — the exact overstatement
// this component exists to stop.
- label: "Prompt sent — start could not be confirmed",
- note: "it went to the pane; the agent's start could not be confirmed",
+ label: t("ide_panes.receipt.unconfirmed"),
+ note: t("ide_panes.receipt.unconfirmed_note"),
};
const clock = clockLabel(at);
@@ -263,7 +270,7 @@ export function PromptReceipt({
className="flex min-w-0 flex-1 items-center gap-2 text-left"
aria-expanded={open}
data-testid="prompt-receipt-toggle"
- title={`Read exactly what was sent to ${terminal}`}
+ title={fill(t("ide_panes.receipt.read_title"), { pane: terminal })}
>
<span className="shrink-0 truncate text-micro font-medium text-foreground">
{verdict.label}
@@ -288,7 +295,7 @@ export function PromptReceipt({
type="button"
onClick={onDismiss}
className="btn-ghost h-6 w-6 shrink-0 p-0"
- aria-label={`Dismiss the delivery receipt for ${terminal}`}
+ aria-label={fill(t("ide_panes.receipt.dismiss"), { pane: terminal })}
data-testid="prompt-receipt-dismiss"
>
<X className="h-3 w-3" />
@@ -301,7 +308,7 @@ export function PromptReceipt({
already said. */}
{submitted === false && !open && (
<p className="px-2 pb-1.5 text-micro text-muted-foreground">
- {verdict.note} · click to read what was sent
+ {verdict.note} · {t("ide_panes.receipt.click_to_read")}
</p>
)}
@@ -316,12 +323,19 @@ export function PromptReceipt({
</pre>
<p className="mt-1.5 text-micro text-muted-foreground">
{full === null && !loadError
- ? `Opening of ${chars.toLocaleString()} characters — reading the rest…`
+ ? fill(t("ide_panes.receipt.loading_rest"), { count: chars.toLocaleString(locale) })
: loadError
- ? `Showing the opening only — ${loadError}`
- : `${chars.toLocaleString()} characters, delivered to ${terminal}${
- clock ? ` at ${clock}` : ""
- }.`}
+ ? fill(t("ide_panes.receipt.opening_only"), { error: loadError })
+ : clock
+ ? fill(t("ide_panes.receipt.delivered_at"), {
+ count: chars.toLocaleString(locale),
+ pane: terminal,
+ clock,
+ })
+ : fill(t("ide_panes.receipt.delivered"), {
+ count: chars.toLocaleString(locale),
+ pane: terminal,
+ })}
</p>
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx b/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx
index 62e832288d..9e449f8b4f 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx
@@ -10,6 +10,7 @@ import { useComputerChoiceList } from "@/hooks/useComputers";
import { computersApi } from "@/lib/computersApi";
import { useEventStore } from "@/store/events";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
const RUN_ON_KEY = "jarvis.agenticIde.runOn.";
/** The picker's value for "let automatic placement choose" (Settings, Computers). */
@@ -52,10 +53,10 @@ export function storeRunOn(projectId: string | undefined, computerId: string | n
} catch { /* a convenience only */ }
}
-function detailFor(status: string): string {
- if (status === "online") return "Keeps running while this PC is off";
- if (status === "unknown") return "Not checked yet";
- return "Not reachable right now";
+function detailKeyFor(status: string): string {
+ if (status === "online") return "workspace_launcher.run_on.online";
+ if (status === "unknown") return "workspace_launcher.run_on.unknown";
+ return "workspace_launcher.run_on.offline";
}
export function RunOnPicker({
@@ -73,6 +74,7 @@ export function RunOnPicker({
/** Offer "Automatic" (value {@link RUN_ON_AUTO}) when automatic placement is on. */
allowAuto?: boolean;
}) {
+ const t = useT();
const { computers, loaded } = useComputerChoiceList();
const setActiveSection = useEventStore((state) => state.setActiveSection);
const usable = computers.filter(
@@ -82,13 +84,13 @@ export function RunOnPicker({
const auto = placement.on && usable.length > 0;
const options = [
...(auto
- ? [{ id: RUN_ON_AUTO as string | null, name: "Automatic", detail: "Picks this PC or a computer by their shares", online: true, icon: Shuffle }]
+ ? [{ id: RUN_ON_AUTO as string | null, name: t("workspace_launcher.run_on.auto"), detail: t("workspace_launcher.run_on.auto_detail"), online: true, icon: Shuffle }]
: []),
- { id: null as string | null, name: "This computer", detail: "Stops when this PC sleeps or shuts down", online: true, icon: Laptop },
+ { id: null as string | null, name: t("workspace_launcher.run_on.local"), detail: t("workspace_launcher.run_on.local_detail"), online: true, icon: Laptop },
...usable.map((computer) => ({
id: computer.id as string | null,
name: computer.name,
- detail: detailFor(computer.health.status),
+ detail: t(detailKeyFor(computer.health.status)),
online: computer.health.status === "online",
icon: Server,
})),
@@ -107,8 +109,8 @@ export function RunOnPicker({
const chosen = usable.find((computer) => computer.id === value);
return (
<fieldset data-testid="ide-run-on" disabled={disabled}>
- <legend className="text-xs font-medium text-muted-foreground">Runs on</legend>
- <div role="radiogroup" aria-label="Runs on" className="mt-2 grid gap-2 sm:grid-cols-2">
+ <legend className="text-xs font-medium text-muted-foreground">{t("workspace_launcher.run_on.label")}</legend>
+ <div role="radiogroup" aria-label={t("workspace_launcher.run_on.label")} className="mt-2 grid gap-2 sm:grid-cols-2">
{options.map((option) => {
const active = option.id === value;
const Icon = option.icon;
@@ -145,16 +147,15 @@ export function RunOnPicker({
</div>
{chosen && (
<p data-testid="ide-run-on-note" className="mt-2 text-xs text-muted-foreground">
- The folder is copied to {chosen.name} first, uncommitted changes included. Files like .env
- and private keys stay on this PC. The coding CLI must be installed there.
+ {fill(t("workspace_launcher.run_on.copy_note"), { computer: chosen.name })}
</p>
)}
{usable.length === 0 && (
<p className="mt-2 text-xs text-muted-foreground">
- Want agents that keep working while this PC is off?{" "}
+ {t("workspace_launcher.run_on.none_hint")}{" "}
<button type="button" onClick={() => setActiveSection("computers")}
className="font-medium text-accent underline-offset-4 hover:underline">
- Connect a server
+ {t("workspace_launcher.run_on.connect_server")}
</button>
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx b/jarvis/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx
index 604d16f0cd..1092b25e70 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx
@@ -1,35 +1,41 @@
+import { fill, useT } from "@/i18n";
import { openExternalUrl } from "@/lib/openExternal";
import { GitHubIcon, type GitHubIconName } from "./GitHubIcon";
import { PANE_BRAND, type TerminalAppearance } from "./terminalThemes";
import { useSessionGitHub, type SessionGitHubStatus } from "./useSessionGitHub";
const PR: Record<SessionGitHubStatus["state"], [GitHubIconName, string]> = {
- branch: ["git-branch", "Published branch"],
- draft: ["git-pull-request-draft", "Draft pull request"],
- open: ["git-pull-request", "Open pull request"],
- queued: ["git-merge-queue", "In the merge queue"],
- merged: ["git-merge", "Pull request merged"],
- closed: ["git-pull-request-closed", "Closed without merging"],
+ branch: ["git-branch", "ide_panes.github.state_branch"],
+ draft: ["git-pull-request-draft", "ide_panes.github.state_draft"],
+ open: ["git-pull-request", "ide_panes.github.state_open"],
+ queued: ["git-merge-queue", "ide_panes.github.state_queued"],
+ merged: ["git-merge", "ide_panes.github.state_merged"],
+ closed: ["git-pull-request-closed", "ide_panes.github.state_closed"],
};
export function GitHubStatusBadge({ status, appearance }: {
status: SessionGitHubStatus | null;
appearance: TerminalAppearance;
}) {
+ const t = useT();
if (!status?.owned || !status.published) return null;
if (!/^[A-Za-z0-9][A-Za-z0-9-]*\/[A-Za-z0-9._-]+$/.test(status.repo) || !status.branch) return null;
// The PR may belong to an upstream repository when this branch is a fork.
const pullRequest = /^https:\/\/github\.com\/[A-Za-z0-9][A-Za-z0-9-]*\/[A-Za-z0-9._-]+\/pull\/([1-9]\d*)$/.exec(status.url);
const url = pullRequest ? status.url : `https://github.com/${status.repo}/tree/${encodeURIComponent(status.branch)}`;
- const destination = pullRequest ? `pull request #${pullRequest[1]}` : "branch";
+ const destination = pullRequest
+ ? fill(t("ide_panes.github.dest_pr"), { number: pullRequest[1] })
+ : t("ide_panes.github.dest_branch");
const unavailable = !status.available || Date.now() / 1000 - status.fetched_at > 60;
- const [icon, label] = unavailable
- ? ["git-branch" as const, "GitHub status unavailable"]
- : PR[status.state] ?? ["git-branch" as const, "GitHub branch"];
+ const [icon, labelKey] = unavailable
+ ? ["git-branch" as const, "ide_panes.github.unavailable"]
+ : PR[status.state] ?? ["git-branch" as const, "ide_panes.github.branch_generic"];
+ const label = t(labelKey);
const identity = `${status.repo} · ${status.branch}`;
return <a data-header-control="true" data-testid="session-github-status"
href={url} target="_blank" rel="noopener noreferrer"
- aria-label={`Open GitHub ${destination}: ${identity}`} title={`${identity}\n${label}\nOpen ${destination}`}
+ aria-label={fill(t("ide_panes.github.open_aria"), { destination, identity })}
+ title={`${identity}\n${label}\n${fill(t("ide_panes.github.open_title"), { destination })}`}
className="inline-flex h-6 w-6 shrink-0 items-center justify-center rounded opacity-75 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-current"
style={{ color: PANE_BRAND[appearance].inkMuted }}
onPointerDown={(event) => event.stopPropagation()}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.tsx
index 8bee2603ad..7962265742 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.tsx
@@ -2,6 +2,7 @@ import { useEffect, useState } from "react";
import { Check } from "lucide-react";
import type { AgentStatus } from "@/lib/agenticIdeApi";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
import { AgentMark } from "./AgentMark";
import { MAX_PANES_PER_REQUEST, balancedColumns } from "./workspaceDocking";
@@ -16,6 +17,7 @@ interface Props {
/** One launch plan: choose an agent for everyone, then customize individual seats. */
export function WorkspaceAgentSetup({ agents, sessions, onChange, disabled = false, quickCounts = 16 }: Props) {
+ const t = useT();
const [editingSeat, setEditing] = useState<number | null>(null);
const editing = editingSeat !== null && editingSeat < sessions.length ? editingSeat : null;
const firstAgent = agents[0]?.name ?? "";
@@ -49,16 +51,16 @@ export function WorkspaceAgentSetup({ agents, sessions, onChange, disabled = fal
const idle = "border-border bg-background/40 hover:border-foreground/30 hover:bg-muted/60";
return <div className="space-y-6">
- <section aria-label="Coding agents">
+ <section aria-label={t("workspace_launcher.agent_setup.agents_aria")}>
<div className="mb-3 flex items-center justify-between gap-3">
- <h3 className="text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground">Agent</h3>
+ <h3 className="text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground">{t("workspace_launcher.agent_setup.agent")}</h3>
<div className="flex items-center gap-2 text-xs">
<span className="text-muted-foreground" aria-live="polite">
- {editing === null ? "Choose for all sessions" : `Editing session ${editing + 1}`}
+ {editing === null ? t("workspace_launcher.agent_setup.choose_all") : fill(t("workspace_launcher.agent_setup.editing"), { number: editing + 1 })}
</span>
{editing !== null && <button type="button" disabled={disabled} onClick={() => setEditing(null)}
className="rounded-md border border-border px-2 py-1 hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- All sessions
+ {t("workspace_launcher.agent_setup.all_sessions")}
</button>}
</div>
</div>
@@ -78,22 +80,22 @@ export function WorkspaceAgentSetup({ agents, sessions, onChange, disabled = fal
})}
</div>
{agents.length === 0 && <p className="rounded-lg border border-border p-4 text-sm text-muted-foreground">
- No coding agents available. Connect a coding agent in CLIs to continue.
+ {t("workspace_launcher.agent_setup.none")}
</p>}
</section>
- <section aria-label="Number of sessions">
- <h3 className="mb-3 text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground">How many sessions?</h3>
+ <section aria-label={t("workspace_launcher.agent_setup.count_aria")}>
+ <h3 className="mb-3 text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground">{t("workspace_launcher.agent_setup.how_many")}</h3>
<div className="flex flex-wrap items-center gap-2">
{Array.from({ length: quickCounts }, (_, index) => index + 1).map((count) => <button
- key={count} type="button" aria-label={`${count} ${count === 1 ? "session" : "sessions"}`}
+ key={count} type="button" aria-label={fill(t(count === 1 ? "workspace_launcher.agent_setup.sessions_one" : "workspace_launcher.agent_setup.sessions_other"), { count })}
aria-pressed={sessions.length === count} disabled={disabled || !firstAgent}
onClick={() => chooseCount(count)}
className={cn("flex h-11 w-11 items-center justify-center rounded-lg border text-sm font-semibold tabular-nums transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40", sessions.length === count ? selection : idle)}>
{count}
</button>)}
- <label className="flex items-center gap-1.5 text-xs text-muted-foreground">More
- <input type="number" aria-label="Number of sessions" min={1} max={MAX_PANES_PER_REQUEST} value={sessions.length || ""}
+ <label className="flex items-center gap-1.5 text-xs text-muted-foreground">{t("workspace_launcher.agent_setup.more")}
+ <input type="number" aria-label={t("workspace_launcher.agent_setup.count_aria")} min={1} max={MAX_PANES_PER_REQUEST} value={sessions.length || ""}
disabled={disabled || !firstAgent}
onChange={(event) => {
const count = Math.trunc(Number(event.target.value));
@@ -102,21 +104,25 @@ export function WorkspaceAgentSetup({ agents, sessions, onChange, disabled = fal
className="h-11 w-16 rounded-lg border border-input bg-background/60 px-2 text-center text-sm font-semibold tabular-nums text-foreground outline-none focus:border-ring focus:ring-1 focus:ring-ring/30 disabled:opacity-40" />
</label>
<span className="ml-2 text-xs text-muted-foreground">
- Add more anytime{sessions.length > 1 && <> · opens as {balancedColumns(sessions.length)} × {Math.ceil(sessions.length / balancedColumns(sessions.length))}</>}
+ {t("workspace_launcher.agent_setup.add_more")}
+ {sessions.length > 1 && <> · {fill(t("workspace_launcher.agent_setup.opens_as"), {
+ columns: balancedColumns(sessions.length),
+ rows: Math.ceil(sessions.length / balancedColumns(sessions.length)),
+ })}</>}
</span>
</div>
</section>
- <section aria-label="Session lineup">
+ <section aria-label={t("workspace_launcher.agent_setup.lineup_aria")}>
<div className="mb-3 flex flex-wrap items-center justify-between gap-2">
- <h3 className="text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground">Will launch</h3>
- <span className="text-xs text-muted-foreground">Click a session to choose a different agent</span>
+ <h3 className="text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground">{t("workspace_launcher.agent_setup.will_launch")}</h3>
+ <span className="text-xs text-muted-foreground">{t("workspace_launcher.agent_setup.click_hint")}</span>
</div>
<div className="grid grid-cols-1 gap-2 sm:grid-cols-2 lg:grid-cols-4">
{sessions.map((name, index) => {
const agent = agents.find((entry) => entry.name === name);
- const label = agent?.display_name ?? "Choose an agent";
- return <button key={index} type="button" aria-label={`Edit session ${index + 1}: ${label}`}
+ const label = agent?.display_name ?? t("workspace_launcher.agent_setup.choose_agent");
+ return <button key={index} type="button" aria-label={fill(t("workspace_launcher.agent_setup.edit_session"), { number: index + 1, agent: label })}
aria-pressed={editing === index} disabled={disabled || !firstAgent}
onClick={() => setEditing((current) => current === index ? null : index)}
className={cn("flex min-h-12 min-w-0 items-center gap-2 rounded-lg border px-3 py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50", editing === index ? selection : idle)}>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceBar.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceBar.tsx
index 1a0f751be3..17be2216d0 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceBar.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceBar.tsx
@@ -27,7 +27,7 @@
*/
import { useCallback, useEffect, useRef, useState } from "react";
import { Check, FolderGit2, Pencil, Plus, X } from "lucide-react";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import type { WorkspaceCard } from "@/lib/agenticIdeApi";
import { dragCarriesFiles, extractPaneDrop, type PaneDropPayload } from "./paneDrop";
@@ -399,9 +399,9 @@ export function WorkspaceBar({
{...tabDragHandlersFor(workspace)}
title={
onDropFiles
- ? `${workspace.folder} — drop a screenshot or document here to send it to this workspace`
+ ? fill(t("workspace_bar.drop_title"), { folder: workspace.folder })
: onReorder
- ? `${workspace.folder} — drag to reorder`
+ ? fill(t("workspace_bar.reorder_title"), { folder: workspace.folder })
: workspace.folder
}
/*
@@ -453,7 +453,7 @@ export function WorkspaceBar({
value={draft}
maxLength={80}
disabled={busy}
- aria-label={`Rename ${workspace.name}`}
+ aria-label={fill(t("workspace_bar.rename"), { workspace: workspace.name })}
data-testid={`workspace-rename-input-${workspace.id}`}
onFocus={(event) => event.currentTarget.select()}
onChange={(event) => setDraft(event.target.value)}
@@ -468,7 +468,7 @@ export function WorkspaceBar({
<button
type="submit"
disabled={busy || !draft.trim()}
- aria-label={`Save name for ${workspace.name}`}
+ aria-label={fill(t("workspace_bar.rename_save"), { workspace: workspace.name })}
data-testid={`workspace-rename-save-${workspace.id}`}
className="flex h-6 w-6 items-center justify-center rounded text-primary hover:bg-primary/15 disabled:opacity-40"
>
@@ -477,7 +477,7 @@ export function WorkspaceBar({
<button
type="button"
disabled={busy}
- aria-label="Cancel rename"
+ aria-label={t("workspace_bar.rename_cancel")}
onClick={() => setEditing(null)}
className="flex h-6 w-6 items-center justify-center rounded text-muted-foreground hover:bg-muted"
>
@@ -550,8 +550,8 @@ export function WorkspaceBar({
<button
type="button"
- aria-label={`Rename ${workspace.name}`}
- title={`Rename ${workspace.name}`}
+ aria-label={fill(t("workspace_bar.rename"), { workspace: workspace.name })}
+ title={fill(t("workspace_bar.rename"), { workspace: workspace.name })}
disabled={busy}
data-testid={`workspace-rename-${workspace.id}`}
onClick={() => beginRename(workspace)}
@@ -578,7 +578,7 @@ export function WorkspaceBar({
<button
type="button"
disabled={busy}
- aria-label={`Confirm closing ${workspace.name}`}
+ aria-label={fill(t("workspace_bar.close_confirm_aria"), { workspace: workspace.name })}
data-testid={`workspace-close-confirm-${workspace.id}`}
onClick={() => {
setConfirming(null);
@@ -586,22 +586,22 @@ export function WorkspaceBar({
}}
className="rounded bg-destructive/20 px-2 py-0.5 text-micro font-medium text-destructive transition-colors hover:bg-destructive/30 disabled:opacity-50"
>
- Close &amp; stop {workspace.live_terminals || workspace.terminals}
+ {fill(t("workspace_bar.close_stop"), { count: workspace.live_terminals || workspace.terminals })}
</button>
<button
type="button"
- aria-label="Keep this workspace open"
+ aria-label={t("workspace_bar.keep_aria")}
onClick={() => setConfirming(null)}
className="rounded px-1.5 py-0.5 text-micro text-muted-foreground hover:text-foreground"
>
- Keep
+ {t("workspace_bar.keep")}
</button>
</span>
) : !renaming ? (
<button
type="button"
- aria-label={`Close ${workspace.name}`}
- title={`Close ${workspace.name} and stop its agents`}
+ aria-label={fill(t("workspace_bar.close"), { workspace: workspace.name })}
+ title={fill(t("workspace_bar.close_title"), { workspace: workspace.name })}
disabled={busy}
data-testid={`workspace-close-${workspace.id}`}
onClick={() => setConfirming(workspace.id)}
@@ -634,8 +634,8 @@ export function WorkspaceBar({
data-testid="workspace-add"
title={
full && maxWorkspaces !== null
- ? `${maxWorkspaces} workspaces are already open — close one first.`
- : "Open another folder in its own workspace"
+ ? fill(t("workspace_bar.full"), { count: maxWorkspaces })
+ : t("workspace_bar.add_title")
}
onClick={() => {
setConfirming(null);
@@ -682,10 +682,18 @@ function PaneCount({
workspace: WorkspaceCard;
selected: boolean;
}) {
+ const t = useT();
return (
<span
data-testid={`workspace-panes-${workspace.id}`}
- title={`${workspace.terminals} terminal${workspace.terminals === 1 ? "" : "s"} open`}
+ title={fill(
+ t(
+ workspace.terminals === 1
+ ? "workspace_bar.terminals_open_one"
+ : "workspace_bar.terminals_open_other",
+ ),
+ { count: workspace.terminals },
+ )}
className={cn(
// No fill of its own: the tab it sits in is already a filled surface
// when selected, and a badge inside it was a second box inside a box.
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.crowded.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.crowded.test.tsx
index 318816b420..ec6f34071c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.crowded.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.crowded.test.tsx
@@ -26,6 +26,9 @@ import {
vi.mock("@/i18n", () => ({
useT: () => (key: string) => key,
+ translate: (key: string) => key,
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (match, name: string) => (name in vars ? String(vars[name]) : match)),
}));
// Nothing in these tests touches the folder picker, and rendering the real one
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx
index fa22ad2688..ea9d96c565 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx
@@ -1,6 +1,7 @@
import * as Dialog from "@radix-ui/react-dialog";
import { Columns2, GitBranch, X } from "lucide-react";
import { cn } from "@/lib/utils";
+import { useT } from "@/i18n";
import type { PaneStyle } from "./terminalThemes";
interface Props {
@@ -23,13 +24,14 @@ interface Props {
onPaneStyle?: (style: PaneStyle) => void;
}
-const PANE_STYLES: { id: PaneStyle; label: string; hint: string }[] = [
- { id: "minimal", label: "Minimal", hint: "Square frames, slim title row" },
- { id: "classic", label: "Classic", hint: "Rounded cards, taller title bar" },
+const PANE_STYLES: { id: PaneStyle; labelKey: string; hintKey: string }[] = [
+ { id: "minimal", labelKey: "ide_panes.options.style_minimal", hintKey: "ide_panes.options.style_minimal_hint" },
+ { id: "classic", labelKey: "ide_panes.options.style_classic", hintKey: "ide_panes.options.style_classic_hint" },
];
/** Workspace controls live off-canvas so the terminal area needs no toolbar. */
export function WorkspaceOptionsDialog(props: Props) {
+ const t = useT();
const icon = "flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-35";
const choose = (action: () => void) => { props.onOpenChange(false); action(); };
return <Dialog.Root open={props.open} onOpenChange={props.onOpenChange}>
@@ -37,39 +39,39 @@ export function WorkspaceOptionsDialog(props: Props) {
<Dialog.Overlay className="fixed inset-0 z-[80] bg-background/70 backdrop-blur-sm" />
<Dialog.Content className="fixed left-1/2 top-1/2 z-[90] w-[min(420px,calc(100vw-2rem))] -translate-x-1/2 -translate-y-1/2 space-y-5 rounded-2xl border border-border bg-popover p-6 text-popover-foreground shadow-xl">
<div className="flex items-start justify-between gap-3">
- <div className="min-w-0"><Dialog.Title className="text-lg font-semibold">Workspace options</Dialog.Title>
+ <div className="min-w-0"><Dialog.Title className="text-lg font-semibold">{t("ide_panes.options.title")}</Dialog.Title>
<Dialog.Description className="mt-1 truncate text-sm text-muted-foreground">{props.workspace}</Dialog.Description></div>
- <Dialog.Close aria-label="Close workspace options" className={icon}><X className="h-4 w-4" /></Dialog.Close>
+ <Dialog.Close aria-label={t("ide_panes.options.close")} className={icon}><X className="h-4 w-4" /></Dialog.Close>
</div>
- <section aria-label="Terminal arrangement" className="space-y-2">
+ <section aria-label={t("ide_panes.options.arrangement")} className="space-y-2">
<button type="button" disabled={props.busy || props.count < 2} onClick={() => choose(props.onBalance)}
- className="flex w-full items-center gap-2 rounded-lg border border-border px-3 py-2.5 text-sm hover:bg-muted disabled:opacity-40"><Columns2 className="h-4 w-4" />Balance layout</button>
- <p className="text-xs leading-relaxed text-muted-foreground">Drag a terminal title to an edge to place it beside, above or below another terminal. Drop in the center to swap positions.</p>
+ className="flex w-full items-center gap-2 rounded-lg border border-border px-3 py-2.5 text-sm hover:bg-muted disabled:opacity-40"><Columns2 className="h-4 w-4" />{t("ide_panes.options.balance")}</button>
+ <p className="text-xs leading-relaxed text-muted-foreground">{t("ide_panes.options.arrangement_hint")}</p>
</section>
- {props.onPaneStyle && <section aria-label="Terminal style">
- <p className="mb-2 text-sm font-medium">Terminal style</p>
+ {props.onPaneStyle && <section aria-label={t("ide_panes.options.style")}>
+ <p className="mb-2 text-sm font-medium">{t("ide_panes.options.style")}</p>
<div className="flex gap-2">
{PANE_STYLES.map((style) => <button type="button" key={style.id} aria-pressed={props.paneStyle === style.id}
onClick={() => props.onPaneStyle?.(style.id)} className={cn("flex flex-1 flex-col items-start gap-0.5 rounded-lg border px-3 py-2 text-left text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", props.paneStyle === style.id ? "border-foreground/35 bg-muted" : "border-border text-muted-foreground hover:bg-muted")}>
- <span className="font-medium">{style.label}</span>
- <span className="text-xs text-muted-foreground">{style.hint}</span>
+ <span className="font-medium">{t(style.labelKey)}</span>
+ <span className="text-xs text-muted-foreground">{t(style.hintKey)}</span>
</button>)}
</div>
</section>}
- <section aria-label="Terminal appearance">
- <p className="mb-2 text-sm font-medium">Terminal appearance</p>
+ <section aria-label={t("ide_panes.options.appearance")}>
+ <p className="mb-2 text-sm font-medium">{t("ide_panes.options.appearance")}</p>
<div className="flex gap-2">
{([null, "dark", "light"] as const).map((appearance) => <button type="button" key={appearance ?? "auto"}
- aria-label={appearance ? `${appearance} terminals` : "Match app appearance"} aria-pressed={props.appearance === appearance}
+ aria-label={t(appearance ? `ide_panes.options.appearance_${appearance}_aria` : "ide_panes.options.appearance_auto_aria")} aria-pressed={props.appearance === appearance}
onClick={() => props.onAppearance(appearance)} className={cn("flex-1 rounded-lg border px-2 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", props.appearance === appearance ? "border-foreground/35 bg-muted" : "border-border text-muted-foreground hover:bg-muted")}>
- {appearance === null ? "Match app" : appearance === "dark" ? "Dark" : "Light"}</button>)}
+ {appearance === null ? t("ide_panes.options.appearance_auto") : appearance === "dark" ? t("ide_panes.options.appearance_dark") : t("ide_panes.options.appearance_light")}</button>)}
</div>
</section>
<div className="border-t border-border pt-2">
- <button type="button" disabled={props.busy || !props.canAdd} onClick={() => choose(props.onAdd)} className="block w-full rounded-lg px-2 py-2.5 text-left text-sm hover:bg-muted disabled:opacity-40">Add coding agent</button>
- <button type="button" disabled={props.busy} onClick={() => choose(props.onGit)} className="flex w-full items-center gap-2 rounded-lg px-2 py-2.5 text-left text-sm hover:bg-muted disabled:opacity-40"><GitBranch className="h-4 w-4 text-muted-foreground" />Git: branches, commits, worktrees</button>
- <button type="button" disabled={props.busy} onClick={() => choose(props.onRename)} className="block w-full rounded-lg px-2 py-2.5 text-left text-sm hover:bg-muted disabled:opacity-40">Rename workspace</button>
- <button type="button" disabled={props.busy} onClick={() => choose(props.onClose)} className="block w-full rounded-lg px-2 py-2.5 text-left text-sm text-destructive hover:bg-muted disabled:opacity-40">Close workspace</button>
+ <button type="button" disabled={props.busy || !props.canAdd} onClick={() => choose(props.onAdd)} className="block w-full rounded-lg px-2 py-2.5 text-left text-sm hover:bg-muted disabled:opacity-40">{t("ide_panes.options.add_agent")}</button>
+ <button type="button" disabled={props.busy} onClick={() => choose(props.onGit)} className="flex w-full items-center gap-2 rounded-lg px-2 py-2.5 text-left text-sm hover:bg-muted disabled:opacity-40"><GitBranch className="h-4 w-4 text-muted-foreground" />{t("ide_panes.options.git")}</button>
+ <button type="button" disabled={props.busy} onClick={() => choose(props.onRename)} className="block w-full rounded-lg px-2 py-2.5 text-left text-sm hover:bg-muted disabled:opacity-40">{t("ide_hotkeys.help.rename_workspace")}</button>
+ <button type="button" disabled={props.busy} onClick={() => choose(props.onClose)} className="block w-full rounded-lg px-2 py-2.5 text-left text-sm text-destructive hover:bg-muted disabled:opacity-40">{t("agentic_grid.close_workspace.confirm")}</button>
</div>
</Dialog.Content>
</Dialog.Portal>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceSettings.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceSettings.tsx
index 32e8ebff00..7f06c442ee 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceSettings.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceSettings.tsx
@@ -34,6 +34,7 @@ import {
} from "@/lib/agenticIdeApi";
import { useEventStore } from "@/store/events";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
interface WorkspaceSettingsProps {
/** The active subscription per coding CLI, as the backend reports it. */
@@ -54,6 +55,7 @@ export function WorkspaceSettings({
onStateChanged,
busy = false,
}: WorkspaceSettingsProps) {
+ const t = useT();
const pushToast = useEventStore((s) => s.pushToast);
const [open, setOpen] = useState(false);
const chips = switchable(accounts);
@@ -74,7 +76,10 @@ export function WorkspaceSettings({
if (account?.active_label) {
pushToast(
"success",
- `New ${account.display_name} terminals will use ${account.active_label}.`,
+ fill(t("agent_accounts.workspace.toast_switched"), {
+ agent: account.display_name,
+ account: account.active_label,
+ }),
);
}
};
@@ -91,8 +96,11 @@ export function WorkspaceSettings({
type="button"
data-testid={`active-account-${account.agent}`}
onClick={() => setOpen(true)}
- title={`New ${account.display_name} terminals open on ${account.active_label}. Panes already running keep theirs. Click to switch.`}
- aria-label={`Switch which ${account.display_name} subscription new terminals use`}
+ title={fill(t("agent_accounts.workspace.chip_title"), {
+ agent: account.display_name,
+ account: account.active_label ?? "",
+ })}
+ aria-label={fill(t("agent_accounts.workspace.chip_aria"), { agent: account.display_name })}
className={cn(
"hidden h-7 max-w-[16rem] items-center gap-1.5 rounded-md bg-secondary px-2 text-micro text-muted-foreground transition-colors xl:flex",
"hover:bg-secondary hover:text-foreground",
@@ -108,8 +116,8 @@ export function WorkspaceSettings({
<button
type="button"
data-testid="agentic-settings-open"
- title="Workspace settings — choose which subscription new terminals use"
- aria-label="Workspace settings"
+ title={t("agent_accounts.workspace.open_title")}
+ aria-label={t("agent_accounts.workspace.title")}
className={cn(
"flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors",
"hover:bg-secondary hover:text-foreground",
@@ -128,17 +136,16 @@ export function WorkspaceSettings({
<div className="flex items-start justify-between gap-4 border-b border-border px-5 py-4">
<div className="min-w-0">
<Dialog.Title className="font-display text-base font-semibold">
- Workspace settings
+ {t("agent_accounts.workspace.title")}
</Dialog.Title>
<Dialog.Description className="mt-1 text-xs text-muted-foreground">
- Connect several subscriptions of the same coding CLI and choose
- which one powers new agent terminals.
+ {t("agent_accounts.workspace.description")}
</Dialog.Description>
</div>
<Dialog.Close asChild>
<button
type="button"
- aria-label="Close settings"
+ aria-label={t("agent_accounts.workspace.close")}
className="shrink-0 rounded-lg p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
<X className="h-4 w-4" />
@@ -156,7 +163,7 @@ export function WorkspaceSettings({
className="rounded-xl border border-border bg-background px-3 py-2"
>
<p className="text-micro text-muted-foreground">
- {account.display_name} · new terminals
+ {account.display_name} · {t("agent_accounts.workspace.new_terminals")}
</p>
<p
className="truncate text-sm font-medium"
@@ -170,20 +177,14 @@ export function WorkspaceSettings({
<AgentAccountsPanel
onActivate={activate}
- note={
- "Switching applies to every terminal opened from now on, splits " +
- "included — the panes you already have keep the account they " +
- "started with, so no running agent loses its conversation. Only " +
- "a pane whose subscription was chosen deliberately (in the " +
- "workspace wizard) passes that choice on when you split it."
- }
+ note={t("agent_accounts.workspace.note")}
/>
</div>
<div className="flex items-center justify-end gap-2 border-t border-border px-5 py-3">
<Dialog.Close asChild>
<button type="button" className="btn-ghost" disabled={busy}>
- Done
+ {t("ide_panes.common.done")}
</button>
</Dialog.Close>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx
index 5516d1691b..a5d14aafe2 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx
@@ -35,6 +35,7 @@
import { useEffect, useMemo, useRef, useState, type CSSProperties } from "react";
import { Minus, Plus } from "lucide-react";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
import { IconButton } from "./controls";
import {
WORKABLE_COLS,
@@ -241,6 +242,7 @@ export function CountStepper({
max: number;
onChange: (next: number) => void;
}) {
+ const t = useT();
const [draft, setDraft] = useState(String(count));
useEffect(() => setDraft(String(count)), [count]);
@@ -257,11 +259,11 @@ export function CountStepper({
htmlFor="workspace-terminal-count"
className="font-mono text-micro font-medium text-muted-foreground"
>
- Exact count · type a number
+ {t("workspace_launcher.shape.exact_count")}
</label>
<div className="flex h-11 items-stretch overflow-hidden rounded-control border border-border bg-background transition-colors focus-within:border-primary/70 focus-within:ring-2 focus-within:ring-primary/15">
<IconButton
- label="Use one fewer terminal"
+ label={t("workspace_launcher.shape.one_fewer")}
disabled={count <= 1}
onClick={() => set(count - 1)}
className="h-full w-11 rounded-none border-r border-border"
@@ -282,7 +284,7 @@ export function CountStepper({
autoComplete="off"
spellCheck={false}
value={draft}
- aria-label="Number of terminals"
+ aria-label={t("workspace_launcher.shape.count_aria")}
aria-describedby="workspace-terminal-count-max"
data-testid="terminal-count-value"
onFocus={(event) => event.currentTarget.select()}
@@ -340,7 +342,7 @@ export function CountStepper({
</span>
</label>
<IconButton
- label="Use one more terminal"
+ label={t("workspace_launcher.shape.one_more")}
disabled={count >= max}
onClick={() => set(count + 1)}
className="h-full w-11 rounded-none border-l border-border"
@@ -376,6 +378,7 @@ export function CountTrack({
max: number;
onChange: (next: number) => void;
}) {
+ const t = useT();
const ticks = useMemo(() => countTicks(max), [max]);
const span = Math.max(1, max - 1);
@@ -387,7 +390,7 @@ export function CountTrack({
max={max}
step={1}
value={count}
- aria-label="Number of terminals"
+ aria-label={t("workspace_launcher.shape.count_aria")}
data-testid="terminal-count-range"
onChange={(event) => onChange(Number(event.currentTarget.value))}
className="h-1 w-full cursor-pointer accent-primary"
@@ -406,7 +409,7 @@ export function CountTrack({
key={n}
type="button"
aria-pressed={count === n}
- aria-label={`Use ${n} terminals`}
+ aria-label={fill(t("workspace_launcher.shape.use_n"), { count: n })}
onClick={() => onChange(n)}
style={{ left: `${((n - 1) / span) * 100}%` }}
className={cn(
@@ -636,6 +639,7 @@ function Readout({
workspaceWidthPx: number;
fontSize: number;
}) {
+ const t = useT();
// By COLUMNS rather than the raw count, so the sentence can never describe a
// different workspace from the stage above it.
const paneWidth = paneWidthAt(columns, workspaceWidthPx);
@@ -659,21 +663,20 @@ function Readout({
*/
let condition: string;
if (paneWidth === 0) {
- condition = "All on one screen.";
+ condition = t("workspace_launcher.shape.all_on_screen");
} else if (perPane > 0 && perPane < WORKABLE_COLS) {
// The one case worth spelling out, as advice: these panes come out narrow.
- condition =
- `All on one screen, about ${perPane} columns each — narrow for an ` +
- `agent's output. This window fits ${affordable} across comfortably at ` +
- `text size ${fontSize}; maximize a pane to read it full size.`;
+ condition = fill(t("workspace_launcher.shape.columns_narrow"), {
+ columns: perPane,
+ affordable,
+ size: fontSize,
+ });
} else if (perPane > 0) {
- condition = `All on one screen, about ${perPane} columns each.`;
+ condition = fill(t("workspace_launcher.shape.columns_each"), { columns: perPane });
} else if (comfortable) {
- condition = `All on one screen, about ${formatPx(paneWidth)} px each.`;
+ condition = fill(t("workspace_launcher.shape.px_each"), { px: formatPx(paneWidth) });
} else {
- condition = `All on one screen, about ${formatPx(
- paneWidth,
- )} px each — narrow for an agent's output. Maximize a pane to read it full size.`;
+ condition = fill(t("workspace_launcher.shape.px_narrow"), { px: formatPx(paneWidth) });
}
return (
@@ -683,7 +686,7 @@ function Readout({
className="text-xs leading-relaxed text-muted-foreground"
>
<span className="font-mono tabular-nums text-foreground">
- {columns} across
+ {fill(t("workspace_launcher.shape.across"), { columns })}
</span>{" "}
· {condition}
</p>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.test.tsx
index cb6b34c668..db2914b417 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.test.tsx
@@ -4,7 +4,10 @@ import { act, cleanup, fireEvent, render, screen, waitFor } from "@testing-libra
import type { SessionState } from "@/lib/agenticIdeApi";
const api = vi.hoisted(() => ({ move: vi.fn(), rename: vi.fn(), toast: vi.fn(), weights: vi.fn() }));
vi.mock("@/lib/agenticIdeApi", () => ({ moveTerminal: api.move, renameTerminal: api.rename, saveLayoutWeights: api.weights }));
-vi.mock("@/store/events", () => ({ useEventStore: (select: (state: unknown) => unknown) => select({ pushToast: api.toast }) }));
+vi.mock("@/store/events", () => ({ useEventStore: Object.assign(
+ (select: (state: unknown) => unknown) => select({ pushToast: api.toast }),
+ { getState: () => ({ pushToast: api.toast, assistantName: "Jarvis" }) },
+) }));
vi.mock("./AgenticTerminal", () => ({ AgenticTerminal: (props: {
name: string; onToggleMaximize: () => void; onRestart: () => void; restartToken: number;
onFocus: () => void;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.transfer.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.transfer.test.tsx
index 72a145a790..4b4b6d95f6 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.transfer.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.transfer.test.tsx
@@ -14,7 +14,10 @@ import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/re
import type { SessionState } from "@/lib/agenticIdeApi";
const api = vi.hoisted(() => ({ transfer: vi.fn(), move: vi.fn(), toast: vi.fn(), layout: vi.fn() }));
vi.mock("@/lib/agenticIdeApi", () => ({ transferTerminal: api.transfer, moveTerminal: api.move, fetchWorkspaceLayout: api.layout }));
-vi.mock("@/store/events", () => ({ useEventStore: (select: (state: unknown) => unknown) => select({ pushToast: api.toast }) }));
+vi.mock("@/store/events", () => ({ useEventStore: Object.assign(
+ (select: (state: unknown) => unknown) => select({ pushToast: api.toast }),
+ { getState: () => ({ pushToast: api.toast, assistantName: "Jarvis" }) },
+) }));
vi.mock("./AgenticTerminal", () => ({ AgenticTerminal: (props: {
name: string;
onArrangeStart?: (event: React.PointerEvent) => void;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx
index f966c7368b..b987ad760c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx
@@ -13,6 +13,7 @@ import { useIdeChatStore } from "@/store/ideChat";
import { useIdeSidePanelStore } from "@/store/ideSidePanel";
import type { PaneStyle } from "./terminalThemes";
import { cn } from "@/lib/utils";
+import { fill, translate, useT } from "@/i18n";
import { PaneResizer } from "@/components/layout/PaneResizer";
import { treeLayout, treeLeaves, type LayoutNode, type PaneSeam } from "./treeLayout";
import { useTreeSizes } from "./useTreeSizes";
@@ -83,6 +84,7 @@ function sameFolder(left: string | undefined, right: string | undefined): boolea
}
export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSelect, selected, fontSize, appearance, disabled = false, onMutationStart, onMutationEnd, paneStyle: look = "classic", workspaces = [], active = true }: Props) {
+ const t = useT();
const theme = useThemeValue();
const pushToast = useEventStore((state) => state.pushToast);
// The pane an agent card in the side panel pointed at, framed in blue.
@@ -195,11 +197,11 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
// A rename/close or a newer snapshot must never be overwritten by the
// response to an earlier drag. The parent also invalidates pending polls.
if (latest.current.session === owner && nextSession.id === owner.id) latest.current.onChanged(nextSession);
- setAnnouncement(position === "swap" ? `${source.name} and ${target.name} swapped.` : `${source.name} placed ${position} ${target.name}.`);
+ setAnnouncement(fill(translate(`ide_panes.grid.placed_${position}`), { pane: source.name, target: target.name }));
} catch (error) {
if (mounted.current) {
pushToast("error", (error as Error).message);
- setAnnouncement("Could not save the arrangement. The previous order was restored.");
+ setAnnouncement(translate("ide_panes.grid.arrange_failed"));
}
} finally {
saveInFlight.current = false;
@@ -237,9 +239,10 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
setMoving(null);
const next = result.state.session;
if (next && latest.current.session === owner && next.id === owner.id) latest.current.onChanged(next);
- const renamed = result.terminal.name !== terminal.name ? ` as ${result.terminal.name}` : "";
- pushToast("success", `${terminal.name} moved to ${target.name}${renamed}. Its agent keeps running.`);
- setAnnouncement(`${terminal.name} moved to ${target.name}${renamed}.`);
+ const renamed = result.terminal.name !== terminal.name;
+ const vars = { pane: terminal.name, workspace: target.name, renamed: result.terminal.name };
+ pushToast("success", fill(translate(renamed ? "ide_panes.grid.moved_renamed_toast" : "ide_panes.grid.moved_toast"), vars));
+ setAnnouncement(fill(translate(renamed ? "ide_panes.grid.moved_renamed" : "ide_panes.grid.moved"), vars));
} catch (error) {
// The dialog stays open, so another place can be picked.
if (mounted.current) pushToast("error", (error as Error).message);
@@ -289,7 +292,7 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
litRow = hit;
}
const blocked = row && targetId && !workspace && targetId !== latest.current.session.id
- ? row.getAttribute("data-pane-drop-name") || "that workspace" : null;
+ ? row.getAttribute("data-pane-drop-name") || translate("ide_panes.grid.that_workspace") : null;
return { workspace, blocked };
};
const onMove = (motion: PointerEvent) => {
@@ -358,7 +361,9 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
if (next.id !== latest.current.session.id) return;
latest.current.onChanged(next);
latest.current.onSelect(terminal.name);
- setAnnouncement(terminal.branch ? `${forking.name} forked into ${terminal.name} on branch ${terminal.branch}.` : `${forking.name} forked into ${terminal.name}.`);
+ setAnnouncement(terminal.branch
+ ? fill(translate("ide_panes.grid.forked_branch"), { pane: forking.name, fork: terminal.name, branch: terminal.branch })
+ : fill(translate("ide_panes.grid.forked"), { pane: forking.name, fork: terminal.name }));
} catch (error) { pushToast("error", (error as Error).message); }
finally {
latest.current.onMutationEnd?.();
@@ -384,17 +389,20 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
const place = async (terminal: TerminalState, computerId: string | null) => {
const id = idOf(terminal);
if (placing) return;
- const target = computerId ? (computers.find((c) => c.id === computerId)?.name ?? "the computer") : "this computer";
+ const target = computerId
+ ? (computers.find((c) => c.id === computerId)?.name ?? translate("ide_panes.grid.the_computer"))
+ : translate("ide_panes.grid.this_computer");
setPlacing(id);
- pushToast("info", `Moving ${terminal.name} to ${target}. The folder and the conversation go with it.`);
+ pushToast("info", fill(translate("ide_panes.grid.placing"), { pane: terminal.name, computer: target }));
latest.current.onMutationStart?.();
try {
const { session: next, message } = await placeTerminal(terminal.name, latest.current.session.id, computerId);
if (!mounted.current) return;
if (next && next.id === latest.current.session.id) latest.current.onChanged(next);
setRestarts((current) => ({ ...current, [id]: (current[id] ?? 0) + 1 }));
- pushToast("success", `${terminal.name} now runs on ${target}. ${message}`.trim());
- setAnnouncement(`${terminal.name} now runs on ${target}.`);
+ const placed = fill(translate("ide_panes.grid.placed_on"), { pane: terminal.name, computer: target });
+ pushToast("success", `${placed} ${message}`.trim());
+ setAnnouncement(placed);
} catch (error) { pushToast("error", (error as Error).message); }
finally {
latest.current.onMutationEnd?.();
@@ -403,12 +411,12 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
};
const placementItems = (terminal: TerminalState) => {
if (placing) return [];
- if (terminal.computer_id) return [{ label: "Bring back to this computer", run: () => void place(terminal, null) }];
+ if (terminal.computer_id) return [{ label: t("ide_panes.grid.bring_back"), run: () => void place(terminal, null) }];
return computers.filter((computer) => computer.health.status !== "provisioning")
- .map((computer) => ({ label: `Run on ${computer.name}`, run: () => void place(terminal, computer.id) }));
+ .map((computer) => ({ label: fill(t("ide_panes.grid.run_on"), { computer: computer.name }), run: () => void place(terminal, computer.id) }));
};
const computerName = (terminal: TerminalState) => terminal.computer_id
- ? (computers.find((computer) => computer.id === terminal.computer_id)?.name ?? "another computer") : undefined;
+ ? (computers.find((computer) => computer.id === terminal.computer_id)?.name ?? t("ide_panes.grid.another_computer")) : undefined;
// Any other render mid-drag (a poll, a pane going live) would paint the
// pre-drag sizes; re-apply the in-flight layout right after it.
useLayoutEffect(() => {
@@ -433,7 +441,7 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
if (command.kind === "focus" || command.kind === "swap") {
const neighbor = neighborInDirection(layout.boxes, index, command.direction);
const target = neighbor === null ? undefined : tiles[neighbor];
- if (!target) { setAnnouncement(`No pane ${command.direction === "up" ? "above" : command.direction === "down" ? "below" : `to the ${command.direction}`} of ${terminal.name}.`); return; }
+ if (!target) { setAnnouncement(fill(t(`ide_panes.grid.no_pane_${command.direction}`), { pane: terminal.name })); return; }
if (command.kind === "swap") { void move(id, idOf(target)); return; }
setMaximized(null);
focusPane(target);
@@ -474,7 +482,7 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
{tiles.map((terminal, index) => {
const id = idOf(terminal);
return <div key={id} ref={(node) => { if (node) paneNodes.current.set(id, node); else paneNodes.current.delete(id); }} data-session-id={id} data-spotlit={spotlitPane === terminal.name ? "true" : undefined} tabIndex={0}
- aria-label={`${terminal.name}. Drag to an edge to dock, or the center to swap. Alt+Arrow swaps with a neighbor.`}
+ aria-label={fill(t("ide_panes.grid.tile_aria"), { pane: terminal.name })}
onKeyDown={(event) => {
if (event.target !== event.currentTarget && !(event.target instanceof HTMLElement && event.target.closest("[data-ide-drag-handle]"))) return;
if (!event.altKey || !["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(event.key)) return;
@@ -510,12 +518,12 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
branch={terminal.branch || undefined} folder={terminal.folder || undefined}
computerName={computerName(terminal)} placementItems={placementItems(terminal)}
workspaceItems={transferring || saving || disabled ? [] : movable
- .map((workspace) => ({ label: `Move to ${workspace.name}…`, run: () => askWhere(id, workspace) }))}
+ .map((workspace) => ({ label: fill(t("ide_panes.grid.move_to_menu"), { workspace: workspace.name }), run: () => askWhere(id, workspace) }))}
onFork={terminal.accepts_prompts === false ? undefined : () => setForking({ name: terminal.name, agent: terminal.agent, displayName: terminal.display_name, workspaceId: session.id })} />
{drag?.target?.id === id && <div aria-hidden="true" data-testid="dock-preview" data-position={drag.target.position}
className={cn("pointer-events-none absolute z-20 flex items-center justify-center border-2 p-2", minimal ? "rounded-none" : "rounded-xl", "border-ring/70 bg-accent/[0.15]",
drag.target.position === "left" ? "inset-y-1 left-1 w-1/2" : drag.target.position === "right" ? "inset-y-1 right-1 w-1/2" : drag.target.position === "above" ? "inset-x-1 top-1 h-1/2" : drag.target.position === "below" ? "inset-x-1 bottom-1 h-1/2" : "inset-1")}>
- <span className="rounded-md bg-popover px-3 py-2 text-center text-xs font-medium text-popover-foreground shadow-lg">{DOCK_LABELS[drag.target.position]}</span>
+ <span className="rounded-md bg-popover px-3 py-2 text-center text-xs font-medium text-popover-foreground shadow-lg">{t(DOCK_LABELS[drag.target.position])}</span>
</div>}
</div>;
})}
@@ -543,8 +551,8 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSe
{drag && dragged && <div aria-hidden="true" className="pointer-events-none fixed z-[100] flex items-center gap-2 rounded-lg border border-border bg-popover px-3 py-2 text-sm font-medium text-popover-foreground shadow-xl"
style={{ left: drag.x + 14, top: drag.y + 14 }}>
<AgentMark agent={dragged.agent} label={dragged.display_name} variant="plain" />{dragged.name}
- {drag.workspace && <span className="font-normal text-muted-foreground">Move to {drag.workspace.name}</span>}
- {drag.blocked && <span className="font-normal text-destructive">Not into {drag.blocked}: another folder</span>}
+ {drag.workspace && <span className="font-normal text-muted-foreground">{fill(t("ide_panes.move.confirm"), { workspace: drag.workspace.name })}</span>}
+ {drag.blocked && <span className="font-normal text-destructive">{fill(t("ide_panes.grid.not_into"), { workspace: drag.blocked })}</span>}
</div>}
<span className="sr-only" role="status">{announcement}</span>
<ForkPaneDialog source={forking} busy={forkBusy} onCancel={() => setForking(null)} onConfirm={(choice) => void fork(choice)} />
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx
index 8df4681baa..2b40f49600 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx
@@ -1,7 +1,7 @@
import { useEffect, useId, useLayoutEffect, useRef, useState, type ComponentType, type CSSProperties, type MouseEvent, type PointerEvent, type SVGProps } from "react";
import { createPortal } from "react-dom";
import { Check, FileDiff, FolderInput, GitBranch, Maximize2, Minimize2, MoreHorizontal, Plus, Server, X } from "lucide-react";
-import { loadLocaleChunk } from "@/i18n";
+import { fill, loadLocaleChunk, useT } from "@/i18n";
import { AgentMark } from "./AgentMark";
import { BranchIcon } from "./branchIcon";
import { SessionGitHubBadge } from "./SessionGitHubBadge";
@@ -66,11 +66,11 @@ interface Props {
type MenuIcon = ComponentType<SVGProps<SVGSVGElement>>;
interface MenuItem { label: string; run: () => void; Icon?: MenuIcon; separated?: boolean; disabled?: boolean }
-const SPLIT_ITEMS: { direction: PaneSplitDirection; label: string; Icon: MenuIcon }[] = [
- { direction: "right", label: "Split right", Icon: SplitRightIcon },
- { direction: "down", label: "Split down", Icon: SplitBelowIcon },
- { direction: "left", label: "Split left", Icon: SplitLeftIcon },
- { direction: "above", label: "Split up", Icon: SplitAboveIcon },
+const SPLIT_ITEMS: { direction: PaneSplitDirection; labelKey: string; Icon: MenuIcon }[] = [
+ { direction: "right", labelKey: "ide_panes.header.split_right", Icon: SplitRightIcon },
+ { direction: "down", labelKey: "ide_panes.header.split_down", Icon: SplitBelowIcon },
+ { direction: "left", labelKey: "ide_panes.header.split_left", Icon: SplitLeftIcon },
+ { direction: "above", labelKey: "ide_panes.header.split_up", Icon: SplitAboveIcon },
];
const ACTION_CLASS = "flex h-7 w-7 shrink-0 items-center justify-center rounded text-[color:var(--pane-ink-muted)] hover:bg-[color:var(--pane-chip)] hover:text-[color:var(--pane-ink)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[color:var(--pane-ink)] disabled:opacity-35";
@@ -83,6 +83,7 @@ export function WorkspaceTerminalHeader({
onAdd, onClose, onRename, onOpenConversation, onOpenChat, onReviewChanges, onReviewChangesPrefetch, onRestart, onFork, branch,
computerName, placementItems, workspaceItems, variant = "bar", focused = false, githubStatusEnabled = true,
}: Props) {
+ const t = useT();
const brand = PANE_BRAND[appearance];
// The pane's goal in a few words, in place of its call-sign; the call-sign
// stays reachable in the tooltip, the accessible name and the rename field.
@@ -168,7 +169,7 @@ export function WorkspaceTerminalHeader({
setSaving(true);
setRenameError("");
try { if (await onRename?.(wanted) !== false) setDraft(null); }
- catch (error) { setRenameError(error instanceof Error ? error.message : "The name could not be saved."); }
+ catch (error) { setRenameError(error instanceof Error ? error.message : t("ide_panes.header.rename_failed")); }
finally { setSaving(false); }
};
@@ -181,17 +182,17 @@ export function WorkspaceTerminalHeader({
const renameForm = draft === null ? null : <form data-header-control="true"
className="flex min-w-0 flex-1 items-center gap-1"
onSubmit={(event) => { event.preventDefault(); void commitRename(); }}>
- <input autoFocus aria-label={`Name for ${name}`} value={draft} maxLength={40} disabled={saving}
+ <input autoFocus aria-label={fill(t("ide_panes.header.name_for"), { pane: name })} value={draft} maxLength={40} disabled={saving}
aria-invalid={Boolean(renameError)}
onChange={(event) => setDraft(event.target.value)}
onKeyDown={(event) => { if (event.key === "Escape") { event.stopPropagation(); setDraft(null); setRenameError(""); } }}
className={`min-w-0 flex-1 border px-1.5 py-0.5 text-sm outline-none ${radius}`}
style={{ borderColor: chrome.border, background: chrome.float, color: brand.ink }} />
- <button type="submit" aria-label="Save name" disabled={saving} className={action}><Check className="h-3.5 w-3.5" /></button>
- <button type="button" aria-label="Cancel rename" disabled={saving} onClick={() => { setDraft(null); setRenameError(""); }} className={action}><X className="h-3.5 w-3.5" /></button>
+ <button type="submit" aria-label={t("ide_panes.header.save_name")} disabled={saving} className={action}><Check className="h-3.5 w-3.5" /></button>
+ <button type="button" aria-label={t("workspace_bar.rename_cancel")} disabled={saving} onClick={() => { setDraft(null); setRenameError(""); }} className={action}><X className="h-3.5 w-3.5" /></button>
</form>;
- const menu = createPortal(<div ref={menuRef} id={menuId} role="menu" hidden={!menuOpen} aria-label={`Actions for ${name}`}
+ const menu = createPortal(<div ref={menuRef} id={menuId} role="menu" hidden={!menuOpen} aria-label={fill(t("ide_panes.header.actions_for"), { pane: name })}
className={`fixed z-[90] w-[260px] max-w-[calc(100vw-16px)] border p-1 shadow-lg ${tile ? "rounded-none" : "rounded-lg"}`}
style={{ ...variables, ...(menuPosition ?? { left: 0, top: 0 }), borderColor: chrome.border, background: chrome.float }}
onPointerDown={(event) => event.stopPropagation()}
@@ -210,18 +211,18 @@ export function WorkspaceTerminalHeader({
items[index]?.focus();
}}>
{([
- onRename && { label: "Rename pane", run: () => { setDraft(name); setRenameError(""); } },
- { label: "Swap with focused pane", disabled: !onSwapWithFocused, run: () => onSwapWithFocused?.() },
- onFork && !addDisabled && { label: "Fork…", Icon: BranchIcon, run: onFork },
+ onRename && { label: t("ide_hotkeys.help.rename_pane"), run: () => { setDraft(name); setRenameError(""); } },
+ { label: t("ide_panes.header.swap_focused"), disabled: !onSwapWithFocused, run: () => onSwapWithFocused?.() },
+ onFork && !addDisabled && { label: t("ide_panes.header.fork_menu"), Icon: BranchIcon, run: onFork },
...(onAdd && !addDisabled ? SPLIT_ITEMS.map((item, index) => ({
- label: `${item.label}…`, Icon: item.Icon, separated: index === 0, run: () => onAdd(item.direction),
+ label: `${t(item.labelKey)}…`, Icon: item.Icon, separated: index === 0, run: () => onAdd(item.direction),
})) : []),
- onToggleMaximize && { label: maximized ? "Unzoom" : "Zoom", separated: true,
+ onToggleMaximize && { label: maximized ? t("ide_panes.header.unzoom") : t("ide_panes.header.zoom"), separated: true,
Icon: maximized ? Minimize2 : Maximize2, run: onToggleMaximize },
- onOpenConversation && { label: "Conversation history", run: onOpenConversation },
- onOpenChat && { label: "Open as chat", run: onOpenChat },
- onReviewChanges && { label: "Review changes", Icon: FileDiff, run: onReviewChanges },
- stopped && onRestart && { label: "Restart agent", run: onRestart },
+ onOpenConversation && { label: t("ide_panes.header.conversation_history"), run: onOpenConversation },
+ onOpenChat && { label: t("ide_panes.header.open_as_chat"), run: onOpenChat },
+ onReviewChanges && { label: t("ide_panes.header.review_changes"), Icon: FileDiff, run: onReviewChanges },
+ stopped && onRestart && { label: t("ide_panes.header.restart_agent"), run: onRestart },
...(workspaceItems ?? []).map((item, index) => ({ ...item, Icon: FolderInput, separated: index === 0 })),
...(placementItems ?? []).map((item, index) => ({ ...item, Icon: Server, separated: index === 0 })),
] as (MenuItem | false | undefined | null)[]).filter((item): item is MenuItem => Boolean(item)).map((item) =>
@@ -232,25 +233,25 @@ export function WorkspaceTerminalHeader({
)}
{onToggleSendRightClicks && <button type="button" role="menuitemcheckbox" aria-checked={sendRightClicks}
onClick={() => choose(onToggleSendRightClicks)}
- title="Shift+right-click opens the pane menu while forwarding is enabled."
+ title={t("ide_panes.header.right_click_title")}
className="flex w-full items-center gap-2 rounded px-2.5 py-2 text-left text-xs hover:bg-[color:var(--pane-chip)] focus:bg-[color:var(--pane-chip)] focus:outline-none">
<Check aria-hidden="true" className={`h-3.5 w-3.5 shrink-0 ${sendRightClicks ? "" : "invisible"}`} />
- <span>Send right-clicks to pane{sendRightClicks && <span className="block text-[10px] text-[color:var(--pane-ink-muted)]">Shift + right-click: pane menu</span>}</span>
+ <span>{t("ide_panes.header.right_click")}{sendRightClicks && <span className="block text-[10px] text-[color:var(--pane-ink-muted)]">{t("ide_panes.header.right_click_hint")}</span>}</span>
</button>}
<PromptHistoryButton terminal={name} workspaceId={workspaceId} count={promptCount} triggerMode="menu-item"
onOpen={() => setMenuPosition(null)} restoreFocus={() => moreRef.current?.focus()} />
{onClose && <button type="button" role="menuitem" onClick={() => choose(onClose)}
className="mt-1 flex w-full items-center gap-2 rounded border-t border-[color:var(--pane-chip)] px-2.5 py-2 pt-2 text-left text-xs hover:bg-[color:var(--pane-chip)] focus:bg-[color:var(--pane-chip)] focus:outline-none">
- <X className="h-3.5 w-3.5 shrink-0" aria-hidden="true" />Close pane</button>}
+ <X className="h-3.5 w-3.5 shrink-0" aria-hidden="true" />{t("ide_hotkeys.help.close_pane")}</button>}
</div>, document.body);
- const moreButton = <button ref={moreRef} type="button" aria-label={`More actions for ${name}`} aria-haspopup="menu" aria-expanded={menuOpen}
+ const moreButton = <button ref={moreRef} type="button" aria-label={fill(t("ide_panes.header.more_actions"), { pane: name })} aria-haspopup="menu" aria-expanded={menuOpen}
aria-controls={menuOpen ? menuId : undefined} onClick={toggleMenu}
onKeyDown={(event) => { if (event.key === "ArrowDown") { event.preventDefault(); toggleMenu(); } }}
className={action}><MoreHorizontal className="h-4 w-4" /></button>;
- const maximizeButton = <button type="button" aria-label={`${maximized ? "Restore" : "Maximize"} ${name}`} disabled={!onToggleMaximize}
+ const maximizeButton = <button type="button" aria-label={fill(t(maximized ? "agentic_grid.pane.restore" : "agentic_grid.pane.maximize"), { pane: name })} disabled={!onToggleMaximize}
onClick={onToggleMaximize} className={action}>{maximized ? <Minimize2 className="h-3.5 w-3.5" /> : <Maximize2 className="h-3.5 w-3.5" />}</button>;
- const closeButton = <button type="button" aria-label={`Close ${name}`} disabled={!onClose} onClick={onClose} className={action}><X className="h-4 w-4" /></button>;
+ const closeButton = <button type="button" aria-label={fill(t("agentic_grid.close_pane.aria"), { pane: name })} disabled={!onClose} onClick={onClose} className={action}><X className="h-4 w-4" /></button>;
return <>
<header data-testid={`workspace-terminal-header-${name}`}
@@ -274,11 +275,11 @@ export function WorkspaceTerminalHeader({
// Pointer selection is handled by the pane's mousedown. Keyboard
// activation selects too, while retaining focus for Alt+Arrow moves.
onClick={(event) => { if (event.detail === 0) onActivate?.(); }}
- aria-label={onArrangeStart ? `Move ${name}` : name}
+ aria-label={onArrangeStart ? fill(t("agentic_grid.pane.move"), { pane: name }) : name}
aria-describedby={onArrangeStart ? dragHintId : undefined}
aria-keyshortcuts={onArrangeStart ? "Alt+ArrowLeft Alt+ArrowRight Alt+ArrowUp Alt+ArrowDown" : undefined}
className={`flex h-full min-w-0 flex-1 items-center gap-2 ${radius} text-left ${tile ? "font-mono text-xs" : "text-sm font-medium"} focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[color:var(--pane-ink)] ${onArrangeStart ? arranging ? "cursor-grabbing" : "cursor-grab" : "cursor-default"}`}>
- <span role="img" aria-label={`${name}: ${status}`} className="h-1.5 w-1.5 shrink-0 rounded-full"
+ <span role="img" aria-label={`${name}: ${t(`ide_panes.header.status_${status}`)}`} className="h-1.5 w-1.5 shrink-0 rounded-full"
style={{ background: status === "live" ? theme.green : status === "error" ? theme.red : status === "connecting" ? theme.yellow : brand.inkFaint }} />
<AgentMark agent={agent} label={displayName} logoUrl={agentLogoUrl} variant="plain" size="sm"
className="!text-[color:var(--pane-ink)] [&>.bg-foreground]:!bg-[color:var(--pane-ink)]" />
@@ -287,25 +288,25 @@ export function WorkspaceTerminalHeader({
// its edge, the way a multiplexer lights the label in its border.
className={tile ? `truncate ${focused ? "font-semibold" : ""}` : "truncate"}
style={tile ? { color: focused ? PANE_TILE[appearance].focus : brand.inkMuted } : undefined}>{title || name}</span>
- {computerName && <span data-testid={`pane-computer-${name}`} title={`Runs on ${computerName}. It keeps working while this app is closed.`}
+ {computerName && <span data-testid={`pane-computer-${name}`} title={fill(t("ide_panes.header.runs_on"), { computer: computerName })}
className={`flex min-w-0 max-w-[35%] shrink items-center gap-1 ${radius} bg-[color:var(--pane-chip)] px-1.5 py-0.5 text-[11px] font-normal text-[color:var(--pane-ink-muted)]`}>
<Server className="h-3 w-3 shrink-0" aria-hidden="true" /><span className="truncate">{computerName}</span></span>}
- {branch && <span data-testid={`pane-branch-${name}`} title={`Runs in its own git worktree on branch ${branch}`}
+ {branch && <span data-testid={`pane-branch-${name}`} title={fill(t("ide_panes.header.worktree_branch"), { branch })}
className="flex min-w-0 max-w-[45%] shrink items-center gap-1 font-mono text-[11px] font-normal text-[color:var(--pane-ink-muted)]">
<GitBranch className="h-3 w-3 shrink-0" aria-hidden="true" /><span className="truncate">{branch}</span>
</span>}
</button> : renameForm}
- <span id={dragHintId} className="sr-only">Drag to reorder, or focus this title and press Alt with an arrow key.</span>
+ <span id={dragHintId} className="sr-only">{t("ide_panes.header.drag_hint")}</span>
<SessionGitHubBadge workspaceId={githubStatusEnabled ? workspaceId : undefined} name={name} appearance={appearance} />
<div data-header-control="true" className="flex shrink-0 items-center gap-0.5">
- {onReviewChanges && <button type="button" data-testid={`pane-review-changes-${name}`} aria-label={`Review changes by ${name}`}
- title="Review changes" onClick={onReviewChanges} onPointerEnter={() => { cancelPrefetch(); prefetchReview(); }} className={action}><FileDiff className="h-[15px] w-[15px]" /></button>}
+ {onReviewChanges && <button type="button" data-testid={`pane-review-changes-${name}`} aria-label={fill(t("agentic_grid.pane.review_changes"), { pane: name })}
+ title={t("ide_panes.header.review_changes")} onClick={onReviewChanges} onPointerEnter={() => { cancelPrefetch(); prefetchReview(); }} className={action}><FileDiff className="h-[15px] w-[15px]" /></button>}
{moreButton}
{maximizeButton}
- {onFork && <button type="button" data-testid={`pane-fork-${name}`} aria-label={`Fork ${name}`} title={`Fork ${name}`}
+ {onFork && <button type="button" data-testid={`pane-fork-${name}`} aria-label={fill(t("ide_panes.fork.title"), { pane: name })} title={fill(t("ide_panes.fork.title"), { pane: name })}
disabled={addDisabled} onClick={onFork} className={`group ${action}`}>
<BranchIcon className="h-[15px] w-[15px] opacity-75 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100" /></button>}
- <button type="button" aria-label={`Add agent beside ${name}`} disabled={addDisabled || !onAdd}
+ <button type="button" aria-label={fill(t("ide_panes.header.add_beside"), { pane: name })} disabled={addDisabled || !onAdd}
onClick={() => onAdd?.("right")} className={action}><Plus className="h-4 w-4" /></button>
{closeButton}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/editor/CodeEditorStage.tsx b/jarvis/ui/web/frontend/src/components/agentic/editor/CodeEditorStage.tsx
index f7766b3de9..a7eb8a3449 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/editor/CodeEditorStage.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/editor/CodeEditorStage.tsx
@@ -27,7 +27,7 @@ import { FileTypeIcon } from "@/components/agentic/sidePanel/explorer/FileTypeIc
import { absoluteWorkspacePath } from "@/components/agentic/sidePanel/explorer/explorerApi";
import { ThreadMenuHeading, ThreadMenuItem, ThreadMenuSeparator, ThreadPopover } from "@/components/agentic/threads/ThreadPopover";
import { checkDisk, discardFile, languageName, reopenWithEncoding, revertFile, saveAll, saveFile, setLineEnding } from "./editorModels";
-import { ENCODINGS, encodingLabel } from "./encodings";
+import { ENCODINGS, encodingLabel, encodingOptionLabel } from "./encodings";
import { QuickOpen } from "./QuickOpen";
import { restoreWorkspace } from "./editorPersistence";
import { SEARCH_FOCUS_EVENT } from "@/components/agentic/sidePanel/search/SearchPanel";
@@ -685,7 +685,7 @@ function StatusBar({ fileKey }: { fileKey: string }) {
{ENCODINGS.map((entry) => (
<ThreadMenuItem
key={`save-${entry.id}`}
- label={entry.label}
+ label={encodingOptionLabel(entry)}
selected={file.encoding === entry.id}
onSelect={() => {
setMenu(null);
@@ -698,7 +698,7 @@ function StatusBar({ fileKey }: { fileKey: string }) {
{ENCODINGS.map((entry) => (
<ThreadMenuItem
key={`reopen-${entry.id}`}
- label={entry.label}
+ label={encodingOptionLabel(entry)}
disabled={file.dirty}
onSelect={() => {
setMenu(null);
diff --git a/jarvis/ui/web/frontend/src/components/agentic/editor/editorApi.ts b/jarvis/ui/web/frontend/src/components/agentic/editor/editorApi.ts
index 626cb29860..adf50e917d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/editor/editorApi.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/editor/editorApi.ts
@@ -1,5 +1,7 @@
/** The code editor's file reads and writes against an open workspace. */
+import { fill, translate } from "@/i18n";
+
/** A Python codec name: utf-8, utf-8-sig, utf-16-le, cp1252, … (see encodings.ts). */
export type TextEncoding = string;
export type LineEnding = "\n" | "\r\n";
@@ -56,7 +58,7 @@ async function failure(res: Response): Promise<{ message: string; detail: unknow
? detail
: detail && typeof detail === "object" && typeof (detail as { message?: unknown }).message === "string"
? (detail as { message: string }).message
- : `Request failed (${res.status}).`;
+ : fill(translate("ide_panes.request_failed"), { status: res.status });
return { message, detail };
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/editor/editorModels.ts b/jarvis/ui/web/frontend/src/components/agentic/editor/editorModels.ts
index 460fecf426..1f696dac6d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/editor/editorModels.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/editor/editorModels.ts
@@ -1,6 +1,7 @@
import type * as Monaco from "monaco-editor/editor/editor.api";
import { useEventStore } from "@/store/events";
+import { translate } from "@/i18n";
import { useCodeEditorStore, type EditorFile } from "@/store/codeEditor";
import { viewKindOf } from "./fileKinds";
import {
@@ -446,7 +447,7 @@ export async function revertFile(fileKey: string, { follow = false } = {}): Prom
const loaded = await loadTextFile(file.workspaceId, file.path);
if (entries.get(fileKey) !== entry) return;
if (loaded.text === null) {
- toast("The file on disk can no longer be edited here.");
+ toast(translate("code_editor.errors.not_editable"));
return;
}
if (follow && entry.model.getAlternativeVersionId() !== before) {
@@ -476,7 +477,7 @@ export async function reopenWithEncoding(fileKey: string, encoding: string): Pro
const entry = entries.get(fileKey);
if (!file || !entry) return;
if (file.dirty) {
- toast("Save or discard the changes before reopening the file in another encoding.");
+ toast(translate("code_editor.errors.reopen_dirty"));
return;
}
try {
diff --git a/jarvis/ui/web/frontend/src/components/agentic/editor/encodings.ts b/jarvis/ui/web/frontend/src/components/agentic/editor/encodings.ts
index 71a945741b..c10fe7e42c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/editor/encodings.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/editor/encodings.ts
@@ -1,30 +1,54 @@
+import { fill, translate } from "@/i18n";
+
/**
* The text encodings the editor offers for "Reopen with" and "Save with".
*
* Ids are the Python codec names the backend reports and accepts
* (`codecs.lookup(name).name`), so a detected encoding finds its label here.
*/
-export const ENCODINGS: readonly { id: string; label: string }[] = [
- { id: "utf-8", label: "UTF-8" },
- { id: "utf-8-sig", label: "UTF-8 with BOM" },
- { id: "utf-16-le", label: "UTF-16 LE" },
- { id: "utf-16-be", label: "UTF-16 BE" },
- { id: "cp1252", label: "Western (Windows 1252)" },
- { id: "iso8859-1", label: "Western (ISO 8859-1)" },
- { id: "iso8859-15", label: "Western (ISO 8859-15)" },
- { id: "cp1250", label: "Central European (Windows 1250)" },
- { id: "cp1251", label: "Cyrillic (Windows 1251)" },
- { id: "koi8-r", label: "Cyrillic (KOI8-R)" },
- { id: "cp1253", label: "Greek (Windows 1253)" },
- { id: "cp1254", label: "Turkish (Windows 1254)" },
- { id: "shift_jis", label: "Japanese (Shift JIS)" },
- { id: "euc_jp", label: "Japanese (EUC-JP)" },
- { id: "gb18030", label: "Chinese Simplified (GB 18030)" },
- { id: "big5", label: "Chinese Traditional (Big5)" },
- { id: "euc_kr", label: "Korean (EUC-KR)" },
+export interface EncodingOption {
+ id: string;
+ /** The standard name, shown as is ("UTF-8", "Windows 1252"). */
+ name: string;
+ /**
+ * The script or region it covers, as an i18n key under
+ * `code_editor.encoding_scripts`; the label then reads "Western (Windows 1252)".
+ */
+ script?: string;
+}
+
+export const ENCODINGS: readonly EncodingOption[] = [
+ { id: "utf-8", name: "UTF-8" },
+ { id: "utf-8-sig", name: "UTF-8 BOM", script: "with_bom" },
+ { id: "utf-16-le", name: "UTF-16 LE" },
+ { id: "utf-16-be", name: "UTF-16 BE" },
+ { id: "cp1252", name: "Windows 1252", script: "western" },
+ { id: "iso8859-1", name: "ISO 8859-1", script: "western" },
+ { id: "iso8859-15", name: "ISO 8859-15", script: "western" },
+ { id: "cp1250", name: "Windows 1250", script: "central_european" },
+ { id: "cp1251", name: "Windows 1251", script: "cyrillic" },
+ { id: "koi8-r", name: "KOI8-R", script: "cyrillic" },
+ { id: "cp1253", name: "Windows 1253", script: "greek" },
+ { id: "cp1254", name: "Windows 1254", script: "turkish" },
+ { id: "shift_jis", name: "Shift JIS", script: "japanese" },
+ { id: "euc_jp", name: "EUC-JP", script: "japanese" },
+ { id: "gb18030", name: "GB 18030", script: "chinese_simplified" },
+ { id: "big5", name: "Big5", script: "chinese_traditional" },
+ { id: "euc_kr", name: "EUC-KR", script: "korean" },
];
+/** The menu label of an encoding, in the UI language; translated when called. */
+export function encodingOptionLabel(entry: EncodingOption): string {
+ if (!entry.script) return entry.name;
+ if (entry.script === "with_bom") return translate("code_editor.encoding_scripts.utf8_bom");
+ return fill(translate("code_editor.encoding_scripts.labelled"), {
+ script: translate(`code_editor.encoding_scripts.${entry.script}`),
+ encoding: entry.name,
+ });
+}
+
/** A short status-bar label for an encoding id. */
export function encodingLabel(id: string): string {
- return ENCODINGS.find((entry) => entry.id === id)?.label ?? id.toUpperCase();
+ const entry = ENCODINGS.find((option) => option.id === id);
+ return entry ? encodingOptionLabel(entry) : id.toUpperCase();
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/git/GitCheckoutPicker.tsx b/jarvis/ui/web/frontend/src/components/agentic/git/GitCheckoutPicker.tsx
index 14ad67fb42..8f2dd28254 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/git/GitCheckoutPicker.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/git/GitCheckoutPicker.tsx
@@ -4,6 +4,7 @@ import { cn } from "@/lib/utils";
import { BrandedSelect } from "@/components/ui/select";
import { folderName, inspectGit, type GitPlan, type GitPrepareMode, type GitRepoInfo } from "@/lib/gitApi";
import { GitStatusLine } from "./GitStatusLine";
+import { fill, useT } from "@/i18n";
interface Props {
/** The folder the workspace/agent would open in. */
@@ -41,6 +42,7 @@ function reroll(current: string): string {
* and shows where things stand (branch, changes, ahead/behind) beside the choice.
*/
export function GitCheckoutPicker({ folder, value, onChange, disabled, context, onInfo }: Props) {
+ const t = useT();
const [info, setInfo] = useState<GitRepoInfo | null>(null);
const [error, setError] = useState("");
const [loading, setLoading] = useState(true);
@@ -84,19 +86,19 @@ export function GitCheckoutPicker({ folder, value, onChange, disabled, context,
const options: Option[] = !info?.is_repo
? [
- { mode: "current", title: "Without git", hint: "Open the folder as it is", Icon: FolderTree, recommended: true },
- { mode: "init", title: "Initialize git", hint: "New repository on main, ready for branches", Icon: Sparkles },
+ { mode: "current", title: t("ide_git.without_git"), hint: t("ide_git.without_git_hint"), Icon: FolderTree, recommended: true },
+ { mode: "init", title: t("ide_git.init"), hint: t("ide_git.init_hint"), Icon: Sparkles },
]
: [
context === "agent"
- ? { mode: "current", title: "Share this checkout", hint: `Same folder as the other agents${info.branch ? ` · ${info.branch}` : ""}`, Icon: FolderTree, recommended: true }
- : { mode: "current", title: "Current checkout", hint: info.branch ? `Work on ${info.branch} in the project folder` : "Work in the project folder", Icon: FolderTree, recommended: true },
- { mode: "new_worktree", title: "New worktree", hint: context === "agent" ? "Own folder and branch, opens as its own tab" : "Own folder and branch, agents never collide", Icon: GitFork },
+ ? { mode: "current", title: t("ide_git.share_checkout"), hint: `${t("ide_git.share_checkout_hint")}${info.branch ? ` · ${info.branch}` : ""}`, Icon: FolderTree, recommended: true }
+ : { mode: "current", title: t("ide_git.current_checkout"), hint: info.branch ? fill(t("ide_git.work_on_branch"), { branch: info.branch }) : t("ide_git.work_in_folder"), Icon: FolderTree, recommended: true },
+ { mode: "new_worktree", title: t("ide_git.new_worktree"), hint: context === "agent" ? t("ide_git.new_worktree_hint_agent") : t("ide_git.new_worktree_hint"), Icon: GitFork },
...(context === "workspace" ? [
- { mode: "new_branch" as const, title: "New branch", hint: "Branch off here, in the project folder", Icon: GitBranchPlus },
- ...(switchable.length ? [{ mode: "switch_branch" as const, title: "Existing branch", hint: "Check out another branch here", Icon: GitBranch }] : []),
+ { mode: "new_branch" as const, title: t("ide_git.new_branch"), hint: t("ide_git.new_branch_hint"), Icon: GitBranchPlus },
+ ...(switchable.length ? [{ mode: "switch_branch" as const, title: t("ide_git.existing_branch"), hint: t("ide_git.existing_branch_hint"), Icon: GitBranch }] : []),
] : []),
- ...(linked.length ? [{ mode: "open_worktree" as const, title: "Existing worktree", hint: "Open a worktree that is already there", Icon: FolderGit2 }] : []),
+ ...(linked.length ? [{ mode: "open_worktree" as const, title: t("ide_git.existing_worktree"), hint: t("ide_git.existing_worktree_hint"), Icon: FolderGit2 }] : []),
];
const choose = (mode: GitPrepareMode) => {
@@ -112,18 +114,20 @@ export function GitCheckoutPicker({ folder, value, onChange, disabled, context,
const preview = value.mode === "new_worktree" && info?.main_root
? `${folderName(info.main_root)}/.worktrees/${value.branch.trim().replace(/\s+/g, "-").replace(/\//g, "-") || "…"}` : "";
+ const [worksOnBefore, worksOnAfter = ""] = t("ide_git.works_on").split("{branch}");
+ const worksOn = info?.branch ? <>{worksOnBefore}<span className="font-mono">{info.branch}</span>{worksOnAfter}</> : t("ide_git.works_in_folder");
const summary = !info?.is_repo
- ? { title: "Opens the folder as it is", hint: "No git here. You can set it up if you like." }
+ ? { title: t("ide_git.opens_as_is"), hint: t("ide_git.opens_as_is_hint") }
: context === "agent"
- ? { title: info.branch ? <>Works on <span className="font-mono">{info.branch}</span></> : "Works in the project folder", hint: "Same folder as your other agents. Nothing to set up." }
- : { title: info.branch ? <>Works on <span className="font-mono">{info.branch}</span></> : "Works in the project folder", hint: "In the project folder, as it is now. Nothing to set up." };
+ ? { title: worksOn, hint: t("ide_git.summary_agent_hint") }
+ : { title: worksOn, hint: t("ide_git.summary_workspace_hint") };
if (!expanded && !error && (loading || info?.git_available)) {
return <section aria-label="Git" data-testid="git-checkout-picker">
<div className="flex items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5">
<FolderTree className="h-4 w-4 shrink-0 text-muted-foreground" aria-hidden />
<span className="min-w-0 flex-1">
- {loading ? <span className="flex items-center gap-1.5 text-sm text-muted-foreground"><Loader2 className="h-3 w-3 animate-spin" />Reading repository…</span>
+ {loading ? <span className="flex items-center gap-1.5 text-sm text-muted-foreground"><Loader2 className="h-3 w-3 animate-spin" />{t("ide_git.reading_repo")}</span>
: <>
<span className="block truncate text-sm font-medium text-foreground">{summary.title}</span>
<span className="mt-0.5 block text-xs leading-snug text-muted-foreground">{summary.hint}</span>
@@ -131,7 +135,7 @@ export function GitCheckoutPicker({ folder, value, onChange, disabled, context,
</span>
<button type="button" disabled={disabled || loading} aria-expanded={false} onClick={() => setUnfolded(true)}
className="flex shrink-0 items-center gap-1 rounded-md px-2 py-1 text-xs font-medium text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50">
- Git options<ChevronDown className="h-3.5 w-3.5" aria-hidden />
+ {t("ide_git.git_options")}<ChevronDown className="h-3.5 w-3.5" aria-hidden />
</button>
</div>
</section>;
@@ -141,16 +145,16 @@ export function GitCheckoutPicker({ folder, value, onChange, disabled, context,
<div className="flex flex-wrap items-center justify-between gap-2">
<span className="flex items-center gap-2 text-xs font-medium text-muted-foreground">Git
{value.mode === "current" && <button type="button" aria-expanded onClick={() => setUnfolded(false)}
- className="rounded-md px-1.5 py-0.5 text-xs font-normal hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">Hide options</button>}
+ className="rounded-md px-1.5 py-0.5 text-xs font-normal hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{t("ide_git.hide_options")}</button>}
</span>
- {loading ? <span className="flex items-center gap-1.5 text-xs text-muted-foreground"><Loader2 className="h-3 w-3 animate-spin" />Reading repository…</span>
+ {loading ? <span className="flex items-center gap-1.5 text-xs text-muted-foreground"><Loader2 className="h-3 w-3 animate-spin" />{t("ide_git.reading_repo")}</span>
: info?.is_repo ? <GitStatusLine info={info} /> : null}
</div>
{error && <p role="alert" className="text-xs text-destructive">{error}</p>}
{!loading && info && !info.git_available && <p className="rounded-lg border border-border bg-muted/40 px-3 py-2 text-xs text-muted-foreground">
- Git is not installed on this computer. Install it from git-scm.com to use branches and worktrees.</p>}
+ {t("ide_git.not_installed")}</p>}
- {!loading && info?.git_available && <div className="grid grid-cols-1 gap-2 sm:grid-cols-2" role="radiogroup" aria-label="Git checkout">
+ {!loading && info?.git_available && <div className="grid grid-cols-1 gap-2 sm:grid-cols-2" role="radiogroup" aria-label={t("ide_git.checkout_aria")}>
{options.map((option) => {
const checked = value.mode === option.mode;
return <button key={option.mode} type="button" role="radio" aria-checked={checked} disabled={disabled}
@@ -160,7 +164,7 @@ export function GitCheckoutPicker({ folder, value, onChange, disabled, context,
<option.Icon className={cn("mt-0.5 h-4 w-4 shrink-0", checked ? "text-primary" : "text-muted-foreground")} aria-hidden />
<span className="min-w-0">
<span className="flex items-center gap-1.5 text-sm font-medium text-foreground">{option.title}
- {option.recommended && <span className="rounded-full bg-muted px-1.5 py-px text-[10px] font-medium text-muted-foreground">Recommended</span>}</span>
+ {option.recommended && <span className="rounded-full bg-muted px-1.5 py-px text-[10px] font-medium text-muted-foreground">{t("ide_git.recommended")}</span>}</span>
<span className="mt-0.5 block text-xs leading-snug text-muted-foreground">{option.hint}</span>
</span>
</button>;
@@ -168,40 +172,46 @@ export function GitCheckoutPicker({ folder, value, onChange, disabled, context,
</div>}
{info?.is_repo && creating && <div className="grid grid-cols-1 gap-2 rounded-xl border border-border bg-muted/30 p-3 sm:grid-cols-2">
- <label className="block text-xs text-muted-foreground">Branch name
+ <label className="block text-xs text-muted-foreground">{t("ide_git.branch_name")}
<span className="mt-1 flex gap-1.5">
- <input value={value.branch} disabled={disabled} spellCheck={false} aria-label="Branch name"
+ <input value={value.branch} disabled={disabled} spellCheck={false} aria-label={t("ide_git.branch_name")}
onChange={(event) => onChange({ ...value, branch: event.target.value })}
placeholder={info.suggested_branch} className={cn(field, "font-mono text-xs")} />
- <button type="button" disabled={disabled} aria-label="Suggest another name" title="Suggest another name"
+ <button type="button" disabled={disabled} aria-label={t("ide_git.suggest_name")} title={t("ide_git.suggest_name")}
onClick={() => onChange({ ...value, branch: reroll(value.branch) })}
className="flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-border text-muted-foreground hover:bg-muted hover:text-foreground disabled:opacity-50"><Dices className="h-4 w-4" /></button>
</span>
</label>
- <div className="block text-xs text-muted-foreground"><span>Based on</span>
- <BrandedSelect value={value.base} disabled={disabled || info.unborn} ariaLabel="Base branch"
+ <div className="block text-xs text-muted-foreground"><span>{t("ide_git.based_on")}</span>
+ <BrandedSelect value={value.base} disabled={disabled || info.unborn} ariaLabel={t("ide_git.base_branch")}
onValueChange={(base) => onChange({ ...value, base })} className="mt-1 h-9"
- options={bases.map((name) => ({ value: name, label: name, hint: name === info.branch ? "current" : name === info.default_branch ? "default" : undefined }))} />
+ options={bases.map((name) => ({ value: name, label: name, hint: name === info.branch ? t("ide_git.hint_current") : name === info.default_branch ? t("ide_git.hint_default") : undefined }))} />
</div>
<p className="text-xs text-muted-foreground sm:col-span-2">
- {info.unborn ? "This repository has no commit yet — make a first commit before branching."
- : value.mode === "new_worktree" ? <>Creates <span className="font-mono text-foreground">{preview}</span>. Only committed work is copied; an existing branch is reused.</>
- : info.dirty ? "Your uncommitted changes move along to the new branch." : "The project folder switches to the new branch for every agent in it."}
+ {info.unborn ? t("ide_git.unborn")
+ : value.mode === "new_worktree" ? (() => {
+ const [before, after = ""] = t("ide_git.creates_worktree").split("{path}");
+ return <>{before}<span className="font-mono text-foreground">{preview}</span>{after}</>;
+ })()
+ : info.dirty ? t("ide_git.dirty_moves") : t("ide_git.folder_switches")}
</p>
</div>}
- {info?.is_repo && value.mode === "switch_branch" && <div className="block text-xs text-muted-foreground"><span>Branch</span>
- <BrandedSelect value={value.branch} disabled={disabled} ariaLabel="Existing branch" onValueChange={(branch) => onChange({ ...value, branch })} className="mt-1 h-9"
+ {info?.is_repo && value.mode === "switch_branch" && <div className="block text-xs text-muted-foreground"><span>{t("ide_git.branch")}</span>
+ <BrandedSelect value={value.branch} disabled={disabled} ariaLabel={t("ide_git.existing_branch")} onValueChange={(branch) => onChange({ ...value, branch })} className="mt-1 h-9"
options={switchable.map((branch) => ({ value: branch.name, label: branch.name }))} />
</div>}
- {info?.is_repo && value.mode === "open_worktree" && <div className="block text-xs text-muted-foreground"><span>Worktree</span>
- <BrandedSelect value={value.base} disabled={disabled} ariaLabel="Existing worktree"
+ {info?.is_repo && value.mode === "open_worktree" && <div className="block text-xs text-muted-foreground"><span>{t("ide_git.worktree")}</span>
+ <BrandedSelect value={value.base} disabled={disabled} ariaLabel={t("ide_git.existing_worktree")}
onValueChange={(path) => { const tree = linked.find((entry) => entry.path === path); onChange({ ...value, base: path, branch: tree?.branch ?? "" }); }}
className="mt-1 h-9"
- options={linked.map((tree) => ({ value: tree.path, label: folderName(tree.path), hint: tree.branch || "detached", searchText: tree.path }))} />
+ options={linked.map((tree) => ({ value: tree.path, label: folderName(tree.path), hint: tree.branch || t("ide_git.detached"), searchText: tree.path }))} />
</div>}
- {value.mode === "init" && <p className="text-xs text-muted-foreground">Creates a repository on <span className="font-mono">main</span> with an empty first commit. Your files are not committed — you decide what goes in.</p>}
+ {value.mode === "init" && (() => {
+ const [before, after = ""] = t("ide_git.init_note").split("{branch}");
+ return <p className="text-xs text-muted-foreground">{before}<span className="font-mono">main</span>{after}</p>;
+ })()}
</section>;
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx
index 1b9b3bcb46..4f497d2c5c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx
@@ -11,6 +11,7 @@ import {
pruneWorktrees, pushBranch, removeWorktree, type GitRepoInfo, type GitWorktree,
} from "@/lib/gitApi";
import { GitStatusLine } from "./GitStatusLine";
+import { fill, translate, useT } from "@/i18n";
interface Props {
open: boolean;
@@ -27,7 +28,8 @@ interface Props {
/** Git letters → a short, readable tag for the change list. */
function changeTag(index: string, worktree: string): string {
const letter = index === "?" ? "?" : index !== "." ? index : worktree;
- return ({ M: "modified", A: "added", D: "deleted", R: "renamed", C: "copied", U: "conflict", "?": "new" } as Record<string, string>)[letter] ?? letter;
+ const key = ({ M: "modified", A: "added", D: "deleted", R: "renamed", C: "copied", U: "conflict", "?": "new" } as Record<string, string>)[letter];
+ return key ? translate(`ide_git.tag_${key}`) : letter;
}
type Busy = "" | "refresh" | "commit" | "push" | "fetch" | "pr" | "merge" | "prune" | "init" | `remove:${string}`;
@@ -38,6 +40,7 @@ type Busy = "" | "refresh" | "commit" | "push" | "fetch" | "pr" | "merge" | "pru
* worktree housekeeping. Every result is said in the panel itself.
*/
export function GitPanelDialog({ open, onOpenChange, folder, workspace, onOpenWorktree, onNewWorktree }: Props) {
+ const t = useT();
const [info, setInfo] = useState<GitRepoInfo | null>(null);
const [busy, setBusy] = useState<Busy>("");
const [notice, setNotice] = useState<{ tone: "ok" | "error"; text: string; url?: string } | null>(null);
@@ -72,20 +75,20 @@ export function GitPanelDialog({ open, onOpenChange, folder, workspace, onOpenWo
const commit = () => act("commit", async () => {
const { commit: sha } = await commitAll(folder, message.trim());
setMessage("");
- return `Committed ${sha}.`;
+ return fill(t("ide_git.committed"), { sha });
});
- const push = () => act("push", async () => `Pushed to ${(await pushBranch(folder)).upstream}.`);
- const fetchAll = () => act("fetch", async () => { await fetchRemotes(folder); return "Fetched every remote."; });
+ const push = () => act("push", async () => fill(t("ide_git.pushed_to"), { upstream: (await pushBranch(folder)).upstream }));
+ const fetchAll = () => act("fetch", async () => { await fetchRemotes(folder); return t("ide_git.fetched"); });
const pr = () => act("pr", async () => {
const { url } = await openPullRequest(folder, { draft });
- return { text: draft ? "Draft pull request opened." : "Pull request opened.", url };
+ return { text: draft ? t("ide_git.draft_pr_opened") : t("ide_git.pr_opened"), url };
});
const merge = () => act("merge", async () => {
const { commit: sha } = await mergeBack(folder);
- return `Merged ${info?.branch} into ${info?.default_branch} (${sha}).`;
+ return fill(t("ide_git.merged"), { branch: info?.branch ?? "", target: info?.default_branch ?? "", sha });
});
- const prune = () => act("prune", async () => { await pruneWorktrees(folder); return "Forgot worktrees whose folders are gone."; });
- const init = () => act("init", async () => { await prepareGit(folder, { mode: "init", branch: "", base: "" }); return "Initialized a repository on main."; });
+ const prune = () => act("prune", async () => { await pruneWorktrees(folder); return t("ide_git.pruned"); });
+ const init = () => act("init", async () => { await prepareGit(folder, { mode: "init", branch: "", base: "" }); return t("ide_git.initialized"); });
const remove = (force: boolean) => {
if (!removing) return;
const { tree, deleteBranch } = removing;
@@ -120,9 +123,9 @@ export function GitPanelDialog({ open, onOpenChange, folder, workspace, onOpenWo
<Dialog.Description className="mt-0.5 truncate text-sm text-muted-foreground" title={folder}>{workspace} · {folderName(folder)}</Dialog.Description>
</div>
<div className="flex items-center gap-1">
- <button type="button" aria-label="Refresh" title="Refresh" disabled={locked} onClick={() => { setBusy("refresh"); void refresh().finally(() => setBusy("")); }}
+ <button type="button" aria-label={t("ide_git.refresh")} title={t("ide_git.refresh")} disabled={locked} onClick={() => { setBusy("refresh"); void refresh().finally(() => setBusy("")); }}
className="rounded-lg p-2 text-muted-foreground hover:bg-muted hover:text-foreground disabled:opacity-40"><RefreshCw className={cn("h-4 w-4", busy === "refresh" && "animate-spin")} /></button>
- <Dialog.Close aria-label="Close Git panel" className="rounded-lg p-2 text-muted-foreground hover:bg-muted hover:text-foreground"><X className="h-4 w-4" /></Dialog.Close>
+ <Dialog.Close aria-label={t("ide_git.close_panel")} className="rounded-lg p-2 text-muted-foreground hover:bg-muted hover:text-foreground"><X className="h-4 w-4" /></Dialog.Close>
</div>
</header>
@@ -130,24 +133,27 @@ export function GitPanelDialog({ open, onOpenChange, folder, workspace, onOpenWo
{notice && <div role={notice.tone === "error" ? "alert" : "status"}
className={cn("rounded-lg border px-3 py-2 text-sm", notice.tone === "error" ? "border-destructive/40 bg-destructive/10 text-destructive" : "border-border bg-muted/40")}>
{notice.text}
- {notice.url && <button type="button" aria-label="Open link" onClick={() => void openExternalUrl(notice.url!)} className="ml-2 inline-flex items-center gap-1 font-medium underline underline-offset-2">Open <ExternalLink className="h-3 w-3" /></button>}
+ {notice.url && <button type="button" aria-label={t("ide_git.open_link")} onClick={() => void openExternalUrl(notice.url!)} className="ml-2 inline-flex items-center gap-1 font-medium underline underline-offset-2">{t("ide_git.open")} <ExternalLink className="h-3 w-3" /></button>}
</div>}
- {!info ? <p className="flex items-center gap-2 text-sm text-muted-foreground"><Loader2 className="h-4 w-4 animate-spin" />Reading repository…</p>
- : !info.git_available ? <p className="text-sm text-muted-foreground">Git is not installed on this computer. Install it from git-scm.com, then refresh.</p>
+ {!info ? <p className="flex items-center gap-2 text-sm text-muted-foreground"><Loader2 className="h-4 w-4 animate-spin" />{t("ide_git.reading_repo")}</p>
+ : !info.git_available ? <p className="text-sm text-muted-foreground">{t("ide_git.not_installed_refresh")}</p>
: !info.is_repo ? <div className="space-y-3">
- <p className="text-sm text-muted-foreground">This folder is not a git repository yet. Initialize one to give agents branches and worktrees.</p>
- <button type="button" disabled={locked} onClick={init} className={button}>{spin("init", Sparkles)}Initialize git</button>
+ <p className="text-sm text-muted-foreground">{t("ide_git.not_a_repo")}</p>
+ <button type="button" disabled={locked} onClick={init} className={button}>{spin("init", Sparkles)}{t("ide_git.init")}</button>
</div>
: <>
- <section aria-label="Status" className="space-y-2">
+ <section aria-label={t("common.status")} className="space-y-2">
<GitStatusLine info={info} className="text-sm" />
- {info.is_worktree && <p className="text-xs text-muted-foreground">A worktree of <span className="font-mono">{folderName(info.main_root)}</span>. Its agents work on their own branch without touching the main folder.</p>}
+ {info.is_worktree && (() => {
+ const [before, after = ""] = t("ide_git.worktree_of").split("{folder}");
+ return <p className="text-xs text-muted-foreground">{before}<span className="font-mono">{folderName(info.main_root)}</span>{after}</p>;
+ })()}
</section>
- <section aria-label="Changes" className="space-y-2.5">
- <h3 className="text-sm font-medium">Changes</h3>
- {info.changes.length === 0 ? <p className="text-xs text-muted-foreground">Nothing uncommitted.</p>
+ <section aria-label={t("ide_git.changes")} className="space-y-2.5">
+ <h3 className="text-sm font-medium">{t("ide_git.changes")}</h3>
+ {info.changes.length === 0 ? <p className="text-xs text-muted-foreground">{t("ide_git.nothing_uncommitted_full")}</p>
: <ul className="max-h-40 space-y-0.5 overflow-y-auto rounded-lg border border-border bg-muted/30 p-2">
{info.changes.map((change) => <li key={`${change.path}-${change.index}${change.worktree}`} className="flex items-center gap-2 text-xs">
<span className={cn("w-16 shrink-0 text-[10px] uppercase tracking-wide", change.index === "U" ? "text-destructive" : "text-muted-foreground")}>{changeTag(change.index, change.worktree)}</span>
@@ -155,64 +161,67 @@ export function GitPanelDialog({ open, onOpenChange, folder, workspace, onOpenWo
</li>)}
</ul>}
<form className="flex gap-2" onSubmit={(event) => { event.preventDefault(); void commit(); }}>
- <input value={message} onChange={(event) => setMessage(event.target.value)} disabled={locked || !info.dirty} aria-label="Commit message"
- placeholder={info.dirty ? "Commit message, e.g. feat: add login form" : "No changes to commit"}
+ <input value={message} onChange={(event) => setMessage(event.target.value)} disabled={locked || !info.dirty} aria-label={t("ide_git.commit_message")}
+ placeholder={info.dirty ? t("ide_git.commit_placeholder") : t("ide_git.no_changes")}
className="h-9 min-w-0 flex-1 rounded-lg border border-input bg-background px-3 text-sm outline-none focus:border-ring focus:ring-1 focus:ring-ring/30 disabled:opacity-50" />
- <button type="submit" disabled={locked || !info.dirty || !message.trim()} className={button}>{spin("commit", GitCommitHorizontal)}Commit all</button>
+ <button type="submit" disabled={locked || !info.dirty || !message.trim()} className={button}>{spin("commit", GitCommitHorizontal)}{t("ide_git.commit_all")}</button>
</form>
</section>
- <section aria-label="Share" className="space-y-2.5">
- <h3 className="text-sm font-medium">Share</h3>
+ <section aria-label={t("ide_git.share")} className="space-y-2.5">
+ <h3 className="text-sm font-medium">{t("ide_git.share")}</h3>
<div className="grid grid-cols-2 gap-2 sm:grid-cols-3">
<button type="button" disabled={locked || !info.branch || info.remotes.length === 0} onClick={push} className={button}
- title={info.remotes.length === 0 ? "This repository has no remote" : undefined}>{spin("push", Upload)}{info.upstream ? "Push" : "Publish branch"}</button>
- <button type="button" disabled={locked || info.remotes.length === 0} onClick={fetchAll} className={button}>{spin("fetch", CloudDownload)}Fetch</button>
+ title={info.remotes.length === 0 ? t("ide_git.no_remote") : undefined}>{spin("push", Upload)}{info.upstream ? t("ide_git.push") : t("ide_git.publish_branch")}</button>
+ <button type="button" disabled={locked || info.remotes.length === 0} onClick={fetchAll} className={button}>{spin("fetch", CloudDownload)}{t("ide_git.fetch")}</button>
<button type="button" disabled={locked || !info.gh_available || !onFeatureBranch || info.remotes.length === 0} onClick={pr} className={button}
- title={!info.gh_available ? "Install the GitHub CLI (gh) to open pull requests" : !onFeatureBranch ? "Switch to a feature branch first" : undefined}>{spin("pr", GitPullRequest)}Pull request</button>
+ title={!info.gh_available ? t("ide_git.install_gh") : !onFeatureBranch ? t("ide_git.switch_feature_branch") : undefined}>{spin("pr", GitPullRequest)}{t("ide_git.pull_request")}</button>
</div>
<label className="flex items-center gap-2 text-xs text-muted-foreground">
- <input type="checkbox" checked={draft} onChange={(event) => setDraft(event.target.checked)} className="accent-primary" />Open pull requests as drafts
+ <input type="checkbox" checked={draft} onChange={(event) => setDraft(event.target.checked)} className="accent-primary" />{t("ide_git.drafts")}
</label>
{onFeatureBranch && <button type="button" disabled={locked || info.dirty} onClick={merge} className={cn(button, "w-full")}
- title={info.dirty ? "Commit the changes first" : undefined}>{spin("merge", GitMerge)}Merge {info.branch} into {info.default_branch}</button>}
+ title={info.dirty ? t("ide_git.commit_first") : undefined}>{spin("merge", GitMerge)}{fill(t("ide_git.merge_into"), { branch: info.branch, target: info.default_branch })}</button>}
</section>
- <section aria-label="Worktrees" className="space-y-2.5">
+ <section aria-label={t("ide_git.worktrees")} className="space-y-2.5">
<div className="flex items-center justify-between gap-2">
- <h3 className="text-sm font-medium">Worktrees</h3>
+ <h3 className="text-sm font-medium">{t("ide_git.worktrees")}</h3>
<div className="flex gap-1.5">
- {prunable && <button type="button" disabled={locked} onClick={prune} className="rounded-md px-2 py-1 text-xs text-muted-foreground hover:bg-muted">{busy === "prune" ? "Pruning…" : "Prune missing"}</button>}
+ {prunable && <button type="button" disabled={locked} onClick={prune} className="rounded-md px-2 py-1 text-xs text-muted-foreground hover:bg-muted">{busy === "prune" ? t("ide_git.pruning") : t("ide_git.prune_missing")}</button>}
<button type="button" disabled={locked || info.unborn} onClick={() => { onOpenChange(false); onNewWorktree(); }}
- className="flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium hover:bg-muted disabled:opacity-40"><GitFork className="h-3.5 w-3.5" />New worktree</button>
+ className="flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium hover:bg-muted disabled:opacity-40"><GitFork className="h-3.5 w-3.5" />{t("ide_git.new_worktree")}</button>
</div>
</div>
- {linked.length === 0 ? <p className="text-xs text-muted-foreground">No worktrees yet. A worktree gives agents their own folder and branch, so several can change code at once.</p>
+ {linked.length === 0 ? <p className="text-xs text-muted-foreground">{t("ide_git.no_worktrees")}</p>
: <ul className="space-y-1.5">
{linked.map((tree) => <li key={tree.path} className="rounded-lg border border-border px-3 py-2">
<div className="flex items-center gap-2">
<FolderGit2 className="h-4 w-4 shrink-0 text-muted-foreground" aria-hidden />
<span className="min-w-0 flex-1">
- <span className="block truncate font-mono text-xs text-foreground">{tree.branch || `detached ${tree.head}`}</span>
+ <span className="block truncate font-mono text-xs text-foreground">{tree.branch || fill(t("ide_git.detached_head"), { head: tree.head })}</span>
<span className="block truncate text-[11px] text-muted-foreground" title={tree.path}>{folderName(tree.path)}
- {tree.current && " · this workspace"}{tree.prunable && " · folder missing"}{tree.locked && " · locked"}</span>
+ {tree.current && ` · ${t("ide_git.this_workspace")}`}{tree.prunable && ` · ${t("ide_git.folder_missing")}`}{tree.locked && ` · ${t("ide_git.locked")}`}</span>
</span>
{!tree.current && !tree.prunable && <button type="button" disabled={locked} onClick={() => { onOpenChange(false); onOpenWorktree(tree); }}
- className="rounded-md px-2 py-1 text-xs hover:bg-muted">Open</button>}
- {!tree.current && <button type="button" disabled={locked} aria-label={`Remove ${folderName(tree.path)}`}
+ className="rounded-md px-2 py-1 text-xs hover:bg-muted">{t("ide_git.open")}</button>}
+ {!tree.current && <button type="button" disabled={locked} aria-label={fill(t("ide_git.remove_named"), { folder: folderName(tree.path) })}
onClick={() => setRemoving({ tree, deleteBranch: false, dirty: "" })}
className="rounded-md p-1.5 text-muted-foreground hover:bg-muted hover:text-destructive"><Trash2 className="h-3.5 w-3.5" /></button>}
</div>
- {removing?.tree.path === tree.path && <div role="group" aria-label="Confirm removal" className="mt-2 space-y-2 border-t border-border pt-2">
- <p className="text-xs text-muted-foreground">{removing.dirty || "The folder is deleted. Committed work stays on its branch."}</p>
+ {removing?.tree.path === tree.path && <div role="group" aria-label={t("ide_git.confirm_removal")} className="mt-2 space-y-2 border-t border-border pt-2">
+ <p className="text-xs text-muted-foreground">{removing.dirty || t("ide_git.remove_note")}</p>
{tree.branch && <label className="flex items-center gap-2 text-xs text-muted-foreground">
<input type="checkbox" checked={removing.deleteBranch} onChange={(event) => setRemoving({ ...removing, deleteBranch: event.target.checked })} className="accent-primary" />
- Also delete branch <span className="font-mono">{tree.branch}</span> if it is merged</label>}
+ {(() => {
+ const [before, after = ""] = t("ide_git.also_delete_branch").split("{branch}");
+ return <>{before}<span className="font-mono">{tree.branch}</span>{after}</>;
+ })()}</label>}
<div className="flex justify-end gap-2">
- <button type="button" onClick={() => setRemoving(null)} className="rounded-md px-2.5 py-1 text-xs text-muted-foreground hover:bg-muted">Cancel</button>
+ <button type="button" onClick={() => setRemoving(null)} className="rounded-md px-2.5 py-1 text-xs text-muted-foreground hover:bg-muted">{t("common.cancel")}</button>
<button type="button" disabled={locked} onClick={() => remove(Boolean(removing.dirty))}
className="rounded-md bg-destructive px-2.5 py-1 text-xs font-medium text-destructive-foreground disabled:opacity-50">
- {busy === `remove:${tree.path}` ? "Removing…" : removing.dirty ? "Remove anyway" : "Remove worktree"}</button>
+ {busy === `remove:${tree.path}` ? t("ide_git.removing") : removing.dirty ? t("ide_git.remove_anyway") : t("ide_git.remove_worktree")}</button>
</div>
</div>}
</li>)}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx b/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx
index 28933628f9..e4fd7c1fc8 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx
@@ -1,25 +1,27 @@
import { ArrowDown, ArrowUp, GitBranch } from "lucide-react";
import { cn } from "@/lib/utils";
import type { GitRepoInfo } from "@/lib/gitApi";
+import { fill, useT } from "@/i18n";
/** Branch · changes · ahead/behind · +/- lines, in one compact row. */
export function GitStatusLine({ info, className }: { info: GitRepoInfo; className?: string }) {
+ const t = useT();
const changes = info.staged + info.unstaged + info.untracked + info.conflicted;
return <span data-testid="git-status-line" className={cn("flex flex-wrap items-center gap-x-2.5 gap-y-1 text-xs text-muted-foreground", className)}>
- <span className="flex items-center gap-1 font-mono text-foreground" title={info.detached ? `Detached at ${info.head}` : "Current branch"}>
+ <span className="flex items-center gap-1 font-mono text-foreground" title={info.detached ? fill(t("ide_git.detached_at"), { head: info.head }) : t("ide_git.current_branch")}>
<GitBranch className="h-3.5 w-3.5" aria-hidden />{info.detached ? info.head : info.branch || "—"}
</span>
- {info.is_worktree && <span className="rounded-full border border-border px-1.5 text-[10px]">worktree</span>}
- <span className="flex items-center gap-1" title={changes ? `${changes} uncommitted` : "Nothing uncommitted"}>
+ {info.is_worktree && <span className="rounded-full border border-border px-1.5 text-[10px]">{t("ide_git.worktree_badge")}</span>}
+ <span className="flex items-center gap-1" title={changes ? fill(t("ide_git.uncommitted"), { count: changes }) : t("ide_git.nothing_uncommitted")}>
<span className={cn("h-1.5 w-1.5 rounded-full", info.conflicted ? "bg-destructive" : changes ? "bg-warning" : "bg-accent")} aria-hidden />
- {changes ? `${changes} ${changes === 1 ? "change" : "changes"}` : "clean"}
+ {changes ? fill(t(changes === 1 ? "ide_git.changes_one" : "ide_git.changes_other"), { count: changes }) : t("ide_git.clean")}
</span>
{(info.insertions > 0 || info.deletions > 0) && <span className="font-mono">
<span className="text-success">+{info.insertions}</span>{" "}
<span className="text-destructive">−{info.deletions}</span>
</span>}
- {info.upstream ? <span className="flex items-center gap-0.5 font-mono" title={`Compared with ${info.upstream}`}>
- <ArrowUp className="h-3 w-3" aria-label="ahead" />{info.ahead}<ArrowDown className="ml-1 h-3 w-3" aria-label="behind" />{info.behind}
- </span> : info.branch && <span title="This branch has not been pushed yet">not pushed</span>}
+ {info.upstream ? <span className="flex items-center gap-0.5 font-mono" title={fill(t("ide_git.compared_with"), { upstream: info.upstream })}>
+ <ArrowUp className="h-3 w-3" aria-label={t("ide_git.ahead")} />{info.ahead}<ArrowDown className="ml-1 h-3 w-3" aria-label={t("ide_git.behind")} />{info.behind}
+ </span> : info.branch && <span title={t("ide_git.not_pushed_title")}>{t("ide_git.not_pushed")}</span>}
</span>;
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ideHotkeys.ts b/jarvis/ui/web/frontend/src/components/agentic/ideHotkeys.ts
index 519c3fc3d8..280193bddd 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ideHotkeys.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/ideHotkeys.ts
@@ -23,6 +23,7 @@
import type { PaneSplitDirection } from "./WorkspaceTerminalHeader";
import { appZoomChordMatches } from "@/lib/appZoom";
import { parseChord } from "@/lib/quickSwitchChord";
+import { fill, translate } from "@/i18n";
export type PaneDirection = "left" | "right" | "up" | "down";
@@ -294,33 +295,33 @@ export function modeBar(
return {
badge: step.label.toUpperCase(),
hints: [
- { keys: ["→"], label: "right" }, { keys: ["←"], label: "left" }, { keys: ["↑"], label: "above" },
- { keys: ["↓"], label: "below" }, { keys: ["Enter"], label: "even grid" }, { keys: ["⌫"], label: "back" },
+ { keys: ["→"], label: translate("ide_hotkeys.bar.right") }, { keys: ["←"], label: translate("ide_hotkeys.bar.left") }, { keys: ["↑"], label: translate("ide_hotkeys.bar.above") },
+ { keys: ["↓"], label: translate("ide_hotkeys.bar.below") }, { keys: ["Enter"], label: translate("ide_hotkeys.bar.even_grid") }, { keys: ["⌫"], label: translate("ide_hotkeys.bar.back") },
],
};
}
if (step.menu === "workspace") {
return {
- badge: "WORKSPACE",
+ badge: translate("ide_hotkeys.badge.workspace"),
hints: [
- { keys: ["N"], label: "new" }, { keys: ["T"], label: "worktree" }, { keys: ["R"], label: "rename" },
- { keys: ["Q"], label: "close" }, { keys: ["G"], label: "git" }, { keys: ["O"], label: "options" },
- { keys: ["P"], label: "connect folder" }, { keys: ["←→"], label: "switch" }, { keys: ["⌫"], label: "back" },
+ { keys: ["N"], label: translate("ide_hotkeys.bar.new") }, { keys: ["T"], label: translate("ide_hotkeys.bar.worktree") }, { keys: ["R"], label: translate("ide_hotkeys.bar.rename") },
+ { keys: ["Q"], label: translate("ide_hotkeys.bar.close") }, { keys: ["G"], label: translate("ide_hotkeys.bar.git") }, { keys: ["O"], label: translate("ide_hotkeys.bar.options") },
+ { keys: ["P"], label: translate("ide_hotkeys.bar.connect_folder") }, { keys: ["←→"], label: translate("ide_hotkeys.bar.switch") }, { keys: ["⌫"], label: translate("ide_hotkeys.bar.back") },
],
};
}
- if (step.menu === "help") return { badge: "KEYS", hints: [{ keys: ["any key"], label: "back" }] };
+ if (step.menu === "help") return { badge: translate("ide_hotkeys.badge.keys"), hints: [{ keys: [translate("ide_hotkeys.bar.any_key")], label: translate("ide_hotkeys.bar.back") }] };
return {
- badge: "PREFIX",
+ badge: translate("ide_hotkeys.badge.prefix"),
hints: [
...agents.map((agent) => ({ keys: [agent.key.toUpperCase()], label: agent.label })),
- { keys: ["V", "-"], label: "split" },
- { keys: ["←↑→↓"], label: "move" },
- { keys: ["Z"], label: "zoom" },
- { keys: ["Q"], label: "close" },
- { keys: ["W"], label: "workspaces" },
- { keys: ["?"], label: "all keys" },
- { keys: [...leaderCaps], label: `send ${leaderCaps.join("+")}` },
+ { keys: ["V", "-"], label: translate("ide_hotkeys.bar.split") },
+ { keys: ["←↑→↓"], label: translate("ide_hotkeys.bar.move") },
+ { keys: ["Z"], label: translate("ide_hotkeys.bar.zoom") },
+ { keys: ["Q"], label: translate("ide_hotkeys.bar.close") },
+ { keys: ["W"], label: translate("ide_hotkeys.bar.workspaces") },
+ { keys: ["?"], label: translate("ide_hotkeys.bar.all_keys") },
+ { keys: [...leaderCaps], label: fill(translate("ide_hotkeys.bar.send_leader"), { keys: leaderCaps.join("+") }) },
],
};
}
@@ -337,65 +338,65 @@ export function hotkeyHints(
): HotkeyHintGroup[] {
if (step.menu === "direction") {
return [{
- title: `Open ${step.label}`,
+ title: fill(translate("ide_hotkeys.help.open_agent"), { agent: step.label }),
hints: [
- { keys: ["→"], label: "To the right" },
- { keys: ["←"], label: "To the left" },
- { keys: ["↑"], label: "Above" },
- { keys: ["↓"], label: "Below" },
- { keys: ["Enter"], label: "Even grid" },
+ { keys: ["→"], label: translate("ide_hotkeys.help.to_right") },
+ { keys: ["←"], label: translate("ide_hotkeys.help.to_left") },
+ { keys: ["↑"], label: translate("ide_hotkeys.help.above") },
+ { keys: ["↓"], label: translate("ide_hotkeys.help.below") },
+ { keys: ["Enter"], label: translate("ide_hotkeys.help.even_grid") },
],
}];
}
if (step.menu === "workspace") {
return [{
- title: "Workspace",
+ title: translate("ide_hotkeys.help.group_workspace"),
hints: [
- { keys: ["N"], label: "New workspace" },
- { keys: ["T"], label: "New worktree workspace" },
- { keys: ["R"], label: "Rename workspace" },
- { keys: ["Q"], label: "Close workspace" },
- { keys: ["G"], label: "Git panel" },
- { keys: ["O"], label: "Workspace options" },
- { keys: ["P"], label: "Connect a project folder" },
- { keys: ["←", "→"], label: "Previous / next workspace" },
- { keys: ["1–9"], label: "Go to workspace 1–9" },
+ { keys: ["N"], label: translate("ide_hotkeys.help.new_workspace") },
+ { keys: ["T"], label: translate("ide_hotkeys.help.new_worktree_workspace") },
+ { keys: ["R"], label: translate("ide_hotkeys.help.rename_workspace") },
+ { keys: ["Q"], label: translate("ide_hotkeys.help.close_workspace") },
+ { keys: ["G"], label: translate("ide_hotkeys.help.git_panel") },
+ { keys: ["O"], label: translate("ide_hotkeys.help.workspace_options") },
+ { keys: ["P"], label: translate("ide_hotkeys.help.connect_folder") },
+ { keys: ["←", "→"], label: translate("ide_hotkeys.help.prev_next_workspace") },
+ { keys: ["1–9"], label: translate("ide_hotkeys.help.go_to_workspace_n") },
],
}];
}
return [
{
- title: "New pane",
+ title: translate("ide_hotkeys.help.group_new_pane"),
hints: [
- ...agents.map((agent) => ({ keys: [agent.key.toUpperCase()], label: `${agent.label}, then an arrow` })),
- { keys: ["V"], label: "Split right, same agent" },
- { keys: ["-"], label: "Split below, same agent" },
- { keys: ["+"], label: "Choose agent…" },
+ ...agents.map((agent) => ({ keys: [agent.key.toUpperCase()], label: fill(translate("ide_hotkeys.help.agent_then_arrow"), { agent: agent.label }) })),
+ { keys: ["V"], label: translate("ide_hotkeys.help.split_right_same") },
+ { keys: ["-"], label: translate("ide_hotkeys.help.split_below_same") },
+ { keys: ["+"], label: translate("ide_hotkeys.help.choose_agent") },
],
},
{
- title: "Panes",
+ title: translate("ide_hotkeys.help.group_panes"),
hints: [
- { keys: ["←↑→↓"], label: "Focus neighbor" },
- { keys: ["Shift", "←↑→↓"], label: "Swap with neighbor" },
- { keys: ["Z"], label: "Maximize / restore" },
- { keys: ["R"], label: "Rename pane" },
- { keys: ["F"], label: "Fork pane" },
- { keys: ["Q"], label: "Close pane" },
- { keys: ["E"], label: "Even out layout" },
+ { keys: ["←↑→↓"], label: translate("ide_hotkeys.help.focus_neighbor") },
+ { keys: ["Shift", "←↑→↓"], label: translate("ide_hotkeys.help.swap_neighbor") },
+ { keys: ["Z"], label: translate("ide_hotkeys.help.maximize_restore") },
+ { keys: ["R"], label: translate("ide_hotkeys.help.rename_pane") },
+ { keys: ["F"], label: translate("ide_hotkeys.help.fork_pane") },
+ { keys: ["Q"], label: translate("ide_hotkeys.help.close_pane") },
+ { keys: ["E"], label: translate("ide_hotkeys.help.even_layout") },
],
},
{
- title: "Workspaces",
+ title: translate("ide_hotkeys.help.group_workspaces"),
hints: [
- { keys: ["W"], label: "Workspace menu…" },
- { keys: ["1–9"], label: "Go to workspace" },
- { keys: ["N", "P"], label: "Next / previous workspace" },
- { keys: ["Shift", "N"], label: "New workspace" },
- { keys: ["Shift", "W"], label: "Rename workspace" },
- { keys: ["Shift", "D"], label: "Close workspace" },
- { keys: ["M"], label: "Voice bubble" },
- { keys: [...leaderCaps], label: `Send ${leaderCaps.join("+")} to the pane` },
+ { keys: ["W"], label: translate("ide_hotkeys.help.workspace_menu") },
+ { keys: ["1–9"], label: translate("ide_hotkeys.help.go_to_workspace") },
+ { keys: ["N", "P"], label: translate("ide_hotkeys.help.next_prev_workspace") },
+ { keys: ["Shift", "N"], label: translate("ide_hotkeys.help.new_workspace") },
+ { keys: ["Shift", "W"], label: translate("ide_hotkeys.help.rename_workspace") },
+ { keys: ["Shift", "D"], label: translate("ide_hotkeys.help.close_workspace") },
+ { keys: ["M"], label: translate("agentic_grid.voice_bubble.button_label") },
+ { keys: [...leaderCaps], label: fill(translate("ide_hotkeys.help.send_leader"), { keys: leaderCaps.join("+") }) },
],
},
];
diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.ts b/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.ts
index 4fb20ac297..2fbb7b44c3 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.ts
@@ -16,6 +16,7 @@
* before its next restart loads new routes) gets the older reading: the
* uncommitted files, filtered here.
*/
+import { fill, translate } from "@/i18n";
import {
fetchFileDiff,
fetchWorkspaceChanges,
@@ -74,7 +75,7 @@ class HttpError extends Error {
async function read<T>(url: string): Promise<T> {
const res = await fetch(url);
if (!res.ok) {
- let message = `Request failed (${res.status}).`;
+ let message = fill(translate("ide_panes.request_failed"), { status: res.status });
try {
const body = (await res.json()) as { detail?: unknown };
if (typeof body.detail === "string") message = body.detail;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneExit.ts b/jarvis/ui/web/frontend/src/components/agentic/paneExit.ts
index 1422c714a7..1d2500729d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/paneExit.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/paneExit.ts
@@ -15,18 +15,20 @@
* searching for.
*/
+import { fill, translate } from "@/i18n";
+
/**
* Windows NTSTATUS values a coding CLI actually dies with, already re-signed
* the way the backend hands them over. The hex form is what a user would find
* a description of, so it stays in the text.
*/
const WINDOWS_STATUS: ReadonlyMap<number, string> = new Map([
- [-1073741510, "stopped with Ctrl-C (0xC000013A)"],
- [-1073741819, "crashed — memory access violation (0xC0000005)"],
- [-1073740791, "crashed — stack buffer overrun (0xC0000409)"],
- [-1073740940, "crashed — heap corruption (0xC0000374)"],
- [-1073740771, "crashed — unhandled exception (0xC000041D)"],
- [-1073741502, "could not start — a required DLL was missing (0xC0000142)"],
+ [-1073741510, "ide_panes.exit.ctrl_c"],
+ [-1073741819, "ide_panes.exit.access_violation"],
+ [-1073740791, "ide_panes.exit.stack_overrun"],
+ [-1073740940, "ide_panes.exit.heap_corruption"],
+ [-1073740771, "ide_panes.exit.unhandled_exception"],
+ [-1073741502, "ide_panes.exit.dll_missing"],
]);
/** What the pane writes into the terminal when its agent is gone. */
@@ -36,12 +38,12 @@ export function describeExit(name: string, code: number): string {
/** The same explanation without the pane's name — for the header's tooltip. */
export function explainExit(code: number): string {
- if (code === 0) return "stopped";
+ if (code === 0) return translate("ide_panes.exit.stopped");
const known = WINDOWS_STATUS.get(code);
- if (known) return known;
+ if (known) return translate(known);
// -1 is what both a child that exited with -1 and a backend that could not
// read a code at all arrive as. They are one case to the reader: the agent is
// gone and did not stop cleanly.
- if (code === -1) return "stopped unexpectedly — use Restart to bring it back";
- return `stopped unexpectedly (exit code ${code}) — use Restart to bring it back`;
+ if (code === -1) return translate("ide_panes.exit.unexpected");
+ return fill(translate("ide_panes.exit.unexpected_code"), { code });
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneLayout.ts b/jarvis/ui/web/frontend/src/components/agentic/paneLayout.ts
index 31694cecc3..820d5d13de 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/paneLayout.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/paneLayout.ts
@@ -47,6 +47,7 @@
* re-parented and so never unmounts (see the header of `./layout`).
*/
import type { Positioned } from "./layout";
+import { fill, translate } from "@/i18n";
/** Smallest a pane may be dragged to, on either axis. */
export const MIN_SEAM_PANE_PX = 120;
@@ -218,7 +219,10 @@ export function paneLayout<T extends Sized>(
after: panes[pane].name,
groupWeight: stackTotal,
axisFraction: 1,
- label: `Drag to resize ${panes[stack[slot - 1]].name} and ${panes[pane].name}`,
+ label: fill(translate("ide_panes.seam.resize_pair"), {
+ before: panes[stack[slot - 1]].name,
+ after: panes[pane].name,
+ }),
});
}
stackCursor += share;
@@ -237,7 +241,7 @@ export function paneLayout<T extends Sized>(
after: index,
groupWeight: columnTotal,
axisFraction: 1,
- label: "Drag to resize these two columns of terminals",
+ label: translate("ide_panes.seam.resize_columns"),
});
}
xCursor += width;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneSocket.ts b/jarvis/ui/web/frontend/src/components/agentic/paneSocket.ts
index f43a5d88fb..134e7bbf4d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/paneSocket.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/paneSocket.ts
@@ -47,6 +47,7 @@
* is the most reliable signal there is that the wait should end now.
*/
+import { fill, translate } from "@/i18n";
import { mintWsTicket } from "@/lib/ws";
import {
jitteredDelay,
@@ -391,13 +392,13 @@ export function openPaneSocket(
if (stopped) return;
if (ticket) pendingTicket = ticket;
if (ticket !== null && ticketRetries <= MAX_TICKET_RETRIES) {
- handlers.onTrouble("Authorizing the terminal…", true);
+ handlers.onTrouble(translate("ide_panes.socket.authorizing"), true);
// Fixed short delay: the very next attempt carries a fresh credential,
// so escalating the backoff would only postpone a working terminal.
schedule(jitteredDelay(0, MIN_BACKOFF, MIN_BACKOFF));
return;
}
- retryLater("Terminal authorization failed — retrying.");
+ retryLater(translate("ide_panes.socket.auth_failed"));
};
const handleDrop = (code: number) => {
@@ -406,7 +407,7 @@ export function openPaneSocket(
// showing a workspace that has been closed. Stop, and ask for the real
// one — the grid that comes back brings its own panes with it.
stopped = true;
- handlers.onTrouble("This workspace was closed — reloading…", true);
+ handlers.onTrouble(translate("ide_panes.socket.workspace_closed"), true);
askForFreshState("stale-workspace");
return;
}
@@ -415,13 +416,13 @@ export function openPaneSocket(
// not start. Retrying cannot fix a missing key, so this ends the pane,
// and it ends it with the server's OWN sentence: that sentence names the
// problem and the page to fix it on, which no message written here could.
- giveUp(serverReason || "This terminal could not be started.");
+ giveUp(serverReason || translate("ide_panes.socket.start_failed_this"));
return;
}
if (code === CLOSE_NO_SUCH_PANE) {
// The server is not saying "not right now", it is saying "not here".
// No number of retries turns that into a terminal.
- giveUp("This terminal is no longer part of the open workspace.");
+ giveUp(translate("ide_panes.socket.no_such_pane"));
// A pane that the open workspace does not have means the grid on screen
// is out of date — one pane is merely where that became visible. Left
// alone it stays visible as a dead rectangle for the rest of the session
@@ -441,7 +442,7 @@ export function openPaneSocket(
waits += 1;
// The server's own sentence when it gave one ("Copying the folder to
// vps…" while a pane is set up on a computer); otherwise the restart case.
- handlers.onTrouble(serverReason || "Waiting for the workspace to come back…", true);
+ handlers.onTrouble(serverReason || translate("ide_panes.socket.waiting_workspace"), true);
// Before settling into the slow knock, ask once whether the world still
// looks the way this pane thinks it does. A workspace that opened while
// the panes were waiting announces itself, but a pane that has already
@@ -462,8 +463,8 @@ export function openPaneSocket(
}
retryLater(
attempts === 0 && ws === null
- ? "Could not reach the terminal — retrying."
- : `Terminal connection lost (code ${code || "?"}) — reconnecting.`,
+ ? translate("ide_panes.socket.unreachable")
+ : fill(translate("ide_panes.socket.connection_lost"), { code: code || "?" }),
);
};
@@ -474,7 +475,7 @@ export function openPaneSocket(
try {
socket = new WebSocket(paneUrl(opts, ticket));
} catch {
- retryLater("Could not reach the terminal — retrying.");
+ retryLater(translate("ide_panes.socket.unreachable"));
return;
}
ws = socket;
@@ -571,7 +572,7 @@ export function openPaneSocket(
// because the close handler runs a moment later and would otherwise
// have nothing to say beyond what the bare code implies.
serverReason = msg.message ?? "";
- handlers.onTrouble(msg.message ?? "The terminal could not be started.", true);
+ handlers.onTrouble(msg.message ?? translate("ide_panes.socket.start_failed"), true);
}
});
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/explorer/explorerApi.ts b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/explorer/explorerApi.ts
index 6aab5cae4c..6321095e26 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/explorer/explorerApi.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/explorer/explorerApi.ts
@@ -1,5 +1,7 @@
/** The explorer's git reads: what changed in a workspace, and one file's diff. */
+import { fill, translate } from "@/i18n";
+
export type ChangeStatus = "modified" | "added" | "deleted" | "untracked" | "conflicted";
/** A pane whose coding agent wrote a changed file, read from that agent's own record. */
@@ -59,7 +61,7 @@ export interface FileDiff {
async function read<T>(url: string): Promise<T> {
const res = await fetch(url);
if (!res.ok) {
- let message = `Request failed (${res.status}).`;
+ let message = fill(translate("ide_panes.request_failed"), { status: res.status });
try {
const body = (await res.json()) as { detail?: unknown };
if (typeof body.detail === "string") message = body.detail;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/GitOverviewTab.tsx b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/GitOverviewTab.tsx
index c92d0e8e6d..203a85f95e 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/GitOverviewTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/GitOverviewTab.tsx
@@ -27,7 +27,8 @@ import {
X,
type LucideIcon,
} from "lucide-react";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { robustCopy } from "@/lib/clipboard";
import { openExternalUrl } from "@/lib/openExternal";
import { cn } from "@/lib/utils";
@@ -343,7 +344,7 @@ function commitDateLabel(seconds: number, lang: string, now = Date.now()): strin
function CommitDate({ seconds }: { seconds: number }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
if (!seconds) return null;
const full = new Intl.DateTimeFormat(lang, { dateStyle: "medium", timeStyle: "short" }).format(new Date(seconds * 1000));
return (
@@ -487,7 +488,7 @@ function BranchDetails({
editors: BranchEditors | null;
}) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const pushToast = useEventStore((state) => state.pushToast);
const [contents, setContents] = useState<BranchContents | null>(null);
const [error, setError] = useState("");
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/gitOverviewApi.ts b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/gitOverviewApi.ts
index b5b4605552..7121ef1b18 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/gitOverviewApi.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/git/gitOverviewApi.ts
@@ -6,6 +6,7 @@
* are three separate facts on purpose — passing checks never mean "merged".
*/
+import { fill, translate } from "@/i18n";
import type { DiffHunk } from "../explorer/explorerApi";
export type PullRequestState = "draft" | "open" | "queued" | "merged" | "closed";
@@ -111,7 +112,7 @@ export class GitOverviewError extends Error {
async function call<T>(url: string, init?: RequestInit): Promise<T> {
const res = await fetch(url, init);
if (!res.ok) {
- let message = `Request failed (${res.status}).`;
+ let message = fill(translate("ide_panes.request_failed"), { status: res.status });
let detail: unknown;
try {
detail = ((await res.json()) as { detail?: unknown }).detail;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/skills/skillImport.ts b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/skills/skillImport.ts
index 6573a2cc1f..2a1352ae36 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/skills/skillImport.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/skills/skillImport.ts
@@ -7,6 +7,8 @@
* files saved without the editor.
*/
+import { fill, translate } from "@/i18n";
+
/** What the file pickers offer. `.txt` too: plenty of prompts live in plain text. */
export const MARKDOWN_ACCEPT = ".md,.markdown,.mdx,.txt,text/markdown,text/plain";
@@ -34,17 +36,17 @@ function readText(file: File): Promise<string> {
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.onload = () => resolve(String(reader.result ?? ""));
- reader.onerror = () => reject(reader.error ?? new SkillImportError(`${file.name}: could not be read.`));
+ reader.onerror = () => reject(reader.error ?? new SkillImportError(fill(translate("ide_side_panel.skills.import_errors.unreadable"), { file: file.name })));
reader.readAsText(file);
});
}
/** A file's text, refusing binaries and anything too large to paste. */
export async function readMarkdownFile(file: File): Promise<string> {
- if (!isMarkdownFile(file)) throw new SkillImportError(`${file.name}: not a Markdown or text file.`);
- if (file.size > MAX_IMPORT_BYTES) throw new SkillImportError(`${file.name}: larger than ${Math.round(MAX_IMPORT_BYTES / 1000)} KB.`);
+ if (!isMarkdownFile(file)) throw new SkillImportError(fill(translate("ide_side_panel.skills.import_errors.not_markdown"), { file: file.name }));
+ if (file.size > MAX_IMPORT_BYTES) throw new SkillImportError(fill(translate("ide_side_panel.skills.import_errors.too_large"), { file: file.name, size: Math.round(MAX_IMPORT_BYTES / 1000) }));
const text = await readText(file);
- if (text.includes(String.fromCharCode(0))) throw new SkillImportError(`${file.name}: not a text file.`);
+ if (text.includes(String.fromCharCode(0))) throw new SkillImportError(fill(translate("ide_side_panel.skills.import_errors.not_text"), { file: file.name }));
return withoutBom(text).replace(/\r\n?/g, "\n");
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx
index 0e0884807e..cd9edbc1c1 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx
@@ -1,6 +1,7 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { ExternalLink, Loader2, RefreshCw } from "lucide-react";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import type { AccountUsage } from "@/lib/agentAccountsApi";
import { consumeAccountReset, fetchAccountResets, ResetRequestError, type AccountResets, type ResetAttempt, type ResetCredit } from "@/lib/agentResetsApi";
import { openExternalUrl } from "@/lib/openExternal";
@@ -24,7 +25,7 @@ export function BankedResets({ accountId, accountName, revision, onUsage }: {
onUsage: (usage: AccountUsage) => void;
}) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const [snapshot, setSnapshot] = useState<AccountResets | null>(null);
const [loading, setLoading] = useState(true);
const [busy, setBusy] = useState(false);
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SeatSwitch.tsx b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SeatSwitch.tsx
index be34e5a636..f7f9f16062 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SeatSwitch.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SeatSwitch.tsx
@@ -1,6 +1,7 @@
import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState, type ReactNode } from "react";
import { Loader2 } from "lucide-react";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
fetchAutoSwitch,
switchSeat,
@@ -156,7 +157,7 @@ function eventText(t: (key: string) => string, event: SeatSwitchEvent, tool: str
*/
export function AutoSwitchBar() {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const seat = useSeatSwitch();
const state = seat?.state;
const options = useMemo(
@@ -225,7 +226,7 @@ export function AutoSwitchBar() {
*/
export function SwitchSeatButton({ row }: { row: SubscriptionRow }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const seat = useSeatSwitch();
if (!seat?.state || row.active) return null;
const { account } = row;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SubscriptionsTab.tsx b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SubscriptionsTab.tsx
index fd910a72d1..e1cb52d9a8 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SubscriptionsTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/SubscriptionsTab.tsx
@@ -1,6 +1,7 @@
import { useCallback, useEffect, useId, useRef, useState } from "react";
import { AlertTriangle, ChevronRight, Loader2, RefreshCw } from "lucide-react";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
fetchAgentAccounts,
fetchAgentUsage,
@@ -129,7 +130,7 @@ function windowLabel(t: (key: string) => string, window: UsageWindow): string {
function UsageBar({ window, now }: { window: UsageWindow; now: number }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const percent = Math.round(Math.min(100, Math.max(0, window.percent)));
const label = windowLabel(t, window);
const reset = resetText(window.resets_at, now, lang);
@@ -168,7 +169,7 @@ function UsageBar({ window, now }: { window: UsageWindow; now: number }) {
/** The expanded part of a row: every limit of the plan, or why there is none. */
function UsageDetails({ usage, now }: { usage: AccountUsage | null; now: number }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
if (!usage) {
return <p className="text-[11.5px] text-muted-foreground">{t("ide_side_panel.subscriptions.usage_pending")}</p>;
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/IdeLayoutSwitch.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/IdeLayoutSwitch.tsx
index 5513b1c735..30725e42cb 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/IdeLayoutSwitch.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/IdeLayoutSwitch.tsx
@@ -1,6 +1,7 @@
import { useRef } from "react";
import { Building2, LayoutGrid, MessagesSquare } from "lucide-react";
import { cn } from "@/lib/utils";
+import { useT } from "@/i18n";
import {
CAPTION_ICON_CLASS, CAPTION_ICON_STROKE, CAPTION_SEGMENT, CAPTION_SEGMENT_OFF, CAPTION_SEGMENT_ON,
CAPTION_SEGMENT_PX as SEGMENT_PX, CAPTION_THUMB, CAPTION_TRACK,
@@ -10,10 +11,11 @@ import { useIdeThreadsStore, type IdeLayout } from "@/store/ideThreads";
type Choice = IdeLayout | "verse";
-const CHOICES: { choice: Choice; label: string; Icon: typeof LayoutGrid }[] = [
- { choice: "grid", label: "Terminal grid", Icon: LayoutGrid },
- { choice: "threads", label: "Threads", Icon: MessagesSquare },
- { choice: "verse", label: "Dodaios Verse", Icon: Building2 },
+/** `labelKey` is a locale key, translated where the switch renders. */
+const CHOICES: { choice: Choice; labelKey: string; Icon: typeof LayoutGrid }[] = [
+ { choice: "grid", labelKey: "ide_threads.layout_grid", Icon: LayoutGrid },
+ { choice: "threads", labelKey: "ide_threads.layout_threads", Icon: MessagesSquare },
+ { choice: "verse", labelKey: "ide_threads.layout_verse", Icon: Building2 },
];
/** How the side panel stood before the Verse took the whole view. */
@@ -34,6 +36,7 @@ interface PanelBefore {
* it was.
*/
export function IdeLayoutSwitch({ className }: { className?: string }) {
+ const t = useT();
const layout = useIdeThreadsStore((state) => state.layout);
const setLayout = useIdeThreadsStore((state) => state.setLayout);
const verseOn = useIdeSidePanelStore((state) => state.open && state.maximized && state.active === "office");
@@ -70,17 +73,17 @@ export function IdeLayoutSwitch({ className }: { className?: string }) {
setLayout(choice);
};
- return <div role="radiogroup" aria-label="IDE layout" data-testid="ide-layout-switch"
+ return <div role="radiogroup" aria-label={t("ide_threads.layout_aria")} data-testid="ide-layout-switch"
className={cn(CAPTION_TRACK, className)}>
<span aria-hidden
style={{ width: SEGMENT_PX, transform: `translateX(${index * SEGMENT_PX}px)` }}
className={CAPTION_THUMB} />
- {CHOICES.map(({ choice, label, Icon }) => <button key={choice} type="button" role="radio"
+ {CHOICES.map(({ choice, labelKey, Icon }) => { const label = t(labelKey); return <button key={choice} type="button" role="radio"
data-testid={`ide-layout-${choice}`} aria-checked={current === choice} aria-label={label} title={label}
onClick={() => pick(choice)}
style={{ width: SEGMENT_PX }}
className={cn(CAPTION_SEGMENT, current === choice ? CAPTION_SEGMENT_ON : CAPTION_SEGMENT_OFF)}>
<Icon aria-hidden className={CAPTION_ICON_CLASS} strokeWidth={CAPTION_ICON_STROKE} />
- </button>)}
+ </button>; })}
</div>;
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadBranchBar.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadBranchBar.tsx
index 24b3f4187b..6ec1192dc3 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadBranchBar.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadBranchBar.tsx
@@ -3,6 +3,7 @@ import { Check, ChevronDown, Folder, FolderGit2, GitBranch, Loader2 } from "luci
import { inspectGit, prepareGit, type GitRepoInfo } from "@/lib/gitApi";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
+import { fill, useT } from "@/i18n";
import { ThreadMenuHeading, ThreadMenuItem, ThreadPopover } from "./ThreadPopover";
import { folderLabel } from "./threadModel";
@@ -56,6 +57,7 @@ export function ThreadBranchBar({
/** The agent is working: switching its branch now would pull files from under it. */
locked: boolean;
}) {
+ const t = useT();
const pushToast = useEventStore((state) => state.pushToast);
const { info, loading, refresh } = useGitInfo(folder);
const [menu, setMenu] = useState<"checkout" | "branch" | null>(null);
@@ -88,48 +90,48 @@ export function ThreadBranchBar({
return <div className="relative mx-auto -mt-4 flex w-[calc(100%-2.75rem)] items-center justify-between gap-2 rounded-b-2xl border border-t-0 border-border bg-sidebar pb-1 pe-2 ps-1 pt-5" data-testid="thread-branch-bar">
{draft
? <button ref={checkoutAnchor} type="button" className={BUTTON} disabled={!repo} aria-haspopup="menu" aria-expanded={menu === "checkout"}
- onClick={() => setMenu(menu === "checkout" ? null : "checkout")} title={repo ? "Where the agent works" : "Not a git repository"}>
+ onClick={() => setMenu(menu === "checkout" ? null : "checkout")} title={repo ? t("ide_threads.where_agent_works") : t("ide_threads.not_a_repo")}>
{checkout === "worktree" ? <FolderGit2 aria-hidden className="h-3.5 w-3.5 shrink-0" /> : <Folder aria-hidden className="h-3.5 w-3.5 shrink-0" />}
- <span className="truncate">{checkout === "worktree" ? "New worktree" : "Current checkout"}</span>
+ <span className="truncate">{checkout === "worktree" ? t("ide_git.new_worktree") : t("ide_git.current_checkout")}</span>
{repo && <ChevronDown aria-hidden className="h-3 w-3 shrink-0" />}
</button>
: <span className={cn(BUTTON, "hover:bg-transparent hover:text-muted-foreground")} title={folder}>
{info?.is_worktree ? <FolderGit2 aria-hidden className="h-3.5 w-3.5 shrink-0" /> : <Folder aria-hidden className="h-3.5 w-3.5 shrink-0" />}
- <span className="truncate">{info?.is_worktree ? `Worktree · ${folderLabel(folder)}` : "Current checkout"}</span>
+ <span className="truncate">{info?.is_worktree ? `${t("ide_git.worktree")} · ${folderLabel(folder)}` : t("ide_git.current_checkout")}</span>
</span>}
{repo && <button ref={branchAnchor} type="button" className={BUTTON} disabled={switching || (!draft && locked)}
aria-haspopup="menu" aria-expanded={menu === "branch"}
- title={worktreeDraft ? "The branch the new worktree starts from" : locked ? "The agent is working on this branch" : "Switch branch"}
+ title={worktreeDraft ? t("ide_threads.worktree_base_title") : locked ? t("ide_threads.agent_on_branch") : t("ide_threads.switch_branch")}
onClick={() => { refresh(); setMenu(menu === "branch" ? null : "branch"); }}>
{switching || loading ? <Loader2 aria-hidden className="h-3.5 w-3.5 shrink-0 animate-spin" /> : <GitBranch aria-hidden className="h-3.5 w-3.5 shrink-0" />}
- <span className="max-w-[220px] truncate font-mono">{worktreeDraft ? `from ${shownBranch || "HEAD"}` : shownBranch || "detached"}</span>
- {info && info.dirty && !worktreeDraft && <span className="text-warning" title="Uncommitted changes">•</span>}
+ <span className="max-w-[220px] truncate font-mono">{worktreeDraft ? fill(t("ide_threads.from_branch"), { branch: shownBranch || "HEAD" }) : shownBranch || t("ide_git.detached")}</span>
+ {info && info.dirty && !worktreeDraft && <span className="text-warning" title={t("ide_threads.uncommitted_changes")}>•</span>}
<ChevronDown aria-hidden className="h-3 w-3 shrink-0" />
</button>}
- <ThreadPopover anchor={checkoutAnchor} open={menu === "checkout"} onClose={() => setMenu(null)} label="Where the agent works" side="top" width={280}>
+ <ThreadPopover anchor={checkoutAnchor} open={menu === "checkout"} onClose={() => setMenu(null)} label={t("ide_threads.where_agent_works")} side="top" width={280}>
<div role="menu">
<ThreadMenuItem icon={<Folder className="h-3.5 w-3.5" />} selected={checkout === "current"}
- label="Current checkout" hint={checkout === "current" ? <Check className="h-3.5 w-3.5" /> : undefined}
+ label={t("ide_git.current_checkout")} hint={checkout === "current" ? <Check className="h-3.5 w-3.5" /> : undefined}
onSelect={() => { onCheckout("current"); setMenu(null); }} />
<ThreadMenuItem icon={<FolderGit2 className="h-3.5 w-3.5" />} selected={checkout === "worktree"}
- label="New worktree" hint={checkout === "worktree" ? <Check className="h-3.5 w-3.5" /> : "own branch"}
+ label={t("ide_git.new_worktree")} hint={checkout === "worktree" ? <Check className="h-3.5 w-3.5" /> : t("ide_threads.own_branch")}
onSelect={() => { onCheckout("worktree"); setMenu(null); }} />
</div>
</ThreadPopover>
- <ThreadPopover anchor={branchAnchor} open={menu === "branch"} onClose={() => setMenu(null)} label="Branches" side="top" align="end" width={300}>
+ <ThreadPopover anchor={branchAnchor} open={menu === "branch"} onClose={() => setMenu(null)} label={t("ide_threads.branches")} side="top" align="end" width={300}>
<div role="menu">
- <ThreadMenuHeading>{worktreeDraft ? "Start the worktree from" : "Switch to"}</ThreadMenuHeading>
+ <ThreadMenuHeading>{worktreeDraft ? t("ide_threads.start_worktree_from") : t("ide_threads.switch_to")}</ThreadMenuHeading>
{(info?.branches ?? []).map((branch) => {
const busyElsewhere = !worktreeDraft && Boolean(branch.worktree) && !branch.current;
return <ThreadMenuItem key={branch.name} icon={<GitBranch className="h-3.5 w-3.5" />}
label={<span className="font-mono text-xs">{branch.name}</span>}
selected={branch.name === shownBranch}
- hint={branch.name === shownBranch ? <Check className="h-3.5 w-3.5" /> : busyElsewhere ? "in a worktree" : branch.name === info?.default_branch ? "default" : undefined}
+ hint={branch.name === shownBranch ? <Check className="h-3.5 w-3.5" /> : busyElsewhere ? t("ide_threads.in_a_worktree") : branch.name === info?.default_branch ? t("ide_git.hint_default") : undefined}
disabled={busyElsewhere}
onSelect={() => void pickBranch(branch.name)} />;
})}
- {info && info.branches.length === 0 && <p className="px-2 py-2 text-xs text-muted-foreground">No local branches yet.</p>}
+ {info && info.branches.length === 0 && <p className="px-2 py-2 text-xs text-muted-foreground">{t("ide_threads.no_local_branches")}</p>}
</div>
</ThreadPopover>
</div>;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadComposer.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadComposer.tsx
index b74f65d3f0..4280a843aa 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadComposer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadComposer.tsx
@@ -8,7 +8,7 @@ import { runningTurn, type PendingApproval, type QuestionState, type Timeline, t
import { releaseHeldFiles, useChatAttachments, type HeldFiles } from "@/components/agentchat/useChatAttachments";
import { useComposerDictation } from "@/components/agentchat/useComposerDictation";
import { useComposerTypeahead } from "@/components/agentchat/useComposerTypeahead";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import type { AgentChatSession, ApprovalDecision, ChatAttachment, PlanDecision } from "@/lib/agentChatApi";
import { joinProviderOptions, type ComposerDraft, type ProviderOption } from "@/store/agentChat";
import { cn } from "@/lib/utils";
@@ -115,6 +115,7 @@ function ApprovalPanel({ timeline }: { timeline: Timeline }) {
}
function ApprovalCard({ pending, count }: { pending: PendingApproval; count: number }) {
+ const t = useT();
const [sending, setSending] = useState<ApprovalDecision | null>(null);
const [error, setError] = useState("");
const input = pending.input && typeof pending.input === "object" ? pending.input as Record<string, unknown> : {};
@@ -143,10 +144,10 @@ function ApprovalCard({ pending, count }: { pending: PendingApproval; count: num
: <ShieldAlert aria-hidden className="mt-0.5 h-4 w-4 shrink-0 text-warning" />}
<div className="min-w-0 flex-1">
<p className="flex items-baseline gap-2 text-sm font-medium text-foreground-strong">
- <span className="min-w-0 flex-1">{isPlan ? "Plan ready" : "Approval needed"}</span>
- {count > 1 && <span data-testid="thread-approval-count" className="shrink-0 text-xs font-normal tabular-nums text-muted-foreground">1 of {count}</span>}
+ <span className="min-w-0 flex-1">{isPlan ? t("ide_threads.plan_ready") : t("ide_threads.approval_needed")}</span>
+ {count > 1 && <span data-testid="thread-approval-count" className="shrink-0 text-xs font-normal tabular-nums text-muted-foreground">{fill(t("ide_threads.one_of"), { count })}</span>}
</p>
- <p className="mt-0.5 text-sm text-muted-foreground">{isPlan ? "Build it, or keep planning and say what to change." : pending.summary || pending.name}</p>
+ <p className="mt-0.5 text-sm text-muted-foreground">{isPlan ? t("ide_threads.plan_hint") : pending.summary || pending.name}</p>
{plan && <div data-testid="thread-approval-plan" className={cn("mt-2 max-h-72 overflow-auto rounded-md bg-secondary px-3 py-2 scrollbar-jarvis", PLAN_PROSE)}><ChatMarkdown text={plan} /></div>}
{detail && <pre className="mt-2 max-h-32 overflow-auto whitespace-pre-wrap rounded-md bg-secondary px-2.5 py-1.5 font-mono text-xs text-foreground scrollbar-jarvis">{detail}</pre>}
{error && <p role="alert" className="mt-2 text-xs text-destructive">{error}</p>}
@@ -154,12 +155,12 @@ function ApprovalCard({ pending, count }: { pending: PendingApproval; count: num
</div>
<div className="mt-3 flex flex-wrap justify-end gap-2">
<button type="button" disabled={sending !== null} onClick={() => void decide("deny")}
- className="flex items-center gap-1.5 rounded-lg px-3 py-1.5 text-sm text-muted-foreground hover:bg-secondary hover:text-foreground disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{spinner("deny")}{isPlan ? "Keep planning" : "Decline"}</button>
+ className="flex items-center gap-1.5 rounded-lg px-3 py-1.5 text-sm text-muted-foreground hover:bg-secondary hover:text-foreground disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{spinner("deny")}{isPlan ? t("ide_threads.keep_planning") : t("ide_threads.decline")}</button>
{!isPlan && <button type="button" disabled={sending !== null} onClick={() => void decide("allow_always")}
- title="Approve, and stop asking for this in this thread"
- className="flex items-center gap-1.5 rounded-lg border border-border px-3 py-1.5 text-sm text-foreground hover:bg-secondary disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{spinner("allow_always")}Always allow</button>}
+ title={t("ide_threads.always_allow_title")}
+ className="flex items-center gap-1.5 rounded-lg border border-border px-3 py-1.5 text-sm text-foreground hover:bg-secondary disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{spinner("allow_always")}{t("ide_threads.always_allow")}</button>}
<button type="button" data-testid="thread-approve" disabled={sending !== null} onClick={() => void decide("allow")}
- className="flex items-center gap-1.5 rounded-lg bg-accent px-3 py-1.5 text-sm font-medium text-accent-foreground hover:opacity-90 disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{spinner("allow")}{isPlan ? "Build it" : "Approve"}</button>
+ className="flex items-center gap-1.5 rounded-lg bg-accent px-3 py-1.5 text-sm font-medium text-accent-foreground hover:opacity-90 disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{spinner("allow")}{isPlan ? t("ide_threads.build_it") : t("ide_threads.approve")}</button>
</div>
</div>;
}
@@ -175,6 +176,7 @@ function waitingPlan(timeline: Timeline): TurnItem | null {
* it in the runner's build mode, or keep planning and type what to change.
*/
function PlanPanel({ timeline, provider }: { timeline: Timeline; provider: ProviderOption | null }) {
+ const t = useT();
const turn = waitingPlan(timeline);
const [sending, setSending] = useState(false);
const [error, setError] = useState("");
@@ -196,25 +198,26 @@ function PlanPanel({ timeline, provider }: { timeline: Timeline; provider: Provi
<div className="flex items-start gap-2.5">
<ListChecks aria-hidden className="mt-0.5 h-4 w-4 shrink-0 text-accent" />
<div className="min-w-0 flex-1">
- <p className="text-sm font-medium text-foreground-strong">Plan ready</p>
+ <p className="text-sm font-medium text-foreground-strong">{t("ide_threads.plan_ready")}</p>
<p className="mt-0.5 text-sm text-muted-foreground">
- {mode ? `Build it switches access to ${mode.label} and starts building.` : "Build it starts building."} Or keep planning and type what to change.
+ {mode ? fill(t("ide_threads.build_switches"), { mode: mode.label }) : t("ide_threads.build_starts")} {t("ide_threads.or_keep_planning")}
</p>
{error && <p role="alert" className="mt-1 text-xs text-destructive">{error}</p>}
</div>
</div>
<div className="mt-3 flex flex-wrap justify-end gap-2">
<button type="button" disabled={sending} onClick={() => void decide("keep")}
- className="rounded-lg px-3 py-1.5 text-sm text-muted-foreground hover:bg-secondary hover:text-foreground disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">Keep planning</button>
+ className="rounded-lg px-3 py-1.5 text-sm text-muted-foreground hover:bg-secondary hover:text-foreground disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{t("ide_threads.keep_planning")}</button>
<button type="button" data-testid="thread-plan-build" disabled={sending} onClick={() => void decide("build")}
className="flex items-center gap-1.5 rounded-lg bg-accent px-3 py-1.5 text-sm font-medium text-accent-foreground hover:opacity-90 disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- <Hammer aria-hidden className="h-3.5 w-3.5" />Build it
+ <Hammer aria-hidden className="h-3.5 w-3.5" />{t("ide_threads.build_it")}
</button>
</div>
</div>;
}
function QuestionPanel({ timeline }: { timeline: Timeline }) {
+ const t = useT();
const open = openQuestion(timeline);
const [text, setText] = useState("");
const [error, setError] = useState("");
@@ -240,7 +243,7 @@ function QuestionPanel({ timeline }: { timeline: Timeline }) {
<div className="flex items-start gap-2.5">
<MessageCircleQuestion aria-hidden className="mt-0.5 h-4 w-4 shrink-0 text-accent" />
<div className="min-w-0 flex-1">
- <p className="text-xs text-muted-foreground">{question.asker || "The agent"} asks{question.questions.length > 1 ? ` · ${index + 1} of ${question.questions.length}` : ""}</p>
+ <p className="text-xs text-muted-foreground">{fill(t("ide_threads.asks"), { asker: question.asker || t("ide_threads.the_agent") })}{question.questions.length > 1 ? ` · ${fill(t("ide_threads.n_of"), { index: index + 1, count: question.questions.length })}` : ""}</p>
<p className="mt-0.5 text-sm font-medium text-foreground-strong">{item.question}</p>
<div className="mt-2 flex flex-col gap-1">
{item.options.map((option, optionIndex) => <button key={optionIndex} type="button" disabled={sending}
@@ -248,14 +251,14 @@ function QuestionPanel({ timeline }: { timeline: Timeline }) {
className="flex w-full items-start gap-2 rounded-lg border border-border px-3 py-2 text-left text-sm hover:bg-secondary disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
<span className="min-w-0 flex-1"><span className="text-foreground">{option.label}</span>
{option.description && <span className="block text-xs text-muted-foreground">{option.description}</span>}</span>
- {optionIndex === 0 && <span className="shrink-0 text-xs text-accent">Recommended</span>}
+ {optionIndex === 0 && <span className="shrink-0 text-xs text-accent">{t("ide_git.recommended")}</span>}
</button>)}
</div>
<form className="mt-2 flex gap-2" onSubmit={(event) => { event.preventDefault(); if (text.trim()) void answer({ text: text.trim() }); }}>
- <input value={text} onChange={(event) => setText(event.target.value)} placeholder="Or type your own answer" disabled={sending}
+ <input value={text} onChange={(event) => setText(event.target.value)} placeholder={t("ide_threads.own_answer")} disabled={sending}
className="min-w-0 flex-1 rounded-lg border border-input bg-background px-3 py-1.5 text-sm text-foreground outline-none focus:ring-2 focus:ring-ring" />
<button type="button" disabled={sending} onClick={() => void useThreadChatStore.getState().skipQuestion(question.questionId).catch((err: unknown) => setError(err instanceof Error ? err.message : String(err)))}
- className="rounded-lg px-3 py-1.5 text-sm text-muted-foreground hover:bg-secondary">Skip</button>
+ className="rounded-lg px-3 py-1.5 text-sm text-muted-foreground hover:bg-secondary">{t("ide_threads.skip")}</button>
</form>
{error && <p role="alert" className="mt-1 text-xs text-destructive">{error}</p>}
</div>
@@ -279,7 +282,7 @@ export function ThreadComposer({
threadKey,
prepareDraft,
onSessionCreated,
- placeholder = "Ask for changes, send follow-ups, or attach images",
+ placeholder,
autoFocusNonce,
strip,
onScreen = true,
@@ -450,7 +453,7 @@ export function ThreadComposer({
if (!text && files.attachments.length === 0) return;
if (files.analyzing > 0 || starting) return;
if (!provider || !provider.connected) {
- setProblem("Choose a connected coding agent first.");
+ setProblem(t("ide_threads.choose_connected_agent"));
return;
}
const held = files.take();
@@ -525,13 +528,13 @@ export function ThreadComposer({
return <div className="mx-auto w-full max-w-3xl">
{queue.length > 0 && <div className="mb-2 flex flex-col gap-1 px-2" data-testid="thread-queue">
{paused && !running && <div className="flex items-center justify-between gap-2 px-1 text-xs text-muted-foreground">
- <span>Queue paused after the agent stopped.</span>
- <button type="button" onClick={() => setPaused(false)} className="rounded px-1.5 py-0.5 text-foreground hover:bg-secondary">Send next</button>
+ <span>{t("ide_threads.queue_paused")}</span>
+ <button type="button" onClick={() => setPaused(false)} className="rounded px-1.5 py-0.5 text-foreground hover:bg-secondary">{t("ide_threads.send_next")}</button>
</div>}
{queue.map((entry) => <div key={entry.id} className="flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-1.5 text-sm">
- <span className="shrink-0 text-xs text-muted-foreground">Queued</span>
- <span className="min-w-0 flex-1 truncate text-foreground">{entry.text || `${entry.attachments.length} file(s)`}</span>
- <button type="button" aria-label="Remove queued message" onClick={() => setQueue((current) => current.filter((row) => row.id !== entry.id))}
+ <span className="shrink-0 text-xs text-muted-foreground">{t("ide_threads.queued")}</span>
+ <span className="min-w-0 flex-1 truncate text-foreground">{entry.text || fill(t(entry.attachments.length === 1 ? "ide_threads.files_one" : "ide_threads.files_other"), { count: entry.attachments.length })}</span>
+ <button type="button" aria-label={t("ide_threads.remove_queued")} onClick={() => setQueue((current) => current.filter((row) => row.id !== entry.id))}
className="rounded p-0.5 text-muted-foreground hover:text-foreground"><X className="h-3.5 w-3.5" /></button>
</div>)}
</div>}
@@ -549,8 +552,8 @@ export function ThreadComposer({
onRemove={files.remove} previews={files.previews} look="thumbnail" />
</div>}
<textarea ref={textareaRef} value={value} rows={2} data-testid="thread-composer-input"
- aria-label="Message the coding agent"
- placeholder={running ? "Queue a follow-up for when the agent is done" : placeholder}
+ aria-label={t("ide_threads.message_agent")}
+ placeholder={running ? t("ide_threads.queue_placeholder") : placeholder ?? t("ide_threads.composer_placeholder")}
onChange={(event) => { setValue(event.target.value); typeahead.refresh(); }}
onKeyDown={onKeyDown}
onKeyUp={() => typeahead.refresh()}
@@ -572,12 +575,12 @@ export function ThreadComposer({
<DictationButton dictating={dictation.dictating} onToggle={dictation.toggle}
startLabel={t("chats_view.dictation_start")} stopLabel={t("chats_view.dictation_stop")} shape="round" />
{running && !canSend
- ? <button type="button" aria-label="Stop the agent" title="Stop" data-testid="thread-stop"
+ ? <button type="button" aria-label={t("ide_threads.stop_agent")} title={t("ide_threads.stop")} data-testid="thread-stop"
onClick={() => { setPaused(true); void useThreadChatStore.getState().cancel("thread-stop-button"); }}
className="flex h-8 w-8 items-center justify-center rounded-full bg-foreground text-background transition-transform duration-150 hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
<Square className="h-3 w-3 fill-current" />
</button>
- : <button type="button" aria-label={running ? "Queue message" : "Send message"} title={running ? "Queue for when the agent is done" : "Send"}
+ : <button type="button" aria-label={running ? t("ide_threads.queue_message") : t("ide_threads.send_message")} title={running ? t("ide_threads.queue_title") : t("agent_chat.send")}
data-testid="thread-send" disabled={!canSend} onClick={() => void submit()}
className="flex h-8 w-8 items-center justify-center rounded-full bg-accent text-accent-foreground shadow-[0_1px_2px_rgb(var(--accent-rgb)/0.3)] transition-[opacity,transform] duration-150 hover:scale-105 hover:opacity-95 disabled:opacity-40 disabled:hover:scale-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
{starting || busy ? <Loader2 className="h-4 w-4 animate-spin" /> : <ArrowUp className="h-4 w-4" />}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadPickers.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadPickers.tsx
index 3bf60c43ca..a378dd6fe1 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadPickers.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadPickers.tsx
@@ -66,11 +66,14 @@ export function AgentModelPicker({
const t = useT();
const olderLabel = t("agent_chat.older_models");
const defaultLabel = t("agent_chat.model_default");
+ const newThreadHint = t("ide_threads.hint_new_thread");
+ const notInstalledHint = t("agent_chat.provider_not_installed");
+ const connectFirstHint = t("ide_threads.hint_connect_first");
const saved = useSavedHiddenModels((state) => state.hidden);
const groups = useMemo<ComboboxGroup[]>(() => providers.map((provider) => {
const locked = lockedProvider !== null && provider.id !== lockedProvider;
const disabled = !provider.connected || locked;
- const hint = locked ? "new thread" : !provider.connected ? (provider.cli_installed === false ? "not installed" : "connect first") : undefined;
+ const hint = locked ? newThreadHint : !provider.connected ? (provider.cli_installed === false ? notInstalledHint : connectFirstHint) : undefined;
const icon = <AgentMark agent={provider.agent ?? ""} label={provider.label} logoUrl={provider.logoUrl} variant="plain" size="sm" />;
// Whose model a row is, on a quiet second line under its name.
const owner = (note?: string) => <span className="inline-flex min-w-0 items-center gap-1.5">
@@ -99,7 +102,7 @@ export function AgentModelPicker({
],
more: ranked.older.length ? { label: olderLabel, options: ranked.older.map(toOption) } : undefined,
};
- }), [providers, liveModels, lockedProvider, draft.provider, draft.model, saved, olderLabel, defaultLabel]);
+ }), [providers, liveModels, lockedProvider, draft.provider, draft.model, saved, olderLabel, defaultLabel, newThreadHint, notInstalledHint, connectFirstHint]);
// The rail on the panel's left: one mark per coding agent, plus favourites.
const sections = useMemo<BrainSection[]>(() => providers.map((provider) => ({
id: provider.id,
@@ -110,10 +113,10 @@ export function AgentModelPicker({
muted: !provider.connected || (lockedProvider !== null && provider.id !== lockedProvider),
})), [providers, lockedProvider]);
const pickedIcon = providers.find((provider) => provider.id === draft.provider);
- return <ComposerBrainPicker testId="thread-model-picker" ariaLabel="Coding agent and model"
+ return <ComposerBrainPicker testId="thread-model-picker" ariaLabel={t("ide_threads.agent_model_aria")}
value={brainValue(draft.provider, draft.model)} groups={groups} sections={sections} currentSection={draft.provider}
onChange={(value) => { const [provider, model] = splitBrainValue(value); onPick(provider, model); }}
- fallbackLabel={draft.model || (providers.length ? "Choose an agent" : "Loading agents…")} searchPlaceholder="Search agents and models"
+ fallbackLabel={draft.model || (providers.length ? t("ide_threads.choose_agent") : t("ide_threads.loading_agents"))} searchPlaceholder={t("ide_threads.search_agents_models")}
triggerPrefix={pickedIcon ? <AgentMark agent={pickedIcon.agent ?? ""} label={pickedIcon.label} logoUrl={pickedIcon.logoUrl} variant="plain" size="sm" /> : undefined} />;
}
@@ -132,7 +135,7 @@ export function EffortPicker({ provider, draft, liveModels, onPick, separated =
if (levels.length === 0 || (levels.length === 1 && levels[0] === "")) return null;
return <>
{separated && <Separator />}
- <Combobox ariaLabel="Reasoning effort" testId="thread-effort-picker" value={draft.effort}
+ <Combobox ariaLabel={t("agent_chat.pick_effort")} testId="thread-effort-picker" value={draft.effort}
groups={[{ id: "effort", options: levels.map((level) => ({ value: level, label: effortLabel(level, t) })) }]}
onChange={onPick} fallbackLabel={effortLabel(draft.effort, t)} triggerHint={false} className={TRIGGER} />
</>;
@@ -144,14 +147,15 @@ export function AccessPicker({ provider, draft, onPick, separated = false }: {
draft: ComposerDraft;
onPick: (mode: string) => void;
}) {
+ const t = useT();
const modes = provider?.permission_modes ?? [];
if (modes.length === 0) return null;
return <>
{separated && <Separator />}
- <Combobox ariaLabel="What the agent may do without asking" testId="thread-access-picker" value={draft.permissionMode}
+ <Combobox ariaLabel={t("ide_threads.access_aria")} testId="thread-access-picker" value={draft.permissionMode}
groups={[{
id: "access",
- label: "Permissions",
+ label: t("agent_chat.pick_permission"),
options: modes.map((mode) => {
const Icon = permissionModeIcon(mode.id);
const unguarded = isUnguardedPermissionMode(mode.id);
@@ -166,7 +170,7 @@ export function AccessPicker({ provider, draft, onPick, separated = false }: {
};
}),
}]}
- onChange={onPick} fallbackLabel={draft.permissionMode || "Access"} triggerHint={false} panelMinWidth={340}
+ onChange={onPick} fallbackLabel={draft.permissionMode || t("agent_chat.model_access")} triggerHint={false} panelMinWidth={340}
className={cn(TRIGGER, isUnguardedPermissionMode(draft.permissionMode) && "text-warning hover:text-warning")} />
</>;
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadSubagents.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadSubagents.tsx
index 2c17f4d435..cdb6416baa 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadSubagents.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadSubagents.tsx
@@ -4,6 +4,7 @@ import { ChatMarkdown } from "@/components/agentchat/ChatMarkdown";
import type { SubagentStatus, ToolBlock, TurnItem } from "@/components/agentchat/reduce";
import { traceDuration } from "@/components/agentchat/traceEntries";
import { cn } from "@/lib/utils";
+import { fill, translate, useT } from "@/i18n";
import { shortCount, subagentCounts, subagentEntry, type SubagentEntry } from "./subagents";
/**
@@ -19,11 +20,12 @@ import { shortCount, subagentCounts, subagentEntry, type SubagentEntry } from ".
*/
export const OpenSubagent = createContext<((id: string) => void) | null>(null);
+/** Locale keys of each state's word, translated where rendered. */
const STATUS_WORD: Record<SubagentStatus, string> = {
- running: "Working",
- done: "Done",
- failed: "Failed",
- stopped: "Stopped",
+ running: "ide_threads.sub_status_running",
+ done: "ide_threads.sub_status_done",
+ failed: "ide_threads.sub_status_failed",
+ stopped: "ide_threads.sub_status_stopped",
};
/** A sub-agent's state at a glance: working, waiting for the person, or how it ended. */
@@ -54,9 +56,10 @@ function firstLine(text: string): string {
/** "4 tools · 23.4k tokens · 12s" — what the sub-agent spent so far. */
function SubagentMeta({ entry }: { entry: SubagentEntry }) {
+ const t = useT();
const parts: string[] = [];
- if (entry.toolUses) parts.push(`${entry.toolUses} ${entry.toolUses === 1 ? "tool" : "tools"}`);
- if (entry.tokens) parts.push(`${shortCount(entry.tokens)} tokens`);
+ if (entry.toolUses) parts.push(fill(t(entry.toolUses === 1 ? "ide_threads.tools_one" : "ide_threads.tools_other"), { count: entry.toolUses }));
+ if (entry.tokens) parts.push(fill(t("ide_threads.tokens"), { count: shortCount(entry.tokens) }));
const running = entry.status === "running";
const duration = !running && entry.durationMs ? traceDuration(entry.durationMs) : "";
if (duration) parts.push(duration);
@@ -70,12 +73,14 @@ function SubagentMeta({ entry }: { entry: SubagentEntry }) {
/** The line under a card's title: what it does now, else how it ended. */
function statusLine(entry: SubagentEntry): string {
if (entry.status === "running") {
- if (entry.waiting) return "Waiting for your approval";
- return entry.activity || (entry.block.subagent?.lastTool ? `Using ${entry.block.subagent.lastTool}` : "Working");
+ if (entry.waiting) return translate("ide_threads.waiting_approval");
+ return entry.activity || (entry.block.subagent?.lastTool
+ ? fill(translate("ide_threads.using_tool"), { tool: entry.block.subagent.lastTool })
+ : translate(STATUS_WORD.running));
}
- if (entry.status === "failed") return firstLine(entry.summary) || "Failed";
- if (entry.status === "stopped") return "Stopped before it answered";
- return firstLine(entry.summary) || "Finished";
+ if (entry.status === "failed") return firstLine(entry.summary) || translate(STATUS_WORD.failed);
+ if (entry.status === "stopped") return translate("ide_threads.stopped_before_answer");
+ return firstLine(entry.summary) || translate("ide_threads.finished");
}
/**
@@ -84,6 +89,7 @@ function statusLine(entry: SubagentEntry): string {
* opened, a click opens it.
*/
export function SubagentCard({ block, turn }: { block: ToolBlock; turn: TurnItem }) {
+ const t = useT();
const open = useContext(OpenSubagent);
const entry = useMemo(() => subagentEntry(block, turn), [block, turn]);
const running = entry.status === "running";
@@ -91,12 +97,12 @@ export function SubagentCard({ block, turn }: { block: ToolBlock; turn: TurnItem
const body = <SubagentCardBody entry={entry} running={running} />;
if (!open) return <div data-testid="thread-subagent-card" data-status={entry.status} className={card}>{body}</div>;
return <button type="button" onClick={() => open(entry.id)} data-testid="thread-subagent-card" data-status={entry.status}
- aria-label={`Open sub-agent ${entry.title}, ${STATUS_WORD[entry.status].toLowerCase()}`}
+ aria-label={fill(t("ide_threads.open_subagent"), { title: entry.title, status: t(STATUS_WORD[entry.status]).toLowerCase() })}
className={cn(card, "transition-colors hover:border-border-strong hover:bg-secondary/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring")}>
{body}
<span className="flex shrink-0 items-center gap-1 text-xs text-muted-foreground transition-colors group-hover/agent:text-foreground">
<MessageSquare aria-hidden className="h-3.5 w-3.5" />
- <span className="hidden sm:inline">Open</span>
+ <span className="hidden sm:inline">{t("ide_git.open")}</span>
<ChevronRight aria-hidden className="h-3.5 w-3.5" />
</span>
</button>;
@@ -127,10 +133,10 @@ function SubagentCardBody({ entry, running }: { entry: SubagentEntry; running: b
/** "3 sub-agents · 2 working · 1 waiting" — the switcher's own count. */
export function subagentSummary(entries: readonly SubagentEntry[]): string {
const counts = subagentCounts(entries);
- const parts = [`${counts.total} ${counts.total === 1 ? "sub-agent" : "sub-agents"}`];
- if (counts.running) parts.push(`${counts.running} working`);
- if (counts.waiting) parts.push(`${counts.waiting} waiting`);
- if (counts.failed) parts.push(`${counts.failed} failed`);
+ const parts = [fill(translate(counts.total === 1 ? "ide_threads.subagents_one" : "ide_threads.subagents_other"), { count: counts.total })];
+ if (counts.running) parts.push(fill(translate("ide_threads.count_working"), { count: counts.running }));
+ if (counts.waiting) parts.push(fill(translate("ide_threads.count_waiting"), { count: counts.waiting }));
+ if (counts.failed) parts.push(fill(translate("ide_threads.count_failed"), { count: counts.failed }));
return parts.join(" · ");
}
@@ -144,6 +150,7 @@ export function SubagentSwitcher({ entries, openId, onOpen }: {
openId: string | null;
onOpen: (id: string | null) => void;
}) {
+ const t = useT();
const strip = useRef<HTMLDivElement | null>(null);
// The open tab stays in view when the list is wider than the column.
useEffect(() => {
@@ -155,12 +162,12 @@ export function SubagentSwitcher({ entries, openId, onOpen }: {
"flex h-7 max-w-[15rem] shrink-0 items-center gap-1.5 rounded-lg px-2.5 text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
active ? "bg-secondary text-foreground-strong" : "text-muted-foreground hover:bg-secondary/60 hover:text-foreground",
);
- return <nav aria-label="Sub-agents" data-testid="thread-subagent-switcher"
+ return <nav aria-label={t("ide_threads.subagents_aria")} data-testid="thread-subagent-switcher"
className="flex min-w-0 items-center gap-2 border-b border-border/70 bg-background px-3 py-1.5">
<div ref={strip} className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
<button type="button" aria-current={openId === null} onClick={() => onOpen(null)} className={tab(openId === null)} data-testid="thread-subagent-main">
<MessageSquare aria-hidden className="h-3.5 w-3.5 shrink-0" />
- <span className="truncate">Main thread</span>
+ <span className="truncate">{t("ide_threads.main_thread")}</span>
</button>
<span aria-hidden className="mx-1 h-4 w-px shrink-0 bg-border" />
{entries.map((entry) => <button key={entry.id} type="button" aria-current={openId === entry.id} onClick={() => onOpen(entry.id)}
@@ -184,6 +191,7 @@ export function SubagentHeader({ entry, path, onOpen }: {
path: readonly SubagentEntry[];
onOpen: (id: string | null) => void;
}) {
+ const t = useT();
const [taskOpen, setTaskOpen] = useState(false);
const long = entry.prompt.length > 280 || entry.prompt.split("\n").length > 5;
const parent = path.length > 1 ? path[path.length - 2] : null;
@@ -192,7 +200,7 @@ export function SubagentHeader({ entry, path, onOpen }: {
<button type="button" onClick={() => onOpen(parent ? parent.id : null)} data-testid="thread-subagent-back"
className="flex h-7 shrink-0 items-center gap-1.5 rounded-md px-1.5 text-muted-foreground hover:bg-secondary hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
<ArrowLeft aria-hidden className="h-4 w-4" />
- <span>{parent ? parent.title : "Main thread"}</span>
+ <span>{parent ? parent.title : t("ide_threads.main_thread")}</span>
</button>
</div>
<div className="flex min-w-0 items-start gap-3">
@@ -207,29 +215,29 @@ export function SubagentHeader({ entry, path, onOpen }: {
<div className="mt-0.5 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<SubagentMark status={entry.status} waiting={entry.waiting} />
- {entry.waiting && entry.status === "running" ? "Waiting for your approval" : STATUS_WORD[entry.status]}
+ {entry.waiting && entry.status === "running" ? t("ide_threads.waiting_approval") : t(STATUS_WORD[entry.status])}
</span>
- {entry.background && <><span aria-hidden>·</span><span>In the background</span></>}
+ {entry.background && <><span aria-hidden>·</span><span>{t("ide_threads.in_background")}</span></>}
<span aria-hidden>·</span>
<SubagentMeta entry={entry} />
</div>
</div>
</div>
- {entry.prompt && <section aria-label="Task" className="rounded-xl border border-border bg-card px-3 py-2.5">
- <div className="mb-1 text-xs font-medium text-muted-foreground">Task from {parent ? parent.title : "the main agent"}</div>
+ {entry.prompt && <section aria-label={t("ide_threads.task")} className="rounded-xl border border-border bg-card px-3 py-2.5">
+ <div className="mb-1 text-xs font-medium text-muted-foreground">{fill(t("ide_threads.task_from"), { parent: parent ? parent.title : t("ide_threads.the_main_agent") })}</div>
<div className={cn("relative text-sm leading-6 text-foreground-secondary [overflow-wrap:anywhere]", long && !taskOpen && "max-h-32 overflow-hidden")}>
<div className="prose prose-neutral max-w-none text-sm dark:prose-invert prose-p:my-1 prose-p:text-foreground-secondary prose-li:text-foreground-secondary"><ChatMarkdown text={entry.prompt} /></div>
{long && !taskOpen && <div aria-hidden className="pointer-events-none absolute inset-x-0 bottom-0 h-10 bg-gradient-to-t from-card to-transparent" />}
</div>
{long && <button type="button" aria-expanded={taskOpen} onClick={() => setTaskOpen(!taskOpen)}
className="mt-1 text-xs text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- {taskOpen ? "Show less" : "Show the whole task"}
+ {taskOpen ? t("ide_threads.show_less") : t("ide_threads.show_whole_task")}
</button>}
</section>}
{!entry.streamed && <p className="text-xs text-muted-foreground" data-testid="thread-subagent-unstreamed">
{entry.status === "running"
- ? "This agent's CLI does not stream a sub-agent's steps. Its answer shows here when it finishes."
- : "This agent's CLI reported only the task and the answer, not the sub-agent's steps."}
+ ? t("ide_threads.unstreamed_running")
+ : t("ide_threads.unstreamed_done")}
</p>}
</div>;
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalDrawer.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalDrawer.tsx
index 04f1b52833..701bcab5af 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalDrawer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalDrawer.tsx
@@ -2,6 +2,7 @@ import { useCallback, useRef, type PointerEvent as ReactPointerEvent } from "rea
import { Plus, SquareTerminal, X } from "lucide-react";
import { WorkspaceTerminal } from "@/components/workspace/WorkspaceTerminal";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
import { MAX_FOLDER_SHELLS, MIN_DRAWER_HEIGHT, drawerShown, shellsIn, useThreadTerminalsStore } from "@/store/threadTerminals";
/**
@@ -14,6 +15,7 @@ import { MAX_FOLDER_SHELLS, MIN_DRAWER_HEIGHT, drawerShown, shellsIn, useThreadT
* has its tabs shown. Closing a tab ends that shell.
*/
export function ThreadTerminalDrawer({ onScreen }: { onScreen: boolean }) {
+ const t = useT();
const shells = useThreadTerminalsStore((state) => state.shells);
const folder = useThreadTerminalsStore((state) => state.folder);
const activeByFolder = useThreadTerminalsStore((state) => state.active);
@@ -44,27 +46,27 @@ export function ThreadTerminalDrawer({ onScreen }: { onScreen: boolean }) {
// Never taller than most of the window, even when it shrank since the drag.
const drawerHeight = `min(${height}px, 75vh)`;
- return <section aria-label="Terminal" data-testid="thread-terminal-drawer" style={{ height: drawerHeight }}
+ return <section aria-label={t("ide_threads.terminal")} data-testid="thread-terminal-drawer" style={{ height: drawerHeight }}
className={cn("relative shrink-0 flex-col border-t border-border bg-background", shown ? "flex" : "hidden")}>
- <div role="separator" aria-orientation="horizontal" aria-label="Resize the terminal"
+ <div role="separator" aria-orientation="horizontal" aria-label={t("ide_threads.resize_terminal")}
onPointerDown={onPointerDown} onPointerMove={onPointerMove} onPointerUp={onPointerUp} onPointerCancel={onPointerUp}
className="absolute inset-x-0 -top-1 z-10 h-2 cursor-row-resize" />
<div className="flex h-9 shrink-0 items-center gap-1 border-b border-border px-2">
- <div role="tablist" aria-label="Terminals" className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto" style={{ scrollbarWidth: "none" }}>
+ <div role="tablist" aria-label={t("ide_threads.terminals")} className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto" style={{ scrollbarWidth: "none" }}>
{here.map((shell) => {
- const title = `Terminal ${shell.number}`;
+ const title = fill(t("ide_threads.terminal_n"), { number: shell.number });
return <div key={shell.id} role="tab" aria-selected={shell.id === current}
className={cn("group/tab flex h-7 shrink-0 items-center gap-1.5 rounded-md pl-2 pr-1 text-xs transition-colors",
shell.id === current ? "bg-secondary text-foreground" : "text-muted-foreground hover:bg-secondary/60 hover:text-foreground")}>
<button type="button" onClick={() => select(shell.id)} className="flex items-center gap-1.5 focus-visible:outline-none">
<SquareTerminal aria-hidden className="h-3.5 w-3.5" /><span className="max-w-[160px] truncate">{title}</span>
</button>
- <button type="button" aria-label={`Close ${title}`} title="Close terminal" onClick={() => closeShell(shell.id)}
+ <button type="button" aria-label={fill(t("ide_threads.close_named"), { target: title })} title={t("ide_threads.close_terminal")} onClick={() => closeShell(shell.id)}
data-testid={`thread-terminal-close-${shell.number}`}
className="rounded p-0.5 opacity-60 hover:bg-background hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><X className="h-3 w-3" /></button>
</div>;
})}
- <button type="button" aria-label="New terminal" title="New terminal" onClick={addShell}
+ <button type="button" aria-label={t("ide_threads.new_terminal")} title={t("ide_threads.new_terminal")} onClick={addShell}
disabled={here.length >= MAX_FOLDER_SHELLS} data-testid="thread-terminal-new"
className="flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-secondary hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default disabled:opacity-40 disabled:hover:bg-transparent"><Plus className="h-3.5 w-3.5" /></button>
</div>
@@ -72,7 +74,7 @@ export function ThreadTerminalDrawer({ onScreen }: { onScreen: boolean }) {
<div className="relative min-h-0 flex-1">
{shells.map((shell) => <div key={shell.id} hidden={!shown || shell.id !== current} className="absolute inset-0 p-1">
<WorkspaceTerminal paneKey={shell.id} agentName="shell" folder={shell.folder}
- title={`Terminal ${shell.number}`} bare active={onScreen && shown && shell.id === current} />
+ title={fill(t("ide_threads.terminal_n"), { number: shell.number })} bare active={onScreen && shown && shell.id === current} />
</div>)}
</div>
</section>;
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalToggle.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalToggle.tsx
index b33ee66679..5480873219 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalToggle.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTerminalToggle.tsx
@@ -1,5 +1,6 @@
import { PanelBottom } from "lucide-react";
import { cn } from "@/lib/utils";
+import { useT } from "@/i18n";
import { drawerShown, useThreadTerminalsStore } from "@/store/threadTerminals";
/**
@@ -12,10 +13,11 @@ import { drawerShown, useThreadTerminalsStore } from "@/store/threadTerminals";
* and must not pull xterm into it.
*/
export function ThreadTerminalToggle({ className }: { className?: string }) {
+ const t = useT();
const shown = useThreadTerminalsStore(drawerShown);
const available = useThreadTerminalsStore((state) => Boolean(state.folder));
const toggle = useThreadTerminalsStore((state) => state.toggle);
- const label = !available ? "Terminal needs a project folder" : shown ? "Hide terminal" : "Show terminal";
+ const label = !available ? t("ide_threads.terminal_needs_folder") : shown ? t("ide_threads.hide_terminal") : t("ide_threads.show_terminal");
return (
<button
type="button"
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx
index a8fcd2f279..9618415e38 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx
@@ -7,7 +7,8 @@ import { waitsOnCard, type TextBlock, type TimelineItem, type ToolBlock, type Tu
import { toolDiff, type DiffFile } from "@/components/agentchat/toolDiff";
import { CallMark, StretchMark } from "@/components/agentchat/TraceTimeline";
import { plural, readableOutput, traceDuration, type Call } from "@/components/agentchat/traceEntries";
-import { fill, useT } from "@/i18n";
+import { fill, useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import type { ApprovalDecision } from "@/lib/agentChatApi";
import { robustCopy } from "@/lib/clipboard";
import { cn } from "@/lib/utils";
@@ -383,7 +384,7 @@ function CopyButton({ text, label }: { text: string; label: string }) {
}
function clock(ms: number): string {
- return new Date(ms).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
+ return new Date(ms).toLocaleTimeString(localeForUiLanguage(useI18nStore.getState().ui), { hour: "2-digit", minute: "2-digit" });
}
function UserBubble({ item }: { item: UserItem }) {
@@ -405,7 +406,7 @@ function UserBubble({ item }: { item: UserItem }) {
</div>
<div className="flex items-center gap-1 pr-1 text-xs text-muted-foreground opacity-0 transition-opacity focus-within:opacity-100 group-hover:opacity-100 [@media(hover:none)]:opacity-100">
<span className="tabular-nums">{clock(item.tsMs)}</span>
- {item.text && <CopyButton text={item.text} label="Copy message" />}
+ {item.text && <CopyButton text={item.text} label={t("ide_threads.copy_message")} />}
</div>
</div>;
}
@@ -762,6 +763,7 @@ export function ThreadTimeline({ items, sessionId, bottomInset, folder = "", lea
/** What reads above the conversation — an opened sub-agent's header and task. */
lead?: ReactNode;
}) {
+ const t = useT();
const scroller = useRef<HTMLDivElement | null>(null);
const pinned = useRef(true);
const [away, setAway] = useState(false);
@@ -803,7 +805,7 @@ export function ThreadTimeline({ items, sessionId, bottomInset, folder = "", lea
{items.map((item) => <ItemView key={item.id} item={item} />)}
</div>
</div>
- {away && <button type="button" aria-label="Scroll to the newest message"
+ {away && <button type="button" aria-label={t("ide_threads.scroll_newest")}
onClick={() => { const box = scroller.current; if (box) box.scrollTo({ top: box.scrollHeight, behavior: "smooth" }); }}
style={{ bottom: bottomInset + 12 }}
className="absolute left-1/2 z-10 flex h-8 w-8 -translate-x-1/2 items-center justify-center rounded-full border border-border bg-popover text-muted-foreground shadow-float hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTree.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTree.tsx
index b4ca6eadbe..750d93824d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTree.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadTree.tsx
@@ -4,6 +4,8 @@ import { AgentMark } from "@/components/agentic/AgentMark";
import { patchAgentChatSession, type AgentChatSession } from "@/lib/agentChatApi";
import type { IdeProject } from "@/lib/agenticIdeApi";
import { cn } from "@/lib/utils";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useEventStore } from "@/store/events";
import { useIdeProjectsStore } from "@/store/ideProjects";
import { useIdeThreadsStore } from "@/store/ideThreads";
@@ -33,15 +35,16 @@ function saveExpansion(value: Record<string, boolean>): void {
/** The quiet mark at a row's end: what the thread is doing, else whose it is. */
function StatusMark({ status }: { status: ThreadStatus }) {
+ const t = useT();
if (status === "approval") {
- return <span role="img" aria-label="Waiting for your approval" title="Waiting for your approval"
+ return <span role="img" aria-label={t("ide_threads.waiting_approval")} title={t("ide_threads.waiting_approval")}
className="h-2 w-2 shrink-0 rounded-full bg-warning" />;
}
if (status === "running") {
- return <Loader2 role="img" aria-label="Working" className="h-3.5 w-3.5 shrink-0 animate-spin text-muted-foreground" />;
+ return <Loader2 role="img" aria-label={t("ide_threads.sub_status_running")} className="h-3.5 w-3.5 shrink-0 animate-spin text-muted-foreground" />;
}
if (status === "unseen") {
- return <span role="img" aria-label="New activity" title="New activity" className="h-2 w-2 shrink-0 rounded-full bg-accent" />;
+ return <span role="img" aria-label={t("ide_threads.new_activity")} title={t("ide_threads.new_activity")} className="h-2 w-2 shrink-0 rounded-full bg-accent" />;
}
return null;
}
@@ -55,6 +58,8 @@ function StatusMark({ status }: { status: ThreadStatus }) {
* "Archived" list under their project, from where they come back.
*/
export function ThreadTree() {
+ const t = useT();
+ const locale = useRunLocale();
const projects = useIdeProjectsStore((state) => state.projects);
const connectProject = useIdeProjectsStore((state) => state.connectProject);
const toggleVoice = useIdeProjectsStore((state) => state.toggleVoice);
@@ -155,16 +160,16 @@ export function ThreadTree() {
const running = threads.filter((thread) => thread.running).length;
return <div key={project.id} className="mb-px" data-testid={`thread-project-${project.id}`}>
<div className="group relative flex min-h-8 items-center rounded-md transition-colors hover:bg-muted">
- <button type="button" aria-expanded={open} aria-label={`${open ? "Collapse" : "Expand"} ${project.name}`}
+ <button type="button" aria-expanded={open} aria-label={fill(t(open ? "ide_projects.collapse_named" : "ide_projects.expand_named"), { target: project.name })}
onClick={() => setProjectOpen(project.id, !open)} title={project.path}
className="flex min-h-8 min-w-0 flex-1 items-center gap-2.5 rounded-md px-2 text-left text-[15px] text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
{open
? <FolderOpen aria-hidden className="h-4 w-4 shrink-0 text-muted-foreground" strokeWidth={1.75} />
: <Folder aria-hidden className="h-4 w-4 shrink-0 text-muted-foreground" strokeWidth={1.75} />}
<span className="min-w-0 flex-1 truncate">{project.name}</span>
- {!open && running > 0 && <Loader2 aria-label={`${running} working`} className="h-3.5 w-3.5 shrink-0 animate-spin text-muted-foreground" />}
+ {!open && running > 0 && <Loader2 aria-label={fill(t("ide_threads.count_working"), { count: running })} className="h-3.5 w-3.5 shrink-0 animate-spin text-muted-foreground" />}
</button>
- <button type="button" aria-label={`New thread in ${project.name}`} title="New thread"
+ <button type="button" aria-label={fill(t("ide_threads.new_thread_in"), { project: project.name })} title={t("ide_threads.new_thread")}
data-testid={`thread-new-${project.id}`}
onClick={() => { setProjectOpen(project.id, true); newThread(project.id); }}
className="mr-1 flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/80 transition-colors hover:bg-background/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
@@ -174,7 +179,7 @@ export function ThreadTree() {
{open && <div className="mb-1 flex flex-col gap-px">
{draftHere && <div aria-current="page"
className="flex min-h-8 items-center gap-2 rounded-md bg-muted px-2 pl-8 text-[15px] text-muted-foreground">
- <span className="min-w-0 flex-1 truncate">New thread</span>
+ <span className="min-w-0 flex-1 truncate">{t("ide_threads.new_thread")}</span>
</div>}
{shown.map((session) => {
const selected = session.session_id === openSessionId && selection.sessionId !== null;
@@ -184,13 +189,13 @@ export function ThreadTree() {
if (renaming?.sessionId === session.session_id) {
return <form key={session.session_id} className="flex min-h-8 items-center gap-1 pl-6 pr-1"
onSubmit={(event) => { event.preventDefault(); void rename(session, renaming.title); }}>
- <input autoFocus aria-label={`Rename ${threadTitle(session)}`} value={renaming.title} maxLength={120}
+ <input autoFocus aria-label={fill(t("ide_projects.rename_named"), { target: threadTitle(session) })} value={renaming.title} maxLength={120}
onChange={(event) => setRenaming({ sessionId: session.session_id, title: event.target.value })}
onKeyDown={(event) => { if (event.key === "Escape") { event.stopPropagation(); setRenaming(null); } }}
onBlur={() => void rename(session, renaming.title)}
className="min-w-0 flex-1 rounded border border-input bg-background px-2 py-1 text-sm text-foreground outline-none focus:ring-2 focus:ring-ring" />
- <button type="submit" aria-label="Save name" className="rounded p-1 text-muted-foreground hover:text-foreground"><Check className="h-4 w-4" /></button>
- <button type="button" aria-label="Cancel renaming" onMouseDown={(event) => event.preventDefault()} onClick={() => setRenaming(null)}
+ <button type="submit" aria-label={t("ide_threads.save_name")} className="rounded p-1 text-muted-foreground hover:text-foreground"><Check className="h-4 w-4" /></button>
+ <button type="button" aria-label={t("ide_threads.cancel_renaming")} onMouseDown={(event) => event.preventDefault()} onClick={() => setRenaming(null)}
className="rounded p-1 text-muted-foreground hover:text-foreground"><X className="h-4 w-4" /></button>
</form>;
}
@@ -251,7 +256,7 @@ export function ThreadTree() {
const neighbour = ids[event.key === "ArrowUp" ? index - 1 : index + 1];
if (neighbour) move(project.id, ids, session.session_id, neighbour, event.key === "ArrowUp");
}}
- title={`${threadTitle(session)} — drag to reorder, or press Alt plus arrow keys to move`}
+ title={fill(t("ide_projects.drag_hint"), { target: threadTitle(session) })}
className={cn(
"flex min-h-8 min-w-0 flex-1 items-center gap-2 rounded-md py-1 pl-8 pr-2 text-left text-[15px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
selected ? "text-foreground-strong" : "text-foreground",
@@ -270,8 +275,8 @@ export function ThreadTree() {
"absolute inset-y-0 right-0 flex items-center gap-1 rounded-r-md bg-gradient-to-l from-muted from-60% to-transparent pl-5 pr-1 transition-opacity",
menuOpen ? "opacity-100" : "pointer-events-none opacity-0 group-hover/thread:pointer-events-auto group-hover/thread:opacity-100 group-focus-within/thread:pointer-events-auto group-focus-within/thread:opacity-100 [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100",
)}>
- <span className="text-xs tabular-nums text-muted-foreground" title={new Date(session.updated_ms).toLocaleString()}>{shortAge(session.updated_ms)}</span>
- <button type="button" aria-label={`Thread actions for ${threadTitle(session)}`} aria-haspopup="menu" aria-expanded={menuOpen}
+ <span className="text-xs tabular-nums text-muted-foreground" title={new Date(session.updated_ms).toLocaleString(locale)}>{shortAge(session.updated_ms)}</span>
+ <button type="button" aria-label={fill(t("ide_threads.thread_actions_for"), { target: threadTitle(session) })} aria-haspopup="menu" aria-expanded={menuOpen}
onClick={(event) => {
menuAnchor.current = event.currentTarget;
setMenu(menuOpen ? null : { sessionId: session.session_id, projectId: project.id });
@@ -285,18 +290,18 @@ export function ThreadTree() {
{threads.length > FOLDED_COUNT && <button type="button"
onClick={() => setShowAll((current) => ({ ...current, [project.id]: !current[project.id] }))}
className="flex min-h-7 items-center rounded-md pl-8 text-left text-[13px] text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- {showAll[project.id] ? "Show less" : `Show ${threads.length - FOLDED_COUNT} more`}
+ {showAll[project.id] ? t("ide_threads.show_less") : fill(t("ide_threads.show_more"), { count: threads.length - FOLDED_COUNT })}
</button>}
{threads.length === 0 && !draftHere && <button type="button" onClick={() => newThread(project.id)}
className="flex min-h-7 items-center gap-2 rounded-md pl-8 text-left text-[13px] text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- <Plus aria-hidden className="h-3.5 w-3.5" />Start a thread
+ <Plus aria-hidden className="h-3.5 w-3.5" />{t("ide_threads.start_thread")}
</button>}
{stored.length > 0 && <button type="button" aria-expanded={archiveShown}
data-testid={`thread-archived-${project.id}`}
onClick={() => setArchiveOpen((current) => ({ ...current, [project.id]: !archiveShown }))}
className="flex min-h-7 items-center gap-1 rounded-md pl-8 text-left text-[13px] text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
{archiveShown ? <ChevronDown aria-hidden className="h-3.5 w-3.5" /> : <ChevronRight aria-hidden className="h-3.5 w-3.5" />}
- Archived ({stored.length})
+ {fill(t("ide_threads.archived_count"), { count: stored.length })}
</button>}
{archiveShown && stored.map((session) => {
const selected = session.session_id === openSessionId && selection.sessionId !== null;
@@ -321,7 +326,7 @@ export function ThreadTree() {
"absolute inset-y-0 right-0 flex items-center rounded-r-md bg-gradient-to-l from-muted from-60% to-transparent pl-5 pr-1 transition-opacity",
menuOpen ? "opacity-100" : "pointer-events-none opacity-0 group-hover/thread:pointer-events-auto group-hover/thread:opacity-100 group-focus-within/thread:pointer-events-auto group-focus-within/thread:opacity-100 [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100",
)}>
- <button type="button" aria-label={`Restore ${threadTitle(session)}`} title="Restore"
+ <button type="button" aria-label={fill(t("ide_threads.restore_named"), { target: threadTitle(session) })} title={t("ide_threads.restore")}
onClick={() => restoreThread(session.session_id)}
className="rounded p-1 text-muted-foreground hover:bg-background/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
<ArchiveRestore className="h-3.5 w-3.5" />
@@ -340,46 +345,46 @@ export function ThreadTree() {
return <div data-testid="ide-thread-tree" className="flex-1 px-2 pb-3 pt-2">
<div className="flex h-8 items-center justify-between gap-2 pl-2 pr-1 text-[15px] font-semibold text-foreground">
- <span>Threads</span>
+ <span>{t("ide_threads.layout_threads")}</span>
<div className="flex items-center gap-1">
<button type="button" aria-label="Dodaios Live" title="Dodaios Live" onClick={toggleVoice}
className="rounded-md p-1.5 text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><Mic className="h-3.5 w-3.5" /></button>
- <button type="button" aria-label="Connect project" title="Connect project folder" onClick={connectProject}
+ <button type="button" aria-label={t("ide_projects.connect_title")} title={t("ide_projects.connect_folder_title")} onClick={connectProject}
className="rounded-md p-1.5 text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><Plus className="h-3.5 w-3.5" /></button>
</div>
</div>
{visible.some((project) => project.pinned) && <>
- <div className="px-2 pb-1 pt-3 text-[13px] font-medium text-muted-foreground/80">Pinned</div>
+ <div className="px-2 pb-1 pt-3 text-[13px] font-medium text-muted-foreground/80">{t("ide_projects.pinned")}</div>
{visible.filter((project) => project.pinned).map(projectRow)}
- {visible.some((project) => !project.pinned) && <div className="px-2 pb-1 pt-4 text-[13px] font-medium text-muted-foreground/80">Other projects</div>}
+ {visible.some((project) => !project.pinned) && <div className="px-2 pb-1 pt-4 text-[13px] font-medium text-muted-foreground/80">{t("ide_projects.other_projects")}</div>}
</>}
{visible.filter((project) => !project.pinned).map(projectRow)}
- {visible.length === 0 && <p className="px-2 py-2 text-[13px] text-muted-foreground">Connect a folder to start a project.</p>}
+ {visible.length === 0 && <p className="px-2 py-2 text-[13px] text-muted-foreground">{t("ide_projects.empty")}</p>}
<ThreadPopover anchor={menuAnchor} open={menu !== null && menuSession !== null} onClose={() => { setMenu(null); setConfirmDelete(null); }}
- label="Thread actions" width={220}>
+ label={t("ide_threads.thread_actions")} width={220}>
{menu && menuSession && (confirmDelete === menu.sessionId
? <div className="p-2">
- <p className="text-sm text-foreground">Delete this thread?</p>
- <p className="mt-1 text-xs text-muted-foreground">Its conversation leaves the list. The coding agent's own history stays on disk.</p>
+ <p className="text-sm text-foreground">{t("ide_threads.delete_confirm")}</p>
+ <p className="mt-1 text-xs text-muted-foreground">{t("ide_threads.delete_body")}</p>
<div className="mt-3 flex justify-end gap-2">
- <button type="button" onClick={() => setConfirmDelete(null)} className="rounded-md px-2.5 py-1 text-sm text-muted-foreground hover:bg-secondary">Cancel</button>
+ <button type="button" onClick={() => setConfirmDelete(null)} className="rounded-md px-2.5 py-1 text-sm text-muted-foreground hover:bg-secondary">{t("common.cancel")}</button>
<button type="button" onClick={() => { const id = menu.sessionId; setMenu(null); void remove(id); }}
- className="rounded-md bg-destructive px-2.5 py-1 text-sm text-destructive-foreground">Delete</button>
+ className="rounded-md bg-destructive px-2.5 py-1 text-sm text-destructive-foreground">{t("common.delete")}</button>
</div>
</div>
: <div role="menu">
- <ThreadMenuItem icon={<Pencil className="h-3.5 w-3.5" />} label="Rename"
+ <ThreadMenuItem icon={<Pencil className="h-3.5 w-3.5" />} label={t("ide_threads.rename")}
onSelect={() => { setRenaming({ sessionId: menuSession.session_id, title: threadTitle(menuSession) }); setMenu(null); }} />
- <ThreadMenuItem icon={<SquarePlus className="h-3.5 w-3.5" />} label="New thread in this project"
+ <ThreadMenuItem icon={<SquarePlus className="h-3.5 w-3.5" />} label={t("ide_threads.new_thread_here")}
onSelect={() => { newThread(menu.projectId); setMenu(null); }} />
{menuArchived
- ? <ThreadMenuItem icon={<ArchiveRestore className="h-3.5 w-3.5" />} label="Restore"
+ ? <ThreadMenuItem icon={<ArchiveRestore className="h-3.5 w-3.5" />} label={t("ide_threads.restore")}
onSelect={() => { restoreThread(menuSession.session_id); setMenu(null); }} />
- : <ThreadMenuItem icon={<Archive className="h-3.5 w-3.5" />} label="Archive" disabled={menuBusy}
+ : <ThreadMenuItem icon={<Archive className="h-3.5 w-3.5" />} label={t("ide_threads.archive")} disabled={menuBusy}
onSelect={() => { archiveThread(menuSession.session_id); setMenu(null); }} />}
<ThreadMenuSeparator />
- <ThreadMenuItem icon={<Trash2 className="h-3.5 w-3.5" />} label="Delete" danger disabled={Boolean(menuSession.running)}
+ <ThreadMenuItem icon={<Trash2 className="h-3.5 w-3.5" />} label={t("common.delete")} danger disabled={Boolean(menuSession.running)}
onSelect={() => setConfirmDelete(menu.sessionId)} />
</div>)}
</ThreadPopover>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadView.tsx b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadView.tsx
index 82ec82e45d..65ec9ace8e 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadView.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/ThreadView.tsx
@@ -3,6 +3,7 @@ import { Check, ChevronDown, FolderPlus } from "lucide-react";
import { prepareGit } from "@/lib/gitApi";
import type { AgentChatSession } from "@/lib/agentChatApi";
import { useEventStore } from "@/store/events";
+import { translate, useT } from "@/i18n";
import { useIdeProjectsStore } from "@/store/ideProjects";
import { useIdeThreadsStore } from "@/store/ideThreads";
import { useThreadTerminalsStore } from "@/store/threadTerminals";
@@ -24,6 +25,7 @@ import { projectIdFor, rememberedSeat, useThreadChatStore } from "./threadModel"
* message starts the thread — in the project's checkout or a fresh worktree.
*/
export function ThreadView({ onScreen }: { onScreen: boolean }) {
+ const t = useT();
const pushToast = useEventStore((state) => state.pushToast);
const projects = useIdeProjectsStore((state) => state.projects);
const activeWorkspaceId = useIdeProjectsStore((state) => state.activeWorkspaceId);
@@ -149,7 +151,7 @@ export function ThreadView({ onScreen }: { onScreen: boolean }) {
const prepareDraft = useCallback(async (): Promise<string | null> => {
if (!project) {
- pushToast("error", "Connect a project folder first.");
+ pushToast("error", translate("ide_threads.connect_folder_first"));
return null;
}
startingIn.current = project.id;
@@ -226,13 +228,14 @@ export function ThreadView({ onScreen }: { onScreen: boolean }) {
if (!project) {
return <div className="flex h-full flex-col items-center justify-center gap-3 px-6 text-center" data-testid="thread-view-empty">
<FolderPlus className="h-8 w-8 text-muted-foreground/70" />
- <h1 className="text-lg font-medium">Connect a project</h1>
- <p className="max-w-md text-sm text-muted-foreground">Threads run a coding agent in a project folder. Connect one to start.</p>
- <button type="button" onClick={connectProject} className="mt-2 rounded-md border border-border px-3 py-1.5 text-sm hover:bg-secondary">Connect folder</button>
+ <h1 className="text-lg font-medium">{t("ide_threads.connect_a_project")}</h1>
+ <p className="max-w-md text-sm text-muted-foreground">{t("ide_threads.empty_body")}</p>
+ <button type="button" onClick={connectProject} className="mt-2 rounded-md border border-border px-3 py-1.5 text-sm hover:bg-secondary">{t("ide_threads.connect_folder")}</button>
</div>;
}
const threadKey = selection.sessionId ?? `draft:${project.id}`;
+ const [buildBefore, buildAfter = ""] = t("ide_threads.build_in").split("{project}");
const empty = isDraft && timeline.items.length === 0;
const strip = <ThreadBranchBar folder={folder} draft={isDraft} checkout={checkout} onCheckout={setCheckout}
@@ -242,19 +245,19 @@ export function ThreadView({ onScreen }: { onScreen: boolean }) {
{empty
? <div className="flex min-h-0 flex-1 flex-col items-center justify-center px-5 pb-10">
<h2 className="text-center text-2xl font-normal tracking-tight text-foreground sm:text-3xl">
- What should we build in{" "}
+ {buildBefore}
<button ref={projectAnchor} type="button" aria-haspopup="menu" aria-expanded={projectMenu} onClick={() => setProjectMenu(!projectMenu)}
className="inline-flex items-center gap-1 rounded-md font-semibold text-foreground-strong hover:bg-secondary/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
data-testid="thread-project-picker">
{project.name}<ChevronDown aria-hidden className="h-4 w-4 text-muted-foreground" />
- </button>?
+ </button>{buildAfter}
</h2>
- <ThreadPopover anchor={projectAnchor} open={projectMenu} onClose={() => setProjectMenu(false)} label="Projects" width={260}>
+ <ThreadPopover anchor={projectAnchor} open={projectMenu} onClose={() => setProjectMenu(false)} label={t("ide_threads.projects")} width={260}>
<div role="menu">
{visible.map((entry) => <ThreadMenuItem key={entry.id} label={entry.name} selected={entry.id === project.id}
hint={entry.id === project.id ? <Check className="h-3.5 w-3.5" /> : undefined}
onSelect={() => { setProjectMenu(false); useIdeThreadsStore.getState().newThread(entry.id); }} />)}
- <ThreadMenuItem icon={<FolderPlus className="h-3.5 w-3.5" />} label="Connect another folder" onSelect={() => { setProjectMenu(false); connectProject(); }} />
+ <ThreadMenuItem icon={<FolderPlus className="h-3.5 w-3.5" />} label={t("ide_threads.connect_another")} onSelect={() => { setProjectMenu(false); connectProject(); }} />
</div>
</ThreadPopover>
<div className="mt-7 w-full">
diff --git a/jarvis/ui/web/frontend/src/components/agentic/threads/threadModel.ts b/jarvis/ui/web/frontend/src/components/agentic/threads/threadModel.ts
index 4ffa273697..3e3c9275b8 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/threads/threadModel.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/threads/threadModel.ts
@@ -1,6 +1,7 @@
import type { AgentChatSession } from "@/lib/agentChatApi";
import type { IdeProject } from "@/lib/agenticIdeApi";
import { createAgentChatStore, type ProviderOption } from "@/store/agentChat";
+import { fill, translate } from "@/i18n";
/**
* The pure half of the IDE's thread layout: which project a thread belongs
@@ -19,7 +20,7 @@ export type ThreadStatus = "approval" | "running" | "unseen" | "idle";
/** What a thread is called in the list and its header. */
export function threadTitle(session: Pick<AgentChatSession, "title" | "cli_title"> | null | undefined): string {
- return session?.cli_title?.trim() || session?.title?.trim() || "New thread";
+ return session?.cli_title?.trim() || session?.title?.trim() || translate("ide_threads.new_thread");
}
/** A path in one comparable spelling: forward slashes, no trailing slash, case folded on drive paths. */
@@ -124,14 +125,14 @@ export function threadAgents(options: readonly ProviderOption[]): ProviderOption
/** "now", "5m", "3h", "2d", "4w" — how long ago, the way a dense list says it. */
export function shortAge(ms: number, now = Date.now()): string {
const seconds = Math.max(0, Math.round((now - ms) / 1000));
- if (seconds < 60) return "now";
+ if (seconds < 60) return translate("ide_threads.age_now");
const minutes = Math.floor(seconds / 60);
- if (minutes < 60) return `${minutes}m`;
+ if (minutes < 60) return fill(translate("ide_threads.age_minutes"), { count: minutes });
const hours = Math.floor(minutes / 60);
- if (hours < 24) return `${hours}h`;
+ if (hours < 24) return fill(translate("ide_threads.age_hours"), { count: hours });
const days = Math.floor(hours / 24);
- if (days < 7) return `${days}d`;
- return `${Math.floor(days / 7)}w`;
+ if (days < 7) return fill(translate("ide_threads.age_days"), { count: days });
+ return fill(translate("ide_threads.age_weeks"), { count: Math.floor(days / 7) });
}
/** The last folder name of a path — what a branch-less checkout is called. */
diff --git a/jarvis/ui/web/frontend/src/components/agentic/treeLayout.ts b/jarvis/ui/web/frontend/src/components/agentic/treeLayout.ts
index 169c90309c..dee96279ad 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/treeLayout.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/treeLayout.ts
@@ -39,6 +39,8 @@
* hook posts back (`saveLayoutWeights`) is the same value.
*/
+import { fill, translate } from "@/i18n";
+
/** One pane, referenced by its terminal KEY ("t1") — stable across renames. */
export interface LayoutLeaf {
pane: string;
@@ -182,8 +184,8 @@ export function treeLayout(
node.children.forEach((child, index) => {
const share = (weights[index] / total) * along;
if (index > 0) {
- const before = names.get(lastLeaf(node.children[index - 1])) ?? "the pane before";
- const after = names.get(firstLeaf(child)) ?? "the pane after";
+ const before = names.get(lastLeaf(node.children[index - 1])) ?? translate("ide_panes.seam.pane_before");
+ const after = names.get(firstLeaf(child)) ?? translate("ide_panes.seam.pane_after");
seams.push(
node.direction === "row"
? {
@@ -197,7 +199,7 @@ export function treeLayout(
boundary: index,
groupWeight: total,
axisFraction: box.w,
- label: `Drag to resize ${before} and ${after}`,
+ label: fill(translate("ide_panes.seam.resize_pair"), { before, after }),
}
: {
id: `${at}:${index}`,
@@ -210,7 +212,7 @@ export function treeLayout(
boundary: index,
groupWeight: total,
axisFraction: box.h,
- label: `Drag to resize ${before} and ${after}`,
+ label: fill(translate("ide_panes.seam.resize_pair"), { before, after }),
},
);
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/useSessionGitHub.ts b/jarvis/ui/web/frontend/src/components/agentic/useSessionGitHub.ts
index ae1bf0221a..8d4bf72947 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/useSessionGitHub.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/useSessionGitHub.ts
@@ -1,3 +1,4 @@
+import { translate } from "@/i18n";
import { useCallback, useSyncExternalStore } from "react";
import { requestConnect, spreadDelay } from "@/lib/connectBudget";
import type { CiStatus, PullRequestState } from "./sidePanel/git/gitOverviewApi";
@@ -75,7 +76,7 @@ function start(workspaceId: string): Entry {
}));
notify();
} catch {
- if (!disposed) unavailable("GitHub status could not be refreshed.");
+ if (!disposed) unavailable(translate("ide_panes.github.refresh_failed"));
} finally {
clearTimeout(timeout);
controller = undefined;
@@ -90,7 +91,7 @@ function start(workspaceId: string): Entry {
}
// A suspended window must not present its last green badge as live data.
if (Object.values(entry.panes).some((value) => value && Date.now() / 1000 - value.fetched_at > 60)) {
- unavailable("Refreshing GitHub status…");
+ unavailable(translate("ide_panes.github.refreshing"));
}
if (!controller) schedule(spreadDelay(500));
};
diff --git a/jarvis/ui/web/frontend/src/components/agentic/workspaceDocking.ts b/jarvis/ui/web/frontend/src/components/agentic/workspaceDocking.ts
index 7ee2047f7f..29525065e8 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/workspaceDocking.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/workspaceDocking.ts
@@ -1,9 +1,10 @@
import type { PaneMovePosition, TerminalState } from "@/lib/agenticIdeApi";
import { isSplit, treeLayout, treeLeaves, type LayoutNode, type PaneBox } from "./treeLayout";
+/** i18n keys of the drop-target labels; translate where rendered. */
export const DOCK_LABELS: Record<PaneMovePosition, string> = {
- swap: "Swap positions", left: "Place on the left", right: "Place on the right",
- above: "Place above", below: "Place below",
+ swap: "ide_panes.dock.swap", left: "ide_panes.dock.left", right: "ide_panes.dock.right",
+ above: "ide_panes.dock.above", below: "ide_panes.dock.below",
};
/**
diff --git a/jarvis/ui/web/frontend/src/components/appshot/AppshotEditorHost.tsx b/jarvis/ui/web/frontend/src/components/appshot/AppshotEditorHost.tsx
index b7390421af..6bd6ef5c04 100644
--- a/jarvis/ui/web/frontend/src/components/appshot/AppshotEditorHost.tsx
+++ b/jarvis/ui/web/frontend/src/components/appshot/AppshotEditorHost.tsx
@@ -1,6 +1,7 @@
import { Suspense, lazy } from "react";
import * as Dialog from "@radix-ui/react-dialog";
+import { useT } from "@/i18n";
import { useAppshotEditor } from "@/store/appshotEditor";
// The editor and its strings load only when someone edits an appshot.
@@ -28,6 +29,7 @@ function returnToCorner(id: string, flyFrom: [number, number, number, number]) {
}
export function AppshotEditorHost() {
+ const t = useT();
const openId = useAppshotEditor((s) => s.openId);
const close = useAppshotEditor((s) => s.close);
const applied = useAppshotEditor((s) => s.applied);
@@ -43,7 +45,7 @@ export function AppshotEditorHost() {
className="fixed inset-0 z-[95] outline-none"
data-testid="appshot-editor-host"
>
- <Dialog.Title className="sr-only">Appshot editor</Dialog.Title>
+ <Dialog.Title className="sr-only">{t("appshots.editor_title")}</Dialog.Title>
{openId !== null && (
<Suspense fallback={<div className="h-full w-full bg-background" />}>
<AppshotEditor
diff --git a/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx b/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx
index 229860de94..5e7c82f051 100644
--- a/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx
@@ -2,6 +2,7 @@ import { forwardRef, type CSSProperties } from "react";
import { REPO_LABEL, type ShareStats } from "@/lib/shareImage";
import { useT } from "@/i18n";
+import { uiLocale } from "@/lib/boardInsights";
// ── Palette ───────────────────────────────────────────────────────────
// A JARVIS-style HUD readout: bright instrument lines on deep ink, a quiet
@@ -32,7 +33,7 @@ export const ShareCard = forwardRef<HTMLDivElement, ShareCardProps>(
ref,
) {
const t = useT();
- const nf = (n: number) => n.toLocaleString();
+ const nf = (n: number) => n.toLocaleString(uiLocale());
const SEGMENTS = 28;
const filled = Math.max(2, Math.min(SEGMENTS, Math.round((longestStreak / 30) * SEGMENTS)));
diff --git a/jarvis/ui/web/frontend/src/components/board/ShareDialog.test.tsx b/jarvis/ui/web/frontend/src/components/board/ShareDialog.test.tsx
index 336cb93ffb..fda6d0926f 100644
--- a/jarvis/ui/web/frontend/src/components/board/ShareDialog.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ShareDialog.test.tsx
@@ -20,6 +20,7 @@ import {
import { ShareDialog } from "@/components/board/ShareDialog";
import { REPO_LABEL, shareToX } from "@/lib/shareImage";
+import { uiLocale } from "@/lib/boardInsights";
import { toBlob } from "html-to-image";
vi.mock("html-to-image", () => ({
@@ -88,9 +89,9 @@ describe("ShareDialog", () => {
expect(
screen.getAllByText((text) => text.includes(REPO_LABEL)).length,
).toBeGreaterThan(0);
- // Hero number rendered (locale-agnostic — matches whatever separator
- // toLocaleString uses in the test environment).
- const hero = (10874).toLocaleString();
+ // Hero number rendered in the UI language's locale, as the card draws it —
+ // not in the locale of the machine that runs the test.
+ const hero = (10874).toLocaleString(uiLocale());
expect(screen.getAllByText(hero).length).toBeGreaterThan(0);
});
diff --git a/jarvis/ui/web/frontend/src/components/board/ShareDialog.tsx b/jarvis/ui/web/frontend/src/components/board/ShareDialog.tsx
index d58e9620d5..3cf5b18878 100644
--- a/jarvis/ui/web/frontend/src/components/board/ShareDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ShareDialog.tsx
@@ -199,7 +199,7 @@ export function ShareDialog({ open, onOpenChange, stats }: Props) {
</div>
<Dialog.Close
className="rounded-md p-1 text-muted-foreground transition-colors hover:bg-sheen/[0.06] hover:text-foreground"
- aria-label="Close"
+ aria-label={t("common.close")}
>
<X className="h-4 w-4" />
</Dialog.Close>
diff --git a/jarvis/ui/web/frontend/src/components/board/insights/AgentsTab.tsx b/jarvis/ui/web/frontend/src/components/board/insights/AgentsTab.tsx
index d041b45f31..284dbc28d8 100644
--- a/jarvis/ui/web/frontend/src/components/board/insights/AgentsTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/insights/AgentsTab.tsx
@@ -1,7 +1,7 @@
import { useState } from "react";
import type { BoardInsights, InsightsAgent } from "@/hooks/useBoardInsights";
-import { agentLabel, chatProviderLabel, compactNumber, formatDay, plural } from "@/lib/boardInsights";
+import { agentLabel, chatProviderLabel, compactNumber, formatDay, plural, uiLocale } from "@/lib/boardInsights";
import {
BOARD_CATEGORY_KEYS,
CATEGORY_META,
@@ -16,25 +16,26 @@ import {
Eyebrow,
InsightCard,
} from "@/components/board/insights/primitives";
-import { useT, useUiLanguage } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
+import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
type Range = "30d" | "all";
export function AgentsTab({ data }: { data: BoardInsights }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const best = data.records.best_agent_day;
const sessions30 = data.agents.items.reduce((s, a) => s + a.sessions_30d, 0);
return (
<div className="flex flex-col gap-4">
<div className="grid grid-cols-2 gap-4 lg:grid-cols-4">
- <StatCard label={t("board_insights.agents.stat_sessions")} value={data.agents.sessions.toLocaleString()} />
- <StatCard label={t("board_insights.agents.stat_sessions_30d")} value={sessions30.toLocaleString()} />
+ <StatCard label={t("board_insights.agents.stat_sessions")} value={data.agents.sessions.toLocaleString(uiLocale())} />
+ <StatCard label={t("board_insights.agents.stat_sessions_30d")} value={sessions30.toLocaleString(uiLocale())} />
<StatCard label={t("board_insights.agents.stat_tokens")} value={compactNumber(data.agents.tokens)} />
<StatCard
label={t("board_insights.agents.stat_busiest")}
- value={best ? best.value.toLocaleString() : "—"}
+ value={best ? best.value.toLocaleString(uiLocale()) : "—"}
sub={best ? formatDay(best.date, lang) : undefined}
/>
</div>
@@ -63,7 +64,7 @@ function StatCard({ label, value, sub }: { label: string; value: string; sub?: s
function CodingAgentsCard({ data }: { data: BoardInsights }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const [range, setRange] = useState<Range>("30d");
const sessionsOf = (a: InsightsAgent) => (range === "30d" ? a.sessions_30d : a.sessions);
const turnsOf = (a: InsightsAgent) => (range === "30d" ? a.turns_30d : a.turns);
@@ -127,7 +128,7 @@ function CodingAgentsCard({ data }: { data: BoardInsights }) {
<span className="w-9 text-right text-xs tabular-nums text-muted-foreground">{pct}%</span>
</div>
</td>
- <td className="py-2.5 text-right tabular-nums text-foreground-strong">{sessions.toLocaleString()}</td>
+ <td className="py-2.5 text-right tabular-nums text-foreground-strong">{sessions.toLocaleString(uiLocale())}</td>
<td className="py-2.5 text-right tabular-nums text-muted-foreground">
{compactNumber(turnsOf(agent))}
</td>
@@ -168,7 +169,7 @@ function ChatsCard({ data }: { data: BoardInsights }) {
style={{ width: row.messages > 0 ? `${Math.max((row.messages / max) * 100, 3)}%` : "0%" }}
/>
</div>
- <span className="w-10 text-right tabular-nums text-foreground-strong">{row.messages.toLocaleString()}</span>
+ <span className="w-10 text-right tabular-nums text-foreground-strong">{row.messages.toLocaleString(uiLocale())}</span>
</li>
))}
</ul>
@@ -200,7 +201,7 @@ function CategoriesCard({ data }: { data: BoardInsights }) {
<li key={key} className="flex items-center gap-2.5 text-sm">
<Icon className="h-4 w-4 shrink-0 text-muted-foreground" aria-hidden />
<span className="flex-1 truncate text-foreground">{t(categoryLabelKey(key))}</span>
- <span className="tabular-nums text-muted-foreground">{count.toLocaleString()}</span>
+ <span className="tabular-nums text-muted-foreground">{count.toLocaleString(uiLocale())}</span>
<span className="w-10 text-right text-xs tabular-nums text-foreground-strong">{pct}%</span>
</li>
);
diff --git a/jarvis/ui/web/frontend/src/components/board/insights/RhythmTab.tsx b/jarvis/ui/web/frontend/src/components/board/insights/RhythmTab.tsx
index 843b638bd0..acb0bd86d6 100644
--- a/jarvis/ui/web/frontend/src/components/board/insights/RhythmTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/insights/RhythmTab.tsx
@@ -12,6 +12,7 @@ import {
weekdayTotals,
weeklyTotals,
wordsOf,
+ uiLocale,
} from "@/lib/boardInsights";
import { QuickTooltip } from "@/components/ui/tooltip";
import {
@@ -19,7 +20,8 @@ import {
HEAT_LEVEL_CLASS,
InsightCard,
} from "@/components/board/insights/primitives";
-import { useT, useUiLanguage } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
+import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
const WEEKS_SHOWN = 26;
@@ -37,7 +39,7 @@ export function RhythmTab({ data }: { data: BoardInsights }) {
}
function useWeekdayNames(style: "short" | "long") {
- const lang = useUiLanguage();
+ const lang = useRunLocale();
return useMemo(() => {
const fmt = new Intl.DateTimeFormat(lang, { weekday: style });
return Array.from({ length: 7 }, (_, i) => fmt.format(new Date(2024, 0, 1 + i)));
@@ -50,7 +52,7 @@ function hourLabel(hour: number, lang: string): string {
function PunchCard({ data }: { data: BoardInsights }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const shortDays = useWeekdayNames("short");
const longDays = useWeekdayNames("long");
const punch = data.punch_card;
@@ -92,7 +94,7 @@ function PunchCard({ data }: { data: BoardInsights }) {
total={weekdays[weekday]}
highlight={weekday === topDay}
describe={(hour, value) =>
- `${longDays[weekday]}, ${hourLabel(hour, lang)} — ${value.toLocaleString()}`
+ `${longDays[weekday]}, ${hourLabel(hour, lang)} — ${value.toLocaleString(uiLocale())}`
}
/>
))}
@@ -145,14 +147,14 @@ function PunchRow({
<span className={cn("block h-6 w-full rounded-[4px]", HEAT_LEVEL_CLASS[level(value)])} />
</QuickTooltip>
))}
- <span className="text-right text-xs tabular-nums text-muted-foreground">{total.toLocaleString()}</span>
+ <span className="text-right text-xs tabular-nums text-muted-foreground">{total.toLocaleString(uiLocale())}</span>
</>
);
}
function WeeklyVolumeCard({ data }: { data: BoardInsights }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const weeks = weeklyTotals(data.days, WEEKS_SHOWN, 8);
const max = Math.max(1, ...weeks.map((w) => w.words));
const best = weeks.reduce((b, w) => (w.words > b ? w.words : b), 0);
@@ -162,7 +164,7 @@ function WeeklyVolumeCard({ data }: { data: BoardInsights }) {
<InsightCard testId="board-weekly-volume">
<CardTitleRow
title={t("board_insights.weekly.title")}
- fact={best > 0 ? t("board_insights.weekly.best").replace("{0}", best.toLocaleString()) : undefined}
+ fact={best > 0 ? t("board_insights.weekly.best").replace("{0}", best.toLocaleString(uiLocale())) : undefined}
>
<p className="mt-1 text-sm text-muted-foreground">{t("board_insights.weekly.subtitle")}</p>
</CardTitleRow>
@@ -170,8 +172,8 @@ function WeeklyVolumeCard({ data }: { data: BoardInsights }) {
{weeks.map((week, i) => {
const date = week.start ? new Date(`${week.start}T00:00:00`) : null;
const tip = `${week.start ? formatDay(week.start, lang) : ""} — ${t("board_insights.weekly.tooltip")
- .replace("{0}", week.words.toLocaleString())
- .replace("{1}", week.agentSessions.toLocaleString())}`;
+ .replace("{0}", week.words.toLocaleString(uiLocale()))
+ .replace("{1}", week.agentSessions.toLocaleString(uiLocale()))}`;
return (
<QuickTooltip key={i} content={tip} side="top" className="flex h-full flex-1 flex-col justify-end">
<div
@@ -194,7 +196,7 @@ function WeeklyVolumeCard({ data }: { data: BoardInsights }) {
function RecordsCard({ data }: { data: BoardInsights }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const totalWords = data.dictation.words + data.voice.user_words;
const { previous, next } = milestoneProgress(totalWords);
const progress = next > previous ? (totalWords - previous) / (next - previous) : 0;
@@ -209,13 +211,13 @@ function RecordsCard({ data }: { data: BoardInsights }) {
<RecordRow
icon={Award}
label={t("board_insights.records.best_words")}
- value={bestWords ? bestWords.value.toLocaleString() : "—"}
+ value={bestWords ? bestWords.value.toLocaleString(uiLocale()) : "—"}
sub={bestWords ? formatDay(bestWords.date, lang) : undefined}
/>
<RecordRow
icon={Bot}
label={t("board_insights.records.best_agents")}
- value={bestAgents ? bestAgents.value.toLocaleString() : "—"}
+ value={bestAgents ? bestAgents.value.toLocaleString(uiLocale()) : "—"}
sub={bestAgents ? formatDay(bestAgents.date, lang) : undefined}
/>
<RecordRow
@@ -226,7 +228,7 @@ function RecordsCard({ data }: { data: BoardInsights }) {
<RecordRow
icon={CalendarDays}
label={t("board_insights.records.active_days")}
- value={data.streak.active_days.toLocaleString()}
+ value={data.streak.active_days.toLocaleString(uiLocale())}
sub={
data.streak.first_day
? t("board_insights.records.since").replace("{0}", formatDay(data.streak.first_day, lang))
@@ -237,10 +239,10 @@ function RecordsCard({ data }: { data: BoardInsights }) {
<div className="mt-auto pt-5">
<div className="mb-2 flex items-baseline justify-between gap-3 text-sm">
<span className="font-medium text-foreground-strong">
- {t("board_insights.records.next_milestone").replace("{0}", next.toLocaleString())}
+ {t("board_insights.records.next_milestone").replace("{0}", next.toLocaleString(uiLocale()))}
</span>
<span className="tabular-nums text-muted-foreground">
- {t("board_insights.records.to_go").replace("{0}", Math.max(0, next - totalWords).toLocaleString())}
+ {t("board_insights.records.to_go").replace("{0}", Math.max(0, next - totalWords).toLocaleString(uiLocale()))}
</span>
</div>
<div className="h-2 overflow-hidden rounded-full bg-sheen/[0.06]">
@@ -248,7 +250,7 @@ function RecordsCard({ data }: { data: BoardInsights }) {
</div>
{todayWords > 0 && (
<p className="mt-2 text-xs text-muted-foreground">
- {t("board_insights.records.today").replace("{0}", todayWords.toLocaleString())}
+ {t("board_insights.records.today").replace("{0}", todayWords.toLocaleString(uiLocale()))}
</p>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/board/insights/StreakCalendar.tsx b/jarvis/ui/web/frontend/src/components/board/insights/StreakCalendar.tsx
index ec8d458a9a..be163e5035 100644
--- a/jarvis/ui/web/frontend/src/components/board/insights/StreakCalendar.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/insights/StreakCalendar.tsx
@@ -2,10 +2,11 @@ import { useMemo, useState } from "react";
import { ChevronLeft, ChevronRight } from "lucide-react";
import type { InsightsDay } from "@/hooks/useBoardInsights";
-import { actionsOf, calendarWeeks, intensityLevels, wordsOf } from "@/lib/boardInsights";
+import { actionsOf, calendarWeeks, intensityLevels, wordsOf, uiLocale } from "@/lib/boardInsights";
import { QuickTooltip } from "@/components/ui/tooltip";
import { HEAT_LEVEL_CLASS } from "@/components/board/insights/primitives";
-import { useT, useUiLanguage } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
+import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
/** Weeks shown at once; the arrows page through the rest of the year. */
@@ -17,7 +18,7 @@ const PAGE_WEEKS = 22;
*/
export function StreakCalendar({ days }: { days: readonly InsightsDay[] }) {
const t = useT();
- const lang = useUiLanguage();
+ const lang = useRunLocale();
const weeks = useMemo(() => calendarWeeks(days), [days]);
const level = useMemo(() => intensityLevels(days.map(actionsOf)), [days]);
const lastStart = Math.max(0, weeks.length - PAGE_WEEKS);
@@ -45,11 +46,11 @@ export function StreakCalendar({ days }: { days: readonly InsightsDay[] }) {
return `${dayLabel(day.date)} — ${t("board_insights.calendar.nothing")}`;
}
const parts = [
- t("board_insights.calendar.started").replace("{0}", actions.toLocaleString()),
+ t("board_insights.calendar.started").replace("{0}", actions.toLocaleString(uiLocale())),
];
const words = wordsOf(day);
if (words > 0) {
- parts.push(t("board_insights.calendar.words").replace("{0}", words.toLocaleString()));
+ parts.push(t("board_insights.calendar.words").replace("{0}", words.toLocaleString(uiLocale())));
}
return `${dayLabel(day.date)} — ${parts.join(" · ")}`;
};
diff --git a/jarvis/ui/web/frontend/src/components/board/insights/UsageTab.tsx b/jarvis/ui/web/frontend/src/components/board/insights/UsageTab.tsx
index eb76e61d80..35e6610e84 100644
--- a/jarvis/ui/web/frontend/src/components/board/insights/UsageTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/insights/UsageTab.tsx
@@ -8,6 +8,7 @@ import {
usageMix,
wordsPerMinute,
type MixRow,
+ uiLocale,
} from "@/lib/boardInsights";
import {
BigNumber,
@@ -45,7 +46,7 @@ function SpeedCard({ data }: { data: BoardInsights }) {
const ratio = typing > 0 ? wpm / typing : 0;
return (
<InsightCard testId="board-speed-card">
- <BigNumber>{wpm > 0 ? Math.round(wpm).toLocaleString() : "—"}</BigNumber>
+ <BigNumber>{wpm > 0 ? Math.round(wpm).toLocaleString(uiLocale()) : "—"}</BigNumber>
<div className="mt-2">
<Eyebrow hint={t("board_insights.speed.hint").replace("{0}", String(typing))}>
{t("board_insights.speed.label")}
@@ -86,7 +87,7 @@ function TimeSavedCard({ data }: { data: BoardInsights }) {
<BigNumber>
{data.dictation.words > 0
? hours >= 10
- ? `${Math.round(hours).toLocaleString()} h`
+ ? `${Math.round(hours).toLocaleString(uiLocale())} h`
: `${hours.toFixed(1)} h`
: "—"}
</BigNumber>
@@ -98,7 +99,7 @@ function TimeSavedCard({ data }: { data: BoardInsights }) {
<Hairline />
<dl className="flex flex-col gap-3 text-base">
<FactRow
- value={data.dictation.dictations.toLocaleString()}
+ value={data.dictation.dictations.toLocaleString(uiLocale())}
label={t("board_insights.saved.dictations")}
/>
<FactRow
@@ -106,7 +107,7 @@ function TimeSavedCard({ data }: { data: BoardInsights }) {
label={t("board_insights.saved.spoken")}
/>
<FactRow
- value={`${Math.round(typing > 0 ? data.dictation.words / typing / 60 : 0).toLocaleString()} h`}
+ value={`${Math.round(typing > 0 ? data.dictation.words / typing / 60 : 0).toLocaleString(uiLocale())} h`}
label={t("board_insights.saved.typing_would_take")}
/>
</dl>
@@ -135,7 +136,7 @@ function WordsCard({ data }: { data: BoardInsights }) {
return (
<InsightCard testId="board-words-card">
<div className="flex items-start justify-between gap-3">
- <BigNumber>{total.toLocaleString()}</BigNumber>
+ <BigNumber>{total.toLocaleString(uiLocale())}</BigNumber>
{trend !== null && (
<QuickTooltip content={t("board_insights.words.trend_hint")} side="top" className="shrink-0">
<span className="inline-flex items-center gap-1 rounded-md border border-border px-2 py-0.5 text-xs font-medium tabular-nums text-foreground">
@@ -146,7 +147,7 @@ function WordsCard({ data }: { data: BoardInsights }) {
)}
</div>
<div className="mt-2">
- <Eyebrow hint={t("board_insights.words.novel_hint").replace("{0}", data.reference.novel_words.toLocaleString())}>
+ <Eyebrow hint={t("board_insights.words.novel_hint").replace("{0}", data.reference.novel_words.toLocaleString(uiLocale()))}>
{t("board_insights.words.label")}
</Eyebrow>
</div>
@@ -179,8 +180,8 @@ function WordsCard({ data }: { data: BoardInsights }) {
)}
</div>
<div className="mt-2 flex justify-between text-xs tabular-nums text-muted-foreground">
- <span>{dictated.toLocaleString()}</span>
- <span>{spoken.toLocaleString()}</span>
+ <span>{dictated.toLocaleString(uiLocale())}</span>
+ <span>{spoken.toLocaleString(uiLocale())}</span>
</div>
</div>
)}
@@ -226,7 +227,7 @@ function UsageMixCard({ data }: { data: BoardInsights }) {
<InsightCard testId="board-usage-mix">
<CardTitleRow
title={t("board_insights.mix.title")}
- fact={t("board_insights.mix.active_days").replace("{0}", data.streak.active_days.toLocaleString())}
+ fact={t("board_insights.mix.active_days").replace("{0}", data.streak.active_days.toLocaleString(uiLocale()))}
/>
{total === 0 ? (
<p className="text-sm text-muted-foreground">{t("board_insights.mix.empty")}</p>
diff --git a/jarvis/ui/web/frontend/src/components/costs/costFormat.ts b/jarvis/ui/web/frontend/src/components/costs/costFormat.ts
index d7f9b66ab0..e77fa3b90a 100644
--- a/jarvis/ui/web/frontend/src/components/costs/costFormat.ts
+++ b/jarvis/ui/web/frontend/src/components/costs/costFormat.ts
@@ -15,6 +15,7 @@
* a bug in the other.
*/
import type { CostRole, CostSurface, PriceSource } from "@/hooks/useCosts";
+import { uiLocale } from "@/lib/boardInsights";
/** One hue per role — the chart stack, the legend and the tables share it. */
export const ROLE_COLORS: Record<CostRole, string> = {
@@ -80,16 +81,14 @@ export function formatMoney(usd: number, eurPerUsd: number, currency: "usd" | "e
const value = currency === "eur" ? usd * eurPerUsd : usd;
const symbol = currency === "eur" ? "€" : "$";
const abs = Math.abs(value);
- // One convention for the whole amount. The decimals below have always been
- // written with a dot, while grouping followed the reader's locale — which
- // on a German machine put "$0.60/day · $17.433" on one line, the same
- // character meaning a decimal point in one number and a thousands
- // separator in the next. The symbol is already written in the leading
- // position these separators belong to, so the grouping follows suit.
- if (abs === 0) return `${symbol}0.00`;
- if (abs < 0.01) return `${symbol}${value.toFixed(4)}`;
- if (abs < 100) return `${symbol}${value.toFixed(2)}`;
- return `${symbol}${value.toLocaleString("en-US", { maximumFractionDigits: 0 })}`;
+ // One convention for the whole amount: decimals AND grouping follow the
+ // UI language, so one line never mixes a decimal dot with a grouping dot.
+ const digits = abs === 0 ? 2 : abs < 0.01 ? 4 : abs < 100 ? 2 : 0;
+ const number = new Intl.NumberFormat(uiLocale(), {
+ minimumFractionDigits: digits,
+ maximumFractionDigits: digits,
+ }).format(value);
+ return `${symbol}${number}`;
}
/** Compact token counts: 1 240 → 1.2k, 12 823 750 → 12.8M. */
@@ -113,7 +112,7 @@ export function formatTokens(n: number): string {
}
export function formatExact(n: number): string {
- return n.toLocaleString();
+ return n.toLocaleString(uiLocale());
}
export function formatShare(share: number): string {
@@ -127,22 +126,22 @@ export function formatBucketTick(key: string, bucket: "day" | "hour"): string {
const d = new Date(bucket === "hour" ? `${key}:00` : `${key}T00:00:00`);
if (Number.isNaN(d.getTime())) return key;
return bucket === "hour"
- ? d.toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" })
- : d.toLocaleDateString(undefined, { day: "numeric", month: "short" });
+ ? d.toLocaleTimeString(uiLocale(), { hour: "2-digit", minute: "2-digit" })
+ : d.toLocaleDateString(uiLocale(), { day: "numeric", month: "short" });
}
export function formatBucketFull(key: string, bucket: "day" | "hour"): string {
const d = new Date(bucket === "hour" ? `${key}:00` : `${key}T00:00:00`);
if (Number.isNaN(d.getTime())) return key;
return bucket === "hour"
- ? d.toLocaleString(undefined, {
+ ? d.toLocaleString(uiLocale(), {
weekday: "short",
day: "numeric",
month: "short",
hour: "2-digit",
minute: "2-digit",
})
- : d.toLocaleDateString(undefined, { weekday: "short", day: "numeric", month: "short" });
+ : d.toLocaleDateString(uiLocale(), { weekday: "short", day: "numeric", month: "short" });
}
/**
@@ -175,7 +174,7 @@ export function relativeDay(date: string): "today" | "yesterday" | "" {
export function formatDayLong(date: string): string {
const d = new Date(`${date}T00:00:00`);
if (Number.isNaN(d.getTime())) return date;
- return d.toLocaleDateString(undefined, {
+ return d.toLocaleDateString(uiLocale(), {
weekday: "long",
day: "numeric",
month: "long",
@@ -187,18 +186,18 @@ export function formatDayLong(date: string): string {
export function formatDayShort(date: string): string {
const d = new Date(`${date}T00:00:00`);
if (Number.isNaN(d.getTime())) return date;
- return d.toLocaleDateString(undefined, { weekday: "short", day: "numeric", month: "short" });
+ return d.toLocaleDateString(uiLocale(), { weekday: "short", day: "numeric", month: "short" });
}
/** "09:53" — a clock time, for the window a day's work actually ran in. */
export function formatClock(ms: number): string {
if (!ms) return "—";
- return new Date(ms).toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" });
+ return new Date(ms).toLocaleTimeString(uiLocale(), { hour: "2-digit", minute: "2-digit" });
}
export function formatTimestamp(ms: number): string {
if (!ms) return "—";
- return new Date(ms).toLocaleString(undefined, {
+ return new Date(ms).toLocaleString(uiLocale(), {
day: "2-digit",
month: "short",
hour: "2-digit",
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx
index 97fafe8f67..c425fcdb9d 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx
@@ -27,7 +27,8 @@ import type { RunListItem } from "@/components/runs/types";
import { DeckCard } from "@/components/deck/DeckCard";
import { useElementSize } from "@/components/deck/HudFrame";
import { cn } from "@/lib/utils";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
/**
* The deck's activity cards — each one a small window onto a section, fed by
@@ -49,7 +50,7 @@ function outcomeTone(outcome: string): string {
function fmtClock(ms: number): string {
if (!ms) return "";
- return new Date(ms).toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" });
+ return new Date(ms).toLocaleTimeString(localeForUiLanguage(useI18nStore.getState().ui), { hour: "2-digit", minute: "2-digit" });
}
export function RunsCard({ className }: { className?: string }) {
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
index 9cc0bafc6a..a66e5a225e 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
@@ -6,7 +6,8 @@ import type { JournalKind, JournalLine, TurnPhase } from "@/lib/deckState";
import { useVoiceReadiness } from "@/hooks/useVoiceReadiness";
import { DeckCard } from "@/components/deck/DeckCard";
import { cn } from "@/lib/utils";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
/**
* The deck's terminal — the session log.
@@ -57,7 +58,7 @@ export function fmtMs(ms: number): string {
}
export function fmtClock(ms: number): string {
- return new Date(ms).toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit", second: "2-digit" });
+ return new Date(ms).toLocaleTimeString(localeForUiLanguage(useI18nStore.getState().ui), { hour: "2-digit", minute: "2-digit", second: "2-digit" });
}
/** "quiet for 3 min" — coarse on purpose; a second-by-second count would fidget. */
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx
index eed01c8928..769a0a5e21 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx
@@ -6,7 +6,8 @@ import { countWords, type CaptureState } from "@/lib/deckState";
import { DeckCard } from "@/components/deck/DeckCard";
import { HudGauge, HudLamp } from "@/components/deck/HudFrame";
import { cn } from "@/lib/utils";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
/**
* The deck's signal cards — the picture and the numbers.
@@ -40,7 +41,7 @@ const FRAME_RETRIES = 3;
const FRAME_RETRY_MS = 400;
function fmtClock(ms: number): string {
- return new Date(ms).toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" });
+ return new Date(ms).toLocaleTimeString(localeForUiLanguage(useI18nStore.getState().ui), { hour: "2-digit", minute: "2-digit" });
}
export function CaptureCard({ className }: { className?: string }) {
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx
index e5f91b486a..869e3bae79 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx
@@ -159,7 +159,7 @@ function DocsContentInner({
return (
<article className="mx-auto w-full max-w-reading pb-20 pt-12">
<header className="mb-10 border-b border-border pb-8">
- <nav aria-label="Breadcrumb" className="flex items-center gap-1.5 text-sm">
+ <nav aria-label={t("docs.breadcrumb")} className="flex items-center gap-1.5 text-sm">
<button
type="button"
onClick={onShowOverview}
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsOverview.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsOverview.tsx
index 0dd61705bd..b485cf36b5 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocsOverview.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocsOverview.tsx
@@ -11,6 +11,7 @@ import {
import {
buildDocSections,
+ docSectionLabel,
useDocsGrouped,
type DocSection,
type DocNavSummary,
@@ -134,7 +135,7 @@ export function DocsOverview({ onSelect, onOpenSearch }: Props) {
{doc.title}
</span>
<span className="mt-0.5 block truncate text-sm text-muted-foreground">
- {sectionBySlug.get(doc.slug)}
+ {docSectionLabel(sectionBySlug.get(doc.slug) ?? "")}
</span>
</span>
<ArrowRight
@@ -294,7 +295,7 @@ function TopicCard({
<Icon className="h-4 w-4" aria-hidden="true" />
</span>
<h3 className="text-lg font-semibold text-foreground-strong">
- {section.name}
+ {docSectionLabel(section.name)}
</h3>
</div>
<ul className="mt-4 flex-1 space-y-px">
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx
index 89d71c3ee8..0cb52454b0 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx
@@ -10,7 +10,7 @@ import {
Search,
} from "lucide-react";
-import { buildDocSections, useDocSearch, useDocsGrouped } from "@/hooks/useDocs";
+import { buildDocSections, docSectionLabel, useDocSearch, useDocsGrouped } from "@/hooks/useDocs";
import { useRecentDocs } from "@/hooks/useRecentDocs";
import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
@@ -198,7 +198,7 @@ export function DocsSearchModal({ open, onOpenChange, onSelect }: Props) {
{r.title}
</span>
<span className="shrink-0 text-xs text-muted-foreground">
- {r.section}
+ {docSectionLabel(r.section)}
</span>
</div>
<div className="mt-0.5 line-clamp-2 text-sm text-muted-foreground [&>mark]:rounded-sm [&>mark]:bg-accent-soft [&>mark]:px-0.5 [&>mark]:text-foreground-strong">
@@ -262,7 +262,7 @@ function SuggestionItem({
aria-hidden="true"
/>
<span className="min-w-0 flex-1 truncate text-base text-foreground">{row.title}</span>
- <span className="shrink-0 text-xs text-muted-foreground">{row.section}</span>
+ <span className="shrink-0 text-xs text-muted-foreground">{docSectionLabel(row.section)}</span>
</Command.Item>
);
}
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx
index 29e37188da..7baab29746 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx
@@ -3,7 +3,7 @@ import { ChevronDown, ExternalLink, RefreshCw } from "lucide-react";
import { ScrollArea } from "@/components/ui/scroll-area";
import { cn } from "@/lib/utils";
-import { buildDocSections, useDocsGrouped } from "@/hooks/useDocs";
+import { buildDocSections, docSectionLabel, useDocsGrouped } from "@/hooks/useDocs";
import { useT } from "@/i18n";
import { openExternalUrl } from "@/lib/openExternal";
import { ONLINE_DOCS_URL, SearchTrigger } from "./docsShared";
@@ -105,7 +105,7 @@ export function DocsSidebar({
aria-controls={groupId}
className="group flex w-full items-center justify-between gap-2 rounded-sm px-3 py-1 text-left text-sm font-semibold text-foreground-strong focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
- <span>{section.name}</span>
+ <span>{docSectionLabel(section.name)}</span>
<ChevronDown
className={cn(
"h-3.5 w-3.5 shrink-0 text-foreground-faint opacity-0 transition group-hover:opacity-100 group-focus-visible:opacity-100",
diff --git a/jarvis/ui/web/frontend/src/components/friends/AddFriendMenu.tsx b/jarvis/ui/web/frontend/src/components/friends/AddFriendMenu.tsx
index f412ddc40e..e1d1a0cde4 100644
--- a/jarvis/ui/web/frontend/src/components/friends/AddFriendMenu.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/AddFriendMenu.tsx
@@ -113,7 +113,7 @@ export function AddFriendMenu({
<ModeButton
active={mode === "link"}
icon={<Users className="h-3.5 w-3.5" />}
- label="Pair-Link"
+ label={t("add_friend_menu.mode_pair_link")}
onClick={() => setMode("link")}
/>
</div>
@@ -136,7 +136,7 @@ export function AddFriendMenu({
</div>
) : (
<form onSubmit={handleSubmit} className="space-y-3 px-5 py-4">
- <FieldLabel label="Display-Name">
+ <FieldLabel label={t("add_friend_menu.label_display_name")}>
<input
type="text"
value={displayName}
diff --git a/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx b/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx
index b5631f88fb..24cb65bf47 100644
--- a/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx
@@ -12,6 +12,7 @@ import {
import type { FriendDetail, FriendMessage } from "@/hooks/useFriends";
import { SourceBadge } from "./SourceBadge";
import { cn } from "@/lib/utils";
+import { uiLocale } from "@/lib/boardInsights";
/**
* Chat thread for a friend (right side of the chat tab).
@@ -160,7 +161,7 @@ function EmptyThread({ hasChannel }: { hasChannel: boolean }) {
function formatTimestamp(ns: number): string {
try {
const date = new Date(ns / 1_000_000);
- return date.toLocaleTimeString("de-DE", {
+ return date.toLocaleTimeString(uiLocale(), {
hour: "2-digit",
minute: "2-digit",
});
diff --git a/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx b/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx
index 8322aa1583..cbc9380e61 100644
--- a/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx
@@ -1,5 +1,6 @@
// === F-FRIENDS [F4] · feature/friends-section · ruben-2026-05-01 ===
import { Activity } from "lucide-react";
+import { uiLocale } from "@/lib/boardInsights";
/**
* Display component for a SINGLE outgoing StatusUpdate.
@@ -27,7 +28,7 @@ function formatTimestamp(ns: number): string {
if (!ns) return "-";
const ms = Math.floor(ns / 1_000_000);
const date = new Date(ms);
- return date.toLocaleTimeString();
+ return date.toLocaleTimeString(uiLocale());
}
export function LiveStatusCard({ update }: { update: StatusUpdateView }) {
diff --git a/jarvis/ui/web/frontend/src/components/friends/PermissionMatrix.tsx b/jarvis/ui/web/frontend/src/components/friends/PermissionMatrix.tsx
index a334964328..22f06db353 100644
--- a/jarvis/ui/web/frontend/src/components/friends/PermissionMatrix.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/PermissionMatrix.tsx
@@ -1,4 +1,5 @@
// === F-FRIENDS [F4] · feature/friends-section · ruben-2026-05-01 ===
+import { fill, useT } from "@/i18n";
import { agentBrand } from "@/lib/agentBrand";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
@@ -12,14 +13,25 @@ import type { StatusProfile } from "@/hooks/useFriends";
* functionally inactive (e.g. during the mutation call).
*/
const profiles = (
+ t: (key: string) => string,
assistantName: string,
): { value: StatusProfile; label: string; subline: string }[] => [
- { value: "minimal", label: "minimal", subline: "Online/offline only" },
- { value: "standard", label: "standard", subline: "+ mission title" },
+ {
+ value: "minimal",
+ label: t("permission_matrix.profile_minimal"),
+ subline: t("permission_matrix.subline_minimal"),
+ },
+ {
+ value: "standard",
+ label: t("permission_matrix.profile_standard"),
+ subline: t("permission_matrix.subline_standard"),
+ },
{
value: "detailed",
- label: "detailed",
- subline: `+ ${agentBrand(assistantName)} summary`,
+ label: t("permission_matrix.profile_detailed"),
+ subline: fill(t("permission_matrix.subline_detailed_agent"), {
+ agent: agentBrand(assistantName),
+ }),
},
];
@@ -35,14 +47,15 @@ export function PermissionMatrix({
disabled?: boolean;
}) {
const assistantName = useEventStore((s) => s.assistantName);
+ const t = useT();
const groupName = `permission-${friendId}`;
return (
<div
role="radiogroup"
- aria-label="Sharing-Profile"
+ aria-label={t("permission_matrix.aria_label")}
className="grid gap-2 sm:grid-cols-3"
>
- {profiles(assistantName).map((p) => {
+ {profiles(t, assistantName).map((p) => {
const isActive = p.value === current;
return (
<label
diff --git a/jarvis/ui/web/frontend/src/components/friends/SourceBadge.tsx b/jarvis/ui/web/frontend/src/components/friends/SourceBadge.tsx
index 76934ac8d8..81b687b6cc 100644
--- a/jarvis/ui/web/frontend/src/components/friends/SourceBadge.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/SourceBadge.tsx
@@ -1,5 +1,6 @@
import { MessageCircle, Zap } from "lucide-react";
import type { ChannelLink } from "@/hooks/useFriends";
+import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
/**
@@ -18,6 +19,7 @@ export function SourceBadge({
channels: ChannelLink[];
className?: string;
}) {
+ const t = useT();
const hasTelegram = channels.some((c) => c.channel === "telegram");
const hasJarvis = channels.some((c) => c.channel === "jarvis_pubkey");
@@ -29,7 +31,7 @@ export function SourceBadge({
className
)}
>
- no source
+ {t("friends_list.no_source")}
</span>
);
}
@@ -51,7 +53,7 @@ export function SourceBadge({
)}
{hasJarvis && (
<span
- title="Dodaios Federation"
+ title={t("friends_list.jarvis_federation")}
className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-primary/15 text-primary"
>
<Zap className="h-2.5 w-2.5" />
diff --git a/jarvis/ui/web/frontend/src/components/home/chatRows.ts b/jarvis/ui/web/frontend/src/components/home/chatRows.ts
index 7675086efc..cabb02e033 100644
--- a/jarvis/ui/web/frontend/src/components/home/chatRows.ts
+++ b/jarvis/ui/web/frontend/src/components/home/chatRows.ts
@@ -5,6 +5,8 @@ import { useEventStore, type ConversationSummary } from "@/store/events";
import { useAgentChatStore } from "@/store/agentChat";
import { useHomeStore } from "@/store/home";
import { transcriptFromMessages } from "@/lib/homeTranscript";
+import { useI18nStore } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
/**
* The one chat history the app has, and the one way to open a row of it.
@@ -152,7 +154,10 @@ export function useChatRows({ poll = false }: { poll?: boolean } = {}): ChatRows
*/
export function chatRowLabel(row: ChatRow, t: (key: string) => string): { text: string; untitled: boolean } {
const title = row.title.trim();
- if (title) return { text: title, untitled: false };
+ // "New Chat" is the placeholder title `ensureActiveThread` stores for a fresh
+ // text thread; it is not a topic, so it reads in the UI language like any
+ // other untitled row.
+ if (title && title !== "New Chat") return { text: title, untitled: false };
if (row.kind === "voice") {
const when = formatChatWhen(row.updatedMs);
const kind = t("sidebar.untitled_voice_chat");
@@ -168,9 +173,9 @@ export function formatChatWhen(ms: number): string {
const today = new Date();
today.setHours(0, 0, 0, 0);
if (d.getTime() >= today.getTime()) {
- return d.toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" });
+ return d.toLocaleTimeString(localeForUiLanguage(useI18nStore.getState().ui), { hour: "2-digit", minute: "2-digit" });
}
- return d.toLocaleDateString(undefined, { month: "short", day: "numeric" });
+ return d.toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), { month: "short", day: "numeric" });
}
export type ChatDayBucket = "today" | "yesterday" | "week" | "month" | "older";
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index 0044f140e8..d8c3b63660 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -502,9 +502,9 @@ export function Sidebar({
<div className="flex min-h-0 flex-1 flex-col overflow-y-auto scrollbar-jarvis">
{/* The IDE has no "back" row: the caption's back arrow leaves it, so
the workspace tree starts right under the sidebar header. */}
- {onIdeSection ? (railed && <nav aria-label="IDE navigation" className="px-2 pt-2">
+ {onIdeSection ? (railed && <nav aria-label={t("sidebar.ide_navigation")} className="px-2 pt-2">
<div className="flex flex-col items-center gap-1">
- <button type="button" aria-label="Workspace options" title="Workspace options"
+ <button type="button" aria-label={t("sidebar.workspace_options")} title={t("sidebar.workspace_options")}
disabled={!activeIdeWorkspaceId}
onClick={() => { if (activeIdeWorkspaceId) openIdeWorkspaceOptions(activeIdeWorkspaceId); }}
className="flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-35">
diff --git a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx
index f0c8e80efc..4c776c260a 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx
@@ -2,6 +2,7 @@ import { act, cleanup, fireEvent, render, screen, waitFor } from "@testing-libra
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
vi.mock("@/i18n", () => ({
+ useUiLanguage: () => "en",
useT: () => (key: string) => key,
fill: (template: string, vars: Record<string, string | number>) =>
`${template}${Object.values(vars).join("|")}`,
diff --git a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
index a0b9c94652..e37a467cd4 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
@@ -60,6 +60,7 @@ import {
import { ChatMarkdown } from "@/components/agentchat/ChatMarkdown";
import { useLocalModelsAssistantStore } from "./assistantStore";
import { BrainSwitchCard, SetupProposalCard } from "./SetupProposalCard";
+import { useRunLocale } from "@/components/runs/format";
/** A request from the section: start this mode; `token` makes repeats distinct. */
export interface AssistantRequest {
@@ -134,6 +135,7 @@ export function AssistantPanel({
onOpenServerLog?: () => void;
}) {
const t = useT();
+ const runLocale = useRunLocale();
const items = useLocalModelsAssistantStore((s) => s.timeline.items);
const pendingApprovals = useLocalModelsAssistantStore((s) => s.timeline.pendingApprovals);
const activeSessionId = useLocalModelsAssistantStore((s) => s.activeSessionId);
@@ -369,7 +371,7 @@ export function AssistantPanel({
<StatusDot
tone={healthTone}
label={fill(t("local_models.assistant.last_check"), {
- when: checkedAt.toLocaleString(),
+ when: checkedAt.toLocaleString(runLocale),
what: health.reason || t(`local_models.assistant.health_${health.status}`),
})}
/>
diff --git a/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx b/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx
index 9e7872077b..2f40872dcc 100644
--- a/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx
+++ b/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx
@@ -15,7 +15,7 @@ import {
} from "lucide-react";
import { Button } from "@/components/ui/button";
-import { fill, useLocaleChunk, useT } from "@/i18n";
+import { fill, translate, useLocaleChunk, useT } from "@/i18n";
import { robustCopy } from "@/lib/clipboard";
import { openExternalUrl } from "@/lib/openExternal";
import { cn } from "@/lib/utils";
@@ -72,7 +72,7 @@ export function useGithubSignIn() {
.json()
.then((b: { detail?: string }) => b.detail)
.catch(() => undefined);
- throw new Error(detail ?? `Sign-in start failed (${res.status})`);
+ throw new Error(detail ?? fill(translate("marketplace.err_identity_start"), { status: res.status }));
}
return res.json();
},
@@ -116,7 +116,7 @@ export function useGithubSignIn() {
queryClient.invalidateQueries({ queryKey: PUBLISH_IDENTITY_KEY });
} else if (data.status === "error") {
setFlow(null);
- setError(data.error ?? "sign-in failed");
+ setError(data.error ?? translate("marketplace.err_identity_failed"));
}
} catch {
// Network blip — keep polling until the flow expires.
diff --git a/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx b/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx
index 2cce02f0fa..f9387f8bc1 100644
--- a/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx
+++ b/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx
@@ -744,15 +744,15 @@ function HowPublishingWorks({ t }: { t: Translate }) {
<div className="mt-2 overflow-x-auto">
<pre className="rounded-md border border-border bg-background p-3 font-mono text-micro text-foreground">
{`my-plugin/
-├── plugin.json ← required: name, description, version
-├── mcp.json ← the server your plugin talks to (optional)
-├── skills/ ← instructions that ship with it (optional)
+├── plugin.json ← ${t("marketplace.studio_layout_plugin_json")}
+├── mcp.json ← ${t("marketplace.studio_layout_mcp_json")}
+├── skills/ ← ${t("marketplace.studio_layout_skills")}
│ └── my-skill/SKILL.md
└── io.github.personaljarvis/
- └── usage-card.md ← when the assistant should use it (optional)
+ └── usage-card.md ← ${t("marketplace.studio_layout_usage_card")}
my-skill/
-└── SKILL.md ← a standalone skill: one file, YAML frontmatter first`}
+└── SKILL.md ← ${t("marketplace.studio_layout_skill_md")}`}
</pre>
<p className="mt-2 text-micro text-muted-foreground">
{t("marketplace.studio_how_layout_note")}
@@ -1155,7 +1155,7 @@ function DraftForm({
<input
value={draft.title}
onChange={(e) => set({ title: e.target.value })}
- placeholder="My Skill"
+ placeholder={t("marketplace.studio_f_title_placeholder")}
className={inputCls(errorFor("title").length > 0)}
/>
</Field>
@@ -1181,7 +1181,7 @@ function DraftForm({
<input
value={draft.categories}
onChange={(e) => set({ categories: e.target.value })}
- placeholder="writing, research"
+ placeholder={t("marketplace.studio_f_categories_placeholder")}
className={inputCls(false)}
/>
</Field>
@@ -1367,7 +1367,7 @@ function CardPreview({ draft, t }: { draft: Draft; t: Translate }) {
}
let displayName = draft.name.trim();
let description = "";
- let category = "Community";
+ let category = t("marketplace.studio_preview_category");
try {
const manifest = JSON.parse(draft.plugin_json_text || "{}") as {
description?: string;
@@ -1601,7 +1601,7 @@ function PublishedCard({
{live ? (
<p className="flex items-center gap-2 text-sm text-foreground">
<Check className="h-4 w-4 text-muted-foreground" />
- {fill(t("marketplace.studio_done_live"), { name: result.name, version: result.version })}
+ {fill(t("marketplace.studio_done_live_package"), { package: result.name, version: result.version })}
</p>
) : waitedOut ? (
<p className="text-xs text-muted-foreground">{t("marketplace.studio_done_waited_out")}</p>
diff --git a/jarvis/ui/web/frontend/src/components/missions/GlobalKillButton.tsx b/jarvis/ui/web/frontend/src/components/missions/GlobalKillButton.tsx
index 3c485fc3d5..65d196be96 100644
--- a/jarvis/ui/web/frontend/src/components/missions/GlobalKillButton.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/GlobalKillButton.tsx
@@ -9,7 +9,7 @@ import { useEffect, useState } from "react";
import { AlertTriangle, Loader2, Skull } from "lucide-react";
import { useMutation, useQueryClient } from "@tanstack/react-query";
import { Button } from "@/components/ui/button";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { cancelAllMissions } from "./api";
import { selectActiveCount, useMissionsStore } from "./store";
import { useShallow } from "zustand/react/shallow";
@@ -47,7 +47,7 @@ export function GlobalKillButton() {
title={t("global_kill_button.cancel_all_running")}
>
<Skull className="mr-1.5 h-4 w-4" />
- Kill All ({activeCount})
+ {fill(t("global_kill_button.kill_all"), { count: activeCount })}
</Button>
{open && (
diff --git a/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
index c417420f79..0da8363085 100644
--- a/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
@@ -124,7 +124,7 @@ function WorkerRow({ worker }: WorkerRowProps) {
className="mt-1 truncate font-mono text-foreground/90"
title={worker.model}
>
- {worker.model || "(unknown model)"}
+ {worker.model || t("jarvis_agent_panel.unknown_model")}
</div>
</div>
<span
@@ -140,7 +140,7 @@ function WorkerRow({ worker }: WorkerRowProps) {
</div>
<dl className="mt-2 grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 text-micro">
- <dt className="text-muted-foreground">Cost</dt>
+ <dt className="text-muted-foreground">{t("jarvis_agent_panel.cost")}</dt>
<dd
data-testid="jarvis-agent-cost"
className="font-mono text-foreground/80 tabular-nums"
@@ -153,7 +153,7 @@ function WorkerRow({ worker }: WorkerRowProps) {
)}
</dd>
- <dt className="text-muted-foreground">State-Dir</dt>
+ <dt className="text-muted-foreground">{t("jarvis_agent_panel.state_dir")}</dt>
<dd className="flex items-center gap-1 min-w-0">
<span
data-testid="jarvis-agent-state-dir"
@@ -174,7 +174,7 @@ function WorkerRow({ worker }: WorkerRowProps) {
)}
</dd>
- <dt className="text-muted-foreground">Logfile</dt>
+ <dt className="text-muted-foreground">{t("jarvis_agent_panel.log_file")}</dt>
<dd className="flex items-center gap-1 min-w-0">
<span
data-testid="jarvis-agent-log-path"
diff --git a/jarvis/ui/web/frontend/src/components/missions/MissionTree.tsx b/jarvis/ui/web/frontend/src/components/missions/MissionTree.tsx
index c1f86e2d4b..384af6ba75 100644
--- a/jarvis/ui/web/frontend/src/components/missions/MissionTree.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/MissionTree.tsx
@@ -22,7 +22,7 @@ import {
type LucideIcon,
} from "lucide-react";
import { useShallow } from "zustand/react/shallow";
-import { useT } from "@/i18n";
+import { translate, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import {
MISSION_STATE_BADGE,
@@ -85,7 +85,7 @@ function buildTree(
}
function shortPrompt(p: string): string {
- if (!p) return "(no prompt)";
+ if (!p) return translate("mission_tree.no_prompt");
return p.length > 48 ? p.slice(0, 47) + "…" : p;
}
diff --git a/jarvis/ui/web/frontend/src/components/missions/PtyTerminal.tsx b/jarvis/ui/web/frontend/src/components/missions/PtyTerminal.tsx
index da077476f7..696aba25f1 100644
--- a/jarvis/ui/web/frontend/src/components/missions/PtyTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/PtyTerminal.tsx
@@ -19,7 +19,7 @@ import { WebLinksAddon } from "@xterm/addon-web-links";
import { SearchAddon } from "@xterm/addon-search";
import "@xterm/xterm/css/xterm.css";
import { AlertCircle, Terminal as TerminalIcon } from "lucide-react";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { useThemeValue } from "@/hooks/useTheme";
import {
MINIMUM_CONTRAST_RATIO,
@@ -199,7 +199,9 @@ export function PtyTerminal({ workerId }: PtyTerminalProps) {
ws.addEventListener("close", (ev) => {
setConnected(false);
if (ev.code !== 1000 && ev.code !== 1001) {
- setStreamError(`${t("pty_terminal.stream_disconnected")} (Code ${ev.code}).`);
+ setStreamError(
+ `${t("pty_terminal.stream_disconnected")} ${fill(t("pty_terminal.close_code"), { code: ev.code })}.`,
+ );
}
});
} catch (e) {
@@ -251,16 +253,18 @@ export function PtyTerminal({ workerId }: PtyTerminalProps) {
<header className="flex items-center justify-between gap-2 border-b border-border bg-card/40 px-3 py-2">
<div className="flex items-center gap-2 text-xs text-muted-foreground">
<TerminalIcon className="h-3.5 w-3.5 text-primary" />
- <span className="font-mono">worker {workerId.slice(0, 12)}</span>
+ <span className="font-mono">
+ {fill(t("pty_terminal.worker_label"), { id: workerId.slice(0, 12) })}
+ </span>
</div>
<div className="flex items-center gap-2 text-micro uppercase tracking-wider">
{streamError ? (
<span className="flex items-center gap-1 text-destructive">
<AlertCircle className="h-3 w-3" />
- offline
+ {t("pty_terminal.status_offline")}
</span>
) : connected ? (
- <span className="text-muted-foreground">live</span>
+ <span className="text-muted-foreground">{t("pty_terminal.status_live")}</span>
) : (
<span className="text-muted-foreground">{t("pty_terminal.connecting")}</span>
)}
diff --git a/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx
index 0e0e83edbf..85faf8a9d4 100644
--- a/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx
@@ -19,7 +19,8 @@ import {
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { ScrollArea } from "@/components/ui/scroll-area";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import type {
MissionToolApprovalDecision,
@@ -61,7 +62,7 @@ export function ToolApprovalPanel({
query: ApprovalQuery;
}) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const queryClient = useQueryClient();
const approvals = query.data?.approvals ?? [];
const [confirmingTraceId, setConfirmingTraceId] = useState<string | null>(
diff --git a/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
index 6a42753a18..6927a6958b 100644
--- a/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
@@ -19,7 +19,7 @@ import {
import { useShallow } from "zustand/react/shallow";
import { ScrollArea } from "@/components/ui/scroll-area";
import { cn } from "@/lib/utils";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import type {
CriticAxisResult,
CriticVerdictReady,
@@ -29,18 +29,19 @@ import { useMissionsStore } from "./store";
const KNOWN_AXES = ["correctness", "completeness", "side_effects", "security"];
+/** `label` is an i18n key. */
const VERDICT_STYLE: Record<CriticVerdict, { className: string; label: string }> = {
approve: {
className: "border-muted-foreground/40 bg-muted-foreground/10 text-muted-foreground",
- label: "approve",
+ label: "verdict_panel.verdict_approve",
},
revise: {
className: "border-foreground/40 bg-foreground/10 text-foreground",
- label: "revise",
+ label: "verdict_panel.verdict_revise",
},
reject: {
className: "border-destructive/50 bg-destructive/15 text-destructive",
- label: "reject",
+ label: "verdict_panel.verdict_reject",
},
};
@@ -77,6 +78,7 @@ export function VerdictPanel() {
}
function VerdictCard({ verdict }: { verdict: CriticVerdictReady }) {
+ const t = useT();
const [expanded, setExpanded] = useState<Record<string, boolean>>({});
const style = VERDICT_STYLE[verdict.verdict];
const axes = mergeAxes(verdict.axes);
@@ -92,10 +94,10 @@ function VerdictCard({ verdict }: { verdict: CriticVerdictReady }) {
style.className,
)}
>
- {style.label}
+ {t(style.label)}
</span>
<span className="text-micro uppercase tracking-wider text-muted-foreground">
- iter #{verdict.iteration}
+ {fill(t("verdict_panel.iteration"), { n: verdict.iteration })}
</span>
<span className="font-mono text-micro text-muted-foreground">
w{verdict.worker_id.slice(0, 8)}
@@ -142,12 +144,14 @@ function VerdictCard({ verdict }: { verdict: CriticVerdictReady }) {
<span className="w-3" />
)}
<Icon className={cn("h-3.5 w-3.5", tone)} />
- <span className="flex-1 font-mono text-xs">{name}</span>
+ <span className="flex-1 font-mono text-xs">
+ {KNOWN_AXES.includes(name) ? t(`verdict_panel.axis_${name}`) : name}
+ </span>
<span className={cn("text-micro uppercase tracking-wider", tone)}>
{axis.pass === true
- ? "pass"
+ ? t("verdict_panel.axis_pass")
: axis.pass === false
- ? "fail"
+ ? t("verdict_panel.axis_fail")
: "—"}
</span>
</button>
@@ -177,11 +181,12 @@ function VerdictCard({ verdict }: { verdict: CriticVerdictReady }) {
}
function ConfidenceBar({ value }: { value: number }) {
+ const t = useT();
const pct = Math.max(0, Math.min(1, value)) * 100;
return (
<div className="space-y-1">
<div className="flex items-center justify-between text-micro uppercase tracking-wider text-muted-foreground">
- <span>Confidence</span>
+ <span>{t("verdict_panel.confidence")}</span>
<span className="font-mono">{pct.toFixed(0)}%</span>
</div>
<div className="h-1.5 overflow-hidden rounded-full bg-background/60">
diff --git a/jarvis/ui/web/frontend/src/components/missions/store.ts b/jarvis/ui/web/frontend/src/components/missions/store.ts
index 8d53d926c5..188282f22e 100644
--- a/jarvis/ui/web/frontend/src/components/missions/store.ts
+++ b/jarvis/ui/web/frontend/src/components/missions/store.ts
@@ -8,6 +8,8 @@
*/
import { create } from "zustand";
import { subscribeWithSelector } from "zustand/middleware";
+
+import { translate } from "@/i18n";
import type {
CriticVerdictReady,
EventEnvelope,
@@ -108,7 +110,7 @@ export const useMissionsStore = create<MissionsStore>()(
...missions,
[env.mission_id]: {
id: env.mission_id,
- prompt: "(unknown)",
+ prompt: translate("mission_tree.unknown_prompt"),
state: newState,
language: "de",
created_ms: env.ts_ms,
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/setup/SetupWizard.tsx b/jarvis/ui/web/frontend/src/components/onboarding/setup/SetupWizard.tsx
index c321855af0..268c993ed2 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/setup/SetupWizard.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/setup/SetupWizard.tsx
@@ -16,6 +16,7 @@ import { useAutostart } from "@/hooks/useAutostart";
import { useKeybinds, validateCombo } from "@/hooks/useHotkey";
import { useWakeWord } from "@/hooks/useWakeWord";
import { fill, setUiLanguage, useT, useUiLanguage, type UiLanguage } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
import { deriveAssistantName } from "@/lib/deriveAssistantName";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
@@ -27,11 +28,17 @@ import { QuietAction } from "../ui";
import { ConnectStep } from "./ConnectStep";
import { WIZARD_STEP_IDS, type WizardStepId } from "./setupSteps";
-const LANGS: UiLanguage[] = ["en", "de", "es", "zh"];
+const LANGS: UiLanguage[] = ["en", "de", "es", "zh", "pt"];
// Each language names itself, so a reader finds theirs before they can read
// the rest of the window. Latin-script codes read fine as letters; Chinese
// readers look for the characters.
-const LANG_SWITCH_LABEL: Record<UiLanguage, string> = { en: "EN", de: "DE", es: "ES", zh: "中文" };
+const LANG_SWITCH_LABEL: Record<UiLanguage, string> = {
+ en: "EN",
+ de: "DE",
+ es: "ES",
+ zh: "中文",
+ pt: "PT",
+};
export function SetupWizard({
step,
@@ -474,7 +481,17 @@ function VoiceStep({ preview, onBack, onFinish }: { preview: boolean; onBack: ()
setWakeNote(null);
try {
const result = await setWakeActivation(next);
- if (!result.persisted && result.message) setWakeNote(result.message);
+ if (!result.persisted && result.message) {
+ setWakeNote(
+ backendMessage(
+ t,
+ "settings_view.wake_word.msg",
+ result.message_code,
+ null,
+ result.message,
+ ),
+ );
+ }
else if (result.restart_required) setWakeNote(t("first_run.voice.after_restart"));
} catch (e) {
setListening(!next);
diff --git a/jarvis/ui/web/frontend/src/components/outputs/AsciiTableFence.tsx b/jarvis/ui/web/frontend/src/components/outputs/AsciiTableFence.tsx
index b8bca4d40d..eac39e85ce 100644
--- a/jarvis/ui/web/frontend/src/components/outputs/AsciiTableFence.tsx
+++ b/jarvis/ui/web/frontend/src/components/outputs/AsciiTableFence.tsx
@@ -59,7 +59,7 @@ export function AsciiTableFence({ grid, code }: { grid: AsciiGrid; code: string
data-mode={mode}
>
<div className="flex items-center justify-between gap-2 border-b border-border/40 bg-muted/20 px-3 py-1">
- <span className="text-micro uppercase tracking-wider text-muted-foreground">table</span>
+ <span className="text-micro uppercase tracking-wider text-muted-foreground">{t("outputs_view.fence_table")}</span>
<div className="flex items-center gap-1.5">
<div role="group" className="inline-flex rounded border border-border/60 bg-muted/40 p-0.5">
{segment("rendered", t("outputs_view.fence_rendered"))}
diff --git a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx
index 7b7b4d384b..9095385950 100644
--- a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx
@@ -78,6 +78,7 @@ import { filterForLocalMode } from "@/lib/localMode";
import { requestRealtimeTransportOffer } from "@/lib/realtimeTransportIssue";
import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
/**
* The provider-tier building blocks shared by every screen that lets a user
@@ -1695,7 +1696,7 @@ function ManagedServerPanel({
if (!next.progress.running) {
window.clearInterval(timer);
if (next.progress.phase === "error") {
- setError(next.progress.error || "install failed");
+ setError(next.progress.error || t("apikeys_view.install_failed_fallback"));
}
onChanged();
}
@@ -1848,7 +1849,7 @@ function ManagedServerPanel({
const pull = await modelPullStatus("ollama", model);
if (pull.state === "done") return;
if (pull.state === "error") {
- throw new Error(pull.message || "model download failed");
+ throw new Error(pull.message || t("apikeys_view.model_download_failed_fallback"));
}
setSetupNote(`${model}: ${Math.round(pull.percent ?? 0)}%`);
await new Promise((resolve) => window.setTimeout(resolve, 2500));
@@ -2468,7 +2469,7 @@ export function OllamaRuntimePanel({
if (!next.install.running) {
window.clearInterval(timer);
if (next.install.phase === "error") {
- setError(next.install.error || "install failed");
+ setError(next.install.error || t("apikeys_view.install_failed_fallback"));
}
onChanged();
}
@@ -3323,6 +3324,16 @@ function CodexAuthWidget({
const loginReady = Boolean(
status?.connected && (!subscriptionOnly || status.mode === "chatgpt"),
);
+ const codexStatusMessage =
+ status && typeof status.message === "string"
+ ? backendMessage(
+ t,
+ "apikeys_codex.status_msg",
+ status.message_code,
+ status.message_params,
+ status.message,
+ )
+ : undefined;
const subscriptionStatusKey = !status
? "apikeys_codex.status_loading"
: status.reason_code && status.reason_code !== "login_required"
@@ -3428,7 +3439,7 @@ function CodexAuthWidget({
<span className="min-w-0 break-words text-foreground">
{subscriptionOnly
? t("apikeys_codex.connected_chatgpt")
- : status.message ?? t("apikeys_codex.connected_chatgpt")}
+ : codexStatusMessage ?? t("apikeys_codex.connected_chatgpt")}
</span>
{status.version && (
<code className="rounded bg-muted px-1.5 py-0.5 font-mono">{status.version}</code>
@@ -3457,7 +3468,7 @@ function CodexAuthWidget({
<span>
{subscriptionOnly
? t(subscriptionStatusKey)
- : status?.message ?? t("apikeys_codex.status_loading")}
+ : codexStatusMessage ?? t("apikeys_codex.status_loading")}
</span>
{status?.version && (
<code className="rounded bg-muted px-1.5 py-0.5 font-mono">{status.version}</code>
@@ -3565,6 +3576,16 @@ function AntigravityAuthWidget({
const [pending, setPending] = useState<"login" | "logout" | "copy" | null>(null);
const pushToast = useEventStore((s) => s.pushToast);
const status = descriptor.antigravity_status;
+ const antigravityStatusMessage =
+ status && typeof status.message === "string"
+ ? backendMessage(
+ t,
+ "apikeys_antigravity.status_msg",
+ status.message_code,
+ status.message_params,
+ status.message,
+ )
+ : undefined;
const installCommand =
descriptor.install_hint ?? "curl -fsSL https://antigravity.google/cli/install.sh | bash";
@@ -3572,7 +3593,7 @@ function AntigravityAuthWidget({
setPending("copy");
try {
const copied = await robustCopy(installCommand);
- pushToast(copied ? "success" : "warning", copied ? "Install command copied" : installCommand);
+ pushToast(copied ? "success" : "warning", copied ? t("apikeys_codex.install_command_copied") : installCommand);
} finally {
setPending(null);
}
@@ -3623,7 +3644,7 @@ function AntigravityAuthWidget({
<span className="min-w-0 break-words text-foreground">
{status.user_email
? t("apikeys_antigravity.connected_as").replace("{0}", status.user_email)
- : status.message || t("apikeys_antigravity.connected")}
+ : antigravityStatusMessage || t("apikeys_antigravity.connected")}
</span>
{status.version && (
<code className="rounded bg-muted px-1.5 py-0.5 font-mono">{status.version}</code>
@@ -3637,7 +3658,7 @@ function AntigravityAuthWidget({
className="ml-auto"
>
<LogOut className="h-3.5 w-3.5" />
- Disconnect
+ {t("apikeys_codex.disconnect")}
</Button>
</div>
</div>
@@ -3649,7 +3670,7 @@ function AntigravityAuthWidget({
<div className="space-y-3">
<div className="rounded-md border border-border bg-background p-3 text-xs text-muted-foreground">
<div className="flex flex-wrap items-center gap-2">
- <span>{status?.message ?? t("apikeys_antigravity.status_loading")}</span>
+ <span>{antigravityStatusMessage ?? t("apikeys_antigravity.status_loading")}</span>
{status?.version && (
<code className="rounded bg-muted px-1.5 py-0.5 font-mono">{status.version}</code>
)}
@@ -3663,7 +3684,7 @@ function AntigravityAuthWidget({
</code>
<Button size="sm" variant="outline" onClick={handleCopy} disabled={pending === "copy"}>
{pending === "copy" ? <Check className="h-3.5 w-3.5" /> : <Copy className="h-3.5 w-3.5" />}
- Copy command
+ {t("apikeys_codex.copy_command")}
</Button>
</div>
)}
@@ -3671,12 +3692,12 @@ function AntigravityAuthWidget({
<div className="flex flex-wrap gap-2">
<Button size="sm" onClick={handleLogin} disabled={pending !== null || !status?.installed}>
<LogIn className="h-3.5 w-3.5" />
- Connect with Google
+ {t("apikeys_antigravity.connect_google")}
</Button>
<Button size="sm" variant="outline" asChild>
<a href="https://antigravity.google" target="_blank" rel="noreferrer">
<Terminal className="h-3.5 w-3.5" />
- Install Antigravity
+ {t("apikeys_antigravity.install_antigravity")}
</a>
</Button>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/runs/EnvironmentPanel.tsx b/jarvis/ui/web/frontend/src/components/runs/EnvironmentPanel.tsx
index 7a0b118bba..fea7134dbf 100644
--- a/jarvis/ui/web/frontend/src/components/runs/EnvironmentPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/EnvironmentPanel.tsx
@@ -7,7 +7,7 @@
* what the run RECORDED, never from the host's current config — a run inspected
* tomorrow must show the setup it actually ran under.
*/
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import type { RunEnvironment } from "./types";
@@ -34,7 +34,10 @@ export function EnvironmentPanel({ env }: { env: RunEnvironment }) {
if (env.input_sample_rate || env.output_sample_rate) {
push(
t("run_inspector.env.audio"),
- `${env.input_sample_rate ?? "?"} Hz in · ${env.output_sample_rate ?? "?"} Hz out`,
+ fill(t("run_inspector.env.audio_rates"), {
+ input: env.input_sample_rate ?? "?",
+ output: env.output_sample_rate ?? "?",
+ }),
);
}
diff --git a/jarvis/ui/web/frontend/src/components/runs/ErrorPanel.tsx b/jarvis/ui/web/frontend/src/components/runs/ErrorPanel.tsx
index 0bd611ce8b..7b4cf5009c 100644
--- a/jarvis/ui/web/frontend/src/components/runs/ErrorPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/ErrorPanel.tsx
@@ -54,11 +54,12 @@ export function RunErrorList({ turns }: { turns: RunTurn[] }) {
}
function ErrorRow({ entry, turnIdx }: { entry: ErrorEntry; turnIdx?: number }) {
+ const t = useT();
return (
<li className="rounded-md border border-destructive/20 bg-destructive/[0.12] px-3 py-2 text-sm">
<div className="flex flex-wrap items-baseline gap-x-2">
{turnIdx !== undefined && (
- <span className="font-medium text-foreground-strong">Turn {turnIdx + 1}</span>
+ <span className="font-medium text-foreground-strong">{t("run_inspector.turn")} {turnIdx + 1}</span>
)}
<span className="font-mono font-medium text-destructive">{entry.source}</span>
{entry.layer && (
diff --git a/jarvis/ui/web/frontend/src/components/runs/FeatureBadges.tsx b/jarvis/ui/web/frontend/src/components/runs/FeatureBadges.tsx
index f30a788331..095079b984 100644
--- a/jarvis/ui/web/frontend/src/components/runs/FeatureBadges.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/FeatureBadges.tsx
@@ -2,6 +2,7 @@ import type { LucideIcon } from "lucide-react";
import { Bot, Monitor, Sparkles, Terminal } from "lucide-react";
import { Badge } from "@/components/ui/badge";
+import { useT } from "@/i18n";
import { agentBrand } from "@/lib/agentBrand";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
@@ -17,11 +18,12 @@ import { useEventStore } from "@/store/events";
* render — it carries the wake-word-derived assistant name ("Ruben" ->
* "Ruben-Agent").
*/
+/** `label` is an i18n key; null = the dynamic agent brand. */
const AGENT_META: Record<string, { label: string | null; Icon: LucideIcon }> = {
- computer_use: { label: "Computer-Use", Icon: Monitor },
+ computer_use: { label: "run_inspector.feature_computer_use", Icon: Monitor },
// Dynamic: agentBrand(assistantName).
sub_agent: { label: null, Icon: Bot },
- skill: { label: "Skill", Icon: Sparkles },
+ skill: { label: "run_inspector.feature_skill", Icon: Sparkles },
};
export function FeatureBadges({
@@ -34,6 +36,7 @@ export function FeatureBadges({
size?: "sm" | "xs";
}) {
const assistantName = useEventStore((s) => s.assistantName);
+ const t = useT();
if (!tags.length) return null;
const shown = max ? tags.slice(0, max) : tags;
const rest = tags.length - shown.length;
@@ -52,7 +55,7 @@ export function FeatureBadges({
className={cn(meta ? "text-foreground" : "font-mono", compact)}
>
<Icon aria-hidden />
- {meta ? (meta.label ?? agentBrand(assistantName)) : tag}
+ {meta ? (meta.label ? t(meta.label) : agentBrand(assistantName)) : tag}
</Badge>
);
})}
diff --git a/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx b/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx
index 1d65f99743..01d9900c6e 100644
--- a/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx
@@ -1,4 +1,5 @@
import { Badge } from "@/components/ui/badge";
+import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
/**
@@ -16,12 +17,13 @@ import { cn } from "@/lib/utils";
type BadgeTone = "success" | "warning" | "destructive" | "outline";
+/** `label` is an i18n key (or a literal glyph for the fallback). */
type OutcomeStyle = { label: string; dot: string; tone: BadgeTone };
const OUTCOME_STYLE: Record<string, OutcomeStyle> = {
- success: { label: "Success", dot: "bg-success", tone: "success" },
- partial: { label: "Partial", dot: "bg-warning", tone: "warning" },
- failed: { label: "Failed", dot: "bg-destructive", tone: "destructive" },
+ success: { label: "run_inspector.outcome.success", dot: "bg-success", tone: "success" },
+ partial: { label: "run_inspector.outcome.partial", dot: "bg-warning", tone: "warning" },
+ failed: { label: "run_inspector.outcome.failed", dot: "bg-destructive", tone: "destructive" },
};
const FALLBACK: OutcomeStyle = {
@@ -56,10 +58,11 @@ export function OutcomeDot({
export function OutcomeBadge({ outcome }: { outcome: string }) {
const s = outcomeStyle(outcome);
+ const t = useT();
return (
<Badge variant={s.tone} data-outcome={outcome}>
<span className={cn("h-1.5 w-1.5 shrink-0 rounded-full", s.dot)} aria-hidden />
- {s.label}
+ {s.label === FALLBACK.label ? s.label : t(s.label)}
</Badge>
);
}
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx b/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx
index 854774a01e..f22536dbc6 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx
@@ -154,7 +154,10 @@ export function RunDetail({
<Badge
variant={a.worst_slo_status === "breach" ? "destructive" : "warning"}
>
- {t("run_inspector.latency")} {a.worst_slo_status}
+ {t("run_inspector.latency")}{" "}
+ {a.worst_slo_status === "breach" || a.worst_slo_status === "warn"
+ ? t(`run_inspector.slo.${a.worst_slo_status}`)
+ : a.worst_slo_status}
</Badge>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunList.tsx b/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
index 224dc21dfd..1b7b84b47e 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
@@ -1,6 +1,8 @@
+import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
import { FeatureBadges } from "./FeatureBadges";
+import { useRunLocale } from "./format";
import { OutcomeDot } from "./OutcomeBadge";
import type { RunListItem } from "./types";
@@ -23,6 +25,8 @@ export function RunList({
selectedId: string | null;
onSelect: (id: string) => void;
}) {
+ const t = useT();
+ const locale = useRunLocale();
return (
<ul className="space-y-0.5" data-testid="run-list">
{items.map((r) => {
@@ -46,18 +50,18 @@ export function RunList({
{r.preview || r.session_id.slice(0, 8)}
</span>
<span className="shrink-0 text-xs tabular-nums text-muted-foreground">
- {new Date(r.started_ms).toLocaleTimeString([], {
+ {new Date(r.started_ms).toLocaleTimeString(locale, {
hour: "2-digit",
minute: "2-digit",
})}
</span>
</div>
<div className="flex flex-wrap items-center gap-x-1.5 pl-4 text-sm tabular-nums text-muted-foreground">
- <span>{r.turn_count} turns</span>
+ <span>{r.turn_count} {t("run_inspector.facts.turns")}</span>
{r.duration_s !== null && <span>· {r.duration_s.toFixed(1)}s</span>}
- {slow && <span className="text-warning">· slow</span>}
+ {slow && <span className="text-warning">· {t("run_inspector.slow")}</span>}
{r.error_count > 0 && (
- <span className="text-destructive">· {r.error_count} errors</span>
+ <span className="text-destructive">· {r.error_count} {t("run_inspector.errors_count")}</span>
)}
</div>
{r.feature_tags.length > 0 && (
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx b/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx
index e46ad59119..8fe1261287 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx
@@ -42,11 +42,12 @@ const ROLE_INK: Record<string, string> = {
error: "text-destructive",
};
+/** Transcript role -> i18n key. */
const ROLE_LABEL: Record<string, string> = {
- jarvis: "spoken",
- system: "system",
- tool: "tool",
- error: "error",
+ jarvis: "run_inspector.role.spoken",
+ system: "run_inspector.role.system",
+ tool: "run_inspector.role.tool",
+ error: "run_inspector.role.error",
};
type TabId = "decisions" | "latency" | "tools" | "events" | "errors";
@@ -101,7 +102,7 @@ export function RunTurnCard({ turn }: { turn: RunTurn }) {
<div className="flex flex-wrap items-center justify-between gap-2">
<div className="flex items-center gap-2">
<h3 className="text-lg font-semibold text-foreground-strong">
- Turn {turn.idx + 1}
+ {t("run_inspector.turn")} {turn.idx + 1}
</h3>
<OutcomeBadge outcome={turn.outcome} />
</div>
@@ -128,7 +129,7 @@ export function RunTurnCard({ turn }: { turn: RunTurn }) {
{/* User */}
{turn.user_text && (
- <Block icon={<Mic2 aria-hidden className="h-3.5 w-3.5" />} label="User">
+ <Block icon={<Mic2 aria-hidden className="h-3.5 w-3.5" />} label={t("run_inspector.user")}>
{turn.user_text}
</Block>
)}
@@ -170,10 +171,10 @@ export function RunTurnCard({ turn }: { turn: RunTurn }) {
{(turn.think_ms > 0 || turn.speak_ms > 0) && (
<div className="flex flex-wrap items-center gap-4 text-sm text-muted-foreground">
<span className="flex items-center gap-1.5 tabular-nums">
- <Brain aria-hidden className="h-3.5 w-3.5" /> {fmtMs(turn.think_ms)} thinking
+ <Brain aria-hidden className="h-3.5 w-3.5" /> {fmtMs(turn.think_ms)} {t("run_inspector.thinking")}
</span>
<span className="flex items-center gap-1.5 tabular-nums">
- <Hourglass aria-hidden className="h-3.5 w-3.5" /> {fmtMs(turn.speak_ms)} speaking
+ <Hourglass aria-hidden className="h-3.5 w-3.5" /> {fmtMs(turn.speak_ms)} {t("run_inspector.speaking")}
</span>
</div>
)}
@@ -238,7 +239,7 @@ function TurnFacts({ turn }: { turn: RunTurn }) {
]);
}
if (turn.extras.interrupted) {
- facts.push([t("run_inspector.facts.interrupted"), "yes"]);
+ facts.push([t("run_inspector.facts.interrupted"), t("run_inspector.facts.yes")]);
}
if (turn.extras.context_tokens) {
facts.push([
@@ -286,7 +287,9 @@ function Block({
}
function TraceLine({ line }: { line: TranscriptLine }) {
- const label = line.spoken_kind || ROLE_LABEL[line.role] || line.role;
+ const t = useT();
+ const roleKey = ROLE_LABEL[line.role];
+ const label = line.spoken_kind || (roleKey ? t(roleKey) : line.role);
return (
<div className="flex items-start gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-secondary">
<Badge variant="secondary" className="shrink-0">
diff --git a/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx b/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx
index 56089f0ba9..825dce78ad 100644
--- a/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx
@@ -13,7 +13,7 @@ import { useState } from "react";
import { Check, ChevronDown, ChevronRight } from "lucide-react";
import { Badge } from "@/components/ui/badge";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import type { ToolCall } from "./types";
@@ -99,10 +99,10 @@ export function ToolTable({ tools }: { tools: ToolCall[] }) {
<Badge variant={tool.success ? "success" : "destructive"} className="shrink-0">
<span className="font-mono tabular-nums">
{tool.exit_code != null
- ? `exit ${tool.exit_code}`
+ ? fill(t("run_inspector.tools.exit_code"), { code: tool.exit_code })
: tool.success
- ? "ok"
- : "fail"}
+ ? t("run_inspector.tools.ok")
+ : t("run_inspector.tools.fail")}
</span>
</Badge>
</button>
diff --git a/jarvis/ui/web/frontend/src/components/runs/__tests__/eventStream.test.tsx b/jarvis/ui/web/frontend/src/components/runs/__tests__/eventStream.test.tsx
index eb438c6bf5..9c95c36662 100644
--- a/jarvis/ui/web/frontend/src/components/runs/__tests__/eventStream.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/__tests__/eventStream.test.tsx
@@ -2,6 +2,8 @@ import { describe, it, expect, vi } from "vitest";
import { render, fireEvent } from "@testing-library/react";
vi.mock("@/i18n", () => ({
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (m, k: string) => (k in vars ? String(vars[k]) : m)),
useT: () => (k: string) => k,
useUiLanguage: () => "en",
}));
diff --git a/jarvis/ui/web/frontend/src/components/runs/__tests__/runDetail.test.tsx b/jarvis/ui/web/frontend/src/components/runs/__tests__/runDetail.test.tsx
index 7d20567066..964e99dffc 100644
--- a/jarvis/ui/web/frontend/src/components/runs/__tests__/runDetail.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/__tests__/runDetail.test.tsx
@@ -25,6 +25,8 @@ vi.mock("@/hooks/useRuns", () => ({
}),
}));
vi.mock("@/i18n", () => ({
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (m, k: string) => (k in vars ? String(vars[k]) : m)),
useT: () => (k: string) => k,
useUiLanguage: () => "en",
}));
@@ -36,7 +38,7 @@ describe("RunDetail", () => {
const { container } = render(<RunDetail sessionId="s1" />);
expect(container.querySelector('[data-testid="run-detail"]')).not.toBeNull();
expect(container.querySelector('[data-outcome="success"]')).not.toBeNull();
- expect(container.textContent).toContain("Success");
+ expect(container.textContent).toContain("run_inspector.outcome.success");
// turn content is visible without expanding anything
expect(container.querySelector('[data-testid="run-turn-card"]')).not.toBeNull();
expect(container.textContent).toContain("hi");
diff --git a/jarvis/ui/web/frontend/src/components/runs/__tests__/runTurnCard.test.tsx b/jarvis/ui/web/frontend/src/components/runs/__tests__/runTurnCard.test.tsx
index d7a6a8e52b..b2cfde8348 100644
--- a/jarvis/ui/web/frontend/src/components/runs/__tests__/runTurnCard.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/__tests__/runTurnCard.test.tsx
@@ -2,6 +2,8 @@ import { describe, it, expect, vi } from "vitest";
import { render } from "@testing-library/react";
vi.mock("@/i18n", () => ({
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (m, k: string) => (k in vars ? String(vars[k]) : m)),
useT: () => (k: string) => k,
useUiLanguage: () => "en",
}));
@@ -30,10 +32,10 @@ describe("RunTurnCard", () => {
it("shows the conversation, the triggered capabilities and the system trace inline", () => {
const { container } = render(<RunTurnCard turn={turn} />);
const text = container.textContent ?? "";
- expect(text).toContain("Turn 1");
+ expect(text).toContain("run_inspector.turn 1");
expect(text).toContain("Open Discord please"); // user block
expect(text).toContain("On it, Boss."); // jarvis block
- expect(text).toContain("Computer-Use"); // triggered agent badge
+ expect(text).toContain("run_inspector.feature_computer_use"); // triggered agent badge
expect(text).toContain("search_web"); // triggered tool chip
expect(text).toContain("exit 5"); // system output in "what happened"
// raw state-machine churn is filtered out of the readable trace
diff --git a/jarvis/ui/web/frontend/src/components/runs/__tests__/toolTable.test.tsx b/jarvis/ui/web/frontend/src/components/runs/__tests__/toolTable.test.tsx
index f74f97af38..9432425c1c 100644
--- a/jarvis/ui/web/frontend/src/components/runs/__tests__/toolTable.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/__tests__/toolTable.test.tsx
@@ -2,6 +2,8 @@ import { describe, it, expect, vi } from "vitest";
import { render, fireEvent } from "@testing-library/react";
vi.mock("@/i18n", () => ({
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (m, k: string) => (k in vars ? String(vars[k]) : m)),
useT: () => (k: string) => k,
useUiLanguage: () => "en",
}));
diff --git a/jarvis/ui/web/frontend/src/components/runs/format.ts b/jarvis/ui/web/frontend/src/components/runs/format.ts
index 1fd41996ec..3a49db786e 100644
--- a/jarvis/ui/web/frontend/src/components/runs/format.ts
+++ b/jarvis/ui/web/frontend/src/components/runs/format.ts
@@ -14,6 +14,7 @@ export function localeForUiLanguage(language: string): string {
if (language === "de") return "de-DE";
if (language === "es") return "es-ES";
if (language === "zh") return "zh-CN";
+ if (language === "pt") return "pt-PT";
return "en-US";
}
diff --git a/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.test.tsx b/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.test.tsx
index 4551a425a1..7a9a870b40 100644
--- a/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.test.tsx
@@ -23,6 +23,8 @@ const TRANSLATIONS: Record<string, string> = {
};
vi.mock("@/i18n", () => ({
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (m, k: string) => (k in vars ? String(vars[k]) : m)),
translate: (key: string) => TRANSLATIONS[key] ?? key,
useT: () => (key: string) => TRANSLATIONS[key] ?? key,
useUiLanguage: () => "en",
diff --git a/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.tsx b/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.tsx
index e847b14672..231c0df5cf 100644
--- a/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.tsx
+++ b/jarvis/ui/web/frontend/src/components/sessions/SessionDetail.tsx
@@ -27,7 +27,7 @@ import {
usePreferredOpener,
useSetPreferredOpener,
} from "@/hooks/useOutputs";
-import { useT, useUiLanguage } from "@/i18n";
+import { translate, useT, useUiLanguage } from "@/i18n";
import { localeForUiLanguage } from "@/components/runs/format";
import { fetchSessionExport, openSessionWith, sessionExportUrl } from "./api";
@@ -43,10 +43,15 @@ type ExportFormat = "markdown" | "plain" | "json";
const FORMAT_LABEL: Record<ExportFormat, string> = {
markdown: "Markdown",
- plain: "Text",
+ plain: "session_detail.format_text",
json: "JSON",
};
+/** "Text" is a word, the other two are format names. */
+function formatLabel(format: ExportFormat): string {
+ return format === "plain" ? translate(FORMAT_LABEL.plain) : FORMAT_LABEL[format];
+}
+
const FORMATS: ExportFormat[] = ["plain", "markdown", "json"];
interface Props {
@@ -116,7 +121,7 @@ export function SessionDetail({ detail, loading, error, onBack }: Props) {
const text = await fetchSessionExport(detail.session.id, format);
const ok = await robustCopy(text);
if (ok) {
- pushToast("success", `${t("session_detail.copied_as")} ${FORMAT_LABEL[format]}`);
+ pushToast("success", `${t("session_detail.copied_as")} ${formatLabel(format)}`);
} else {
pushToast("error", t("session_detail.copy_failed_clipboard"));
}
@@ -215,7 +220,7 @@ export function SessionDetail({ detail, loading, error, onBack }: Props) {
const exportActions = useMemo<MenuAction[]>(() => {
const actions: MenuAction[] = [];
for (const format of FORMATS) {
- const label = FORMAT_LABEL[format];
+ const label = formatLabel(format);
actions.push({
id: `copy-${format}`,
label: `${t("session_detail.copy_action")} ${label}`,
diff --git a/jarvis/ui/web/frontend/src/components/sessions/SessionList.tsx b/jarvis/ui/web/frontend/src/components/sessions/SessionList.tsx
index 8eb3afe34a..4e33039194 100644
--- a/jarvis/ui/web/frontend/src/components/sessions/SessionList.tsx
+++ b/jarvis/ui/web/frontend/src/components/sessions/SessionList.tsx
@@ -2,7 +2,8 @@ import { Loader2, Mic, MicOff } from "lucide-react";
import { EmptyState } from "@/components/ui/empty-state";
import { ScrollArea } from "@/components/ui/scroll-area";
-import { translate, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
+import { translate, useI18nStore, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import type { SessionListItem } from "./types";
@@ -115,7 +116,10 @@ function formatRelative(ms: number): string {
if (diff < 86_400_000)
return ago(`${Math.floor(diff / 3_600_000)} ${translate("session_list.unit_hour")}`);
const d = new Date(ms);
- return d.toLocaleDateString(undefined, { day: "2-digit", month: "short" });
+ return d.toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), {
+ day: "2-digit",
+ month: "short",
+ });
}
function formatDuration(secs: number | null): string {
diff --git a/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx b/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx
index 6f78252c2f..d74f9106a3 100644
--- a/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx
@@ -7,34 +7,37 @@ import { agentBrand } from "@/lib/agentBrand";
import { robustCopy, saveOrDownload } from "@/lib/clipboard";
import { useCapabilities } from "@/hooks/useCapabilities";
import { useEventStore } from "@/store/events";
-import { useT } from "@/i18n";
+import { fill, translate, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import type { VoiceSpokenLine, VoiceTurnRow } from "./types";
-export const SPOKEN_KIND_LABEL: Record<string, string> = {
- reply: "Reply",
- clarify: "Clarifying question",
- timeout: "Timeout notice",
- unavailable: "Brain unavailable",
- stt_unavailable: "Couldn't hear you",
- privacy: "Privacy",
- completion: "Background result",
- subagent: "Agent / Output",
- action_done: "Action confirmed",
- backchannel: "Backchannel",
- announcement: "Announcement",
- preamble: "Preamble",
- progress: "Progress update",
- withheld: "Answer withheld (safety)",
- other: "Spoken",
+/** Spoken-kind -> i18n key (`turn_card.kind_*`); translated where rendered. */
+export const SPOKEN_KIND_LABEL_KEY: Record<string, string> = {
+ reply: "turn_card.kind_reply",
+ clarify: "turn_card.kind_clarify",
+ timeout: "turn_card.kind_timeout",
+ unavailable: "turn_card.kind_unavailable",
+ stt_unavailable: "turn_card.kind_stt_unavailable",
+ privacy: "turn_card.kind_privacy",
+ completion: "turn_card.kind_completion",
+ subagent: "turn_card.kind_subagent",
+ action_done: "turn_card.kind_action_done",
+ backchannel: "turn_card.kind_backchannel",
+ announcement: "turn_card.kind_announcement",
+ preamble: "turn_card.kind_preamble",
+ progress: "turn_card.kind_progress",
+ withheld: "turn_card.kind_withheld",
+ other: "turn_card.kind_other",
};
export function spokenKindLabels(assistantName: string): Record<string, string> {
- return {
- ...SPOKEN_KIND_LABEL,
- subagent: `${agentBrand(assistantName)} / Output`,
- };
+ const out: Record<string, string> = {};
+ for (const [kind, key] of Object.entries(SPOKEN_KIND_LABEL_KEY)) {
+ out[kind] = fill(translate(key), { agent: agentBrand(assistantName) });
+ }
+ return out;
}
interface Props {
@@ -77,6 +80,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
? confirmedReplies.map((line) => line.text).join(" ")
: turn.jarvis_text;
const kindLabel = spokenKindLabels(assistantName);
+ const locale = useRunLocale();
const copyTurn = useCallback(async () => {
const text = formatTurnPlain(turn, spoken, visibleTurnNumber, kindLabel);
@@ -109,7 +113,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
);
}, [turn, spoken, pushToast, t, native, kindLabel]);
- const startedAt = new Date(turn.started_ms).toLocaleTimeString("de", {
+ const startedAt = new Date(turn.started_ms).toLocaleTimeString(locale, {
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
@@ -130,7 +134,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
{/* The turn line: quiet, with the actions appearing on hover. */}
<div className="flex h-8 items-center justify-between gap-2">
<div className="flex items-center gap-2 text-sm text-foreground-faint">
- <span className="font-medium text-muted-foreground">Turn {visibleTurnNumber}</span>
+ <span className="font-medium text-muted-foreground">{t("turn_card.turn")} {visibleTurnNumber}</span>
<span>·</span>
<span className="tabular-nums">{startedAt}</span>
{turn.latency_total_ms > 0 && (
@@ -212,7 +216,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
{turn.tool_calls.length > 0 && (
<div className="flex flex-wrap items-center gap-1.5 text-sm text-muted-foreground">
<Wrench aria-hidden className="h-3.5 w-3.5" />
- <span>Tools:</span>
+ <span>{t("turn_card.tools_label")}</span>
{turn.tool_calls.map((tc) => (
<Badge key={tc} variant="secondary" className="font-mono">
{tc}
@@ -233,27 +237,29 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
className="text-foreground-faint"
title={
turn.voice_verified === false
- ? `Requested voice (native audio is not a verified speaker): ${
- turn.voice_provider
+ ? fill(t("turn_card.voice_requested_title"), {
+ voice: turn.voice_provider
+ ? `${turn.voice_name} (${turn.voice_provider})`
+ : turn.voice_name,
+ })
+ : fill(t("turn_card.voice_title"), {
+ voice: turn.voice_provider
? `${turn.voice_name} (${turn.voice_provider})`
- : turn.voice_name
- }`
- : turn.voice_provider
- ? `Voice: ${turn.voice_name} (${turn.voice_provider})`
- : `Voice: ${turn.voice_name}`
+ : turn.voice_name,
+ })
}
>
{[
turn.voice_name,
turn.voice_provider,
- turn.voice_verified === false ? "requested" : null,
+ turn.voice_verified === false ? t("turn_card.voice_requested") : null,
]
.filter(Boolean)
.join(" · ")}
</span>
)}
{turn.awaiting_confirmation && (
- <Badge variant="warning">Awaiting confirmation</Badge>
+ <Badge variant="warning">{t("turn_card.awaiting_confirmation")}</Badge>
)}
</div>
<div className={cn(PROSE, "w-full rounded-lg border border-border bg-card p-4 text-foreground")}>
@@ -266,7 +272,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
order they were heard, each with its kind as a small badge. */}
{auxiliarySpoken.length > 0 && (
<div className="space-y-2" data-testid="turn-spoken-output">
- <div className="text-sm text-muted-foreground">Spoken output</div>
+ <div className="text-sm text-muted-foreground">{t("turn_card.spoken_output")}</div>
{auxiliarySpoken.map((s, i) => (
<div
key={`${s.ts_ms}-${i}`}
@@ -314,7 +320,7 @@ export function formatTurnPlain(
kindLabel: Record<string, string> = spokenKindLabels(""),
): string {
const lines: string[] = [];
- lines.push(`--- Turn ${displayNumber} ---`);
+ lines.push(`--- ${translate("turn_card.turn")} ${displayNumber} ---`);
if (turn.user_text) lines.push(`[USER] ${turn.user_text}`);
const meta: string[] = [];
if (turn.tier) meta.push(`tier=${turn.tier}`);
@@ -336,7 +342,9 @@ export function formatTurnPlain(
const jarvisLines: Array<{ ts_ms: number; lines: string[] }> = [];
const hasConfirmedReply = spoken.some((line) => line.spoken_kind === "reply");
if (turn.jarvis_text && !hasConfirmedReply) {
- const prefix = turn.awaiting_confirmation ? "(awaiting confirmation) " : "";
+ const prefix = turn.awaiting_confirmation
+ ? `${translate("turn_card.awaiting_confirmation_prefix")} `
+ : "";
jarvisLines.push({
ts_ms: turn.ended_ms ?? Number.MAX_SAFE_INTEGER,
lines: [`[JARVIS] ${prefix}${turn.jarvis_text}`],
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.test.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.test.tsx
index 50ef340f70..e62717f2d8 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.test.tsx
@@ -3,7 +3,7 @@ import { cleanup, fireEvent, render, screen } from "@testing-library/react";
import { afterEach, expect, it, vi } from "vitest";
import { AgentMemoryFiles, LearnedInstructions } from "./AgentKnowledge";
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useUiLanguage: () => "en" }));
afterEach(() => { cleanup(); vi.unstubAllGlobals(); });
const json = (data: unknown, status = 200) => new Response(JSON.stringify(data), { status });
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.tsx
index 1c8fee9393..ab56433795 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentKnowledge.tsx
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/react-query";
import { FileText, RefreshCw, Search } from "lucide-react";
import { Button } from "@/components/ui/button";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { MemoryMarkdown } from "../chat/MemoryDocument";
@@ -49,6 +50,7 @@ export function useAgentKnowledge(agentId: string, sample: boolean) {
export function LearnedInstructions({ agentId, sample }: { agentId: string; sample: boolean }) {
const t = useT();
+ const locale = useRunLocale();
const query = useAgentKnowledge(agentId, sample);
if (sample) return null;
const data = query.data;
@@ -67,7 +69,7 @@ export function LearnedInstructions({ agentId, sample }: { agentId: string; samp
{data?.learned_instructions.length ? <ul className="list-disc space-y-2 pl-4 text-sm">{data.learned_instructions.map((rule) => <li key={rule}>{rule}</li>)}</ul>
: <p className="text-sm text-muted-foreground">{t("society.profile_card.no_instructions")}</p>}
<p className="mt-3 text-xs text-muted-foreground" role="status">{t(`society.profile_card.review_${status}`)}{data?.reviews.pending ? ` (${data.reviews.pending})` : ""}</p>
- {data?.last_review && <p className="mt-1 text-xs text-muted-foreground">{t("society.profile_card.last_review")}: {new Date(data.last_review.updated_ms).toLocaleString()}</p>}
+ {data?.last_review && <p className="mt-1 text-xs text-muted-foreground">{t("society.profile_card.last_review")}: {new Date(data.last_review.updated_ms).toLocaleString(locale)}</p>}
</>}
</section>;
}
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentProfileDialog.test.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentProfileDialog.test.tsx
index 781b6a0e98..64f25b55e4 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentProfileDialog.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentProfileDialog.test.tsx
@@ -5,7 +5,7 @@ import { SAMPLE_ROSTER } from "../mockRoster";
import { AgentProfileDialog } from "./AgentProfileDialog";
import { RosterRail } from "../roster/RosterRail";
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useLocaleChunk: () => true }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useLocaleChunk: () => true, useUiLanguage: () => "en" }));
vi.mock("../AgentSwatch", () => ({ AgentSwatch: () => <span /> }));
const agent = { ...SAMPLE_ROSTER[1], agentId: "research", name: "Research", title: "Researcher", description: "Check primary sources.", tier: "specialist" as const };
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.test.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.test.tsx
index f0e2d1ce64..8a8683215b 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.test.tsx
@@ -13,6 +13,8 @@ vi.mock("@/components/agentchat/AgentTimeline", () => ({ AgentTimeline: () => nu
vi.mock("@/i18n", () => ({
useLocaleChunk: () => {},
+ useUiLanguage: () => "en",
+ useI18nStore: { getState: () => ({ ui: "en" }) },
useT: () => (key: string) => key.split(".").reduce<unknown>((value, part) => (value as Record<string, unknown>)?.[part], en) ?? key,
}));
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.tsx
index c49febb4f7..68430bc599 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetail.tsx
@@ -3,6 +3,7 @@ import { useState } from "react";
import { useQueries, useQueryClient } from "@tanstack/react-query";
import { ArrowLeft, Check, Clock, Plus, X } from "lucide-react";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { Switch } from "@/components/ui/switch";
import { cancelAndDeleteTask, cancelTask, fetchTask, runTaskNow, setTaskEnabled } from "@/lib/tasksApi";
import { describeTrigger, displayRoutineTitle, type LiveRoutine } from "../cardData";
@@ -60,6 +61,7 @@ export function AgentRoutineDetail({ agentId, routine, onClose }: {
agentId: string; routine: LiveRoutine; onClose: () => void;
}) {
const t = useT();
+ const locale = useRunLocale();
const label = (key: string) => t(`society.routine_detail.${key}`);
const client = useQueryClient();
const members = routine.members ?? [routine];
@@ -192,7 +194,7 @@ export function AgentRoutineDetail({ agentId, routine, onClose }: {
<button className="flex w-full items-start gap-2 rounded text-left text-[12px] disabled:opacity-70" disabled={pending || !editable || Boolean(draft) || !detail || !timeKinds.includes(detail.trigger_type)} onClick={() => { setEditing({ ...member, trigger: detail?.trigger }); setSchedule(null); }}>
<Clock size={14} className="mt-0.5 shrink-0" /><span>{describeTrigger(detail?.trigger ?? member.trigger, t)}</span>
</button>
- {detail?.due_at_ns && detail.state === "scheduled" ? <p className="pl-5 text-[11px] text-muted-foreground">{t("society.card.next_run")}: {new Date(detail.due_at_ns / 1e6).toLocaleString(undefined, { timeZoneName: "short" })}</p> : null}
+ {detail?.due_at_ns && detail.state === "scheduled" ? <p className="pl-5 text-[11px] text-muted-foreground">{t("society.card.next_run")}: {new Date(detail.due_at_ns / 1e6).toLocaleString(locale, { timeZoneName: "short" })}</p> : null}
{detail && renderConnection(detail)}
{index > 0 && <button className="pl-5 text-[11px] text-muted-foreground" disabled={pending || !editable || Boolean(draft)} onClick={() => void act(async () => { await cancelTask(member.id); })}>{label("remove_schedule")}</button>}
</div>;
@@ -212,7 +214,7 @@ export function AgentRoutineDetail({ agentId, routine, onClose }: {
<h4 className="text-[11px] text-muted-foreground">{label("history")}</h4>
{runs.length > 0 && <button type="button" className={button} onClick={() => openRun(runs[0])}>{label("latest_chat")}</button>}
{ready && runs.length === 0 && <p className="text-[12px] text-muted-foreground">{label("no_runs")}</p>}
- {runs.map((run) => <button key={run.id} type="button" data-testid={`routine-run-${run.id}`} aria-label={`${label("open_chat")} · ${new Date(run.timestamp).toLocaleString()}`} onClick={() => openRun(run)} className="flex w-full cursor-pointer items-center justify-between gap-2 rounded py-1 text-left text-[12px] hover:bg-secondary focus-visible:outline focus-visible:outline-ring"><time dateTime={new Date(run.timestamp).toISOString()}>{new Date(run.timestamp).toLocaleString()}</time><span className="flex items-center gap-1" title={run.status === "legacy" ? label("legacy") : t(`tasks_view.state.${run.status}`)}>
+ {runs.map((run) => <button key={run.id} type="button" data-testid={`routine-run-${run.id}`} aria-label={`${label("open_chat")} · ${new Date(run.timestamp).toLocaleString(locale)}`} onClick={() => openRun(run)} className="flex w-full cursor-pointer items-center justify-between gap-2 rounded py-1 text-left text-[12px] hover:bg-secondary focus-visible:outline focus-visible:outline-ring"><time dateTime={new Date(run.timestamp).toISOString()}>{new Date(run.timestamp).toLocaleString()}</time><span className="flex items-center gap-1" title={run.status === "legacy" ? label("legacy") : t(`tasks_view.state.${run.status}`)}>
{run.status === "completed" ? <Check size={15} className="text-success" aria-label={t("tasks_view.state.completed")} /> : run.status === "failed" || run.status === "cancelled" ? <X size={15} className="text-destructive" aria-label={t(`tasks_view.state.${run.status}`)} /> : <Clock size={15} aria-label={run.status === "legacy" ? label("legacy") : t(`tasks_view.state.${run.status}`)} />}
</span></button>)}
</div>
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetailSeat.test.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetailSeat.test.tsx
index e3552f1b92..1fcbf48a51 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetailSeat.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutineDetailSeat.test.tsx
@@ -9,6 +9,7 @@ vi.mock("@/components/agentchat/AgentTimeline", () => ({ AgentTimeline: () => nu
vi.mock("@/i18n", () => ({
useLocaleChunk: () => {},
+ useUiLanguage: () => "en",
useT: () => (key: string) => key.split(".").reduce<unknown>((value, part) => (value as Record<string, unknown>)?.[part], en) ?? key,
}));
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutinesList.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutinesList.tsx
index 56633624f7..bdafba18eb 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentRoutinesList.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentRoutinesList.tsx
@@ -2,6 +2,7 @@
import { useEffect, useMemo, useState } from "react";
import { Clock, Plus, X } from "lucide-react";
import { useLocaleChunk, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { displayRoutineTitle, routineScheduleLine, useAgentRoutines, useCreateAgentRoutine, type LiveRoutine } from "../cardData";
import type { AgentRoutine } from "../data";
@@ -13,6 +14,7 @@ import { AgentRoutineDetail } from "./AgentRoutineDetail";
export interface AgentRoutinesListProps { agentId: string; sampleRoutines?: AgentRoutine[]; variant?: "rail" | "sheet"; className?: string; onDetailOpenChange?: (open: boolean) => void; }
export function AgentRoutinesList({ agentId, sampleRoutines, variant = "rail", className, onDetailOpenChange }: AgentRoutinesListProps) {
const t = useT(); useLocaleChunk("society");
+ const locale = useRunLocale();
const live = useAgentRoutines(agentId); const create = useCreateAgentRoutine();
const [open, setOpen] = useState(false); const [title, setTitle] = useState("");
const [prompt, setPrompt] = useState(""); const [schedule, setSchedule] = useState<Record<string, unknown> | null>(null);
@@ -57,7 +59,7 @@ export function AgentRoutinesList({ agentId, sampleRoutines, variant = "rail", c
<span className="min-w-0 flex-1">
<span className="block truncate text-[13px] font-medium text-foreground">{displayRoutineTitle(routine.title)}</span>
<span className="block break-words text-[11px] leading-snug text-muted-foreground">{routineScheduleLine(routine, t)}{routine.state === "paused" ? ` · ${t("tasks_view.state.paused")}` : ""}</span>
- {routine.dueMs && active ? <span className="block text-[11px] text-muted-foreground">{t("society.card.next_run")}: {new Date(routine.dueMs).toLocaleString(undefined, { timeZoneName: "short" })}</span> : null}
+ {routine.dueMs && active ? <span className="block text-[11px] text-muted-foreground">{t("society.card.next_run")}: {new Date(routine.dueMs).toLocaleString(locale, { timeZoneName: "short" })}</span> : null}
</span>
</button>
{trigger?.type === "webhook" && <div className="pl-6"><WebhookConnection key={routine.id} taskId={routine.id} /></div>}
diff --git a/jarvis/ui/web/frontend/src/components/society/card/AgentSpecSheet.tsx b/jarvis/ui/web/frontend/src/components/society/card/AgentSpecSheet.tsx
index 9ba0786a69..b4dab31cbd 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/AgentSpecSheet.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/AgentSpecSheet.tsx
@@ -38,6 +38,7 @@ import { ProviderLogo } from "@/components/providers/ProviderLogo";
import { ScrollArea } from "@/components/ui/scroll-area";
import { Switch } from "@/components/ui/switch";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useComputers } from "@/hooks/useComputers";
import { societyDisplayName } from "@/lib/societyDisplayName";
import { cn } from "@/lib/utils";
@@ -163,9 +164,9 @@ function DescriptionEditor({ agent }: { agent: SocietyAgent }) {
);
}
-function formatDate(ms: number | null, fallback: string): string {
+function formatDate(ms: number | null, fallback: string, locale: string): string {
if (ms === null) return fallback;
- return new Date(ms).toLocaleDateString(undefined, { day: "2-digit", month: "short", year: "numeric" });
+ return new Date(ms).toLocaleDateString(locale, { day: "2-digit", month: "short", year: "numeric" });
}
/** "in 3 h", "in 2 d", "now" — from an epoch in ms. */
@@ -216,6 +217,7 @@ export interface AgentSpecSheetProps {
export function AgentSpecSheet({ agent, onOpenChat, onRetired }: AgentSpecSheetProps) {
const t = useT();
+ const locale = useRunLocale();
const assistantName = useEventStore((s) => s.assistantName);
const displayName = societyDisplayName(agent, assistantName);
const capabilities = useSocietyCapabilities();
@@ -381,7 +383,7 @@ export function AgentSpecSheet({ agent, onOpenChat, onRetired }: AgentSpecSheetP
<section className="grid grid-cols-2 gap-2">
<Plate label={t("society.card.place")} value={t(`society.checkpoint.${agent.checkpoint}`)} />
- <Plate label={t("society.card.created")} value={formatDate(agent.createdMs, "—")} />
+ <Plate label={t("society.card.created")} value={formatDate(agent.createdMs, "—", locale)} />
</section>
<section>
@@ -450,7 +452,7 @@ export function AgentSpecSheet({ agent, onOpenChat, onRetired }: AgentSpecSheetP
<Plate label={t("society.card.cost")} value={`$${agent.stats.totalCostUsd.toFixed(2)}`} />
<Plate
label={t("society.card.last_active")}
- value={formatDate(agent.stats.lastActiveMs, t("society.card.never"))}
+ value={formatDate(agent.stats.lastActiveMs, t("society.card.never"), locale)}
/>
</div>
</section>
diff --git a/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.test.tsx b/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.test.tsx
index 4bb90fc1a3..716c111d57 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.test.tsx
@@ -4,7 +4,7 @@ import type { TimelineItem } from "@/components/agentchat/reduce";
import RoutineChat from "./RoutineChat";
import type { RoutineChatTarget } from "../chat/routineExecution";
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useUiLanguage: () => "en" }));
vi.mock("@/components/agentchat/ChatMarkdown", () => ({ ChatMarkdown: ({ text }: { text: string }) => <p>{text}</p> }));
vi.mock("@/components/agentchat/AgentTimeline", () => ({ AgentTimeline: ({ items }: { items: TimelineItem[] }) => <pre data-testid="selected-transcript">{JSON.stringify(items)}</pre> }));
diff --git a/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.tsx b/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.tsx
index 262618f143..01ffa290e5 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/card/RoutineChat.tsx
@@ -12,6 +12,7 @@ import { fetchAgentChatSession } from "@/lib/agentChatApi";
import { createAgentChatStore } from "@/store/agentChat";
import { useStickToBottom } from "@/hooks/useStickToBottom";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { legacyRoutineEvents, routineTask, type RoutineChatTarget } from "../chat/routineExecution";
function displayItems(items: TimelineItem[]): TimelineItem[] {
@@ -24,11 +25,12 @@ export default function RoutineChat({ target, onClose, face }: {
face?: ReactNode;
}) {
const t = useT();
+ const locale = useRunLocale();
return <section className="flex h-full min-h-0 flex-1 flex-col bg-background p-4 text-foreground sm:p-6" data-testid="routine-chat" data-session-id={target.sessionId}>
<header className="flex shrink-0 flex-wrap items-center gap-x-4 gap-y-2 border-b border-border pb-3">
<button type="button" className="flex items-center gap-1 text-[12px] text-muted-foreground hover:text-foreground" onClick={onClose}><ArrowLeft size={14} />{t("society.routine_detail.back_to_agent")}</button>
<div className="min-w-0 flex-1"><h3 className="truncate text-sm font-medium">{target.title}</h3>
- <time className="text-[11px] text-muted-foreground" dateTime={new Date(target.timestamp).toISOString()}>{new Date(target.timestamp).toLocaleString()}</time>
+ <time className="text-[11px] text-muted-foreground" dateTime={new Date(target.timestamp).toISOString()}>{new Date(target.timestamp).toLocaleString(locale)}</time>
</div>
<span className="text-[11px] text-muted-foreground">{t(target.kind === "conversation" ? "society.conversations.badge" : "society.routine_detail.background_chat")}</span>
</header>
diff --git a/jarvis/ui/web/frontend/src/components/society/card/useBrowserView.ts b/jarvis/ui/web/frontend/src/components/society/card/useBrowserView.ts
index 3ab2b54197..3ab78796f9 100644
--- a/jarvis/ui/web/frontend/src/components/society/card/useBrowserView.ts
+++ b/jarvis/ui/web/frontend/src/components/society/card/useBrowserView.ts
@@ -1,4 +1,5 @@
import { useCallback, useEffect, useRef, useState } from "react";
+import { fill, translate } from "@/i18n";
import { mintWsTicket } from "@/lib/ws";
import { jitteredDelay, requestConnect } from "@/lib/connectBudget";
import { BROWSER_PROFILE_CHANGED_EVENT } from "@/lib/browserProfiles";
@@ -118,7 +119,7 @@ export function useBrowserView(agentId: string, enabled = true) {
};
image.onerror = () => {
decodeBusy = false;
- if (!disposed) setState((s) => ({ ...s, error: "Browser image could not be decoded" }));
+ if (!disposed) setState((s) => ({ ...s, error: translate("society.browser_live.error_image") }));
};
image.src = "data:image/jpeg;base64," + frame.data;
};
@@ -263,7 +264,7 @@ export function useBrowserView(agentId: string, enabled = true) {
setState((s) => ({ ...s, error: event.error }));
}
} catch {
- setState((s) => ({ ...s, error: "Browser stream returned invalid data" }));
+ setState((s) => ({ ...s, error: translate("society.browser_live.error_stream") }));
}
};
ws.onclose = (event) => {
@@ -290,7 +291,7 @@ export function useBrowserView(agentId: string, enabled = true) {
} catch (error) {
if (disposed) return;
setState((s) => ({ ...s, connected: false,
- error: error instanceof Error ? error.message : "Browser connection failed" }));
+ error: error instanceof Error ? error.message : translate("society.browser_live.error_connect") }));
cancelConnect = requestConnect(() => void connect(), jitteredDelay(attempt++));
}
};
@@ -327,8 +328,8 @@ export function useBrowserView(agentId: string, enabled = true) {
if (op === "cancel") {
void fetch("/api/society/agents/" + encodeURIComponent(agentId) + "/browser/cancel",
{ method: "POST", headers: { "X-Jarvis-Stop-Chat": "1" } }).then((res) => {
- if (!res.ok) setState((s) => ({ ...s, error: "Browser stop failed: " + res.status }));
- }).catch(() => setState((s) => ({ ...s, error: "Browser stop could not connect" })));
+ if (!res.ok) setState((s) => ({ ...s, error: fill(translate("society.browser_live.error_stop"), { status: res.status }) }));
+ }).catch(() => setState((s) => ({ ...s, error: translate("society.browser_live.error_stop_unreachable") })));
return;
}
if (socket.current?.readyState !== WebSocket.OPEN) return;
@@ -349,7 +350,7 @@ export function useBrowserView(agentId: string, enabled = true) {
if (["click", "scroll", "text", "key"].includes(op)
&& (!manual.current || (loginCapability.current && !loginMode.current))) {
if (inputs.current.length >= 128) {
- setState((s) => ({ ...s, error: "Waiting for browser control; input queue is full" }));
+ setState((s) => ({ ...s, error: translate("society.browser_live.error_queue_full") }));
return;
}
inputs.current.push({ op, args });
@@ -381,7 +382,7 @@ export function useBrowserView(agentId: string, enabled = true) {
body: JSON.stringify({ approve: allow }),
});
if (!response.ok) {
- setState((s) => ({ ...s, error: "Approval " + response.status }));
+ setState((s) => ({ ...s, error: fill(translate("society.browser_live.error_approval"), { status: response.status }) }));
} else setState((s) => ({ ...s, approval: undefined }));
}, [state.approval]);
return { canvas, state, control, approve };
diff --git a/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx b/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx
index 8dd24382e0..a061dadf94 100644
--- a/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx
@@ -26,7 +26,7 @@ const attachmentState = vi.hoisted(() => ({
restore: vi.fn(),
}));
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, fill: (text: string) => text }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, fill: (text: string) => text, useUiLanguage: () => "en", useI18nStore: { getState: () => ({ ui: "en" }) } }));
vi.mock("./AgentModelPicker", () => ({ AgentModelPicker: () => null }));
vi.mock("@/components/home/VoiceComposer", () => ({ VoiceComposer: () => <div data-testid="voice-composer" /> }));
vi.mock("@/components/home/Greeting", () => ({ Greeting: () => <div>Greeting</div> }));
diff --git a/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.tsx b/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.tsx
index d6cc1e6a10..631d1935df 100644
--- a/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/chat/AgentChatPanel.tsx
@@ -64,7 +64,8 @@ import {
import { AwaitingTurn, MessengerTurn, type MemoryLink } from "@/components/agentchat/MessengerTurn";
import { VoiceStage } from "@/components/home/VoiceStage";
import { ProviderLogo } from "@/components/providers/ProviderLogo";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { societyDisplayName } from "@/lib/societyDisplayName";
import { createAgentChatStore, useAgentChatStore, type AgentChatStoreHook } from "@/store/agentChat";
@@ -767,10 +768,11 @@ export function Transcript({
function TimeStamp({ ms }: { ms: number }) {
const t = useT();
+ const locale = useRunLocale();
const date = new Date(ms);
const today = new Date().toDateString() === date.toDateString();
- const time = date.toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" });
- const day = today ? t("society.chat.today") : date.toLocaleDateString(undefined, { day: "2-digit", month: "short" });
+ const time = date.toLocaleTimeString(locale, { hour: "2-digit", minute: "2-digit" });
+ const day = today ? t("society.chat.today") : date.toLocaleDateString(locale, { day: "2-digit", month: "short" });
return <p className="my-4 text-center text-[11px] text-muted-foreground">{`${day} ${time}`}</p>;
}
@@ -843,7 +845,7 @@ export function NoticeLine({ item }: { item: NoticeItem }) {
}
/** One human-readable line per proposal kind, read off the typed payload. */
-function proposalDetail(kind: string, payload: Record<string, unknown>): string {
+function proposalDetail(kind: string, payload: Record<string, unknown>, t: (key: string) => string): string {
const list = (v: unknown): string => (Array.isArray(v) ? v.map(String).join(", ") : "");
switch (kind) {
case "rule":
@@ -859,8 +861,8 @@ function proposalDetail(kind: string, payload: Record<string, unknown>): string
}
case "approval_rule": {
const parts: string[] = [];
- if (list(payload.require_approval)) parts.push(`ask first: ${list(payload.require_approval)}`);
- if (list(payload.always_allow)) parts.push(`always allow: ${list(payload.always_allow)}`);
+ if (list(payload.require_approval)) parts.push(fill(t("society.chat.proposal_ask_first"), { tools: list(payload.require_approval) }));
+ if (list(payload.always_allow)) parts.push(fill(t("society.chat.proposal_always_allow"), { tools: list(payload.always_allow) }));
return parts.join(" · ");
}
case "focus":
@@ -892,7 +894,7 @@ function ProposalCard({ item }: { item: NoticeItem }) {
const summary = String(item.data.summary ?? item.text);
const reason = String(item.data.reason ?? "");
const payload = (item.data.payload ?? {}) as Record<string, unknown>;
- const detail = proposalDetail(kind, payload);
+ const detail = proposalDetail(kind, payload, t);
const outcome = item.text.includes("\n") ? item.text.slice(item.text.indexOf("\n") + 1) : "";
// A team offer is a pick list: everyone is proposed, the person keeps the
// ones they want and the picked names ride along in the decision's note.
diff --git a/jarvis/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx b/jarvis/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx
index 4bbd14344b..46162d01be 100644
--- a/jarvis/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx
@@ -13,7 +13,7 @@ import { setJarvisCardMode } from "./AgentChatPanel";
import type { AgentChatSession } from "@/lib/agentChatApi";
import type { ConversationSummary } from "@/store/events";
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key }));
+vi.mock("@/i18n", () => ({ useT: () => (key: string) => key, useI18nStore: { getState: () => ({ ui: "en" }) } }));
vi.mock("./AgentChatPanel", () => ({ setJarvisCardMode: vi.fn() }));
class FakeSocket {
diff --git a/jarvis/ui/web/frontend/src/components/society/companion/accessories.test.tsx b/jarvis/ui/web/frontend/src/components/society/companion/accessories.test.tsx
index 6988794d4c..edf95959a1 100644
--- a/jarvis/ui/web/frontend/src/components/society/companion/accessories.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/companion/accessories.test.tsx
@@ -3,6 +3,7 @@ import { render } from "@testing-library/react";
import en from "@/i18n/locales/society/en.json";
import de from "@/i18n/locales/society/de.json";
import es from "@/i18n/locales/society/es.json";
+import pt from "@/i18n/locales/society/pt.json";
import { AgentSymbol } from "../AgentSymbol";
import {
ACCESSORY_CATALOG, ACCESSORY_IDS_BY_SLOT, ACCESSORY_ITEMS, ACCESSORY_SLOTS, OFFERED_SLOTS, randomAccessories, resolveFill,
@@ -14,7 +15,7 @@ type Labels = { society: { companion: { items: Record<string, string>; slots: Re
describe("agent symbol accessories", () => {
it("labels every item and slot in every society locale", () => {
- for (const locale of [en, de, es] as unknown as Labels[]) {
+ for (const locale of [en, de, es, pt] as unknown as Labels[]) {
const { items, slots } = locale.society.companion;
expect(Object.keys(items).sort()).toEqual(ACCESSORY_ITEMS.map(item => item.id).sort());
expect(Object.keys(slots).sort()).toEqual([...ACCESSORY_SLOTS].sort());
diff --git a/jarvis/ui/web/frontend/src/components/society/data.ts b/jarvis/ui/web/frontend/src/components/society/data.ts
index 0cfb553fdf..a72f1d2c75 100644
--- a/jarvis/ui/web/frontend/src/components/society/data.ts
+++ b/jarvis/ui/web/frontend/src/components/society/data.ts
@@ -22,9 +22,10 @@ import { useCreateAgentDialog } from "./create/createAgentStore";
import { NEUTRAL_ASSISTANT_NAME } from "@/lib/assistantNameCache";
import { useEventStore } from "@/store/events";
+import { translate } from "@/i18n";
import { PALETTE_PRESETS, resolvePalette, type FigureRecipe } from "./figures/figureRecipe";
-import { SAMPLE_ROSTER } from "./mockRoster";
+import { localizeSampleRoster, SAMPLE_ROSTER } from "./mockRoster";
import { beginRetirement, retirementRunning, retirementStageMounted } from "./world/retireStore";
import { announceSpawn } from "./world/spawnStore";
@@ -209,6 +210,12 @@ function paletteFor(figure: FigureRecipe | null): AgentPalette {
return { primary: p.primary, secondary: p.secondary, accent: p.accent };
}
+/** Provider labels that are words, not brand names: translated when a row is read. */
+const PROVIDER_LABEL_KEYS: Record<string, string> = {
+ ollama: "society.provider_label.ollama",
+ "local-openai": "society.provider_label.local_server",
+};
+
const PROVIDER_LABELS: Record<string, string> = {
anthropic: "Anthropic",
openai: "OpenAI",
@@ -218,8 +225,6 @@ const PROVIDER_LABELS: Record<string, string> = {
groq: "Groq",
mistral: "Mistral",
deepseek: "DeepSeek",
- ollama: "Ollama (local)",
- "local-openai": "Local server",
"claude-api": "Anthropic Claude",
"openai-codex": "OpenAI Codex",
grok: "xAI Grok",
@@ -227,6 +232,11 @@ const PROVIDER_LABELS: Record<string, string> = {
nvidia: "NVIDIA NIM",
};
+function providerLabelFor(provider: string): string {
+ const key = PROVIDER_LABEL_KEYS[provider];
+ return key ? translate(key) : PROVIDER_LABELS[provider] ?? provider;
+}
+
export function rowToAgent(row: SocietyAgentRow): SocietyAgent {
const tier = row.tier as AgentTier;
// A new agent's avatar may hold only its companion (the backend's random
@@ -246,7 +256,7 @@ export function rowToAgent(row: SocietyAgentRow): SocietyAgent {
description: row.description,
tier,
provider: row.provider,
- providerLabel: row.provider ? (PROVIDER_LABELS[row.provider] ?? row.provider) : "",
+ providerLabel: row.provider ? providerLabelFor(row.provider) : "",
model: row.model,
accountId: row.account_id,
computerId: row.computer_id ?? null,
@@ -303,7 +313,7 @@ async function fetchSocietyRoster(): Promise<RosterData> {
} catch {
// Unreachable backend: the sample roster below says so on the rail.
}
- const rows = [...SAMPLE_ROSTER].filter((a) => !RETIRED_SAMPLE.has(a.agentId));
+ const rows = [...localizeSampleRoster()].filter((a) => !RETIRED_SAMPLE.has(a.agentId));
return { agents: rows, sample: true };
}
diff --git a/jarvis/ui/web/frontend/src/components/society/mars/MarsScene.tsx b/jarvis/ui/web/frontend/src/components/society/mars/MarsScene.tsx
index 7e638b30a8..4a01a40d99 100644
--- a/jarvis/ui/web/frontend/src/components/society/mars/MarsScene.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/mars/MarsScene.tsx
@@ -138,7 +138,7 @@ function ColonyBlockout({ onSelect, outpostReady, labels }: { onSelect: (id: str
))}
{labels && WORLD.districts.map((district) => (
<Html key={district.id} center position={[district.center[0], district.center[1] + district.landmark_height + 10, district.center[2]]} zIndexRange={[12, 0]} style={{ pointerEvents: "none" }}>
- <div className="mars-district-label"><strong>{district.name}</strong><span>{t(district.id === "communications-outpost" && outpostReady ? "society.mars.reference_pending" : "society.mars.district_blockout")}</span></div>
+ <div className="mars-district-label"><strong>{t(`society.mars.district_${district.id}`)}</strong><span>{t(district.id === "communications-outpost" && outpostReady ? "society.mars.reference_pending" : "society.mars.district_blockout")}</span></div>
</Html>
))}
{labels && <Html center position={[294, 61.8, 74]} zIndexRange={[12, 0]} style={{ pointerEvents: "none" }}>
diff --git a/jarvis/ui/web/frontend/src/components/society/mars/MarsWorldStage.tsx b/jarvis/ui/web/frontend/src/components/society/mars/MarsWorldStage.tsx
index 77a654c8dc..e248c0172c 100644
--- a/jarvis/ui/web/frontend/src/components/society/mars/MarsWorldStage.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/mars/MarsWorldStage.tsx
@@ -165,7 +165,7 @@ export function MarsWorldStage({ topRight, onOpenLedger, onSelectAgent, stationP
{navigation.isError && <p role="status">{t("society.mars.positions_offline")}</p>}
<MarsBackgroundControl />
<p>{t(mode === "player" ? "society.mars.player_help" : "society.mars.orbit_help")}</p>
- <p role="status" aria-live="polite">{selectedBuilding ? `${selectedBuilding.name} — ${t(selectedBuilding.access === "required-interior" ? "society.mars.interior_pending" : "society.mars.access_pending")}` : t("society.mars.placeholder_actor")}</p>
+ <p role="status" aria-live="polite">{selectedBuilding ? `${t(`society.mars.building_${selectedBuilding.id}`)} — ${t(selectedBuilding.access === "required-interior" ? "society.mars.interior_pending" : "society.mars.access_pending")}` : t("society.mars.placeholder_actor")}</p>
{selected === "operations" && onOpenStation && <button type="button" className="mars-use-station" onClick={onOpenStation}>{t("society.mars.station_title")}</button>}
</div>
</section>
diff --git a/jarvis/ui/web/frontend/src/components/society/mockRoster.ts b/jarvis/ui/web/frontend/src/components/society/mockRoster.ts
index 0f49d32849..03fe109635 100644
--- a/jarvis/ui/web/frontend/src/components/society/mockRoster.ts
+++ b/jarvis/ui/web/frontend/src/components/society/mockRoster.ts
@@ -11,6 +11,7 @@
* delegates everything (maintainer direction 2026-09-01). Every row carries
* a figure recipe so the card, the rail and the island agree on the look.
*/
+import { fill, translate } from "@/i18n";
import type { SocietyAgent } from "./data";
import type { FigureRecipe } from "./figures/figureRecipe";
@@ -182,3 +183,34 @@ export const SAMPLE_ROSTER: SocietyAgent[] = [
stats: { runs: 311, totalCostUsd: 0.9, spentTodayUsd: 0.05, lastActiveMs: SAMPLE_LAST_ACTIVE_MS },
},
];
+
+/** Where each sample agent's visible words live; the routine times stay fixed. */
+const SAMPLE_TEXT: Record<string, { name?: string; key: string; at: string }> = {
+ jarvis: { key: "lead", at: "08:00" },
+ scout: { name: "society.sample.scout.name", key: "scout", at: "07:00" },
+ archivist: { name: "society.sample.archivist.name", key: "archivist", at: "23:30" },
+};
+
+/**
+ * Write the sample agents' visible words in the current UI language; the
+ * literals above are only the English defaults (used before the first roster
+ * fetch, and by tests that import the rows). The rows are updated in place:
+ * callers recognise a sample row by identity (`SAMPLE_ROSTER.includes(agent)`),
+ * so they must stay the same objects.
+ */
+export function localizeSampleRoster(): SocietyAgent[] {
+ for (const agent of SAMPLE_ROSTER) {
+ const text = SAMPLE_TEXT[agent.agentId];
+ if (!text) continue;
+ if (text.name) agent.name = translate(text.name);
+ agent.title = translate(`society.sample.${text.key}.title`);
+ agent.description = translate(`society.sample.${text.key}.description`);
+ if (agent.provider === "ollama") agent.providerLabel = translate("society.provider_label.ollama");
+ for (const routine of agent.routines) {
+ routine.label = translate(`society.sample.${text.key}.routine`);
+ routine.schedule = fill(translate("society.sample.daily_at"), { time: text.at });
+ }
+ }
+ return SAMPLE_ROSTER;
+}
+
diff --git a/jarvis/ui/web/frontend/src/components/society/office/AgentsFloorLook.tsx b/jarvis/ui/web/frontend/src/components/society/office/AgentsFloorLook.tsx
index 8297ad7fc7..453d4a12f3 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/AgentsFloorLook.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/AgentsFloorLook.tsx
@@ -12,7 +12,7 @@
import { useEffect, useMemo } from "react";
import type { ThreeEvent } from "@react-three/fiber";
import { AdditiveBlending, MeshBasicMaterial, MeshStandardMaterial, RepeatWrapping, Shape, type Texture } from "three";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { cachedCanvasTexture } from "./canvasMaterials";
import { Box, GEO, MAT, matte, Railing } from "./OfficeFurniture";
import type { Department, OfficeLayout } from "./officeLayout";
@@ -366,7 +366,7 @@ function tambourMaterial(width: number): MeshStandardMaterial {
}
/** Ink letters on a transparent ground: the department's name, a short rule and "Department 0n" under it. */
-function drawLetters(label: string, number: number, accent: string, ctx: CanvasRenderingContext2D, w: number, h: number): void {
+function drawLetters(label: string, caption: string, accent: string, ctx: CanvasRenderingContext2D, w: number, h: number): void {
ctx.clearRect(0, 0, w, h);
const tracked = (text: string, font: string, y: number, spacing: number, fill: string) => {
ctx.font = font;
@@ -392,15 +392,15 @@ function drawLetters(label: string, number: number, accent: string, ctx: CanvasR
tracked(name, "600 104px Inter, system-ui, -apple-system, 'Segoe UI', sans-serif", 84, 4, AGENTS_SCENE.ink);
ctx.fillStyle = accent;
ctx.fillRect(w / 2 - 44, 154, 88, 5);
- tracked(`DEPARTMENT ${String(number).padStart(2, "0")}`, "600 32px Inter, system-ui, -apple-system, 'Segoe UI', sans-serif", 194, 10, "#5d564e");
+ tracked(caption, "600 32px Inter, system-ui, -apple-system, 'Segoe UI', sans-serif", 194, 10, "#5d564e");
}
const letterMaterials = new Map<string, MeshStandardMaterial>();
-function letterMaterial(label: string, number: number, accent: string): MeshStandardMaterial {
- const key = `${number}:${accent}:${label}`;
+function letterMaterial(label: string, caption: string, accent: string): MeshStandardMaterial {
+ const key = `${caption}:${accent}:${label}`;
let material = letterMaterials.get(key);
if (!material) {
- const map = cachedCanvasTexture(`agents:letters:${key}`, LETTERS.w, LETTERS.h, (ctx, w, h) => drawLetters(label, number, accent, ctx, w, h));
+ const map = cachedCanvasTexture(`agents:letters:${key}`, LETTERS.w, LETTERS.h, (ctx, w, h) => drawLetters(label, caption, accent, ctx, w, h));
material = new MeshStandardMaterial({ color: map ? "#ffffff" : AGENTS_SCENE.ink, map, transparent: true, alphaTest: 0.3, roughness: 0.6 });
letterMaterials.set(key, material);
}
@@ -454,6 +454,8 @@ function DepartmentWall({ label, number, width, position, rug }: {
const plateW = Math.min(3.0, width * 0.5);
const plateH = (plateW * LETTERS.h) / LETTERS.w;
const shelfX = width / 2 - 0.9;
+ const t = useT();
+ const caption = fill(t("society.office.department_n"), { number: String(number).padStart(2, "0") });
return (
<group position={position}>
<Box size={[width, WALL_H, 0.1]} position={[0, WALL_H / 2, -0.02]} material={WALL_MAT.cap} />
@@ -467,7 +469,7 @@ function DepartmentWall({ label, number, width, position, rug }: {
<mesh position={[0, WALL_H - 0.42, 0.035]} material={washMaterial()}>
<planeGeometry args={[width - 0.1, 0.8]} />
</mesh>
- <mesh position={[0, 1.34, 0.04]} material={letterMaterial(label, number, rug.border)}>
+ <mesh position={[0, 1.34, 0.04]} material={letterMaterial(label, caption, rug.border)}>
<planeGeometry args={[plateW, plateH]} />
</mesh>
{shelfX > plateW / 2 + 0.55 && [-shelfX, shelfX].map((x, side) => (
diff --git a/jarvis/ui/web/frontend/src/components/society/office/BreakLounge.tsx b/jarvis/ui/web/frontend/src/components/society/office/BreakLounge.tsx
index 5f85c7faa7..1704212069 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/BreakLounge.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/BreakLounge.tsx
@@ -15,6 +15,7 @@
* one geometry per material, and canvas faces are drawn once and shared.
*/
import { memo } from "react";
+import { useT } from "@/i18n";
import {
BoxGeometry, BufferGeometry, CylinderGeometry, DoubleSide, Euler, Matrix4, MeshBasicMaterial, MeshStandardMaterial, Quaternion,
SphereGeometry, Vector3,
@@ -176,7 +177,7 @@ function drawKilim(ctx: Ctx, w: number, h: number): void {
}
/** A dark game mat of pixel invaders and stars in front of the arcade. */
-function drawPixelMat(ctx: Ctx, w: number, h: number): void {
+function drawPixelMat(ctx: Ctx, w: number, h: number, player: string): void {
const rand = lcg(77);
ctx.fillStyle = "#16142a";
ctx.fillRect(0, 0, w, h);
@@ -200,7 +201,7 @@ function drawPixelMat(ctx: Ctx, w: number, h: number): void {
ctx.fillStyle = "#ffffff";
ctx.font = "700 30px ui-monospace, 'Cascadia Mono', monospace";
ctx.textAlign = "center";
- ctx.fillText("PLAYER 1", w / 2, h - 34);
+ ctx.fillText(player, w / 2, h - 34, w - 40);
}
/** Neon tubes on a transparent sheet: a soft halo under a bright core. */
@@ -209,7 +210,13 @@ function drawNeon(text: string, colour: string) {
ctx.clearRect(0, 0, w, h);
ctx.textAlign = "center";
ctx.textBaseline = "middle";
- ctx.font = "italic 600 132px 'Segoe Script', 'Brush Script MT', 'Snell Roundhand', cursive";
+ // Shrink the script until a longer translation still fits between the board's edges.
+ let px = 132;
+ ctx.font = `italic 600 ${px}px 'Segoe Script', 'Brush Script MT', 'Snell Roundhand', cursive`;
+ while (px > 48 && ctx.measureText(text).width > w * 0.86) {
+ px -= 6;
+ ctx.font = `italic 600 ${px}px 'Segoe Script', 'Brush Script MT', 'Snell Roundhand', cursive`;
+ }
ctx.lineJoin = "round";
ctx.shadowColor = colour;
ctx.shadowBlur = 44;
@@ -386,7 +393,7 @@ function drawWeave(ctx: Ctx, w: number, h: number): void {
const faces = {
kilim: () => canvasMaterial("break:kilim", 1024, 832, drawKilim, { fallback: "#efe4d0", roughness: 1 }),
- pixelMat: () => canvasMaterial("break:pixel-mat", 256, 280, drawPixelMat, { glow: 0.25, fallback: "#16142a", roughness: 1 }),
+ pixelMat: (player: string) => canvasMaterial(`break:pixel-mat:${player}`, 256, 280, (ctx, w, h) => drawPixelMat(ctx, w, h, player), { glow: 0.25, fallback: "#16142a", roughness: 1 }),
arches: () => canvasMaterial("break:print-arches", 160, 200, drawArches, { fallback: "#f4eee3", roughness: 0.8 }),
sunset: () => canvasMaterial("break:print-sunset", 240, 300, drawSunset, { fallback: "#f3d9b8", roughness: 0.8 }),
botanical: () => canvasMaterial("break:print-botanical", 160, 200, drawBotanical, { fallback: "#efe9dc", roughness: 0.8 }),
@@ -399,13 +406,15 @@ const faces = {
};
/** The neon sign glows on its own and lets the wall show through between the tubes. */
-let neonMaterial: MeshBasicMaterial | null = null;
-function neon(): MeshBasicMaterial {
+const neonMaterials = new Map<string, MeshBasicMaterial>();
+function neon(text: string): MeshBasicMaterial {
+ let neonMaterial = neonMaterials.get(text);
if (!neonMaterial) {
- const map = cachedCanvasTexture("break:neon", 1024, 300, drawNeon("take five", "#ff6f91"));
+ const map = cachedCanvasTexture(`break:neon:${text}`, 1024, 300, drawNeon(text, "#ff6f91"));
neonMaterial = map
? new MeshBasicMaterial({ map, transparent: true, depthWrite: false, toneMapped: false })
: new MeshBasicMaterial({ color: "#ff6f91", transparent: true, opacity: 0, depthWrite: false });
+ neonMaterials.set(text, neonMaterial);
}
return neonMaterial;
}
@@ -702,9 +711,10 @@ function BreakRug({ w, d }: { w: number; d: number }) {
/** The pixel game mat in front of the arcade, with a violet glow strip along its edge. */
function ArcadeMat({ w, d }: { w: number; d: number }) {
+ const t = useT();
return (
<group>
- <Box size={[w, 0.012, d]} position={[0, 0.006, 0]} material={faces.pixelMat()} cast={false} />
+ <Box size={[w, 0.012, d]} position={[0, 0.006, 0]} material={faces.pixelMat(t("society.office.break_player_one"))} cast={false} />
<Box size={[0.02, 0.006, d - 0.04]} position={[-w / 2 + 0.03, 0.015, 0]} material={BM.pixelGlow} cast={false} />
</group>
);
@@ -951,6 +961,7 @@ export const BreakLoungeFittings = memo(function BreakLoungeFittings({ room, fur
const table = furniture.find((f) => f.kind === "breakTable");
const bar = furniture.find((f) => f.kind === "coffeeBar" && f.room === "break");
const wallX = room.minX + 0.075;
+ const t = useT();
return (
<group>
{table && (
@@ -965,7 +976,7 @@ export const BreakLoungeFittings = memo(function BreakLoungeFittings({ room, fur
<Box size={[1.5, 0.5, 0.03]} position={[0, 1.6, 0]} material={BM.oak} />
<Box size={[1.44, 0.44, 0.006]} position={[0, 1.6, 0.016]} material={BM.sagePaint} cast={false} />
<Box size={[1.36, 0.4, 0.01]} position={[0, 1.6, 0.03]} material={BM.acrylic} cast={false} />
- <Panel size={[1.36, 0.4]} position={[0, 1.6, 0.036]} material={neon()} />
+ <Panel size={[1.36, 0.4]} position={[0, 1.6, 0.036]} material={neon(t("society.office.break_neon"))} />
</group>
)}
{/* West wall: a gallery of three prints south of the door, a clock north of it. */}
diff --git a/jarvis/ui/web/frontend/src/components/society/office/CodingFloorLook.tsx b/jarvis/ui/web/frontend/src/components/society/office/CodingFloorLook.tsx
index e0e3ae963c..a1a208bb90 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/CodingFloorLook.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/CodingFloorLook.tsx
@@ -11,7 +11,7 @@
import { useEffect, useMemo } from "react";
import type { ThreeEvent } from "@react-three/fiber";
import { AdditiveBlending, MeshBasicMaterial, MeshStandardMaterial, RepeatWrapping, type Texture } from "three";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import type { SocietyAgent } from "../data";
import { cachedCanvasTexture } from "./canvasMaterials";
import { DeskInstances, type DeskTone } from "./DeskInstances";
@@ -287,7 +287,7 @@ function slatMaterial(width: number): MeshStandardMaterial {
}
/** Brass letters on a transparent ground: the department's name, and "Studio 0n" in small caps under it. */
-function drawLetters(label: string, number: number, ctx: CanvasRenderingContext2D, w: number, h: number): void {
+function drawLetters(label: string, caption: string, ctx: CanvasRenderingContext2D, w: number, h: number): void {
ctx.clearRect(0, 0, w, h);
const tracked = (text: string, font: string, y: number, spacing: number, fill: string | CanvasGradient) => {
ctx.font = font;
@@ -320,15 +320,15 @@ function drawLetters(label: string, number: number, ctx: CanvasRenderingContext2
tracked(name.toUpperCase(), "600 100px Georgia, 'Times New Roman', serif", 86, 12, gold);
ctx.fillStyle = CODING_SCENE.brass;
ctx.fillRect(w / 2 - 70, 156, 140, 3);
- tracked(`STUDIO ${String(number).padStart(2, "0")}`, "600 36px system-ui, -apple-system, 'Segoe UI', sans-serif", 194, 12, "#ecdcb9");
+ tracked(caption, "600 36px system-ui, -apple-system, 'Segoe UI', sans-serif", 194, 12, "#ecdcb9");
}
const letterMaterials = new Map<string, MeshStandardMaterial>();
-function letterMaterial(label: string, number: number): MeshStandardMaterial {
- const key = `${number}:${label}`;
+function letterMaterial(label: string, caption: string): MeshStandardMaterial {
+ const key = `${caption}:${label}`;
let material = letterMaterials.get(key);
if (!material) {
- const map = cachedCanvasTexture(`coding:letters:${key}`, LETTERS.w, LETTERS.h, (ctx, w, h) => drawLetters(label, number, ctx, w, h));
+ const map = cachedCanvasTexture(`coding:letters:${key}`, LETTERS.w, LETTERS.h, (ctx, w, h) => drawLetters(label, caption, ctx, w, h));
material = new MeshStandardMaterial({
color: map ? "#ffffff" : CODING_SCENE.brass, map, transparent: true, alphaTest: 0.3, roughness: 0.35, metalness: 0.3,
// Lit by the picture light above: a faint glow keeps the brass readable in any light.
@@ -383,6 +383,8 @@ function StudioWall({ label, number, width, position, accent }: {
const plateW = Math.min(3.2, width * 0.52);
const plateH = (plateW * LETTERS.h) / LETTERS.w;
const ledgeX = width / 2 - 0.9;
+ const t = useT();
+ const caption = fill(t("society.office.studio_n"), { number: String(number).padStart(2, "0") });
return (
<group position={position}>
<Box size={[width, WALL_H, 0.1]} position={[0, WALL_H / 2, -0.02]} material={STUDIO_MAT.frame} />
@@ -394,7 +396,7 @@ function StudioWall({ label, number, width, position, accent }: {
<mesh position={[0, 1.36, 0.035]} material={washMaterial()}>
<planeGeometry args={[plateW * 1.1, 0.6]} />
</mesh>
- <mesh position={[0, 1.34, 0.04]} material={letterMaterial(label, number)}>
+ <mesh position={[0, 1.34, 0.04]} material={letterMaterial(label, caption)}>
<planeGeometry args={[plateW, plateH]} />
</mesh>
{/* The brass picture light on two short arms, its lit underside facing the letters. */}
diff --git a/jarvis/ui/web/frontend/src/components/society/office/CommandOffice.tsx b/jarvis/ui/web/frontend/src/components/society/office/CommandOffice.tsx
index 0e59f73d1f..d434b2099c 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/CommandOffice.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/CommandOffice.tsx
@@ -19,6 +19,7 @@ import { Html } from "@react-three/drei";
import { useFrame, type ThreeEvent } from "@react-three/fiber";
import { CanvasTexture, CylinderGeometry, MeshBasicMaterial, MeshStandardMaterial, Quaternion, SRGBColorSpace, Vector3, type Group } from "three";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useWorkspacePanesStore } from "@/store/workspacePanes";
import type { AgentRunState } from "../data";
import { Box, MAT, matte, Rounded } from "./OfficeFurniture";
@@ -247,13 +248,14 @@ function useLiveScreen(width: number, height: number, key: string, draw: (ctx: C
/** Minutes change the clock; a timer ticks it without any network. */
function useClock(): string {
const active = useContext(CanvasActivity);
+ const locale = useRunLocale();
const [now, setNow] = useState(() => new Date());
useEffect(() => {
if (!active) return;
const timer = setInterval(() => setNow(new Date()), 20_000);
return () => clearInterval(timer);
}, [active]);
- return now.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
+ return now.toLocaleTimeString(locale, { hour: "2-digit", minute: "2-digit" });
}
/** Opening Mission Control from anything in the office that is clicked. */
diff --git a/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.test.tsx b/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.test.tsx
index 13a4b3b817..c4430aa619 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.test.tsx
@@ -6,11 +6,18 @@
* wordmark sign looked off-brand. A recording 2D context captures
* every font the face sets and every line of text it draws.
*/
-import { afterAll, beforeAll, describe, expect, it } from "vitest";
+import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
import type { ReactElement } from "react";
import { PRODUCT_NAME } from "@/lib/branding";
import { LOBBY_RENDERERS } from "./LobbyDecor";
+// The component is called as a plain function below, so `useT` must not be a real hook.
+vi.mock("@/i18n", async () => {
+ const { default: en } = await import("@/i18n/locales/society/en.json");
+ const lookup = (key: string) => key.split(".").reduce<unknown>((value, part) => (value as Record<string, unknown>)?.[part], en);
+ return { useT: () => (key: string) => (typeof lookup(key) === "string" ? lookup(key) as string : key) };
+});
+
const fonts: string[] = [];
const texts: string[] = [];
diff --git a/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.tsx b/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.tsx
index 51b54ebb6e..44a131d7da 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/LobbyDecor.tsx
@@ -14,6 +14,7 @@
* one geometry per material, and canvas faces are drawn once and shared.
*/
import { memo } from "react";
+import { useT } from "@/i18n";
import { PRODUCT_NAME } from "@/lib/branding";
import {
BoxGeometry, BufferGeometry, ConeGeometry, CylinderGeometry, DoubleSide, Euler, ExtrudeGeometry, Matrix4,
@@ -231,7 +232,7 @@ function drawGhostHalo(ctx: Ctx, w: number, h: number, colour: string, blur: num
* by the cove light, a warm halo where the ghost stands off it, and the
* wordmark and strapline in ink between brass rules.
*/
-function drawBrandFace(ctx: Ctx, w: number, h: number): void {
+function drawBrandFace(ctx: Ctx, w: number, h: number, strapline: string): void {
const wash = ctx.createLinearGradient(0, 0, 0, h);
wash.addColorStop(0, "#b7c4ad");
wash.addColorStop(0.45, "#a9b89e");
@@ -271,8 +272,8 @@ function drawBrandFace(ctx: Ctx, w: number, h: number): void {
spaced(ctx, w * 0.011);
ctx.font = BRAND_FONTS[1];
ctx.fillStyle = "rgba(27,33,30,0.82)";
- ctx.fillText("AGENT HEADQUARTERS", w / 2 + w * 0.008, strap);
- const half = ctx.measureText("AGENT HEADQUARTERS").width / 2;
+ ctx.fillText(strapline, w / 2 + w * 0.008, strap);
+ const half = ctx.measureText(strapline).width / 2;
const rule = w * 0.07, gap = w * 0.03;
ctx.fillStyle = "#9c7a43";
ctx.fillRect(w / 2 - half - gap - rule, strap - 1.5, rule, 3);
@@ -288,7 +289,9 @@ function drawBrandGlow(ctx: Ctx, w: number, h: number): void {
}
/** The Agent board totem's portrait screen: the ghost header, team counts, agent cards and the add button. */
-function drawTotem(ctx: Ctx, w: number, h: number): void {
+interface TotemLabels { title: string; hint: string; add: string }
+
+function drawTotem(ctx: Ctx, w: number, h: number, labels: TotemLabels): void {
const bg = ctx.createLinearGradient(0, 0, 0, h);
bg.addColorStop(0, "#1f2925");
bg.addColorStop(1, "#121816");
@@ -299,10 +302,10 @@ function drawTotem(ctx: Ctx, w: number, h: number): void {
ctx.fillStyle = "#f1ebe1";
ctx.textBaseline = "middle";
ctx.font = `700 44px ${FONT}`;
- ctx.fillText("Agent board", 138, 72);
+ ctx.fillText(labels.title, 138, 72);
ctx.fillStyle = "rgba(241,235,225,0.55)";
ctx.font = `500 24px ${FONT}`;
- ctx.fillText("Tap to manage your team", 138, 110);
+ ctx.fillText(labels.hint, 138, 110);
ctx.fillStyle = C.sage;
ctx.fillRect(40, 148, w - 80, 3);
// Three counts: working, waiting, idle.
@@ -342,7 +345,7 @@ function drawTotem(ctx: Ctx, w: number, h: number): void {
ctx.fillStyle = "#16201b";
ctx.font = `700 32px ${FONT}`;
ctx.textAlign = "center";
- ctx.fillText("+ New agent", w / 2, h - 73);
+ ctx.fillText(`+ ${labels.add}`, w / 2, h - 73);
ctx.textAlign = "left";
}
@@ -414,19 +417,24 @@ const OBLIQUE_ANISOTROPY = 16;
* the halo as its emissive map so the light behind the ghost glows in any
* scene lighting. Sage where no canvas exists.
*/
-let brandFace: MeshStandardMaterial | null = null;
-function brandFaceMaterial(): MeshStandardMaterial {
- if (brandFace) return brandFace;
+/** One face per strapline, so a language switch paints a new one. */
+const brandFaces = new Map<string, MeshStandardMaterial>();
+function brandFaceMaterial(strapline: string): MeshStandardMaterial {
+ const cached = brandFaces.get(strapline);
+ if (cached) return cached;
const w = BRAND_FACE.px, h = Math.round((BRAND_FACE.px * BRAND_FACE.h) / BRAND_FACE.w);
- const map = cachedCanvasTexture("lobby:brand-face", w, h, drawBrandFace);
+ const key = `lobby:brand-face:${strapline}`;
+ const draw = (ctx: Ctx, cw: number, ch: number) => drawBrandFace(ctx, cw, ch, strapline);
+ const map = cachedCanvasTexture(key, w, h, draw);
const glow = cachedCanvasTexture("lobby:brand-glow", w / 4, h / 4, drawBrandGlow);
if (map) map.anisotropy = OBLIQUE_ANISOTROPY;
- redrawWhenFontsLoad("lobby:brand-face", map, BRAND_FONTS, drawBrandFace);
- brandFace = new MeshStandardMaterial({
+ redrawWhenFontsLoad(key, map, BRAND_FONTS, draw);
+ const material = new MeshStandardMaterial({
color: map ? "#ffffff" : C.sage, map, roughness: 0.92,
emissive: glow ? "#ffffff" : "#000000", emissiveMap: glow, emissiveIntensity: 0.7,
});
- return brandFace;
+ brandFaces.set(strapline, material);
+ return material;
}
/** A canvas material whose text waits for the interface face (see `FONT`). */
@@ -446,7 +454,8 @@ function matMaterial(): MeshStandardMaterial {
const faces = {
brand: brandFaceMaterial,
- totem: () => typedCanvasMaterial("lobby:totem", 512, 1024, drawTotem, [`700 44px ${FONT}`, `500 24px ${FONT}`],
+ totem: (labels: TotemLabels) => typedCanvasMaterial(`lobby:totem:${labels.title}|${labels.hint}|${labels.add}`, 512, 1024,
+ (ctx, w, h) => drawTotem(ctx, w, h, labels), [`700 44px ${FONT}`, `500 24px ${FONT}`],
{ glow: 0.9, fallback: "#1a2320", roughness: 0.3 }),
mat: matMaterial,
rug: () => canvasMaterial("lobby:rug", 512, 320, drawLobbyRug, { fallback: "#e8dfcf", roughness: 1 }),
@@ -532,6 +541,7 @@ const OLIVE_GEOMETRIES: BufferGeometry[] = (() => {
* over the wordmark and strapline printed on the plaster face.
*/
function BrandWall() {
+ const t = useT();
const w = BRAND.w;
const ghost = { y: BRAND_GHOST.hem, size: BRAND_GHOST.size, z: BRAND_GHOST.z };
const front = BRAND_PANEL.z + BRAND_PANEL.d / 2;
@@ -544,7 +554,7 @@ function BrandWall() {
<Box size={[w - 0.1, 0.008, 0.02]} position={[0, 2.836, 0.12]} material={LM.led} cast={false} />
{/* The sage panel, its plaster face with the type, and its brass fins. */}
<Rounded size={[BRAND_PANEL.w, BRAND_PANEL.h, BRAND_PANEL.d]} radius={0.02} position={[0, BRAND_PANEL.y, BRAND_PANEL.z]} material={LM.sage} />
- <mesh position={[0, BRAND_PANEL.y, front + 0.0006]} material={faces.brand()} receiveShadow>
+ <mesh position={[0, BRAND_PANEL.y, front + 0.0006]} material={faces.brand(t("society.office.lobby_strapline"))} receiveShadow>
<planeGeometry args={[BRAND_FACE.w, BRAND_FACE.h]} />
</mesh>
{[-0.99, 0.99].map((x) => <Box key={x} size={[0.025, 2.36, 0.07]} position={[x, BRAND_PANEL.y, 0.055]} material={LM.fin} />)}
@@ -577,6 +587,8 @@ function BrandWall() {
* in brass on top and an oak plinth.
*/
function AgentTotem() {
+ const t = useT();
+ const labels: TotemLabels = { title: t("society.office.cp_manage"), hint: t("society.office.lobby_board_hint"), add: t("society.office.lobby_new_agent") };
return (
<group>
<Rounded size={[0.88, 0.06, 0.48]} radius={0.02} position={[0, 0.03, 0]} material={LM.oakDark} />
@@ -587,7 +599,7 @@ function AgentTotem() {
<Box size={[0.008, 1.7, 0.006]} position={[x, 1.1, 0.072]} material={LM.led} cast={false} />
</group>
))}
- <Panel size={[0.66, 1.32]} position={[0, 1.2, 0.0405]} material={faces.totem()} />
+ <Panel size={[0.66, 1.32]} position={[0, 1.2, 0.0405]} material={faces.totem(labels)} />
<Box size={[0.66, 0.01, 0.01]} position={[0, 1.9, 0.045]} material={LM.brass} cast={false} />
<Box size={[0.4, 0.035, 0.004]} position={[0, 0.34, 0.041]} material={LM.bronze} cast={false} />
<mesh geometry={GHOST_GEOMETRY} material={LM.brass} position={[0, 1.92, -0.03]} scale={[0.1, 0.1, 0.6]} castShadow />
diff --git a/jarvis/ui/web/frontend/src/components/society/office/OfficeProps.tsx b/jarvis/ui/web/frontend/src/components/society/office/OfficeProps.tsx
index a99271cef5..c33895eb57 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/OfficeProps.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/OfficeProps.tsx
@@ -9,6 +9,7 @@
* canvas textures are module-level singletons shared by every copy.
*/
import { memo } from "react";
+import { useT } from "@/i18n";
import { CylinderGeometry, MeshStandardMaterial, SphereGeometry } from "three";
import { canvasMaterial } from "./canvasMaterials";
import { LEAD_RENDERERS } from "./LeadSuite";
@@ -227,14 +228,14 @@ function drawMirror(ctx: CanvasRenderingContext2D, w: number, h: number): void {
}
/** Coffee menu chalkboard. */
-function drawMenu(ctx: CanvasRenderingContext2D, w: number, h: number): void {
+function drawMenu(ctx: CanvasRenderingContext2D, w: number, h: number, title: string): void {
ctx.fillStyle = P.chalkboard;
ctx.fillRect(0, 0, w, h);
ctx.fillStyle = "#f8fafc";
ctx.font = "700 36px system-ui, -apple-system, 'Segoe UI', sans-serif";
ctx.textAlign = "center";
ctx.textBaseline = "middle";
- ctx.fillText("MENU", w / 2, 34);
+ ctx.fillText(title, w / 2, 34, w - 24);
for (let i = 0; i < 4; i += 1) {
const y = 78 + i * 28;
ctx.fillStyle = "rgba(248,250,252,0.8)";
@@ -278,7 +279,7 @@ const lazy = {
arcade: () => canvasMaterial("prop:arcade", 256, 200, drawArcade, { glow: 1, fallback: "#07060f", roughness: 0.4 }),
indicator: () => canvasMaterial("prop:indicator", 128, 48, drawIndicator, { glow: 0.9, fallback: "#111318", roughness: 0.4 }),
mirror: () => canvasMaterial("prop:mirror", 128, 256, drawMirror, { glow: 0.25, fallback: P.mirror, roughness: 0.1 }),
- menu: () => canvasMaterial("prop:menu", 256, 192, drawMenu, { glow: 0.15, fallback: P.chalkboard, roughness: 0.9 }),
+ menu: (title: string) => canvasMaterial(`prop:menu:${title}`, 256, 192, (ctx, w, h) => drawMenu(ctx, w, h, title), { glow: 0.15, fallback: P.chalkboard, roughness: 0.9 }),
};
const PGEO = {
@@ -425,6 +426,7 @@ function Mirror() {
/** Coffee counter with an espresso machine, cups and a small menu board; service side faces +z. */
function CoffeeBar() {
+ const t = useT();
return (
<group>
<Rounded size={[2.4, 0.68, 0.62]} radius={0.04} position={[0, 0.34, 0.03]} material={MAT.deskBody} />
@@ -447,7 +449,7 @@ function CoffeeBar() {
{/* Menu board leaning back on the counter. */}
<group position={[0.92, 0.72, -0.18]} rotation={[-0.18, 0, 0]}>
<Box size={[0.44, 0.33, 0.02]} position={[0, 0.165, -0.005]} material={MAT.wood} />
- <Panel size={[0.38, 0.28]} position={[0, 0.165, 0.0055]} material={lazy.menu()} />
+ <Panel size={[0.38, 0.28]} position={[0, 0.165, 0.0055]} material={lazy.menu(t("society.office.coffee_menu"))} />
</group>
</group>
);
diff --git a/jarvis/ui/web/frontend/src/components/society/office/ServerRoom.tsx b/jarvis/ui/web/frontend/src/components/society/office/ServerRoom.tsx
index 6e76d76257..c636a04a74 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/ServerRoom.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/ServerRoom.tsx
@@ -20,6 +20,8 @@ import { useContext, useEffect, useMemo, useRef, useState } from "react";
import { CanvasActivity } from "@/hooks/useCanvasAwake";
import { useCanvasInterval } from "@/hooks/useCanvasInterval";
import { useFrame } from "@react-three/fiber";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
CanvasTexture, Color, CylinderGeometry, InstancedMesh, MeshBasicMaterial, MeshStandardMaterial, Object3D,
RepeatWrapping, SphereGeometry, SRGBColorSpace, TorusGeometry, type Texture,
@@ -718,9 +720,9 @@ export function ideSpendFrom(summary: CostSummary | undefined, days: number): Id
};
}
-/** $1,234 · $12.30 · $0.042: whole dollars once it is large, cents below. Pure. */
-export function formatUsd(v: number): string {
- if (v >= 1000) return `$${Math.round(v).toLocaleString("en-US")}`;
+/** $1,234 · $12.30 · $0.042: whole dollars once it is large, cents below, grouped for `locale`. Pure. */
+export function formatUsd(v: number, locale = "en-US"): string {
+ if (v >= 1000) return `$${Math.round(v).toLocaleString(locale)}`;
if (v >= 1) return `$${v.toFixed(2)}`;
if (v > 0) return `$${v.toFixed(3)}`;
return "$0";
@@ -734,7 +736,14 @@ export function formatCount(v: number): string {
return String(Math.round(v));
}
-function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null, failed: boolean): void {
+/** The status wall's words and its locale, resolved by the component that draws it. */
+interface StatusWallLabels {
+ locale: string; spend: string; days: string; na: string; cost: string; billed: string; tokens: string; sessions: string;
+ peak: string; empty: string; unavailable: string; loading: string; topModels: string;
+}
+
+function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null, failed: boolean, l: StatusWallLabels): void {
+ const usd = (v: number) => formatUsd(v, l.locale);
ctx.fillStyle = SCREEN_BG;
ctx.fillRect(0, 0, w, h);
ctx.fillStyle = "#5eead4";
@@ -747,17 +756,17 @@ function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null,
const titleW = ctx.measureText("AGENTIC IDE").width;
ctx.fillStyle = "#8fa3ba";
ctx.font = FONT(30);
- ctx.fillText(`SPEND · ${spend ? `${spend.days}D` : "…"}`, 36 + titleW + 24, 52);
+ ctx.fillText(`${l.spend} · ${spend ? fill(l.days, { days: spend.days }) : "…"}`, 36 + titleW + 24, 52);
ctx.textAlign = "right";
ctx.font = FONT(34);
- ctx.fillText(new Date().toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }), w - 36, 50);
+ ctx.fillText(new Date().toLocaleTimeString(l.locale, { hour: "2-digit", minute: "2-digit" }), w - 36, 50);
// KPI tiles: what the IDE's agents cost, what of it an API key paid, tokens, sessions.
- const dash = failed ? "n/a" : "…";
+ const dash = failed ? l.na : "…";
const tiles: [string, string, string][] = [
- ["COST", spend ? formatUsd(spend.cost) : dash, "#5eead4"],
- ["API BILLED", spend ? formatUsd(spend.billed) : dash, "#e8b23a"],
- ["TOKENS", spend ? formatCount(spend.tokens) : dash, "#7dd3fc"],
- ["SESSIONS", spend ? String(spend.sessions) : dash, "#c4b5fd"],
+ [l.cost, spend ? usd(spend.cost) : dash, "#5eead4"],
+ [l.billed, spend ? usd(spend.billed) : dash, "#e8b23a"],
+ [l.tokens, spend ? formatCount(spend.tokens) : dash, "#7dd3fc"],
+ [l.sessions, spend ? spend.sessions.toLocaleString(l.locale) : dash, "#c4b5fd"],
];
const tw = (w - 72 - 3 * 20) / 4;
tiles.forEach(([label, value, colour], i) => {
@@ -769,7 +778,7 @@ function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null,
ctx.textAlign = "left";
ctx.fillStyle = "#8fa3ba";
ctx.font = FONT(24);
- ctx.fillText(label, x + 22, 126);
+ ctx.fillText(label, x + 22, 126, tw - 30);
ctx.fillStyle = colour;
ctx.font = FONT(value.length > 8 ? 46 : 58, 700);
ctx.fillText(value, x + 22, 184);
@@ -793,18 +802,18 @@ function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null,
ctx.textAlign = "left";
ctx.fillStyle = "#8fa3ba";
ctx.font = FONT(20);
- ctx.fillText(`${formatUsd(peak)} / day peak`, cx, cy + ch + 24);
+ ctx.fillText(fill(l.peak, { amount: usd(peak) }), cx, cy + ch + 24);
} else {
ctx.textAlign = "center";
ctx.fillStyle = "#4b5d72";
ctx.font = FONT(26);
- ctx.fillText(spend ? "no spend in this window" : failed ? "spend unavailable" : "loading…", cx + cw / 2, cy + ch / 2);
+ ctx.fillText(spend ? l.empty : failed ? l.unavailable : l.loading, cx + cw / 2, cy + ch / 2);
}
const mx = cx + cw + 40, mw = w - mx - 36;
ctx.textAlign = "left";
ctx.fillStyle = "#8fa3ba";
ctx.font = FONT(22);
- ctx.fillText("TOP MODELS", mx, cy + 8);
+ ctx.fillText(l.topModels, mx, cy + 8);
const models = spend?.models ?? [];
const top = models[0]?.cost || 1;
models.forEach((m, i) => {
@@ -812,7 +821,7 @@ function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null,
ctx.textAlign = "left";
ctx.fillStyle = "#e6f1ff";
ctx.font = FONT(22, 600);
- const cost = formatUsd(m.cost);
+ const cost = usd(m.cost);
const room = mw - ctx.measureText(cost).width - 20;
let name = m.name;
while (name.length > 3 && ctx.measureText(`${name}…`).width > room) name = name.slice(0, -1);
@@ -827,17 +836,17 @@ function drawStatusWall(ctx: Ctx, w: number, h: number, spend: IdeSpend | null,
});
}
-function drawThroughput(ctx: Ctx, w: number, h: number, data: ClusterData, tick: number): void {
+function drawThroughput(ctx: Ctx, w: number, h: number, data: ClusterData, tick: number, net: string, locale: string): void {
ctx.fillStyle = SCREEN_BG;
ctx.fillRect(0, 0, w, h);
ctx.fillStyle = "#7dd3fc";
ctx.font = FONT(26, 700);
ctx.textAlign = "left";
ctx.textBaseline = "middle";
- ctx.fillText("NET Gb/s", 22, 28);
+ ctx.fillText(`${net} Gb/s`, 22, 28);
ctx.textAlign = "right";
ctx.fillStyle = "#e6f1ff";
- ctx.fillText((40 + data.load * 60 + 3 * Math.sin(tick)).toFixed(1), w - 22, 28);
+ ctx.fillText((40 + data.load * 60 + 3 * Math.sin(tick)).toLocaleString(locale, { minimumFractionDigits: 1, maximumFractionDigits: 1 }), w - 22, 28);
drawChart(ctx, 18, 58, w - 36, h - 76, tick, 4.2, 0.3 + data.load * 0.5, "#7dd3fc", "rgba(125,211,252,0.14)");
drawChart(ctx, 18, 58, w - 36, h - 76, tick, 9.1, 0.2 + data.load * 0.3, "#c4b5fd", "rgba(196,181,253,0.08)");
}
@@ -912,8 +921,25 @@ export function StatusWall() {
const spend = ideSpendFrom(summary.data, IDE_SPEND_FILTERS.days);
// The clock in the corner moves once a minute; the numbers when the summary answers.
const tick = useTicker(30_000);
- const screen = useCanvasScreen(1280, Math.round((1280 * WALL.h) / WALL.w), `${tick}:${summary.dataUpdatedAt}:${summary.isError}`,
- (ctx, w, h) => drawStatusWall(ctx, w, h, spend, summary.isError && !spend));
+ const t = useT();
+ const locale = useRunLocale();
+ const labels: StatusWallLabels = {
+ locale,
+ spend: t("society.office.status_spend"),
+ days: t("society.office.status_days"),
+ na: t("society.office.status_na"),
+ cost: t("society.office.status_cost"),
+ billed: t("society.office.status_billed"),
+ tokens: t("society.office.status_tokens"),
+ sessions: t("society.office.status_sessions"),
+ peak: t("society.office.status_peak"),
+ empty: t("society.office.status_empty"),
+ unavailable: t("society.office.status_unavailable"),
+ loading: t("society.office.status_loading"),
+ topModels: t("society.office.status_top_models"),
+ };
+ const screen = useCanvasScreen(1280, Math.round((1280 * WALL.h) / WALL.w), `${tick}:${summary.dataUpdatedAt}:${summary.isError}:${JSON.stringify(labels)}`,
+ (ctx, w, h) => drawStatusWall(ctx, w, h, spend, summary.isError && !spend, labels));
const dive = useMonitorDive("costs", [WALL.w, WALL.h], 0.0155);
return (
<group>
@@ -938,8 +964,11 @@ const MUG = new CylinderGeometry(0.04, 0.036, 0.1, 16);
export function NocConsole() {
const data = useClusterData();
const tick = useTicker(2000);
- const key = `${tick}:${data.load}`;
- const net = useCanvasScreen(MON_CANVAS.w, MON_CANVAS.h, key, (ctx, w, h) => drawThroughput(ctx, w, h, data, tick));
+ const t = useT();
+ const locale = useRunLocale();
+ const netLabel = t("society.office.status_net");
+ const key = `${tick}:${data.load}:${netLabel}:${locale}`;
+ const net = useCanvasScreen(MON_CANVAS.w, MON_CANVAS.h, key, (ctx, w, h) => drawThroughput(ctx, w, h, data, tick, netLabel, locale));
const gpu = useCanvasScreen(MON_CANVAS.w, MON_CANVAS.h, key, (ctx, w, h) => drawThermal(ctx, w, h, data, tick));
const log = useCanvasScreen(MON_CANVAS.w, MON_CANVAS.h, key, (ctx, w, h) => drawLog(ctx, w, h, data, tick));
const monZ = DESK.z - DESK.d / 2 + 0.16;
diff --git a/jarvis/ui/web/frontend/src/components/society/office/SpawnPoint.tsx b/jarvis/ui/web/frontend/src/components/society/office/SpawnPoint.tsx
index 80138dab56..b89b6ab9ce 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/SpawnPoint.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/SpawnPoint.tsx
@@ -16,6 +16,7 @@
*/
import { useEffect, useRef } from "react";
import { useFrame } from "@react-three/fiber";
+import { useT } from "@/i18n";
import {
AdditiveBlending, CylinderGeometry, DoubleSide, MeshBasicMaterial, MeshStandardMaterial, RingGeometry, TorusGeometry,
type BufferGeometry, type Group, type Mesh,
@@ -125,7 +126,10 @@ const FONT = "Inter, 'Segoe UI', system-ui, sans-serif";
const MONO = "'JetBrains Mono', 'Cascadia Code', Consolas, monospace";
/** The screen's header: the floor's mark, SPAWN and a "ready" light on the right. */
-function screenHeader(ctx: Ctx, w: number, look: SpawnLook, mark: (x: number, y: number) => void): void {
+/** The screen's words, translated by the terminal that shows them. */
+interface ScreenLabels { title: string; ready: string; caption: string }
+
+function screenHeader(ctx: Ctx, w: number, look: SpawnLook, labels: ScreenLabels, mark: (x: number, y: number) => void): void {
ctx.fillStyle = "rgba(255,255,255,0.05)";
ctx.fillRect(0, 0, w, 96);
ctx.fillStyle = look.accent;
@@ -136,12 +140,12 @@ function screenHeader(ctx: Ctx, w: number, look: SpawnLook, mark: (x: number, y:
ctx.fillStyle = look.text;
spaced(ctx, 12);
ctx.font = `800 44px ${FONT}`;
- ctx.fillText("SPAWN", 112, 50);
+ ctx.fillText(labels.title, 112, 50, w - 112 - 200);
spaced(ctx, 3);
ctx.font = `700 22px ${FONT}`;
ctx.textAlign = "right";
ctx.fillStyle = "rgba(255,255,255,0.72)";
- ctx.fillText("READY", w - 44, 50);
+ ctx.fillText(labels.ready, w - 44, 50, 80);
ctx.fillStyle = "#4ade80";
ctx.beginPath(); ctx.arc(w - 146, 49, 9, 0, Math.PI * 2); ctx.fill();
ctx.fillStyle = "rgba(74,222,128,0.25)";
@@ -174,13 +178,13 @@ function spawnButton(ctx: Ctx, look: SpawnLook, caption: string, round: boolean)
ctx.textAlign = "center";
spaced(ctx, 5);
ctx.font = `800 30px ${FONT}`;
- ctx.fillText(caption, cx, 520);
+ ctx.fillText(caption, cx, 520, 470);
spaced(ctx, 0);
ctx.textAlign = "left";
}
/** The coding floor's screen: SPAWN, a new-agent button, the terminal windows of the running agents and a prompt. */
-function drawLaunchScreen(ctx: Ctx, w: number, h: number): void {
+function drawLaunchScreen(ctx: Ctx, w: number, h: number, labels: ScreenLabels): void {
const look = SPAWN_LOOKS.coding;
const bg = ctx.createLinearGradient(0, 0, 0, h);
bg.addColorStop(0, look.screenTop);
@@ -194,14 +198,14 @@ function drawLaunchScreen(ctx: Ctx, w: number, h: number): void {
for (let x = 0; x <= w; x += 32) { ctx.moveTo(x + 0.5, 100); ctx.lineTo(x + 0.5, h); }
for (let y = 100; y <= h; y += 32) { ctx.moveTo(0, y + 0.5); ctx.lineTo(w, y + 0.5); }
ctx.stroke();
- screenHeader(ctx, w, look, (x, y) => {
+ screenHeader(ctx, w, look, labels, (x, y) => {
ctx.fillStyle = look.accent;
ctx.font = `800 46px ${MONO}`;
ctx.textBaseline = "middle";
ctx.textAlign = "center";
ctx.fillText(">_", x + 10, y + 2);
});
- spawnButton(ctx, look, "NEW CODING AGENT", false);
+ spawnButton(ctx, look, labels.caption, false);
// Three terminal windows fanning down the right: two running agents and the one about to spawn.
const states = ["#4ade80", "#fbbf24", null] as const;
states.forEach((dot, i) => {
@@ -252,15 +256,15 @@ function drawLaunchScreen(ctx: Ctx, w: number, h: number): void {
}
/** The agents floor's screen: the ghost and SPAWN, a new-agent button, the team with a place for the next one. */
-function drawSpawnScreen(ctx: Ctx, w: number, h: number): void {
+function drawSpawnScreen(ctx: Ctx, w: number, h: number, labels: ScreenLabels): void {
const look = SPAWN_LOOKS.agents;
const bg = ctx.createLinearGradient(0, 0, 0, h);
bg.addColorStop(0, look.screenTop);
bg.addColorStop(1, look.screenBottom);
ctx.fillStyle = bg;
ctx.fillRect(0, 0, w, h);
- screenHeader(ctx, w, look, (x, y) => drawGhost(ctx, x + 12, y - 30, 60, look.text, look.screenTop));
- spawnButton(ctx, look, "NEW AGENT", true);
+ screenHeader(ctx, w, look, labels, (x, y) => drawGhost(ctx, x + 12, y - 30, 60, look.text, look.screenTop));
+ spawnButton(ctx, look, labels.caption, true);
// The team: two toy figures and, dashed, the one about to spawn.
const figures = [{ x: 620, colour: "#c4775a", shirt: "#e9dcc4" }, { x: 780, colour: "#7c8fa8", shirt: "#d9a441" }, { x: 940, colour: null, shirt: null }];
const floorY = 480;
@@ -384,7 +388,8 @@ function drawPad(floor: OfficeFloor) {
const padCache = new Map<string, MeshStandardMaterial>();
const faces = {
- screen: (floor: OfficeFloor) => canvasMaterial(`spawn:screen:${floor}`, 1024, 690, floor === "coding" ? drawLaunchScreen : drawSpawnScreen,
+ screen: (floor: OfficeFloor, labels: ScreenLabels) => canvasMaterial(`spawn:screen:${floor}:${labels.title}|${labels.ready}|${labels.caption}`, 1024, 690,
+ (ctx, w, h) => (floor === "coding" ? drawLaunchScreen : drawSpawnScreen)(ctx, w, h, labels),
{ glow: 0.9, fallback: SPAWN_LOOKS[floor].screenTop, roughness: 0.3 }),
pad: (floor: OfficeFloor) => {
const key = `spawn:pad:${floor}`;
@@ -464,7 +469,12 @@ function Crest({ floor, metal }: { floor: OfficeFloor; metal: MeshStandardMateri
export function SpawnTerminal() {
const floor = useOfficeStore((s) => s.floor);
const m = spawnMaterials(floor);
- const screen = faces.screen(floor);
+ const t = useT();
+ const screen = faces.screen(floor, {
+ title: t("society.office.spawn_screen_title"),
+ ready: t("society.office.spawn_screen_ready"),
+ caption: floor === "coding" ? t("society.office.spawn_screen_new_coding") : t("society.office.spawn_screen_new"),
+ });
return (
<group>
{/* Plinth with a light line along both long faces. */}
diff --git a/jarvis/ui/web/frontend/src/components/society/office/codingFloor.ts b/jarvis/ui/web/frontend/src/components/society/office/codingFloor.ts
index bedaf5987a..ea618addce 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/codingFloor.ts
+++ b/jarvis/ui/web/frontend/src/components/society/office/codingFloor.ts
@@ -14,6 +14,7 @@
* its own.
*/
import { useMemo, useRef } from "react";
+import { translate } from "@/i18n";
import type { WorkspacePaneRow } from "@/lib/agenticIdeApi";
import { useWorkspacePanes, useWorkspacePanesStore } from "@/store/workspacePanes";
@@ -74,7 +75,7 @@ export function shortAgentName(pane: Pick<WorkspacePaneRow, "display_name" | "ag
const first = pane.display_name.trim().split(/\s+/)[0] ?? "";
if (first) return first;
const agent = pane.agent.trim();
- return agent ? agent.charAt(0).toUpperCase() + agent.slice(1) : "Agent";
+ return agent ? agent.charAt(0).toUpperCase() + agent.slice(1) : translate("society.floor.agent_fallback");
}
/** The CLI and the pane's call-sign, "Claude · T2". */
@@ -125,7 +126,7 @@ function workspaceLabel(pane: WorkspacePaneRow): string {
const name = pane.workspace_name.trim();
if (name) return name;
const folder = pane.folder.replace(/[\\/]+$/, "").split(/[\\/]/).pop() ?? "";
- return folder || "Workspace";
+ return folder || translate("society.floor.workspace_fallback");
}
const BASE_RECIPE: FigureRecipe = { contract: 1, archetype: "biped", base: "rogue", parts: {}, palette: {} };
diff --git a/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts b/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts
index 92953e0eda..b0c54c1773 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts
+++ b/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts
@@ -32,6 +32,7 @@
* the floor's centre. It spawns new Jarvis agents downstairs and new coding
* agents upstairs, and everyone new to the floor appears on its pad.
*/
+import { translate } from "@/i18n";
import { PRODUCT_NAME } from "@/lib/branding";
import type { AgentRunState, AgentTier } from "../data";
import { REWARD_IDS } from "../progression/levelCatalog";
@@ -391,7 +392,7 @@ export function groupDepartments(agents: readonly OfficeAgentInput[]): { label:
if (ordered.length <= MAX_DEPARTMENTS) return ordered;
const kept = ordered.slice(0, MAX_DEPARTMENTS - 1);
const rest = ordered.slice(MAX_DEPARTMENTS - 1).flatMap((g) => g.members).sort(byArrival);
- return [...kept, { label: "Other", members: rest }];
+ return [...kept, { label: translate("society.floor.department_other"), members: rest }];
}
function benchCount(members: number): number {
diff --git a/jarvis/ui/web/frontend/src/components/society/progression/hall/LevelHallScreen.tsx b/jarvis/ui/web/frontend/src/components/society/progression/hall/LevelHallScreen.tsx
index 210ad48b1e..c2681c1075 100644
--- a/jarvis/ui/web/frontend/src/components/society/progression/hall/LevelHallScreen.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/progression/hall/LevelHallScreen.tsx
@@ -20,6 +20,7 @@
*/
import { useEffect, useMemo, useRef } from "react";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useCompanionPet } from "../../companion/companionPetStore";
import type { SocietyAgent } from "../../data";
import type { ToyLook } from "../../office/toyFigureModel";
@@ -91,6 +92,7 @@ const TAB_ICON: Record<HallTab, string> = {
function OverviewTab({ who }: { who: HallWho }) {
const t = useT();
+ const locale = useRunLocale();
const open = useProgression((s) => s.openPanel);
const rewards = useProgression((s) => s.snapshot?.rewards ?? NO_REWARDS);
const rules = useProgression((s) => s.snapshot?.rules ?? NO_RULES);
@@ -117,7 +119,7 @@ function OverviewTab({ who }: { who: HallWho }) {
<span>
<strong>{t(`society.level.title.${promoRank}`)}</strong>
<em>{RANK_INFO[promoRank].grade} · {t("society.level.locked_at").replace("{0}", String(promotion.level))}</em>
- <span className="hall-promotion-xp">{t("society.hall.xp_needed").replace("{0}", xpToReach(curve, subject?.xp ?? 0, promotion.level).toLocaleString())}</span>
+ <span className="hall-promotion-xp">{t("society.hall.xp_needed").replace("{0}", xpToReach(curve, subject?.xp ?? 0, promotion.level).toLocaleString(locale))}</span>
</span>
</button>
) : <p className="hall-hint">{t("society.hall.top_title")}</p>}
diff --git a/jarvis/ui/web/frontend/src/components/society/progression/hall/RanksTab.tsx b/jarvis/ui/web/frontend/src/components/society/progression/hall/RanksTab.tsx
index 47a014c45c..02277e0a89 100644
--- a/jarvis/ui/web/frontend/src/components/society/progression/hall/RanksTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/progression/hall/RanksTab.tsx
@@ -7,6 +7,7 @@
*/
import { useMemo } from "react";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import type { RankTier } from "../levelCatalog";
import { rankAt } from "../levelCatalog";
import { RankInsignia } from "../insignia/RankInsignia";
@@ -20,6 +21,7 @@ const TIERS: readonly RankTier[] = ["enlisted", "nco", "officer", "general"];
export function RanksTab({ who }: { who: HallWho }) {
const t = useT();
+ const locale = useRunLocale();
const titles = useProgression((s) => s.snapshot?.titles[who.kind] ?? NO_TITLES);
const curve = useProgression((s) => s.snapshot?.levelXp ?? NO_CURVE);
const subject = useProgression((s) => s.subjects[who.subjectId]);
@@ -60,7 +62,7 @@ export function RanksTab({ who }: { who: HallWho }) {
<strong>{t(`society.level.title.${rung.rank}`)}</strong>
<span className="hall-rank-grade">{rung.grade}</span>
<em>{reached ? t("society.hall.rank_from").replace("{0}", String(rung.level))
- : `${t("society.hall.rank_from").replace("{0}", String(rung.level))} · ${t("society.hall.xp_needed").replace("{0}", missing.toLocaleString())}`}</em>
+ : `${t("society.hall.rank_from").replace("{0}", String(rung.level))} · ${t("society.hall.xp_needed").replace("{0}", missing.toLocaleString(locale))}`}</em>
</li>
);
})}
diff --git a/jarvis/ui/web/frontend/src/components/society/progression/hall/RewardsTab.tsx b/jarvis/ui/web/frontend/src/components/society/progression/hall/RewardsTab.tsx
index 0a735ad1a2..14e28352b8 100644
--- a/jarvis/ui/web/frontend/src/components/society/progression/hall/RewardsTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/progression/hall/RewardsTab.tsx
@@ -8,6 +8,7 @@
*/
import { useEffect, useMemo, useRef, useState } from "react";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { equippedFor, rewardRoad, type SlotChoice } from "../cosmetics";
import { RANK_INFO, rankAt, slotOf, type RankId, type RewardId, type Slot } from "../levelCatalog";
import { RankInsignia } from "../insignia/RankInsignia";
@@ -45,6 +46,7 @@ export function roadSteps(road: readonly RewardRow[], titles: readonly { level:
export function RewardsTab({ who }: { who: HallWho }) {
const t = useT();
+ const locale = useRunLocale();
const rewards = useProgression((s) => s.snapshot?.rewards ?? NO_REWARDS);
const titles = useProgression((s) => s.snapshot?.titles[who.kind] ?? NO_TITLES);
const curve = useProgression((s) => s.snapshot?.levelXp ?? NO_CURVE);
@@ -140,7 +142,7 @@ export function RewardsTab({ who }: { who: HallWho }) {
</span>
</div>
)}
- {!open && <p className="hall-detail-missing">{t("society.hall.reward_missing").replace("{0}", missing.toLocaleString())}</p>}
+ {!open && <p className="hall-detail-missing">{t("society.hall.reward_missing").replace("{0}", missing.toLocaleString(locale))}</p>}
{reward && open && (
worn
? <span className="hall-detail-worn">{t("society.hall.wearing_now")}</span>
diff --git a/jarvis/ui/web/frontend/src/components/society/progression/hall/StudioTab.tsx b/jarvis/ui/web/frontend/src/components/society/progression/hall/StudioTab.tsx
index 021ab67a8b..bc73497728 100644
--- a/jarvis/ui/web/frontend/src/components/society/progression/hall/StudioTab.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/progression/hall/StudioTab.tsx
@@ -11,6 +11,7 @@
*/
import { useMemo, useState } from "react";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { equippedFor, rewardRoad, type SlotChoice } from "../cosmetics";
import { RANK_INFO, rankAt, SLOTS, slotOf, type RankId, type RewardId, type Slot } from "../levelCatalog";
import { RankInsignia } from "../insignia/RankInsignia";
@@ -38,6 +39,7 @@ export function RankPlate({ name, level, rank }: { name: string; level: number;
export function StudioTab({ who }: { who: HallWho }) {
const t = useT();
+ const locale = useRunLocale();
const rewards = useProgression((s) => s.snapshot?.rewards ?? NO_REWARDS);
const curve = useProgression((s) => s.snapshot?.levelXp ?? NO_CURVE);
const titles = useProgression((s) => s.snapshot?.titles[who.kind] ?? NO_TITLES);
@@ -73,7 +75,7 @@ export function StudioTab({ who }: { who: HallWho }) {
<span>
<strong>{t(`society.level.reward.${tryRow.rewardId}`)}</strong>
<em>{t("society.hall.try_on_line").replace("{0}", String(tryAt))
- .replace("{1}", xpToReach(curve, subject?.xp ?? 0, tryAt).toLocaleString())}</em>
+ .replace("{1}", xpToReach(curve, subject?.xp ?? 0, tryAt).toLocaleString(locale))}</em>
</span>
<button type="button" className="hall-button" onClick={() => setTryOn(null)}>{t("society.hall.try_on_back")}</button>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/society/progression/hall/hallParts.tsx b/jarvis/ui/web/frontend/src/components/society/progression/hall/hallParts.tsx
index 34fca78f1c..2105a887d3 100644
--- a/jarvis/ui/web/frontend/src/components/society/progression/hall/hallParts.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/progression/hall/hallParts.tsx
@@ -4,6 +4,7 @@
*/
import type { ReactNode } from "react";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { levelFraction } from "../cosmetics";
import { LevelRing, XpBar } from "../LevelHud";
import { RANK_INFO, rankAt, rankOf, type RankId } from "../levelCatalog";
@@ -95,6 +96,7 @@ export function RewardCard({ reward, kind, level, onClick, pressed, badge, xpMis
reward: RewardRow; kind: "person" | "pet"; level: number; onClick?: () => void; pressed?: boolean; badge?: string; xpMissing?: number;
}) {
const t = useT();
+ const locale = useRunLocale();
const titles = useProgression((s) => s.snapshot?.titles[kind] ?? NO_TITLES);
const at = reward.levels[kind] ?? 0;
const open = level >= at;
@@ -109,7 +111,7 @@ export function RewardCard({ reward, kind, level, onClick, pressed, badge, xpMis
</span>
<span className="hall-card-state" data-open={open || undefined}>
{badge ?? (open ? t("society.hall.unlocked") : xpMissing !== undefined
- ? `${t("society.level.locked_at").replace("{0}", String(at))} · ${t("society.hall.xp_needed").replace("{0}", xpMissing.toLocaleString())}`
+ ? `${t("society.level.locked_at").replace("{0}", String(at))} · ${t("society.hall.xp_needed").replace("{0}", xpMissing.toLocaleString(locale))}`
: t("society.level.locked_at").replace("{0}", String(at)))}
</span>
</span>
diff --git a/jarvis/ui/web/frontend/src/components/society/world/FoundryDrawer.tsx b/jarvis/ui/web/frontend/src/components/society/world/FoundryDrawer.tsx
index 4b4f4195cb..cd3bc0b9f1 100644
--- a/jarvis/ui/web/frontend/src/components/society/world/FoundryDrawer.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/world/FoundryDrawer.tsx
@@ -12,6 +12,7 @@ import { useCallback, useEffect, useMemo, useState } from "react";
import { Factory, Plus, X } from "lucide-react";
import { fill, useT, useUiLanguage } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { AgentSwatch } from "../AgentSwatch";
import { useQuickCreateAgent, useSocietyRoster, type SocietyAgent } from "../data";
import { isCreateCancelled } from "../create/createAgentStore";
@@ -21,7 +22,7 @@ const RECENT_LIMIT = 6;
function useRelativeTime(): (ms: number) => string {
const language = useUiLanguage();
- const rtf = useMemo(() => new Intl.RelativeTimeFormat(language, { numeric: "auto" }), [language]);
+ const rtf = useMemo(() => new Intl.RelativeTimeFormat(localeForUiLanguage(language), { numeric: "auto" }), [language]);
return useCallback(
(ms: number) => {
const seconds = Math.round((ms - Date.now()) / 1000);
diff --git a/jarvis/ui/web/frontend/src/components/transcription/TranscriptReader.tsx b/jarvis/ui/web/frontend/src/components/transcription/TranscriptReader.tsx
index 8f0ab8e921..bc8a3be686 100644
--- a/jarvis/ui/web/frontend/src/components/transcription/TranscriptReader.tsx
+++ b/jarvis/ui/web/frontend/src/components/transcription/TranscriptReader.tsx
@@ -4,7 +4,8 @@ import { Button } from "@/components/ui/button";
import type { SessionListItem } from "@/components/sessions/types";
import { useSessionDetail } from "@/hooks/useSessions";
import { useCapabilities } from "@/hooks/useCapabilities";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useEventStore } from "@/store/events";
import { robustCopy, saveOrDownload } from "@/lib/clipboard";
import { TranscriptActions } from "./TranscriptActions";
@@ -24,7 +25,7 @@ export function TranscriptState({ kind = "empty", title, body, retry, children }
export function TranscriptReader({ session, onBack }: { session: SessionListItem; onBack: () => void }) {
const t = useT();
- const locale = useUiLanguage();
+ const locale = useRunLocale();
const detail = useSessionDetail(session.id);
const [search, setSearch] = useState("");
const [original, setOriginal] = useState(false);
diff --git a/jarvis/ui/web/frontend/src/components/visualization/ArtifactGallery.tsx b/jarvis/ui/web/frontend/src/components/visualization/ArtifactGallery.tsx
index 7efd1efb98..228da99ed8 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/ArtifactGallery.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/ArtifactGallery.tsx
@@ -25,7 +25,8 @@ import {
import { EmptyState } from "@/components/ui/empty-state";
import { ScrollArea } from "@/components/ui/scroll-area";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useThemeValue } from "@/hooks/useTheme";
import { cn } from "@/lib/utils";
import { endMissionDrag, startMissionDrag } from "@/lib/missionDnd";
@@ -882,7 +883,7 @@ function WallTile({
handlers: CardHandlers;
}) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const title = rowTitle(row);
const status = rowStatus(row);
const { dragProps, onContextMenu, onKeyDown, onMore } = useCardInteractions(row, handlers);
@@ -1036,7 +1037,7 @@ function ListRow({
handlers: CardHandlers;
}) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const title = rowTitle(row);
const request = rowRequest(row);
const status = rowStatus(row);
diff --git a/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx b/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
index 70ecc6a19f..b621367919 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
@@ -65,6 +65,7 @@ import {
} from "@/components/outputs/ArtifactViewer";
import { MarkdownProse, splitFrontMatter } from "@/components/outputs/MarkdownProse";
import { deliverableFiles, runNeedsReview } from "@/components/visualization/RunPanels";
+import { uiLocale } from "@/lib/boardInsights";
/** Files drawn in place; the rest are listed and one click from Files. */
const MAX_INLINE_FILES = 12;
@@ -91,7 +92,7 @@ const STATUS_DOT: Record<OutputStatus, string> = {
function formatWhen(seconds: number | undefined): string {
if (!seconds) return "";
- return new Date(seconds * 1000).toLocaleString(undefined, {
+ return new Date(seconds * 1000).toLocaleString(uiLocale(), {
year: "numeric",
month: "short",
day: "numeric",
diff --git a/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx b/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx
index c68ad47025..3966449adc 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx
@@ -305,7 +305,7 @@ export function RunNotes({ run, className }: { run: OutputSummary; className?: s
{run.summary && (
<section className="rounded-xl border border-border bg-card/40 p-3">
<div className="mb-1 text-micro font-semibold uppercase tracking-wide text-muted-foreground">
- Summary
+ {t("visualization.summary")}
</div>
<p className="whitespace-pre-wrap text-sm leading-relaxed text-foreground/90">
<LinkifiedText text={run.summary} />
diff --git a/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx b/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
index ae0b0229a9..6d0d7c745d 100644
--- a/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
+++ b/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
@@ -7,6 +7,7 @@ import { Card } from "@/components/ui/card";
import { useCapabilities } from "@/hooks/useCapabilities";
import { useVoiceMode } from "@/hooks/useVoiceMode";
import { useT } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
import {
registerBrowserVoiceCallOwner,
setBrowserVoiceCallLive,
@@ -310,9 +311,17 @@ export function BrowserRealtimeControl({ controlOnly = false }: { controlOnly?:
// the exact transport error, the socket close reason. Replacing all
// of them with one generic line sent users to test a credential
// that was never the problem.
- const backendDetail =
+ // A sentence the backend authored itself (not a provider's error
+ // text) also carries `message_code`, translated here; anything else
+ // is shown as sent.
+ const backendDetail = backendMessage(
+ t,
+ "voice.backend_error",
+ typeof payload.message_code === "string" ? payload.message_code : "",
+ null,
(typeof payload.error === "string" ? payload.error.trim() : "") ||
- (typeof payload.reason === "string" ? payload.reason.trim() : "");
+ (typeof payload.reason === "string" ? payload.reason.trim() : ""),
+ );
if (status === "audio_ready") {
connected = true;
initialNativeStartPending.current = false;
diff --git a/jarvis/ui/web/frontend/src/components/wiki/PageHeader.tsx b/jarvis/ui/web/frontend/src/components/wiki/PageHeader.tsx
index 2f8f5f57fc..ddbc007dbd 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/PageHeader.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/PageHeader.tsx
@@ -5,7 +5,8 @@
*/
import { lazy, Suspense } from "react";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import type { WikiKind } from "@/lib/wikiApi";
import { GROUP_LABEL_KEY, groupOfKind, relativeAge } from "@/lib/wikiModel";
import { cn } from "@/lib/utils";
@@ -30,14 +31,15 @@ interface PageHeaderProps {
words?: number;
}
+/** Frontmatter field -> i18n key of its pill label. */
const FRIENDLY_LABELS: Record<string, string> = {
- type: "type",
- entity_kind: "kind",
- status: "status",
- created: "created",
- updated: "updated",
- started: "started",
- last_activity: "last activity",
+ type: "page_header.field_type",
+ entity_kind: "page_header.field_kind",
+ status: "page_header.field_status",
+ created: "page_header.field_created",
+ updated: "page_header.field_updated",
+ started: "page_header.field_started",
+ last_activity: "page_header.field_last_activity",
};
const MAX_PILLS = 6;
@@ -53,7 +55,7 @@ export function PageHeader({
words,
}: PageHeaderProps) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const pills = buildPills(frontmatter);
const breadcrumb = breadcrumbFromPath(vaultRelPath);
const group = groupOfKind(kind);
@@ -120,7 +122,7 @@ export function PageHeader({
className="inline-flex h-6 items-center gap-1 rounded-sm border border-border px-2 text-muted-foreground"
data-pill-key={p.key}
>
- <span>{p.label}</span>
+ <span>{t(p.label)}</span>
<span className="text-foreground">{p.value}</span>
</span>
))}
diff --git a/jarvis/ui/web/frontend/src/components/wiki/PageRenderer.tsx b/jarvis/ui/web/frontend/src/components/wiki/PageRenderer.tsx
index 3df37c4ade..cb2a0af90f 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/PageRenderer.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/PageRenderer.tsx
@@ -29,7 +29,8 @@ import {
} from "@/lib/wikiApi";
import { cleanTitle } from "@/lib/wikiModel";
import { cn } from "@/lib/utils";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { PageHeader } from "./PageHeader";
@@ -49,7 +50,7 @@ const AS_OF_RE = /\s*\(as of (\d{4}-\d{2}-\d{2})\)/g;
export function PageRenderer({ slug, onWikilinkClick }: PageRendererProps) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const qc = useQueryClient();
const pageQuery = useQuery({
queryKey: ["wiki", "page", slug],
diff --git a/jarvis/ui/web/frontend/src/components/wiki/WikiInspector.tsx b/jarvis/ui/web/frontend/src/components/wiki/WikiInspector.tsx
index dc07c26cc0..86b10c557b 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/WikiInspector.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/WikiInspector.tsx
@@ -15,7 +15,8 @@ import { useQuery } from "@tanstack/react-query";
import { Activity, ArrowUpRight, FileText, RefreshCw } from "lucide-react";
import { cn } from "@/lib/utils";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
fetchWikiBacklinks,
fetchWikiGraph,
@@ -540,7 +541,7 @@ function PageContext({
onSelect: (slug: string) => void;
}) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const backlinksQuery = useQuery({
queryKey: ["wiki", "backlinks", slug],
queryFn: () => fetchWikiBacklinks(slug),
diff --git a/jarvis/ui/web/frontend/src/components/wiki/WikiLibrary.tsx b/jarvis/ui/web/frontend/src/components/wiki/WikiLibrary.tsx
index 4f639ec2e8..21ab913f5a 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/WikiLibrary.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/WikiLibrary.tsx
@@ -13,7 +13,8 @@ import { useMemo, useState, type ReactNode } from "react";
import { ChevronRight, Search, X } from "lucide-react";
import { cn } from "@/lib/utils";
-import { useT, useUiLanguage } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
+import { useT } from "@/i18n";
import type { WikiTreeFolder } from "@/lib/wikiApi";
import {
GROUP_LABEL_KEY,
@@ -48,7 +49,7 @@ export function WikiLibrary({
header,
}: WikiLibraryProps) {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
const [query, setQuery] = useState("");
const [openGroups, setOpenGroups] = useState<Set<WikiGroupId>>(() => new Set(DEFAULT_OPEN));
diff --git a/jarvis/ui/web/frontend/src/components/workspace/WorkspaceTerminal.tsx b/jarvis/ui/web/frontend/src/components/workspace/WorkspaceTerminal.tsx
index de37e9a99a..4003f5935a 100644
--- a/jarvis/ui/web/frontend/src/components/workspace/WorkspaceTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/workspace/WorkspaceTerminal.tsx
@@ -28,6 +28,7 @@ import {
type TerminalAppearance,
} from "../agentic/terminalThemes";
import { useThemeValue } from "@/hooks/useTheme";
+import { fill, translate, useT } from "@/i18n";
import { TERMINAL_FONT_STACK, syncTerminalFont } from "@/lib/terminalFont";
import {
activateTerminalLink,
@@ -99,6 +100,7 @@ export function WorkspaceTerminal({
const [status, setStatus] = useState<Status>("connecting");
const [error, setError] = useState<string | null>(null);
const appAppearance = useThemeValue();
+ const t = useT();
const appearance = requestedAppearance ?? appAppearance;
const activeRef = useRef(active);
activeRef.current = active;
@@ -202,7 +204,7 @@ export function WorkspaceTerminal({
ws = new WebSocket(buildUrl(paneKey, params));
} catch {
setStatus("error");
- setError("Connection to the terminal failed.");
+ setError(translate("workspace_terminal.connection_failed"));
return;
}
ws.onopen = () => {
@@ -235,15 +237,17 @@ export function WorkspaceTerminal({
}
} else if (msg.t === "exit") {
setStatus("exited");
- term.write(`\r\n\x1b[33m[process exited: ${msg.code ?? "?"}]\x1b[0m\r\n`);
+ term.write(
+ `\r\n\x1b[33m[${fill(translate("workspace_terminal.process_exited"), { code: msg.code ?? "?" })}]\x1b[0m\r\n`,
+ );
} else if (msg.t === "error") {
setStatus("error");
- setError(msg.message ?? "terminal error");
+ setError(msg.message ?? translate("workspace_terminal.terminal_error"));
}
};
ws.onerror = () => {
setStatus("error");
- setError("Connection to the terminal failed.");
+ setError(translate("workspace_terminal.connection_failed"));
};
ws.onclose = (ev) => {
if (everLive) {
@@ -255,8 +259,8 @@ export function WorkspaceTerminal({
setError((e) =>
e ??
(ev.code === 4401
- ? "Terminal authorization failed — reopen to retry."
- : `Terminal connection closed (code ${ev.code || "?"}).`),
+ ? translate("workspace_terminal.auth_failed")
+ : fill(translate("workspace_terminal.connection_closed"), { code: ev.code || "?" })),
);
}
};
@@ -336,16 +340,16 @@ export function WorkspaceTerminal({
</div>
<span className="text-micro uppercase tracking-wider">
{status === "live" ? (
- <span className="text-muted-foreground">live</span>
+ <span className="text-muted-foreground">{t("workspace_terminal.status_live")}</span>
) : status === "error" ? (
<span className="flex items-center gap-1 text-destructive">
<AlertCircle className="h-3 w-3" />
- error
+ {t("workspace_terminal.status_error")}
</span>
) : status === "exited" ? (
- <span className="text-muted-foreground">exited</span>
+ <span className="text-muted-foreground">{t("workspace_terminal.status_exited")}</span>
) : (
- <span className="text-muted-foreground">connecting…</span>
+ <span className="text-muted-foreground">{t("workspace_terminal.status_connecting")}</span>
)}
</span>
</header>}
diff --git a/jarvis/ui/web/frontend/src/hooks/useBackgroundAgents.ts b/jarvis/ui/web/frontend/src/hooks/useBackgroundAgents.ts
index cf68ff4a5f..a2273da730 100644
--- a/jarvis/ui/web/frontend/src/hooks/useBackgroundAgents.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useBackgroundAgents.ts
@@ -1,4 +1,5 @@
import { useCallback, useEffect, useState } from "react";
+import { translate } from "@/i18n";
/**
* What keeps running after the desktop window closes — GET/PUT
@@ -58,7 +59,7 @@ export function useBackgroundAgents() {
const detail = body.detail;
const message = typeof detail === "string" ? detail
: Array.isArray(detail)
- ? detail.map((item: { msg?: string }) => item.msg ?? "Invalid setting").join("; ")
+ ? detail.map((item: { msg?: string }) => item.msg ?? translate("settings_view.invalid_setting")).join("; ")
: `HTTP ${res.status}`;
throw new Error(message);
}
diff --git a/jarvis/ui/web/frontend/src/hooks/useConversations.ts b/jarvis/ui/web/frontend/src/hooks/useConversations.ts
index c266f8db8d..341d816a2c 100644
--- a/jarvis/ui/web/frontend/src/hooks/useConversations.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useConversations.ts
@@ -14,6 +14,7 @@ import {
resumeConversation,
startNewVoiceRun,
} from "@/lib/chatsApi";
+import { translate } from "@/i18n";
/** How often the history list is re-read while a poller is mounted. */
export const CONVERSATIONS_REFRESH_MS = HISTORY_REFRESH_MS;
@@ -36,7 +37,7 @@ function waitForVoiceIdle(): Promise<void> {
return new Promise((resolve, reject) => {
const timer = window.setTimeout(() => {
unsubscribe();
- reject(new Error("The voice call has not ended yet. Please try again."));
+ reject(new Error(translate("voice.call_not_ended")));
}, 10_000);
const unsubscribe = useEventStore.subscribe((state) => {
if (state.voiceState !== "idle") return;
@@ -126,7 +127,7 @@ export function useConversations({ poll = false }: { poll?: boolean } = {}) {
traces = detailToTraces(detail);
} catch (error) {
if (generation === selectionGeneration) {
- useEventStore.getState().pushToast("error", error instanceof Error ? error.message : "Could not open conversation");
+ useEventStore.getState().pushToast("error", error instanceof Error ? error.message : translate("sidebar.open_conversation_failed"));
}
} finally {
if (generation === selectionGeneration) useHomeStore.setState({ voiceSelectionPending: false });
diff --git a/jarvis/ui/web/frontend/src/hooks/useDictation.ts b/jarvis/ui/web/frontend/src/hooks/useDictation.ts
index f5c1b13cdc..048408756d 100644
--- a/jarvis/ui/web/frontend/src/hooks/useDictation.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useDictation.ts
@@ -164,7 +164,7 @@ export function cleanupReasonLabel(
}
/** Languages dictation can be pinned to; `auto` lets the provider decide. */
-export type DictationLanguage = "auto" | "de" | "en" | "es";
+export type DictationLanguage = "auto" | "de" | "en" | "es" | "pt";
/**
* Live state of dictation mode from GET /api/dictation/status.
diff --git a/jarvis/ui/web/frontend/src/hooks/useDocs.ts b/jarvis/ui/web/frontend/src/hooks/useDocs.ts
index 85488e0363..5033ffe32f 100644
--- a/jarvis/ui/web/frontend/src/hooks/useDocs.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useDocs.ts
@@ -1,5 +1,7 @@
import { useMutation, useQuery } from "@tanstack/react-query";
+import { translate } from "@/i18n";
+
// ----------------------------------------------------------------------
// Types — analog jarvis/docs/schema.py DocFrontmatter
// ----------------------------------------------------------------------
@@ -97,6 +99,14 @@ export const DIATAXIS_LABELS: Record<DocDiataxis, string> = {
unclassified: "Unclassified",
};
+/** Section id for docs without one; displayed through `docSectionLabel`. */
+export const OTHER_DOC_SECTION = "Other";
+
+/** Display name of a docs section (the fallback section is translated). */
+export function docSectionLabel(name: string): string {
+ return name === OTHER_DOC_SECTION ? translate("docs.section_other") : name;
+}
+
export interface DocSection {
name: string;
order: number;
@@ -110,7 +120,7 @@ export function buildDocSections(
const bySection = new Map<string, DocSection>();
for (const kind of DIATAXIS_ORDER) {
for (const doc of grouped?.[kind] ?? []) {
- const name = doc.section || "Other";
+ const name = doc.section || OTHER_DOC_SECTION;
const existing = bySection.get(name);
if (existing) {
existing.order = Math.min(existing.order, doc.section_order);
diff --git a/jarvis/ui/web/frontend/src/hooks/useHotkey.ts b/jarvis/ui/web/frontend/src/hooks/useHotkey.ts
index c7d471eaa9..1f8ff27192 100644
--- a/jarvis/ui/web/frontend/src/hooks/useHotkey.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useHotkey.ts
@@ -529,7 +529,9 @@ export interface KeybindsConfig {
* degrades through the backend's own honest message on save. The moment the
* field appears, the picker hides the buttons and shows ``reason`` instead.
*/
- mouse_buttons?: { supported: boolean; reason?: string };
+ // `reason_code` names `reason` stably (jarvis/trigger/hotkey.py
+ // MOUSE_HOTKEY_REASONS) so the picker can show it in the UI language.
+ mouse_buttons?: { supported: boolean; reason?: string; reason_code?: string };
}
/** Result of a successful PUT /api/settings/keybinds. */
diff --git a/jarvis/ui/web/frontend/src/hooks/useProviders.ts b/jarvis/ui/web/frontend/src/hooks/useProviders.ts
index ddc2bf4178..d6ea7078dd 100644
--- a/jarvis/ui/web/frontend/src/hooks/useProviders.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useProviders.ts
@@ -1,4 +1,5 @@
import { useCallback, useEffect, useRef, useState } from "react";
+import { translate } from "@/i18n";
export type AuthMode = "api_key" | "codex" | "antigravity" | "claude_cli" | "grok_build" | "none";
// Mirror of provider_spec.Tier. "dictation" is the odd one out and deliberately
@@ -230,6 +231,10 @@ export interface CodexStatus {
binaryPath?: string | null;
binary_path?: string | null;
error?: string | null;
+ // Stable code + fill-ins for `message` (jarvis/codex_auth.py
+ // CODEX_STATUS_MESSAGE_CODES); the UI translates it, else shows `message`.
+ message_code?: string;
+ message_params?: Record<string, string>;
}
/**
@@ -248,6 +253,10 @@ export interface AntigravityStatus {
user_email: string | null;
binary_path: string;
error: string | null;
+ // Stable code + fill-ins for `message` (GOOGLE_CLI_STATUS_MESSAGE_CODES);
+ // the UI translates it and falls back to `message`.
+ message_code?: string;
+ message_params?: Record<string, string>;
}
/**
@@ -1715,7 +1724,7 @@ export async function testProvider(providerId: string): Promise<ProviderTestResu
return {
provider: providerId,
status: "unreachable",
- detail: "No answer from the app after 80s — the backend may be busy or stuck.",
+ detail: translate("apikeys_test.client_timeout"),
latency_ms: PROVIDER_TEST_CLIENT_TIMEOUT_MS,
integration_ok: false,
};
@@ -1883,7 +1892,7 @@ export async function saveTtsVoice(
export async function fetchTtsPreview(opts: {
model: string;
voice: string;
- language: "de" | "en" | "es";
+ language: "de" | "en" | "es" | "pt";
provider?: string;
}): Promise<Blob> {
const res = await fetch("/api/tts/preview", {
@@ -2039,7 +2048,7 @@ export async function saveRealtimeOptions(
export async function fetchRealtimeVoicePreview(opts: {
providerId: string;
voice: string;
- language: "de" | "en" | "es";
+ language: "de" | "en" | "es" | "pt";
model?: string;
}): Promise<Blob> {
const res = await fetch(
diff --git a/jarvis/ui/web/frontend/src/hooks/useSkills.ts b/jarvis/ui/web/frontend/src/hooks/useSkills.ts
index e7c2af33a3..a44ee289e5 100644
--- a/jarvis/ui/web/frontend/src/hooks/useSkills.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useSkills.ts
@@ -19,11 +19,12 @@ export const RESOURCE_KINDS: ResourceKind[] = [
"agents",
];
+/** Translation keys for each resource kind; translate where rendered. */
export const RESOURCE_LABELS: Record<ResourceKind, string> = {
- references: "References",
- scripts: "Scripts",
- assets: "Assets",
- agents: "Agents",
+ references: "skills_view.resource_references",
+ scripts: "skills_view.resource_scripts",
+ assets: "skills_view.resource_assets",
+ agents: "skills_view.resource_agents",
};
/** Where an installed skill came from. Null for one the owner wrote. */
diff --git a/jarvis/ui/web/frontend/src/hooks/useWakeWord.ts b/jarvis/ui/web/frontend/src/hooks/useWakeWord.ts
index a857bc6be2..0b70e22606 100644
--- a/jarvis/ui/web/frontend/src/hooks/useWakeWord.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useWakeWord.ts
@@ -48,6 +48,10 @@ export interface WakeWordSaveResult {
// the Call shortcut is the activation.
wake_available: boolean;
message: string;
+ // Stable code + fill-ins for `message` (WakeWordPlan.message_code in
+ // jarvis/speech/wake_phrase.py); the UI translates it, else shows `message`.
+ message_code?: string;
+ message_params?: Record<string, string>;
persisted: boolean;
restart_required: boolean;
}
@@ -64,6 +68,8 @@ export interface WakeActivationResult {
persisted: boolean;
// Empty when persisted; otherwise the writer's own reason, in one sentence.
message: string;
+ // Translatable code for `message` ("activation_not_persisted" or empty).
+ message_code?: string;
}
/**
diff --git a/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts b/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts
index 287041e10c..8564b0e9a9 100644
--- a/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts
@@ -11,7 +11,7 @@ import {
import { clearVoiceInputLevel, setVoiceInputLevel } from "@/lib/voiceInputLevel";
import { clearVoiceOutputLevel, setVoiceOutputLevel } from "@/lib/voiceOutputLevel";
import {
- SECTION_LABELS,
+ SECTION_LABEL_KEYS,
VOICE_STATES,
isSectionId,
resolveSectionId,
@@ -32,7 +32,8 @@ import { MEMORY_WRITE_EVENT, useMemoryWrites } from "@/store/memoryWrites";
import { useHomeStore } from "@/store/home";
import { PANE_ACTIVITY_EVENT } from "@/store/workspacePanes";
import { WSAudioLevel, WSEventEnvelope, WSWelcome } from "@/schema/ws";
-import { useI18nStore, hydrateUiLanguage, hydrateReplyLanguage, isUiLanguage, translate } from "@/i18n";
+import { useI18nStore, hydrateUiLanguage, hydrateReplyLanguage, isUiLanguage, translate, fill } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
import { hydrateUiTheme } from "@/hooks/useTheme";
import { announceDictationSettings } from "@/hooks/usePromptMode";
import { petKeys } from "@/hooks/usePets";
@@ -491,7 +492,7 @@ export function useWebSocket(): void {
if (!solo && isAutopilotToastsEnabled()) {
pushToast(
"info",
- `${translate("use_web_socket.jarvis_opened")} ${SECTION_LABELS[section]}`,
+ `${translate("use_web_socket.jarvis_opened")} ${translate(SECTION_LABEL_KEYS[section])}`,
);
}
}
@@ -522,7 +523,7 @@ export function useWebSocket(): void {
const p = env.payload as { to_provider?: string; from_provider?: string };
if (typeof p.to_provider === "string") {
setBrainProvider(p.to_provider);
- pushToast("success", `Brain → ${p.to_provider}`);
+ pushToast("success", fill(translate("provider_switcher.switched_toast"), { provider: p.to_provider }));
// The switch payload carries no model, so re-fetch the authoritative
// status (provider + model) — keeps the sidebar model line fresh
// after a voice/UI provider switch. useBrainStatus listens for this.
@@ -763,7 +764,16 @@ export function useWebSocket(): void {
tier?: string;
};
if (typeof p.title === "string" && p.title.length > 0) {
- pushToast("success", `Achievement: ${p.title}`);
+ // The id is the stable code (jarvis/board/achievements.py); a
+ // catalog entry this build has no translation for keeps its title.
+ const title = backendMessage(
+ translate,
+ "use_web_socket.achievement_title",
+ typeof p.achievement_id === "string" ? p.achievement_id : "",
+ null,
+ p.title,
+ );
+ pushToast("success", fill(translate("use_web_socket.achievement_toast"), { title }));
}
// Local custom event: AchievementGrid listens for it and invalidates
// the React Query list, so the unlock becomes visible immediately.
diff --git a/jarvis/ui/web/frontend/src/i18n/agent-chat-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/agent-chat-i18n-parity.test.ts
index 981fa20158..4f3dd597b1 100644
--- a/jarvis/ui/web/frontend/src/i18n/agent-chat-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/agent-chat-i18n-parity.test.ts
@@ -1,6 +1,6 @@
/**
* Every `agent_chat.*` / `all_chats.*` key the front page's chat asks for
- * must exist in en — and de/es must carry exactly the keys en carries in
+ * must exist in en — and de/es/pt must carry exactly the keys en carries in
* those two blocks. The keys are read from the source files themselves, so
* a composer or timeline string added without its translations fails here,
* not in front of a person. Modelled on local-models-i18n-parity.test.ts.
@@ -11,6 +11,7 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
const BLOCKS = ["agent_chat", "all_chats"] as const;
type Block = (typeof BLOCKS)[number];
@@ -71,6 +72,7 @@ describe("agent chat i18n parity", () => {
for (const [lang, loc] of [
["de", de],
["es", es],
+ ["pt", pt],
] as const) {
for (const block of BLOCKS) {
it(`${lang} has the same ${block} keys as en`, () => {
diff --git a/jarvis/ui/web/frontend/src/i18n/apikeys-realtime-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/apikeys-realtime-i18n-parity.test.ts
index 5e863c00e2..587b8fb2b8 100644
--- a/jarvis/ui/web/frontend/src/i18n/apikeys-realtime-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/apikeys-realtime-i18n-parity.test.ts
@@ -1,6 +1,6 @@
/**
* The realtime tab of the API Keys page renders every `apikeys_realtime.*`
- * string in all three locales. A key present in one locale and missing in
+ * string in every locale. A key present in one locale and missing in
* another renders as a raw key there, so the sets must match exactly.
*/
import { describe, expect, it } from "vitest";
@@ -8,10 +8,11 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Block = Record<string, string>;
-const LOCALES = { en, de, es } as unknown as Record<string, { apikeys_realtime?: Block }>;
+const LOCALES = { en, de, es, pt } as unknown as Record<string, { apikeys_realtime?: Block }>;
describe("apikeys_realtime i18n parity", () => {
const reference = Object.keys(LOCALES.en.apikeys_realtime ?? {}).sort();
diff --git a/jarvis/ui/web/frontend/src/i18n/board-active-time-honesty.test.ts b/jarvis/ui/web/frontend/src/i18n/board-active-time-honesty.test.ts
index bfc01ea7fe..0f73a834e8 100644
--- a/jarvis/ui/web/frontend/src/i18n/board-active-time-honesty.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/board-active-time-honesty.test.ts
@@ -10,7 +10,7 @@
* It used to be mislabeled "Talk time" / "{0} h talked" / "Conversation hours",
* which over-claimed real speech (e.g. 27 h "talk time" implied an impossible
* ~18 words/minute). These assertions lock the user-facing labels to an honest
- * "active" framing across all three locales so the false speech wording cannot
+ * "active" framing across every locale so the false speech wording cannot
* silently regress.
*/
import { describe, expect, it } from "vitest";
@@ -18,6 +18,7 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Board = {
hero: { talk_time: string };
@@ -42,13 +43,14 @@ function sessionTimeLabels(board: Board): string[] {
}
// Per-locale wording that would (falsely) claim the metric measures speech.
-// Note: the bare count nouns "conversations" / "Gespräche" / "conversaciones"
-// are intentionally NOT flagged — counting chats is honest; only the
+// Note: the bare count nouns "conversations" / "Gespräche" / "conversaciones" /
+// "conversas" are intentionally NOT flagged — counting chats is honest; only the
// talk/spoke/"conversation hours" phrasing over-claims.
const SPEECH_CLAIM: Record<string, RegExp> = {
en: /\b(talk|talked|talking|spoke|spoken|speaking)\b|conversation hours/i,
de: /gesprochen|gesprächszeit|gesprächsstunden|gesprächstag|h gespräch\b/i,
es: /hablando|tiempo de conversación|horas de conversación|más conversación/i,
+ pt: /\bfalad|\ba falar\b|tempo de conversa\b|horas de conversa\b|mais conversa\b/i,
};
describe("Board active-time metric stays honestly labeled", () => {
@@ -62,6 +64,7 @@ describe("Board active-time metric stays honestly labeled", () => {
["en", en],
["de", de],
["es", es],
+ ["pt", pt],
])("%s session-time labels make no speech claim", (lang, locale) => {
const board = (locale as { board_view: Board }).board_view;
for (const label of sessionTimeLabels(board)) {
@@ -82,6 +85,7 @@ const SAVINGS_CLAIM: Record<string, RegExp> = {
en: /\bsaved\b|time-saver/i,
de: /gespart|zeit-spar/i,
es: /ahorrad|ahorro/i,
+ pt: /poupad|poupança|economizad/i,
};
function workHoursLabels(board: Board): string[] {
@@ -93,6 +97,7 @@ describe("Board work-hours metric does not claim unprovable savings", () => {
["en", en],
["de", de],
["es", es],
+ ["pt", pt],
])("%s work-hours labels make no time-saved claim", (lang, locale) => {
const board = (locale as { board_view: Board }).board_view;
for (const label of workHoursLabels(board)) {
diff --git a/jarvis/ui/web/frontend/src/i18n/code-editor-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/code-editor-i18n-parity.test.ts
index 0f89cb4b4b..9df4355d09 100644
--- a/jarvis/ui/web/frontend/src/i18n/code-editor-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/code-editor-i18n-parity.test.ts
@@ -2,6 +2,7 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Locale = Record<string, unknown>;
@@ -22,7 +23,7 @@ describe("code editor i18n parity", () => {
expect(keys(en as Locale).length).toBeGreaterThan(0);
});
- for (const [language, locale] of Object.entries({ de, es })) {
+ for (const [language, locale] of Object.entries({ de, es, pt })) {
it(`${language} has the same code editor keys as en`, () => {
expect(keys(locale as Locale)).toEqual(keys(en as Locale));
});
diff --git a/jarvis/ui/web/frontend/src/i18n/ide-side-panel-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/ide-side-panel-i18n-parity.test.ts
index 710c1f5998..36e7a14214 100644
--- a/jarvis/ui/web/frontend/src/i18n/ide-side-panel-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/ide-side-panel-i18n-parity.test.ts
@@ -2,6 +2,7 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Locale = Record<string, unknown>;
@@ -22,7 +23,7 @@ describe("IDE side panel i18n parity", () => {
expect(keys(en as Locale).length).toBeGreaterThan(0);
});
- for (const [language, locale] of Object.entries({ de, es })) {
+ for (const [language, locale] of Object.entries({ de, es, pt })) {
it(`${language} has the same side panel keys as en`, () => {
expect(keys(locale as Locale)).toEqual(keys(en as Locale));
});
diff --git a/jarvis/ui/web/frontend/src/i18n/index.ts b/jarvis/ui/web/frontend/src/i18n/index.ts
index c1add5288d..8f5b06819a 100644
--- a/jarvis/ui/web/frontend/src/i18n/index.ts
+++ b/jarvis/ui/web/frontend/src/i18n/index.ts
@@ -11,7 +11,7 @@
* <span>{t("nav.skills")}</span>
*
* import { useUiLanguage, setUiLanguage } from "@/i18n";
- * const lang = useUiLanguage(); // "en" | "de" | "es" | "zh"
+ * const lang = useUiLanguage(); // "en" | "de" | "es" | "zh" | "pt"
* setUiLanguage("de"); // updates reactively when loaded
*
* STT recognition language (what Whisper transcribes the spoken voice INTO) is
@@ -23,10 +23,10 @@ import { create } from "zustand";
import enJson from "./locales/en.json";
import { useEventStore } from "@/store/events";
-export type UiLanguage = "en" | "de" | "es" | "zh";
+export type UiLanguage = "en" | "de" | "es" | "zh" | "pt";
// "auto" mirrors the user's input language; the rest hard-pin the reply language.
// Mirrors jarvis/brain/manager.py::SUPPORTED_REPLY_LANGUAGES (single source of truth).
-export type ReplyLanguage = "auto" | "en" | "de" | "es";
+export type ReplyLanguage = "auto" | "en" | "de" | "es" | "pt";
// "auto" lets the recogniser detect the spoken language per utterance (the
// default); a concrete code forces what it transcribes into. Deliberately a
// plain string, not a union: the accepted set is every language the recogniser
@@ -43,10 +43,10 @@ const STT_FALLBACK_OPTIONS: readonly string[] = ["auto"];
const REPLY_LANGUAGE_ENDPOINT = "/api/settings/reply-language";
const UI_LANGUAGE_ENDPOINT = "/api/settings/ui-language";
const STT_LANGUAGE_ENDPOINT = "/api/settings/stt-language";
-const REPLY_VALUES: readonly ReplyLanguage[] = ["auto", "en", "de", "es"];
+const REPLY_VALUES: readonly ReplyLanguage[] = ["auto", "en", "de", "es", "pt"];
export function isUiLanguage(v: unknown): v is UiLanguage {
- return v === "en" || v === "de" || v === "es" || v === "zh";
+ return v === "en" || v === "de" || v === "es" || v === "zh" || v === "pt";
}
function isReplyLanguage(v: unknown): v is ReplyLanguage {
@@ -66,6 +66,7 @@ const RESOURCES: Record<UiLanguage, Record<string, unknown>> = {
de: enJson as Record<string, unknown>,
es: enJson as Record<string, unknown>,
zh: enJson as Record<string, unknown>,
+ pt: enJson as Record<string, unknown>,
};
type LazyUiLanguage = Exclude<UiLanguage, "en">;
@@ -74,6 +75,7 @@ const UI_LOCALE_LOADERS: Record<LazyUiLanguage, () => Promise<unknown>> = {
de: () => import("./locales/de.json"),
es: () => import("./locales/es.json"),
zh: () => import("./locales/zh.json"),
+ pt: () => import("./locales/pt.json"),
};
const UI_LOCALE_PROMISES: Partial<Record<LazyUiLanguage, Promise<void>>> = {};
@@ -103,8 +105,8 @@ export function loadUiLocale(lang: UiLanguage): Promise<void> {
/**
* Locale chunks that load on demand.
*
- * English rides in the startup bundle; German, Spanish and Chinese load on
- * demand.
+ * English rides in the startup bundle; German, Spanish, Chinese and Portuguese
+ * load on demand.
* A section nobody opens on start — the marketplace's publish studio, say —
* keeps its strings in
* `locales/<chunk>/<lang>.json` and asks for them with `useLocaleChunk` when
@@ -127,24 +129,28 @@ const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknow
de: () => import("./locales/marketplace/de.json"),
es: () => import("./locales/marketplace/es.json"),
zh: () => import("./locales/marketplace/zh.json"),
+ pt: () => import("./locales/marketplace/pt.json"),
},
local_models: {
en: () => import("./locales/local_models/en.json"),
de: () => import("./locales/local_models/de.json"),
es: () => import("./locales/local_models/es.json"),
zh: () => import("./locales/local_models/zh.json"),
+ pt: () => import("./locales/local_models/pt.json"),
},
society: {
en: () => import("./locales/society/en.json"),
de: () => import("./locales/society/de.json"),
es: () => import("./locales/society/es.json"),
zh: () => import("./locales/society/zh.json"),
+ pt: () => import("./locales/society/pt.json"),
},
computers: {
en: () => import("./locales/computers/en.json"),
de: () => import("./locales/computers/de.json"),
es: () => import("./locales/computers/es.json"),
zh: () => import("./locales/computers/zh.json"),
+ pt: () => import("./locales/computers/pt.json"),
},
// First-run guide and app tour: read on one boot, then only on a replay.
onboarding: {
@@ -152,6 +158,7 @@ const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknow
de: () => import("./locales/onboarding/de.json"),
es: () => import("./locales/onboarding/es.json"),
zh: () => import("./locales/onboarding/zh.json"),
+ pt: () => import("./locales/onboarding/pt.json"),
},
// The appshot editor: opened from a capture, never on start.
appshot_editor: {
@@ -159,6 +166,7 @@ const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknow
de: () => import("./locales/appshot_editor/de.json"),
es: () => import("./locales/appshot_editor/es.json"),
zh: () => import("./locales/appshot_editor/zh.json"),
+ pt: () => import("./locales/appshot_editor/pt.json"),
},
// The provider page (Settings → API Keys).
providers: {
@@ -166,6 +174,7 @@ const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknow
de: () => import("./locales/providers/de.json"),
es: () => import("./locales/providers/es.json"),
zh: () => import("./locales/providers/zh.json"),
+ pt: () => import("./locales/providers/pt.json"),
},
// A pane's "Review changes" dialog: opened from its title bar, never on start.
pane_review: {
@@ -173,10 +182,11 @@ const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknow
de: () => import("./locales/pane_review/de.json"),
es: () => import("./locales/pane_review/es.json"),
zh: () => import("./locales/pane_review/zh.json"),
+ pt: () => import("./locales/pane_review/pt.json"),
},
};
-const EXTRA: Record<UiLanguage, Record<string, unknown>[]> = { en: [], de: [], es: [], zh: [] };
+const EXTRA: Record<UiLanguage, Record<string, unknown>[]> = { en: [], de: [], es: [], zh: [], pt: [] };
const CHUNK_PROMISES: Partial<Record<LocaleChunk, Promise<void>>> = {};
function unwrapModule(mod: unknown): Record<string, unknown> {
@@ -380,11 +390,12 @@ export async function hydrateUiLanguage(): Promise<void> {
/**
* Mirror the interface language onto `<html lang>`. Chinese text falls back to
* a system font, and the tag is what makes the browser pick Simplified Chinese
- * glyphs instead of another CJK locale's forms.
+ * glyphs instead of another CJK locale's forms. Portuguese is European
+ * Portuguese, so it is tagged `pt-PT` rather than the bare `pt`.
*/
function applyDocumentLanguage(lang: UiLanguage): void {
try {
- document.documentElement.lang = lang === "zh" ? "zh-CN" : lang;
+ document.documentElement.lang = lang === "zh" ? "zh-CN" : lang === "pt" ? "pt-PT" : lang;
} catch {
/* SSR / tests without a document */
}
diff --git a/jarvis/ui/web/frontend/src/i18n/local-models-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/local-models-i18n-parity.test.ts
index 26a1573a59..a34de8371e 100644
--- a/jarvis/ui/web/frontend/src/i18n/local-models-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/local-models-i18n-parity.test.ts
@@ -1,6 +1,6 @@
/**
* Every `local_models.*` key a Local models panel asks for must exist in all
- * three locale chunks — and de/es must carry exactly the keys en carries.
+ * three locale chunks — and de/es/pt must carry exactly the keys en carries.
* The keys are read from the source files themselves, so a panel that adds a
* string without its translations fails here, not in front of a user.
*/
@@ -10,6 +10,7 @@ import { describe, expect, it } from "vitest";
import en from "./locales/local_models/en.json";
import de from "./locales/local_models/de.json";
import es from "./locales/local_models/es.json";
+import pt from "./locales/local_models/pt.json";
function flatten(obj: Record<string, unknown>, prefix = ""): string[] {
const out: string[] = [];
@@ -64,6 +65,7 @@ describe("local models i18n parity", () => {
for (const [lang, loc] of [
["de", de],
["es", es],
+ ["pt", pt],
] as const) {
it(`${lang} has the same local_models keys as en`, () => {
const enKeys = keysFor(en as Record<string, unknown>);
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/appshot_editor/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/appshot_editor/pt.json
new file mode 100644
index 0000000000..46c1cec26a
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/appshot_editor/pt.json
@@ -0,0 +1,147 @@
+{
+ "appshot_editor": {
+ "title": "Editar appshot",
+ "close": "Fechar",
+ "loading": "A carregar o appshot…",
+ "gone": "Este appshot já não está guardado. Tira um novo para o editares.",
+ "load_failed": "Não foi possível carregar a imagem.",
+ "tools": "Ferramentas",
+ "tool_move": "Selecionar e mover",
+ "tool_arrow": "Seta",
+ "tool_line": "Linha",
+ "tool_rect": "Retângulo",
+ "tool_filled": "Retângulo preenchido",
+ "tool_ellipse": "Elipse",
+ "tool_pen": "Desenhar",
+ "tool_highlight": "Marcador",
+ "tool_text": "Texto",
+ "tool_counter": "Contador",
+ "tool_spotlight": "Destaque",
+ "tool_redact": "Pixelizar ou desfocar",
+ "tool_crop": "Recortar",
+ "tool_background": "Fundo",
+ "color": "Cor",
+ "custom_color": "Escolher qualquer cor",
+ "size": "Tamanho",
+ "undo": "Anular",
+ "redo": "Refazer",
+ "delete": "Eliminar seleção",
+ "copy": "Copiar",
+ "save": "Guardar",
+ "copied": "Copiado para a área de transferência.",
+ "copy_failed": "Não foi possível copiar: {0}",
+ "copy_timeout": "a área de transferência não respondeu",
+ "saved_to": "Guardado em {0}",
+ "save_failed": "Não foi possível guardar: {0}",
+ "apply_failed": "Não foi possível usar a edição: {0}",
+ "text_placeholder": "Escreve e prime Enter",
+ "text_style": "Estilo do texto",
+ "text_plain": "Simples",
+ "text_label": "Etiqueta",
+ "text_outline": "Contorno",
+ "redact_mode": "Como ocultar",
+ "redact_pixelate": "Pixelizar",
+ "redact_blur": "Desfocar",
+ "crop_ratio": "Proporção",
+ "crop_free": "Livre",
+ "crop_reset": "Repor",
+ "crop_apply": "Recortar",
+ "hint_crop": "Arrasta uma pega ou a moldura. Arrasta fora dela para criar uma nova.",
+ "import": "Adicionar imagem",
+ "import_place": "Posicionar",
+ "place_beside": "Ao lado",
+ "place_below": "Abaixo",
+ "place_over": "Por cima",
+ "import_library": "Os teus appshots",
+ "import_library_empty": "Ainda não há appshots guardados. Escolhe um ficheiro.",
+ "import_library_failed": "Não foi possível carregar os teus appshots. Escolhe um ficheiro.",
+ "import_file": "Escolher um ficheiro…",
+ "import_paste_hint": "Ou cola uma imagem (Ctrl+V) ou larga-a aqui.",
+ "import_drop": "Larga para adicionar: {0}",
+ "import_failed": "Não foi possível adicionar esta imagem.",
+ "background_enabled": "Emoldurar a imagem",
+ "background_preset": "Pano de fundo",
+ "background_padding": "Margem",
+ "background_radius": "Cantos",
+ "background_shadow": "Sombra",
+ "hint_move": "Clica numa anotação para a selecionar. Arrasta para a mover, as teclas de seta deslocam-na, Delete remove-a. Faz duplo clique num texto para o alterar.",
+ "hint_counter": "Cada clique adiciona o número seguinte.",
+ "hint_spotlight": "Arrasta sobre o que importa; tudo o resto escurece.",
+ "discard_title": "Descartar as tuas edições?",
+ "discard_body": "Ainda nada foi copiado, guardado ou usado.",
+ "discard_keep": "Continuar a editar",
+ "discard_confirm": "Descartar",
+ "save_hint": "Guardar em Transferências",
+ "done": "Concluído",
+ "done_hint": "Usar esta versão: a tua próxima mensagem para {name} leva a imagem editada",
+ "drag_me": "Arrasta-me",
+ "drag_hint": "Mantém premido e arrasta a imagem para qualquer aplicação",
+ "drag_release": "Mantém a pega premida enquanto arrastas.",
+ "drag_failed": "Não foi possível arrastar: {0}",
+ "zoom": "Zoom",
+ "zoom_fit": "Ajustar",
+ "applied_voice": "{name} já vê a imagem editada na tua chamada.",
+ "applied_message": "A imagem editada vai com a tua próxima mensagem para {name}.",
+ "applied_none": "Edição guardada. Só vai para {name} durante uma chamada de voz.",
+ "card_seconds": "Cartão no canto",
+ "card_seconds_hint": "Quanto tempo a imagem fica no canto do ecrã depois de um appshot. Passa o rato por cima e clica em × para a fechar a qualquer momento.",
+ "card_seconds_option": "{0} segundos",
+ "card_minutes_option": "{0} min",
+ "card_until_closed": "Até eu fechar",
+ "arrow_style": "Estilo da seta",
+ "arrow_tapered": "Afunilada",
+ "arrow_classic": "Clássica",
+ "arrow_double": "Duas pontas",
+ "library_play": "Reproduzir",
+ "library_video": "Vídeo",
+ "library_filter_recordings": "Gravações",
+ "library_empty_recordings": "Ainda não há gravações de ecrã. Termina uma gravação e ela aparece aqui.",
+ "library_delete_recording_hint": "Eliminar esta gravação de ecrã",
+ "library_title": "As tuas capturas",
+ "library_subtitle": "As tuas capturas de ecrã, edições guardadas e gravações de ecrã num só lugar. Clica numa imagem para a editar ou num vídeo para o reproduzir.",
+ "library_off": "O histórico está desligado, por isso as novas capturas de ecrã não são guardadas. As gravações de ecrã continuam a ser guardadas aqui.",
+ "library_count": "{0} itens",
+ "library_filter_all": "Tudo",
+ "library_filter_edited": "Editados",
+ "library_edited_badge": "Editado",
+ "library_empty": "Ainda não há capturas. Tira uma captura de ecrã ou termina uma gravação de ecrã para a veres aqui.",
+ "library_empty_edited": "Ainda não há appshots editados. Abre um, anota-o e guarda.",
+ "clipboard_label": "Copiar para a área de transferência",
+ "clipboard_hint": "Cada appshot que tiras por atalho ou botão vai também para a área de transferência, pronto a colar com Ctrl+V (Cmd+V num Mac).",
+ "library_label": "Manter histórico de appshots",
+ "library_hint": "Guarda as 500 capturas de ecrã mais recentes e as respetivas edições neste computador. As gravações de ecrã ficam sempre guardadas até as eliminares.",
+ "library_edit": "Editar",
+ "library_delete": "Eliminar",
+ "library_delete_edit_hint": "Eliminar apenas esta versão editada",
+ "library_delete_original_hint": "Eliminar este appshot e a sua edição",
+ "library_delete_all": "Eliminar tudo",
+ "library_delete_all_confirm": "Eliminar todas as imagens e vídeos?",
+ "library_deleted_all": "Histórico de capturas eliminado",
+ "library_drag_hint": "Arrasta uma captura para um chat ou terminal para a anexar. Clica numa imagem para a editar ou num vídeo para o reproduzir.",
+ "library_drag_out": "Arrastar para outra aplicação",
+ "library_show_more": "Mostrar mais",
+ "library_show_less": "Mostrar menos",
+ "keep_label": "Eliminar capturas antigas",
+ "keep_hint": "Mantém na galeria apenas as capturas de ecrã e as gravações de ecrã mais recentes. As mais antigas são eliminadas automaticamente.",
+ "keep_all": "Nunca",
+ "keep_option": "Manter as {0} mais recentes",
+ "library_load_failed": "Não foi possível carregar os appshots: {0}",
+ "library_open_failed": "Não foi possível abrir este appshot: {0}",
+ "video_title": "Vídeo",
+ "video_loading": "A carregar o vídeo…",
+ "video_gone": "Este vídeo já não está disponível.",
+ "video_play": "Reproduzir",
+ "video_pause": "Pausa",
+ "video_to_start": "Voltar ao início",
+ "video_to_end": "Ir para o fim",
+ "video_speed": "Velocidade",
+ "video_timeline": "Linha do tempo: arrasta para percorrer, arrasta as extremidades para cortar",
+ "video_trim_start": "Cortar início",
+ "video_trim_end": "Cortar fim",
+ "video_trim_reset": "Repor corte",
+ "video_clip_length": "Clip {0}",
+ "video_save_hint": "Guardar o vídeo em Transferências",
+ "video_saving": "A guardar…",
+ "video_shortcuts": "Espaço reproduzir · ←/→ procurar · I/O definir início e fim"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/computers/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/computers/pt.json
new file mode 100644
index 0000000000..2e1efdce0e
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/computers/pt.json
@@ -0,0 +1,437 @@
+{
+ "computers": {
+ "title": "Computadores",
+ "subtitle": "Servidores e máquinas virtuais onde {name} pode trabalhar, além deste.",
+ "loading": "A carregar os teus computadores…",
+ "load_failed": "Não foi possível carregar a lista de computadores. O backend está em execução?",
+ "add": "Adicionar computador",
+ "add_title": "Adicionar um computador",
+ "add_subtitle": "Escolhe onde está o computador. Podes adicionar quantos quiseres.",
+ "check_all": "Verificar todos",
+ "check_now": "Verificar agora",
+ "check_again": "Verificar novamente",
+ "checked": "Verificado",
+ "never_checked": "nunca",
+ "just_now": "agora mesmo",
+ "back": "Voltar",
+ "close": "Fechar",
+ "cancel": "Cancelar",
+ "copy": "Copiar",
+ "copied": "Copiado",
+ "refresh": "Atualizar",
+ "recommended": "Recomendado",
+ "all_computers": "Todos os computadores",
+ "rename": "Mudar o nome",
+ "remove": "Remover",
+ "remove_confirm": "Remover “{computer}” de {name}? O computador continua a funcionar; {name} apenas deixa de se ligar a ele.",
+ "remove_destroy_vm": "Eliminar também a máquina virtual e o respetivo disco deste computador",
+ "welcome_badge": "Novo",
+ "welcome_title": "Dá mais computadores a {name}",
+ "welcome_body": "Liga um servidor que alugas, importa um da tua conta de alojamento ou deixa {name} criar uma máquina virtual aqui mesmo. Todas as máquinas são acedidas da mesma forma segura: por SSH, com uma chave que só {name} tem.",
+ "how_1_title": "Adiciona um computador",
+ "how_1_body": "Escreve um endereço, escolhe um servidor da tua conta de alojamento ou cria uma VM local.",
+ "how_2_title": "{name} configura a sua chave",
+ "how_2_body": "Uma palavra-passe é usada uma vez para instalar a chave de {name} e depois é esquecida.",
+ "how_3_title": "Sempre verificado",
+ "how_3_body": "{name} fixa a identidade de cada servidor e avisa-te se alguma vez mudar.",
+ "path_server_title": "Um servidor que alugas",
+ "path_server_body": "Qualquer VPS ou máquina acessível por SSH — Hostinger, Strato, IONOS, um Raspberry Pi em casa.",
+ "path_server_lead": "Introduz o endereço e o login que o teu fornecedor de alojamento te deu.",
+ "path_cloud_title": "Da tua conta de alojamento",
+ "path_cloud_body": "Liga a Hostinger, Hetzner ou DigitalOcean uma vez e escolhe servidores de uma lista — sem IPs para copiar.",
+ "path_cloud_lead": "{name} lê a tua lista de servidores com um token de API que crias no teu fornecedor.",
+ "path_local_title": "Uma máquina virtual aqui",
+ "path_local_body": "{name} cria um computador Ubuntu novo dentro deste — um ambiente seguro para experimentar coisas.",
+ "path_local_lead": "Uma máquina Ubuntu isolada neste computador, com tecnologia Multipass.",
+ "path_local_foot": "Windows · macOS · Linux",
+ "field_host": "Endereço IP ou nome do anfitrião",
+ "field_host_hint": "Encontras no painel do teu fornecedor, por exemplo “203.0.113.10”.",
+ "field_port": "Porta",
+ "field_name": "Nome",
+ "field_name_placeholder": "O meu VPS",
+ "field_username": "Login",
+ "field_password": "Palavra-passe",
+ "password_for": "Palavra-passe de {user}",
+ "login_title": "Como deve {name} iniciar sessão?",
+ "login_once_title": "Usar a palavra-passe uma vez",
+ "login_once_body": "{name} inicia sessão uma vez, adiciona a sua própria chave e esquece a palavra-passe. A opção mais segura.",
+ "login_key_title": "Eu próprio adicionei a chave de {name}",
+ "login_key_body": "Colaste a chave pública de {name} no painel do teu fornecedor ou no authorized_keys do servidor.",
+ "login_keep_title": "Continuar a usar a palavra-passe",
+ "login_keep_body": "A palavra-passe fica guardada no porta-chaves do teu sistema. Funciona, mas uma chave é mais segura.",
+ "password_once_hint": "Usada apenas para este início de sessão. Nunca é guardada.",
+ "password_keep_hint": "Guardada encriptada no porta-chaves do teu sistema, nunca num ficheiro.",
+ "key_paste_hint": "Chave pública de {name} — cola-a nas definições de chaves SSH do teu fornecedor",
+ "connect": "Ligar",
+ "connecting": "A ligar…",
+ "cloud_provider": "Fornecedor de alojamento",
+ "account_connected": "Ligada",
+ "account_not_connected": "Não ligada",
+ "token_title": "Liga a tua conta {provider}",
+ "token_body": "{name} precisa de um token de API para listar os teus servidores. Só lê a lista — e, na Hostinger, adiciona a chave de {name} ao servidor que escolheres.",
+ "token_open": "Abrir a página de tokens de {provider}",
+ "token_paste": "Cria um token, copia-o e cola-o aqui.",
+ "token_placeholder": "Cola o token de API",
+ "token_save": "Guardar token",
+ "token_storage": "O token fica guardado no porta-chaves do teu sistema e só é enviado ao teu fornecedor.",
+ "disconnect_account": "Desligar",
+ "pick_server": "Escolhe um servidor",
+ "no_servers_in_account": "Esta conta ainda não tem servidores.",
+ "no_ip": "ainda sem IP público",
+ "already_added": "Já adicionado",
+ "auto_key_title": "Não é preciso palavra-passe",
+ "auto_key_body": "{name} adiciona a sua própria chave a este servidor através de {provider}. Pode demorar um minuto até o servidor a aceitar.",
+ "use_password_instead": "Usar antes a palavra-passe de root",
+ "local_checking": "A procurar o Multipass neste computador…",
+ "local_missing_title": "Instala primeiro o Multipass",
+ "local_missing_body": "O Multipass é a ferramenta gratuita e de código aberto da Canonical que executa máquinas virtuais Ubuntu no Windows, macOS e Linux. {name} usa-o para criar e gerir as tuas VMs locais.",
+ "local_get_multipass": "Obter o Multipass",
+ "local_missing_foot": "No Windows precisa do Hyper-V (Windows Pro) ou do VirtualBox. Depois de instalar, clica em “Verificar novamente”.",
+ "field_vm_name": "Nome",
+ "vm_name_hint": "Letras minúsculas, algarismos e hífenes.",
+ "vm_name_invalid": "Usa 2–40 letras minúsculas, algarismos ou hífenes, a começar por uma letra.",
+ "field_image": "Sistema",
+ "field_cpus": "Núcleos do processador",
+ "field_memory": "Memória",
+ "field_disk": "Disco",
+ "local_key_note": "A VM arranca já com a chave de {name} lá dentro. Nunca é criada nenhuma palavra-passe.",
+ "create_vm": "Criar máquina virtual",
+ "provisioning_title": "A criar a máquina virtual",
+ "status_unknown": "Ainda não verificado",
+ "status_online": "Online",
+ "status_offline": "Inacessível",
+ "status_auth_failed": "Início de sessão recusado",
+ "status_host_key_changed": "Identidade alterada",
+ "status_provisioning": "A ser criado",
+ "status_stopped": "Parado",
+ "status_error": "Problema",
+ "provider_hostinger": "Hostinger",
+ "provider_hetzner": "Hetzner Cloud",
+ "provider_digitalocean": "DigitalOcean",
+ "provider_multipass": "VM local",
+ "fix_auth_title": "{name} ainda não consegue iniciar sessão",
+ "fix_auth_body": "Introduz a palavra-passe uma vez e {name} adiciona a sua própria chave — a palavra-passe não é guardada.",
+ "fix_auth_manual": "Ou adiciona tu a chave",
+ "install_key": "Instalar a chave de {name}",
+ "fix_hostkey_title": "A identidade deste servidor mudou",
+ "fix_hostkey_body": "Isto acontece quando um servidor é reinstalado — ou quando alguém se faz passar por ele. {name} deixou de se ligar. Só confia na nova identidade se tiveres sido tu a reconstruir o servidor.",
+ "pinned_identity": "Identidade conhecida",
+ "trust_new_identity": "Reinstalei-o — confiar na nova identidade",
+ "fix_offline_title": "{name} não consegue aceder a este computador",
+ "fix_error_title": "Algo correu mal",
+ "start_vm": "Iniciar",
+ "stop_vm": "Parar",
+ "vitals_title": "Sinais vitais",
+ "meter_cpu": "CPU",
+ "meter_cpu_long": "Carga do processador",
+ "meter_memory": "Memória",
+ "meter_disk": "Disco",
+ "uptime": "Em execução há",
+ "latency": "Tempo de resposta",
+ "facts_title": "Sistema",
+ "facts_empty": "Os dados aparecem após a primeira verificação bem-sucedida.",
+ "fact_os": "Sistema operativo",
+ "fact_kernel": "Kernel",
+ "fact_arch": "Arquitetura",
+ "fact_cpu": "Processador",
+ "fact_memory": "Memória",
+ "fact_disk": "Disco",
+ "fact_hostname": "Nome do anfitrião",
+ "security_title": "Acesso",
+ "auth_key": "A própria chave de {name}",
+ "auth_key_body": "{name} inicia sessão com a sua chave. Nenhuma palavra-passe é guardada em lado nenhum.",
+ "auth_password": "Palavra-passe",
+ "auth_password_body": "A palavra-passe está no porta-chaves do teu sistema. Instala a chave de {name} para deixares de precisar dela.",
+ "server_identity": "Identidade do servidor (impressão digital)",
+ "jarvis_key": "Chave pública de {name}",
+ "console_title": "Consola",
+ "console_clear": "Limpar",
+ "console_empty": "Executa um comando neste computador. Prime ↑ para ver os anteriores.",
+ "console_placeholder": "Escreve um comando e prime Enter",
+ "console_offline": "A consola está disponível enquanto o computador estiver online",
+ "console_exit": "saída",
+ "console_truncated": "saída encurtada",
+ "identity_title": "Chave de {name}",
+ "identity_body": "Uma chave para todos os teus computadores. Cola-a no painel de um fornecedor para deixares {name} entrar sem palavra-passe.",
+ "stat_total": "Computadores",
+ "stat_vms": "VMs locais",
+ "stat_no_vms": "sem VMs locais",
+ "stat_online": "Online",
+ "stat_online_hint": "a responder neste momento",
+ "stat_attention": "Requerem atenção",
+ "stat_attention_hint": "abre um para o corrigir",
+ "stat_all_good": "tudo bem",
+ "stat_latency": "Tempo de resposta",
+ "stat_latency_hint": "média dos computadores online",
+ "unit_cpu": "núcleos",
+ "unit_days": "d",
+ "unit_hours": "h",
+ "unit_minutes": "min",
+ "ready_title": "Pronto para agentes de programação",
+ "ready_yes": "Pronto",
+ "ready_no": "Ainda não está pronto",
+ "ready_body": "As sessões de IDE e os agentes que correm aqui precisam de tmux, git e de uma CLI de programação com sessão iniciada. Assim continuam a trabalhar enquanto este PC está desligado.",
+ "ready_offline": "Verifica primeiro o computador; esta lista é lida por SSH.",
+ "ready_missing": "Não instalado",
+ "ready_not_logged_in": "Instalado, sem sessão iniciada",
+ "ready_installed": "Instalado",
+ "ready_copy_login": "Usar o meu login",
+ "ready_copy_login_hint": "Copia o ficheiro de login desta CLI deste computador para o servidor. Faz isto apenas num servidor que seja teu.",
+ "ready_login_copied": "{agent} tem agora sessão iniciada no servidor.",
+ "ready_install": "Instalar {items}",
+ "ready_needs_root": "Requer root ou sudo neste login.",
+ "ready_body_windows": "As sessões de IDE e os agentes que correm neste computador Windows precisam do Git for Windows e de uma CLI de programação com sessão iniciada. Aí param quando este PC se desliga.",
+ "ready_needs_admin": "Requer um login de administrador neste computador.",
+ "ready_too_old": "Demasiado antigo ({version}); requer a 18 ou mais recente",
+ "ready_token_button": "Usar um token",
+ "ready_token_hint": "Executa claude setup-token em qualquer computador, inicia sessão no navegador e cola a linha que for impressa. Necessário num Mac: o Porta-chaves fica bloqueado enquanto os agentes trabalham por SSH. O token só é guardado nesse computador.",
+ "ready_token_placeholder": "Token do Claude",
+ "ready_token_save": "Guardar",
+ "ready_token_saved": "O Claude Code tem agora sessão iniciada para os agentes desse computador.",
+ "ready_installing": "A instalar no servidor…",
+ "ready_install_done": "Instalado.",
+ "ready_install_failed": "A instalação falhou.",
+ "keep_title": "Continuar a trabalhar quando este PC fecha",
+ "keep_body": "Quando sais da aplicação, as sessões do IDE agêntico em curso passam para este computador com a sua pasta e conversa, e continuam lá.",
+ "keep_off": "Desligado",
+ "keep_failed": "Não foi possível guardar a definição.",
+ "keep_windows_note": "Os computadores Windows não são oferecidos aqui: os agentes param quando este PC se desliga.",
+ "provider_vultr": "Vultr",
+ "provider_linode": "Akamai Linode",
+ "provider_aws_lightsail": "AWS Lightsail",
+ "provider_contabo": "Contabo",
+ "provider_ionos": "IONOS",
+ "provider_strato": "STRATO",
+ "provider_ovhcloud": "OVHcloud",
+ "provider_oracle_cloud": "Oracle Cloud",
+ "list_title": "Os teus computadores",
+ "list_summary": "{online} de {total} online",
+ "list_attention": "{count} requerem atenção",
+ "row_switched_off": "Desligado",
+ "row_switch_label": "Usar {computer}",
+ "row_routes_one": "1 endereço",
+ "row_routes_many": "{count} endereços",
+ "status_last_check": "Última verificação: {ago}",
+ "status_error_id": "ID do erro: {id}",
+ "copy_error_id": "Copiar ID do erro",
+ "copied_error_id": "ID do erro copiado",
+ "routes_title": "Endereços",
+ "routes_hint": "Testados de cima para baixo. É usado o primeiro que responder; um mais acima volta a assumir assim que responder.",
+ "route_active": "Em uso",
+ "route_seen": "Último acesso: {ago}",
+ "route_source_tailscale": "Tailscale",
+ "route_source_ssh_config": "Configuração SSH",
+ "route_move_up": "Mover para cima",
+ "route_move_down": "Mover para baixo",
+ "route_remove": "Remover endereço",
+ "route_add": "Adicionar endereço",
+ "route_add_host": "Nome do anfitrião ou endereço IP",
+ "route_add_label": "Nome (opcional)",
+ "route_adding": "A verificar…",
+ "route_suggest": "No Tailscale como {host}",
+ "known_title": "Conhecidos neste PC",
+ "known_body": "Das definições SSH deste PC. Escolhe um para preencher o formulário.",
+ "known_from_config": "Configuração SSH",
+ "known_from_history": "Ligado anteriormente",
+ "known_proxy": "Requer um jump host, ainda não suportado",
+ "known_added": "Já adicionado",
+ "known_key": "Tem a sua própria chave",
+ "github_title": "GitHub para os agentes daqui",
+ "github_body": "Partilha o login do GitHub deste PC com os agentes de programação deste computador, para poderem fazer clone e push enquanto este PC está desligado.",
+ "github_warning": "Ficam com o mesmo acesso ao GitHub que tu. Partilha apenas com servidores que controlas.",
+ "github_share": "Partilhar",
+ "github_unshare": "Deixar de partilhar",
+ "github_shared": "Partilhado: {ago}",
+ "github_refresh": "Partilhar novamente",
+ "placement_title": "Colocação automática",
+ "placement_body": "Os novos espaços de trabalho podem escolher uma máquina sozinhos. Escolhe com que frequência cada uma recebe trabalho novo.",
+ "placement_switch": "Oferecer “Automático” para novos espaços de trabalho",
+ "placement_this_pc": "Este PC",
+ "weight_0": "Nunca",
+ "weight_1": "Menos",
+ "weight_2": "Normal",
+ "weight_3": "Mais",
+ "settings_title": "Para todos os computadores",
+ "col_computer": "Computador",
+ "col_status": "Estado",
+ "col_address": "Endereço",
+ "col_system": "Sistema",
+ "col_load": "Carga",
+ "empty_title": "Ainda sem computadores",
+ "empty_body": "Liga um servidor que alugas ou uma máquina em casa, e {name} e os seus agentes podem trabalhar lá — mesmo com este PC desligado.",
+ "empty_foot": "Hostinger, Hetzner, DigitalOcean, IONOS, um Raspberry Pi ou qualquer servidor com SSH.",
+ "provider_generic": "Servidor (SSH)",
+ "provider_raspberry_pi": "Raspberry Pi",
+ "provider_home_server": "Servidor doméstico",
+ "tabs_label": "Secções do computador",
+ "tab_overview": "Visão geral",
+ "tab_console": "Consola",
+ "tab_access": "Acesso",
+ "tab_agents": "Agentes de programação",
+ "auth_private_key": "A tua própria chave SSH",
+ "auth_private_key_body": "Uma chave que já usas. Fica guardada no porta-chaves do teu sistema.",
+ "access_method": "Como {name} inicia sessão",
+ "access_current": "Neste momento: {method}.",
+ "access_key_via_login": "{name} usa o login atual uma vez para instalar a sua própria chave e depois muda para ela.",
+ "access_save": "Guardar",
+ "access_saved": "Guardado.",
+ "access_identities": "Identidades",
+ "access_identities_body": "A impressão digital do servidor prova que é sempre a mesma máquina. A chave pública de {name} é aquilo em que o servidor confia.",
+ "access_no_fingerprint": "A identidade do servidor é registada na primeira ligação bem-sucedida.",
+ "wz_progress": "Progresso",
+ "wz_step_where": "Servidor",
+ "wz_step_method": "Ligação",
+ "wz_step_details": "Detalhes",
+ "wz_step_done": "Concluído",
+ "wz_title_where": "Onde está o teu servidor?",
+ "wz_title_method": "Como deve {name} ligar-se?",
+ "wz_title_details": "Liga o teu servidor",
+ "wz_search": "Pesquisar fornecedores",
+ "wz_group_cloud": "Cloud",
+ "wz_group_hosting": "Alojamento web",
+ "wz_group_home": "Em casa",
+ "wz_group_other": "Outro",
+ "wz_group_local": "Neste computador",
+ "wz_has_api": "Importar com token de API",
+ "wz_ssh_only": "Ligar com SSH",
+ "wz_local_title": "Este computador — máquina virtual",
+ "wz_local_sub": "Uma máquina Ubuntu nova, com tecnologia Multipass",
+ "wz_no_match": "Nenhum fornecedor corresponde. Escolhe “Outro servidor” para ligar qualquer máquina com SSH.",
+ "wz_m_api_title": "Importar com um token de API",
+ "wz_m_api_body": "Escolhe o servidor da tua conta {provider} — sem endereço para copiar.",
+ "wz_m_api_body_keys": "Escolhe o servidor da tua conta {provider}; {name} adiciona a chave por ti, sem palavra-passe.",
+ "wz_m_password_title": "Palavra-passe de root, usada uma vez",
+ "wz_m_password_body": "{name} inicia sessão uma vez, instala a sua própria chave e esquece a palavra-passe.",
+ "wz_m_private_key_title": "A minha própria chave SSH",
+ "wz_m_private_key_body": "Usa uma chave com que já inicias sessão. Fica no porta-chaves do teu sistema.",
+ "wz_m_jarvis_key_title": "Chave de {name}",
+ "wz_m_jarvis_key_body": "Adiciona tu a chave pública de {name} em {provider} — nunca escreves aqui nenhuma palavra-passe.",
+ "wz_continue": "Continuar",
+ "wz_keep_password": "Continuar a usar a palavra-passe em vez de uma chave",
+ "wz_private_key": "Chave privada",
+ "wz_private_key_hint": "Cola a chave ou escolhe o ficheiro (muitas vezes ~/.ssh/id_ed25519).",
+ "wz_pick_key_file": "Escolher ficheiro da chave",
+ "wz_key_file_too_big": "Esse ficheiro é demasiado grande para ser uma chave SSH.",
+ "wz_passphrase": "Frase-passe",
+ "wz_passphrase_placeholder": "Só se a chave tiver uma",
+ "wz_open_key_page": "Abrir a página de chaves SSH em {provider}",
+ "wz_test": "Testar ligação",
+ "wz_test_ok": "Ligado",
+ "wz_test_failed": "A ligação não funcionou.",
+ "wz_fix_auth": "Verifica o nome de login e a palavra-passe ou a chave. Em muitos servidores o login é root.",
+ "wz_fix_unreachable": "Verifica o endereço e se o servidor está ligado. A porta SSH é normalmente a 22.",
+ "wz_fix_timeout": "O servidor não respondeu. Uma firewall pode estar a bloquear o SSH ou o endereço está errado.",
+ "wz_fix_host_key_changed": "Este endereço respondeu com uma identidade diferente da anterior. Só continues se tiveres reinstalado o servidor.",
+ "wz_fix_protocol": "O servidor não falou SSH como esperado. Verifica a porta.",
+ "wz_fix_bad_key": "Não foi possível ler a chave. Cola a chave privada (não o ficheiro .pub) e verifica a frase-passe.",
+ "wz_token_step1": "Cria um token de API em {provider}",
+ "wz_token_connect": "Ligar conta",
+ "wz_pick_server": "Escolhe um servidor da tua conta {provider}",
+ "wz_done_title": "{computer} está ligado",
+ "wz_done_provisioning": "{computer} está a ser criado",
+ "wz_next": "Seguinte",
+ "wz_next_agents": "Prepará-lo para agentes de programação",
+ "wz_next_agents_body": "Verifica o tmux, o git e as CLIs de programação, e instala o que falta com um clique.",
+ "wz_next_ide": "Executar sessões de IDE lá",
+ "wz_next_ide_body": "No IDE agêntico, escolhe “Executa em: {computer}” quando abrires um espaço de trabalho.",
+ "wz_open": "Abrir {computer}",
+ "cx_title": "Ligar um computador",
+ "cx_subtitle": "Introduz o endereço. {name} inicia sessão com as chaves SSH deste PC ou pede o que falta, e testa a ligação antes de guardar o que quer que seja.",
+ "cx_address": "Endereço do servidor",
+ "cx_address_hint": "O IP que o teu fornecedor mostra, p. ex. 203.0.113.10 — ou cola uma linha \"ssh root@…\" completa.",
+ "cx_login": "Como iniciar sessão",
+ "cx_login_password": "Palavra-passe",
+ "cx_login_key": "Chave SSH",
+ "cx_password": "Palavra-passe",
+ "cx_password_hint": "Usada uma vez: {name} adiciona a sua própria chave e esquece a palavra-passe.",
+ "cx_private_key": "Chave privada",
+ "cx_private_key_hint": "Cola-a ou escolhe o ficheiro (por exemplo id_ed25519). Fica no porta-chaves do teu sistema.",
+ "cx_key_file": "Escolher ficheiro…",
+ "cx_passphrase": "Frase-passe (se a chave tiver uma)",
+ "cx_key_too_big": "Esse ficheiro é demasiado grande para ser uma chave SSH.",
+ "cx_own_key_hint": "Chave pública de {name} — tem de estar já no authorized_keys do servidor",
+ "cx_key_already_there": "A chave de {name} já está no servidor",
+ "cx_more": "Mais opções",
+ "cx_keep_password": "Manter a palavra-passe em vez de instalar a chave de {name}",
+ "cx_connect": "Ligar",
+ "cx_accounts_title": "Ou liga uma conta de alojamento",
+ "cx_accounts_body": "Vê todos os teus servidores numa lista e escolhe um — sem IP para copiar.",
+ "cx_account_title": "Os teus servidores {provider}",
+ "cx_vm_link": "Criar antes uma máquina virtual neste PC",
+ "cx_vm_title": "Máquina virtual neste PC",
+ "cx_fail_auth": "O servidor recusou o início de sessão. Verifica a palavra-passe, a chave ou o nome de login.",
+ "cx_fail_unreachable": "Não foi possível aceder ao servidor. Verifica o endereço e se o SSH (porta 22) está aberto.",
+ "cx_fail_timeout": "O servidor não respondeu a tempo. Verifica o endereço e a tua firewall.",
+ "cx_fail_host_key_changed": "A identidade do servidor mudou desde a última ligação.",
+ "cx_fail_protocol": "A ligação SSH falhou.",
+ "cx_fail_bad_key": "Isto não parece uma chave privada válida, ou a frase-passe está errada.",
+ "cx_paste": "Endereço do servidor",
+ "cx_paste_hint": "Um IP ou nome de anfitrião, como 203.0.113.10. Uma linha “ssh user@host” completa também funciona.",
+ "cx_detected": "Encontrado:",
+ "cx_key_found": "Chave privada",
+ "cx_login_title": "Como deve {name} iniciar sessão?",
+ "cx_method_password": "Palavra-passe",
+ "cx_method_key": "Chave SSH",
+ "cx_method_agent": "Configuração por agente",
+ "cx_key_own": "A minha própria chave",
+ "cx_key_own_body": "Uma chave privada que já usas para este servidor.",
+ "cx_key_assistant": "Chave de {name}",
+ "cx_key_assistant_body": "Adicionas a chave pública de {name} ao servidor uma vez.",
+ "cx_key_assistant_hint": "Adiciona-a a ~/.ssh/authorized_keys no servidor ou no teu painel de alojamento em “Chaves SSH”. Depois prime Ligar.",
+ "cx_key_from_paste": "A usar a chave privada da caixa de endereço.",
+ "cx_agent_step1": "Copia as instruções de configuração.",
+ "cx_agent_copy": "Copiar instruções",
+ "cx_agent_show": "Mostrar",
+ "cx_agent_hide": "Ocultar",
+ "cx_agent_step2": "Nesse computador, cola-as no Claude Code, Codex ou outro agente de programação. Ele ativa o SSH e adiciona a chave de {name}.",
+ "cx_agent_step3": "O agente termina com uma linha que começa por JARVIS-CONNECT. Cola essa linha em “Endereço do servidor” acima.",
+ "cx_agent_done": "A linha do agente foi introduzida: a chave de {name} está nesse computador. Prime Ligar.",
+ "cx_connect_hint": "Nada é guardado até o teste funcionar.",
+ "cx_check_failed": "A ligação ainda não funciona",
+ "cx_check_title": "A verificar a ligação",
+ "cx_step_reach": "Aceder a {host}",
+ "cx_step_login": "Iniciar sessão como {user}",
+ "cx_step_probe": "Executar um comando de teste",
+ "cx_step_probe_warn": "Sessão iniciada, mas o comando de teste não deu resposta. A ligação continua a funcionar.",
+ "cx_step_save": "Guardar a ligação",
+ "cx_step_save_key": "Instalar a chave de {name} e guardar",
+ "cx_step_save_warn": "Guardado, mas a verificação seguinte não voltou a ficar online.",
+ "cx_edit": "Alterar detalhes",
+ "cx_retry": "Tentar novamente",
+ "cx_verified_body": "{name} acedeu, iniciou sessão e executou um comando de teste.",
+ "cx_auto_hint": "{name} experimenta as chaves SSH que este PC já usa. Se nenhuma abrir o servidor, pede a palavra-passe uma vez.",
+ "cx_other_ways": "Outras formas de iniciar sessão",
+ "cx_auto_back": "Automático (recomendado)",
+ "cx_ask_password": "Nenhuma das chaves SSH deste PC abre este servidor. Introduz a palavra-passe uma vez: {name} configura depois a sua própria chave e esquece a palavra-passe.",
+ "cx_key_only_title": "Este servidor só aceita chaves que conhece",
+ "cx_key_only_body": "Executa esta linha uma vez no servidor, na consola web do teu painel de alojamento ou em qualquer sessão SSH. Ela adiciona a chave de {name}. Depois prime Tentar novamente.",
+ "cx_key_only_line": "Linha para o servidor",
+ "cx_key_only_agent": "Ou deixa um agente de programação no servidor fazê-lo",
+ "cx_try_again": "Tentar novamente",
+ "cx_ssh_host": "Anfitrião SSH",
+ "cx_ssh_placeholder": "Introduz um anfitrião ou endereço IP",
+ "cx_invalid_port": "Introduz uma porta entre 1 e 65535.",
+ "cx_additional_options": "Mais formas de adicionar um computador",
+ "cx_connection_hint": "Escolhe como ligar este computador.",
+ "cx_connection_type": "Tipo de ligação",
+ "cx_connection_server": "Endereço do servidor",
+ "cx_connection_ssh": "SSH",
+ "cx_server_host": "Anfitrião",
+ "cx_pairing_code": "Código de emparelhamento",
+ "cx_pairing_hint": "Cola aqui um URL de emparelhamento completo para preencher os dois campos automaticamente.",
+ "paired_servers": "Servidores Dodaios",
+ "paired_load_failed": "Não foi possível carregar as ligações a servidores.",
+ "paired_verified": "Ligado na última verificação",
+ "paired_offline": "Ligação indisponível — verifica o servidor ou emparelha novamente",
+ "paired_open": "Abrir servidor",
+ "paired_disconnect": "Desligar e revogar acesso",
+ "paired_connection_hint": "Usa o código gerado no servidor Dodaios de destino. Endereços remotos requerem HTTPS; um túnel SSH pode usar HTTP local.",
+ "pair_this_server": "Permitir que outro computador se ligue a este Dodaios",
+ "pair_access_hint": "Gera um código de utilização única na instância de destino. Qualquer pessoa com este código pode abrir e controlar este Dodaios. Expira ao fim de cinco minutos. O outro computador tem de conseguir aceder a este servidor por HTTPS ou por um túnel SSH. Revogar um cliente bloqueia novas ligações; as sessões de navegador já abertas mantêm-se iniciadas.",
+ "pair_generate": "Gerar código de emparelhamento",
+ "pair_link": "URL de emparelhamento",
+ "pair_expires": "Expira às",
+ "pair_revoke": "Revogar acesso",
+ "paired_no_ssh": "Ainda sem computadores SSH"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index 72a4eafa09..0279708ca1 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -478,7 +478,8 @@
"hidden": "Ausgeblendet",
"visible": "Sichtbar",
"links": "Links",
- "back": "Zurück"
+ "back": "Zurück",
+ "website_other": "Website / Sonstiges"
},
"contacts": {
"subtitle": "Dein persönliches Adressbuch — Namen, Kontaktdaten und eine kurze Notiz pro Person.",
@@ -552,7 +553,8 @@
"partner": "Partner",
"acquaintance": "Bekannte/r",
"other": "Andere"
- }
+ },
+ "remove": "Entfernen"
},
"dictionary": {
"title": "Wörterbuch",
@@ -740,7 +742,8 @@
"testing": "Test läuft…",
"test_hint": "Testet den aktiven Modus mit einem Beispiel beim gewählten Anbieter. Speichert nichts.",
"sample_before": "Vorher",
- "sample_after": "Nachher"
+ "sample_after": "Nachher",
+ "ollama_local": "Ollama (lokal)"
},
"prompt_mode": {
"title": "Prompt-Modus",
@@ -763,6 +766,15 @@
"api_keys": {
"title": "Spracheingabe",
"description": "Schlüssel und Anbieter, die deine Sprache in Text verwandeln."
+ },
+ "call_not_ended": "Das Sprachgespräch ist noch nicht beendet. Bitte versuche es erneut.",
+ "not_running_here": "Die Sprachsteuerung läuft auf diesem Computer nicht.",
+ "request_failed": "Sprachanfrage fehlgeschlagen ({status}).",
+ "startup_audio_lost": "Das Audio beim Sprachstart konnte nicht gehalten werden. Bitte starte erneut.",
+ "reconnect_failed": "Erneute Sprachverbindung fehlgeschlagen.",
+ "backend_error": {
+ "voice_connection_lost": "Die Sprachverbindung ist abgebrochen. Ausstehende Aktionen wurden nicht erneut ausgeführt.",
+ "subscription_request_failed": "Der Zugriff über das ChatGPT-Abo konnte diese Anfrage nicht abschließen. Es wurde kein API-Schlüssel verwendet."
}
},
"voice_state": {
@@ -842,7 +854,11 @@
"realtime_webrtc_degraded": "Der WebRTC-Transport konnte nicht aufgebaut werden; der Ton läuft weiter über die Audio-Verbindung.",
"realtime_transport_capability_missing": "Dieses Fenster hat die Desktop-Berechtigung für den Abo-Transport nicht erhalten. Starte die App neu.",
"realtime_transport_offer_unsupported": "Dieses Fenster kann die WebRTC-Verbindung für den Abo-Transport nicht aufbauen. Nutze stattdessen einen API-Realtime-Anbieter.",
- "realtime_transport_socket_unreachable": "Der Kanal für den Abo-Transport war nicht erreichbar. Starte die App neu und versuche es erneut."
+ "realtime_transport_socket_unreachable": "Der Kanal für den Abo-Transport war nicht erreichbar. Starte die App neu und versuche es erneut.",
+ "resize_hint": "Ziehen, um die Seitenleiste anzupassen — Doppelklick setzt sie zurück",
+ "ide_navigation": "IDE-Navigation",
+ "workspace_options": "Workspace-Optionen",
+ "open_conversation_failed": "Unterhaltung konnte nicht geöffnet werden"
},
"provider_billing": {
"api": "API, nutzungsabhängige Abrechnung",
@@ -1038,7 +1054,8 @@
"tokens_out": "Ausgabe-Tokens",
"tool_running": "Läuft noch…",
"interrupt_hint": "Esc zum Abbrechen",
- "status_words": "Denkt nach…, Arbeitet…, Gräbt…, Überlegt…, Grübelt…, Sortiert…, Knobelt…, Tüftelt…, Baut zusammen…, Entwirrt…, Kocht…, Werkelt…"
+ "status_words": "Denkt nach…, Arbeitet…, Gräbt…, Überlegt…, Grübelt…, Sortiert…, Knobelt…, Tüftelt…, Baut zusammen…, Entwirrt…, Kocht…, Werkelt…",
+ "drop_nothing_usable": "Das Abgelegte enthielt nichts, was dieser Chat verwenden kann."
},
"chats_view": {
"title": "Chat",
@@ -1321,7 +1338,14 @@
"renamed": "Umbenannt",
"delivered": "Geliefert",
"binary": "binär"
- }
+ },
+ "tool_screenshot": "Screenshot",
+ "tool_web_search": "Websuche",
+ "tool_open_app": "App öffnen",
+ "tool_type_text": "Text tippen",
+ "tool_remember": "Merken",
+ "tool_admin_op": "Admin-Vorgang",
+ "tool_multi_spawn": "Mehrfachstart"
},
"tasks_view": {
"title": "Automatisierungen",
@@ -1472,7 +1496,165 @@
"oauth_client_own": "Dein eigener {family}-Client",
"oauth_client_placeholder": "Platzhalter-{family}-Client — beim Verbinden eigenen hinterlegen",
"fact_publisher": "Herausgeber",
- "fact_source": "Quelle"
+ "fact_source": "Quelle",
+ "reauth_provider_rejected": "Der Anbieter akzeptiert diese Autorisierung nicht mehr",
+ "reauth_client_rejected": "Der Anbieter akzeptiert den OAuth-Client dieser App nicht mehr",
+ "reauth_client_missing": "Verbunden, bevor Dodaios den OAuth-Client gespeichert hat",
+ "reauth_rotation_lost": "Ein erneuertes Token konnte nicht gespeichert werden und wurde deshalb verworfen",
+ "reauth_refresh_missing": "Das Zugriffstoken ist abgelaufen und kann nicht automatisch erneuert werden",
+ "reauth_unknown": "Die Autorisierung funktioniert nicht mehr",
+ "reauth_retrying": "{headline}. Dodaios versucht es einmal am Tag erneut; verbinde neu, um es sofort zu beheben.",
+ "reauth_no_retry": "{headline}. Das lässt sich nicht automatisch wiederholen — verbinde neu, um es zu beheben.",
+ "ago_today": "heute",
+ "ago_yesterday": "gestern",
+ "ago_days": "vor {count} Tagen",
+ "longevity_permanent": "Bleibt verbunden",
+ "longevity_self_renewing": "Erneuert sich selbst",
+ "longevity_provider_limited": "Regelmäßig neu anmelden",
+ "auth_browser_login": "Browser-Anmeldung",
+ "auth_local": "Lokales Gerät",
+ "auth_device_flow": "Gerätecode",
+ "auth_access_token": "Zugriffstoken",
+ "auth_one_click": "Ein Klick",
+ "auth_allowlist": "Freigabeliste",
+ "auth_no_signin": "Keine Anmeldung",
+ "client_id_hint_spotify": "32-stellige ID aus den App-Einstellungen",
+ "client_id_hint_github": "Iv1.… aus den OAuth-App-Einstellungen",
+ "client_id_hint_gitlab": "64-stellige Application ID",
+ "client_id_hint_figma": "Client-ID aus den App-Einstellungen",
+ "client_id_hint_hubspot": "UUID aus den Auth-Einstellungen der App",
+ "secret_not_needed_public": "bei einer öffentlichen/nativen App nicht nötig",
+ "secret_not_needed_native": "bei einer Native App nicht nötig",
+ "secret_not_needed_empty": "nicht nötig — leer lassen",
+ "secret_usually_not_needed": "meist nicht nötig",
+ "err_session_failed": "Die Anmeldesitzung konnte nicht erstellt werden. Bitte versuche es erneut.",
+ "err_signin_page_unavailable": "Die Anmeldeseite ist nicht verfügbar. Bitte versuche es erneut.",
+ "err_denied": "Die Anmeldung wurde abgelehnt. Du kannst es erneut versuchen, wenn du bereit bist.",
+ "err_timeout": "Die Anmeldung hat zu lange gedauert. Bitte versuche es erneut.",
+ "err_provider_unreachable": "Der Anbieter ist nicht erreichbar. Bitte versuche es später erneut.",
+ "err_port_in_use": "Der Anmelde-Rückruf ist belegt. Schließe den anderen Anmeldeversuch und versuche es erneut.",
+ "err_misconfigured": "Die Browser-Anmeldung wartet noch auf die Einrichtung durch den Herausgeber. Du musst dafür nichts einrichten.",
+ "fallback_notice": "Die Browser-Anmeldung braucht den Client des Herausgebers, der noch nicht bereitsteht — solange kannst du dich mit einem Token verbinden.",
+ "err_pending_publisher": "Diese Verbindung wartet noch auf die Einrichtung durch den Herausgeber. Versuche es erneut, sobald die Browser-Anmeldung verfügbar ist.",
+ "connection_unavailable": "Verbindung nicht verfügbar",
+ "unsupported_device": "Auf diesem Gerät nicht unterstützt",
+ "installed_count": "{count} installiert",
+ "attention_one": "{plugin} muss neu verbunden werden",
+ "attention_many": "{count} Verbindungen müssen neu verbunden werden",
+ "attention_one_detail": "{reason} — verbinde neu, damit es weiter funktioniert.",
+ "attention_many_detail": "Verbinde neu, damit sie weiter funktionieren: {plugins}",
+ "jump_to_it": "Hinspringen",
+ "jump_to_first": "Zum ersten springen",
+ "disconnect_plugin": "Plugin trennen",
+ "reconnect_plugin": "Plugin neu verbinden",
+ "connect_plugin": "Plugin verbinden",
+ "authorization_link": "Autorisierungslink",
+ "copy_link": "Link kopieren",
+ "copied": "Kopiert",
+ "copy": "Kopieren",
+ "copied_bang": "Kopiert!",
+ "unknown_error": "Unbekannter Fehler",
+ "connecting_plugin": "{plugin} wird verbunden",
+ "browser_login": "Browser-Anmeldung",
+ "authorize_in_browser": "Autorisiere {product} in deinem Browser",
+ "continue_in_browser": "Mach im Browser-Tab für {plugin} weiter — melde dich an, falls gefragt, klicke auf „Autorisieren“ und komm dann hierher zurück. Kein Tab zu sehen? Öffne ihn erneut oder kopiere den Link unten. Das Plugin bleibt „Nicht verbunden“, bis du dort fertig bist.",
+ "waiting_callback": "Warte auf den Rückruf von {plugin} unter",
+ "redirect_hint": "Wenn der Anbieter statt einer Freigabeanfrage einen Fehler zeigt, erlaube genau diese Adresse in den Weiterleitungs-Einstellungen deiner Anbieter-App und öffne die Anmeldung erneut.",
+ "open_plugin_again": "{plugin} erneut öffnen",
+ "copy_link_hint_paste": "Oder kopiere diesen Link und füge ihn in die Adressleiste deines Browsers ein.",
+ "plugin_connected": "{plugin} verbunden",
+ "connect_named": "{plugin} verbinden",
+ "device_flow": "Gerätecode",
+ "device_step1": "Schritt 1 — kopiere diesen Code",
+ "device_step2": "Schritt 2 — füge ihn bei {plugin} ein",
+ "open_plugin": "{plugin} öffnen",
+ "copy_link_hint_code": "Oder kopiere diesen Link, öffne ihn im Browser und gib den Code oben ein.",
+ "waiting_authorization": "Warte auf Autorisierung…",
+ "err_save_settings": "Die Verbindungseinstellungen konnten nicht gespeichert werden. Bitte versuche es erneut.",
+ "pkce_browser_unavailable": "Die Browser-Anmeldung ist noch nicht verfügbar.",
+ "pkce_signin_with": "Du meldest dich im Browser mit deinem {family}-Konto an.",
+ "provider_fallback": "Anbieter",
+ "pkce_pending_intro": "Die Browser-Anmeldung wartet noch auf die Einrichtung durch den Herausgeber. Verbinde dich schon heute mit deiner eigenen kostenlosen {family}-App — ein paar Minuten, kein Code. „Weiter“ öffnet die echte {plugin}-Anmeldung in deinem Browser, sobald der Client unten ausgefüllt ist.",
+ "pkce_step1": "Schritt 1 — öffne die {family}-App-Konsole",
+ "pkce_your_client": "Dein OAuth-Client",
+ "pkce_own_client_advanced": "Eigenen OAuth-Client verwenden (erweitert)",
+ "pkce_step2": "Schritt 2 — füge den Client der App ein, die du gerade erstellt hast.",
+ "pkce_step2_google": "Schritt 2 — füge den Client der App ein, die du gerade erstellt hast. Ein Client deckt Gmail, Drive, Calendar und YouTube Music ab.",
+ "pkce_override": "Optionale Experten-Einstellung. Füge einen Client aus deiner eigenen {family}-{console} ein.",
+ "pkce_console": "Konsole",
+ "pkce_google_one_client": "Ein Client deckt Gmail, Drive, Calendar und YouTube Music ab.",
+ "pkce_redirect_step3": "Schritt 3 — trage beim Erstellen der App das hier als {term} ein, Zeichen für Zeichen:",
+ "pkce_redirect": "Trage beim Erstellen der App das hier als {term} ein, Zeichen für Zeichen:",
+ "pkce_redirect_term": "Redirect-URI",
+ "pkce_redirect_numeric": "Es muss die numerische Adresse sein, nicht {localhost}, und ohne abschließenden Schrägstrich.",
+ "client_id": "Client-ID",
+ "client_id_from": "Client-ID von {family}",
+ "client_secret": "Client-Secret",
+ "secret_optional_some": "bei manchen Anbietern optional",
+ "expert_token_alt": "Token-Alternative für Fortgeschrittene",
+ "expert_token_alt_body": "Die gemeinsame Browser-Anmeldung steht noch nicht bereit. Solange kannst du dich mit einem Token des Anbieters verbinden — die Browser-Anmeldung bleibt der Standard und übernimmt automatisch, sobald sie bereit ist.",
+ "paste_token_instead": "Stattdessen ein Token einfügen",
+ "continue": "Weiter",
+ "remove_named": "{plugin} entfernen?",
+ "disconnect_body": "Dadurch wird {plugin} getrennt und die gespeicherten Zugangsdaten werden gelöscht. {assistant} verliert den Zugriff, bis du es neu verbindest.",
+ "removing": "Wird entfernt…",
+ "remove": "Entfernen",
+ "plugin_added": "{plugin} hinzugefügt",
+ "plugin_removed": "{plugin} entfernt",
+ "instance_intro": "Gib die Adresse deiner Instanz ein, melde dich dann an und erlaube den Zugriff in deinem Browser.",
+ "instance_address": "Adresse der Instanz",
+ "opening_browser": "Browser wird geöffnet…",
+ "continue_in_browser_btn": "Im Browser fortfahren",
+ "err_discord_id": "Deine Discord-ID konnte nicht gelesen werden.",
+ "err_discord_no_id": "Discord hat keine Nutzer-ID geliefert.",
+ "err_discord_invite": "Der Einladungslink konnte nicht erstellt werden.",
+ "err_discord_no_invite": "Discord hat keinen Einladungslink geliefert.",
+ "access_token": "Zugriffstoken",
+ "pat_generate": "Erstelle ein Token bei {plugin}",
+ "pat_open_tokens": "Tokens von {plugin} öffnen",
+ "copy_link_hint_open": "Oder kopiere diesen Link und öffne ihn selbst in deinem Browser.",
+ "pat_get_key": "Hol dir den Schlüssel für {plugin}",
+ "pat_paste_below": "Füge das Token unten ein",
+ "or_separator": " oder ",
+ "token": "Token",
+ "pat_should_start": "Sollte mit {prefix} beginnen",
+ "owner_lock_title": "Bot an dich binden (empfohlen)",
+ "owner_lock_aria": "Deine numerische Nutzer-ID",
+ "owner_lock_hint": "Nur diese Nutzer-ID kann dem Bot Befehle geben. Leer lassen, damit die erste Person, die ihm schreibt, den Zugriff erhält.",
+ "looking_up": "Wird gesucht…",
+ "discord_fill_id": "Meine Discord-ID eintragen",
+ "opening": "Wird geöffnet…",
+ "discord_add_bot": "Bot zu meinem Server hinzufügen",
+ "owner_lock_digits": "Die Nutzer-ID darf nur Ziffern enthalten.",
+ "validating": "Wird geprüft…",
+ "longevity_note": {
+ "github": "Die Browser-Anmeldung erneuert sich automatisch. Eingefügte Tokens laufen ab wie beim Erstellen festgelegt.",
+ "discord": "OAuth-Tokens erneuern sich automatisch. Ein eingefügtes Bot-Token bleibt gültig, bis du es im Discord-Entwicklerportal zurücksetzt.",
+ "telegram": "Ein Bot-Token bleibt gültig, bis du es in BotFather widerrufst.",
+ "clickup": "Laut ClickUp läuft sein Zugriffstoken nicht ab, daher braucht diese Verbindung keine Erneuerung. Das ist eine Richtlinie, keine Garantie, daher bittet Jarvis dich trotzdem um eine neue Verbindung, falls es jemals abgelehnt wird.",
+ "airtable": "Airtable beendet eine Verbindung nach 60 Tagen ohne Nutzung. Jarvis erneuert sie alle 12 Stunden im Hintergrund, sodass sie offen bleibt, solange dieser Rechner ab und zu läuft.",
+ "cal_com": "Cal.com veröffentlicht keine Token-Laufzeit, daher ist nicht bestätigt, wie lange die Verbindung besteht. Jarvis erneuert sie im Hintergrund und bittet dich um eine neue Verbindung, falls das jemals fehlschlägt.",
+ "home_assistant": "Die Browser-Freigabe erneuert sich automatisch, bis der Zugriff in Home Assistant widerrufen wird.",
+ "spotify": "Spotify begrenzt ein Refresh-Token auf sechs Monate, daher muss die Verbindung zweimal im Jahr erneuert werden. Das lässt sich nicht verlängern.",
+ "higgsfield": "Higgsfield stellt ein Refresh-Token aus. Wie lange das Zugriffstoken gilt, ist nicht veröffentlicht; Jarvis erneuert es im Hintergrund und bittet dich um eine neue Verbindung, falls das jemals fehlschlägt.",
+ "aws": "Der AWS-Zugriff gilt eine Stunde, und die Erneuerung ist auf eine Sitzung von bis zu 12 Stunden begrenzt; danach meldest du dich erneut an.",
+ "google_cloud": "Google-OAuth-Apps im Testmodus können den Refresh-Zugriff nach sieben Tagen verlieren; Produktions-Apps folgen der Kontorichtlinie.",
+ "gitlab": "Die Browser-Anmeldung erneuert sich automatisch. Eingefügte Tokens laufen an dem Datum ab, das beim Erstellen gewählt wurde.",
+ "linkedin": "Standard-Zugriffstokens von LinkedIn laufen ab; Refresh-Tokens sind freigegebenen Partnern vorbehalten. Verbinde dich neu, wenn du dazu aufgefordert wirst.",
+ "meta": "Langlebige Nutzertokens laufen normalerweise nach etwa 60 Tagen ab; verbinde dich vor dem Ablauf neu.",
+ "youtube_studio": "Google-OAuth-Apps im Testmodus können nach sieben Tagen eine erneute Autorisierung verlangen.",
+ "figma": "Die Browser-Anmeldung erneuert sich automatisch. Eingefügte Tokens laufen an dem Datum ab, das du beim Erstellen wählst.",
+ "google_drive": "Google lässt die Autorisierung nach 7 Tagen ablaufen, solange deine eigene OAuth-App im Testmodus ist. Veröffentliche die App, damit die Verbindung dauerhaft bestehen bleibt.",
+ "gmail": "Google lässt die Autorisierung nach 7 Tagen ablaufen, solange deine eigene OAuth-App im Testmodus ist. Veröffentliche die App, damit die Verbindung dauerhaft bestehen bleibt.",
+ "google_calendar": "Google lässt die Autorisierung nach 7 Tagen ablaufen, solange deine eigene OAuth-App im Testmodus ist. Veröffentliche die App, damit die Verbindung dauerhaft bestehen bleibt.",
+ "youtube_music": "Google lässt die Autorisierung nach 7 Tagen ablaufen, solange deine eigene OAuth-App im Testmodus ist. Veröffentliche die App, damit die Verbindung dauerhaft bestehen bleibt."
+ },
+ "unavailable_reason": {
+ "amd_unverifiable": "Ob eine AMD-GPU verfügbar ist, ließ sich aus den Linux-Geräteinformationen nicht prüfen. Prüfe Hardwarezugriff und Berechtigungen, auch den Gerätezugriff im Container.",
+ "amd_no_gpu": "Für diesen Connector ist keine AMD-GPU sichtbar. Eine kompatible AMD-GPU muss dieser Linux-Umgebung bereitgestellt werden, bevor du verbindest.",
+ "amd_unsupported_os": "AMD-GPU-Telemetrie ist auf diesem Betriebssystem nicht verfügbar. Dieser Connector braucht einen kompatiblen Linux-Host mit AMD-GPU und AMD SMI.",
+ "amd_smi_missing": "AMD SMI ist nicht verfügbar. Installiere die unterstützten SMI-/ROCm-Werkzeuge von AMD auf einem kompatiblen AMD-Host. Fehlende Messwerte werden nie als null gemeldet."
+ }
},
"skills_view": {
"count": "{n} Skills",
@@ -1559,7 +1741,19 @@
"empty_list_body_a": "Beim ersten Start kopiert",
"empty_list_body_b": "die Builtin-Skills nach",
"empty_list_body_c": "Passiert das nicht, check die Backend-Logs.",
- "search_no_hits": "Keine Treffer. Probier einen anderen Begriff oder entferne einen Filter."
+ "search_no_hits": "Keine Treffer. Probier einen anderen Begriff oder entferne einen Filter.",
+ "resource_references": "Referenzen",
+ "resource_scripts": "Skripte",
+ "resource_assets": "Assets",
+ "resource_agents": "Agenten",
+ "password_placeholder": "Passwort",
+ "link_homepage": "Website",
+ "link_source": "Quelle",
+ "link_docs": "Doku",
+ "link_not_checked": "nicht geprüft",
+ "link_no_network": "kein Netzwerk",
+ "select_hint": "Eingebaute Skills sind geschützt und können nicht ausgewählt werden.",
+ "selected_count": "{count} ausgewählt"
},
"run_inspector": {
"title": "Run Inspector",
@@ -1633,7 +1827,10 @@
"empty": "In diesem Turn lief kein Tool.",
"command": "Befehl",
"output": "Ergebnis",
- "error": "Fehler"
+ "error": "Fehler",
+ "exit_code": "Exit {code}",
+ "ok": "ok",
+ "fail": "Fehler"
},
"facts": {
"endpoint": "Endpunkt",
@@ -1643,7 +1840,8 @@
"interrupted": "unterbrochen",
"context": "Kontext",
"turns": "Turns",
- "tokens": "Tokens"
+ "tokens": "Tokens",
+ "yes": "ja"
},
"env": {
"mode": "Modus",
@@ -1656,7 +1854,31 @@
"tiers": "Stufen",
"voices": "Stimmen",
"audio": "Audio",
- "empty": "Keine Umgebung aufgezeichnet."
+ "empty": "Keine Umgebung aufgezeichnet.",
+ "audio_rates": "{input} Hz ein · {output} Hz aus"
+ },
+ "feature_computer_use": "Computer-Use",
+ "feature_skill": "Skill",
+ "outcome": {
+ "success": "Erfolg",
+ "partial": "Teilweise",
+ "failed": "Fehlgeschlagen"
+ },
+ "turn": "Turn",
+ "user": "Nutzer",
+ "thinking": "Denken",
+ "speaking": "Sprechen",
+ "slow": "langsam",
+ "errors_count": "Fehler",
+ "role": {
+ "spoken": "gesprochen",
+ "system": "System",
+ "tool": "Tool",
+ "error": "Fehler"
+ },
+ "slo": {
+ "breach": "überschritten",
+ "warn": "Warnung"
}
},
"voice_mode": {
@@ -1808,6 +2030,16 @@
"connected": "verbunden",
"disconnected": "getrennt",
"error": "fehler"
+ },
+ "json_syntax": "JSON-Syntax",
+ "import_note": {
+ "appdata_missing": "Die Variable APPDATA ist nicht gesetzt.",
+ "config_not_found": "Claude-Desktop-Konfiguration nicht gefunden unter {path}.",
+ "invalid_json": "Die Konfiguration ist kein gültiges JSON (Zeile {line}, Spalte {column}).",
+ "not_readable": "Die Konfiguration ist nicht lesbar. Details stehen im Dodaios-Log.",
+ "no_servers": "Keine mcpServers in der Claude-Desktop-Konfiguration gefunden.",
+ "imported": "Neue Server importiert: {added}.",
+ "imported_with_skipped": "Neue Server importiert: {added}, übersprungen (existieren bereits): {skipped}."
}
},
"shortcuts_view": {
@@ -2034,7 +2266,8 @@
"jarvis_suffix": "von {name} gesprochen",
"talk_line": "{0} h aktiv · {1} Gespräche",
"streak": "{0} Tage Bestserie"
- }
+ },
+ "tweet_text": "Ich habe {words} Wörter mit meinem {product} gesprochen, in {sessions} Gesprächen — {hours} h Sprache. Bau dir deinen eigenen:"
},
"export": {
"button": "CSV exportieren",
@@ -2361,7 +2594,8 @@
"autonomy": "Freiheit",
"impact": "Wirkung"
}
- }
+ },
+ "system_not_ready": "Profilsystem ist noch nicht bereit."
},
"apikeys_view": {
"title": "API-Keys & Provider",
@@ -2650,7 +2884,19 @@
"experimental_consent": "Bevor du das aktivierst: Dieser Anbieter ist noch im Beta-Stadium und nutzt eine experimentelle, instabile Route, die sich ohne Vorankündigung ändern kann. Wenn sie ausfällt, endet das Gespräch, statt von selbst auf einen anderen Anbieter zu wechseln. Fortfahren?",
"trademark_notice": "Anbieter- und Dienstnamen sowie Logos sind Marken ihrer jeweiligen Inhaber und werden nur gezeigt, um die verbindbaren Integrationen zu benennen. Eine Verbindung oder Empfehlung ist damit nicht gemeint.",
"key_verified_toast": "{0} hat geantwortet — der Schlüssel funktioniert.",
- "key_check_failed_toast": "{0} hat nicht geantwortet: {1}"
+ "key_check_failed_toast": "{0} hat nicht geantwortet: {1}",
+ "delete_key_named": "{key} löschen",
+ "enter_key_named": "{key} eingeben",
+ "install_failed_fallback": "Installation fehlgeschlagen",
+ "model_download_failed_fallback": "Modell-Download fehlgeschlagen",
+ "key_format_api_key": "{provider}-API-Key",
+ "key_format_vertex_sa": "Vertex-AI-Dienstkonto",
+ "key_format_vertex_sa_note": "Das ist eine Vertex-AI-Dienstkontodatei, kein AI-Studio-Key — sie rechnet über ein separates Google-Cloud-Projekt ab.",
+ "key_format_aistudio": "Google-AI-Studio-Key",
+ "key_format_aistudio_note": "Dieses Format funktioniert bei Google AI Studio. Vertex AI lehnt es ab — Vertex akzeptiert nur einen Express-Modus-Key (AQ.) oder ein Cloud-Projekt über [google].vertex_project.",
+ "key_format_google_express": "Google-API-Key (AI Studio oder Vertex Express)",
+ "key_format_google_express_note": "AI-Studio- und Vertex-AI-Express-Keys teilen dieses Format — die Karte, unter der du ihn speicherst, bestimmt den Endpunkt, und bei einer Gemini-Karte erkennt Dodaios ihn automatisch.",
+ "key_format_unknown": "Unbekanntes Key-Format"
},
"apikeys_test": {
"button": "Testen",
@@ -2665,7 +2911,8 @@
"status_error": "Integrationsfehler",
"integration_ok_note": "Provider wurde erreicht — nur Key/Konto/Modell ist der Blocker.",
"integration_bad_note": "Provider konnte nicht erreicht werden.",
- "failed": "Test fehlgeschlagen"
+ "failed": "Test fehlgeschlagen",
+ "client_timeout": "Nach 80 s keine Antwort von der App — das Backend ist eventuell ausgelastet oder hängt."
},
"apikeys_base_url": {
"label": "Server-URL",
@@ -2892,7 +3139,9 @@
"overlay_taskbar": "Overlay & Taskleiste"
},
"languages_group_title": "Sprachen",
- "sections": { "voice": "Stimme" },
+ "sections": {
+ "voice": "Stimme"
+ },
"music_group_title": "Musik",
"music": {
"service_section": "Bevorzugter Dienst",
@@ -3029,7 +3278,38 @@
"download_model_downloading": "Wake-Modell wird heruntergeladen…",
"download_model_done": "Wake-Modell heruntergeladen — Wake-Word wird neu gespeichert…",
"download_model_error": "Wake-Modell konnte nicht heruntergeladen werden. Prüfe deine Internetverbindung und versuche es erneut.",
- "download_model_retry": "Erneut versuchen"
+ "download_model_retry": "Erneut versuchen",
+ "diag_engine": "Engine: {engine}",
+ "diag_language": "Sprache: {language}",
+ "diag_not_in_vocab": "nicht im Wortschatz",
+ "diag_mic_quiet": "Mikrofon leise",
+ "msg": {
+ "custom_onnx": "Eigenes ONNX-Wake-Modell: {path}",
+ "vosk_kws": "Vosk-Schlüsselworterkennung für beliebige Wörter für „{phrase}“ (Modell: {model}).",
+ "custom_onnx_missing": "Eigenes ONNX-Modell nicht gefunden ({path}); stattdessen wird der lokale Whisper-Transkriptabgleich verwendet.",
+ "custom_onnx_other_phrase": "Das eigene Wake-Modell „{model_file}“ gehört zu einer anderen Phrase; „{phrase}“ nutzt den lokalen Whisper-Transkriptabgleich.",
+ "stt_match_unreliable": "Die eigene Phrase „{phrase}“ läuft über den lokalen Whisper-Transkriptabgleich — bei einem schwierigen Namen ist das UNZUVERLÄSSIG. Lade das Vosk-Modell für {language} herunter, damit es zuverlässig wird (Einstellungen -> Wake-Word -> „Wake-Modell herunterladen“).",
+ "stt_match_unreliable_any_language": "Die eigene Phrase „{phrase}“ läuft über den lokalen Whisper-Transkriptabgleich — bei einem schwierigen Namen ist das UNZUVERLÄSSIG. Lade das Vosk-Modell für die eingestellte Sprache herunter, damit es zuverlässig wird (Einstellungen -> Wake-Word -> „Wake-Modell herunterladen“).",
+ "needs_local_model": "Das Wake-Word „{phrase}“ braucht ein lokales Modell. Installiere das lokale Sprachpaket (funktioniert für jedes Wort) oder gib eine eigene .onnx-Datei an, um es zu aktivieren. Bis dahin ist das Wake-Word aus — starte eine Sprachrunde über das Anruf-Tastenkürzel.",
+ "needs_local_model_no_phrase": "Dein Wake-Word braucht ein lokales Modell. Installiere das lokale Sprachpaket (funktioniert für jedes Wort) oder gib eine eigene .onnx-Datei an, um es zu aktivieren. Bis dahin ist das Wake-Word aus — starte eine Sprachrunde über das Anruf-Tastenkürzel.",
+ "no_phrase": "Kein Wake-Word festgelegt.",
+ "not_in_vocab": "„{phrase}“ ist nicht im Wortschatz des Modells für {language}.",
+ "no_microphone": "Kein Mikrofon erkannt.",
+ "mic_quiet": "Das Mikrofonsignal ist sehr leise.",
+ "ready": "Bereit: „{phrase}“ mit Engine „{engine}“ (Sprache „{language}“). Sag es, um mich zu wecken.",
+ "activation_not_persisted": "Die Einstellung konnte nicht in jarvis.toml gespeichert werden. Details stehen im Dodaios-Log.",
+ "model_ready": "Wake-Modell bereit.",
+ "model_download_failed": "Das Wake-Modell konnte gerade nicht heruntergeladen werden; es wird automatisch erneut versucht. Bis dahin nutzt das Wake-Word den Ausweichpfad."
+ },
+ "hint": {
+ "type_phrase": "Gib zuerst eine Wake-Phrase ein.",
+ "download_or_hotkey": "Lade das lokale Modell herunter oder nutze das Tastenkürzel.",
+ "pick_real_word": "Wähle ein echtes Wort deiner Sprache oder eine andere Phrase.",
+ "connect_mic": "Schließe ein Mikrofon an oder aktiviere es.",
+ "speak_louder": "Sprich lauter oder erhöhe die Eingangsverstärkung.",
+ "allow_mic_dialog": "Drück die Test-Schaltfläche und wähle im macOS-Dialog „Erlauben“.",
+ "allow_mic_settings": "Erlaube den Mikrofonzugriff unter {path} und versuch es dann erneut."
+ }
},
"onboarding": {
"wake_word": {
@@ -3172,7 +3452,21 @@
"reserved": "Vom System reserviert"
},
"dictate_toggle_label": "Freihändiges Diktat",
- "caution_overlap": "Diese Kombination steckt in einem anderen Kürzel — die längere auszulösen löst beide aus. Lösche eines davon, wenn du das nicht willst."
+ "caution_overlap": "Diese Kombination steckt in einem anderen Kürzel — die längere auszulösen löst beide aus. Lösche eines davon, wenn du das nicht willst.",
+ "mouse": {
+ "middle_click": "Mittelklick",
+ "back_combo": "Maus zurück",
+ "forward_combo": "Maus vor",
+ "middle": "Mitte",
+ "back": "Zurück",
+ "forward": "Vor"
+ },
+ "mouse_reason": {
+ "macos_needs_quartz": "Maustasten-Kürzel brauchen das Paket pyobjc Quartz, das nicht installiert ist — installiere das Profil [full]. Tastenkombinationen funktionieren weiterhin.",
+ "wayland": "Wayland erlaubt Anwendungen nicht, die Maustasten global zu beobachten, daher kann ein Maustasten-Kürzel hier nicht funktionieren. Nutze eine Tastenkombination oder lege ein Compositor-Kürzel auf die Dodaios-CLI.",
+ "linux_needs_pynput": "Maustasten-Kürzel brauchen das Paket pynput, das nicht installiert ist — installiere das Extra [desktop-linux]. Tastenkombinationen funktionieren weiterhin.",
+ "unsupported_host": "Dieses System kann die Maustasten nicht global beobachten — nutze stattdessen eine Tastenkombination."
+ }
},
"codex_title": "OpenAI Codex CLI",
"codex_description": "Manueller Pfad für Windows-PATH-Probleme. Leer lassen nutzt 'codex' aus PATH.",
@@ -3186,7 +3480,8 @@
"system": "System",
"system_now_dark": "Folgt Ihrem System, das derzeit dunkel ist.",
"system_now_light": "Folgt Ihrem System, das derzeit hell ist."
- }
+ },
+ "invalid_setting": "Ungültige Einstellung"
},
"telephony_view": {
"title": "Telefonie (experimentell)",
@@ -3260,7 +3555,8 @@
"completed": "Abgeschlossen",
"failed": "Fehlgeschlagen",
"no_audio": "Kein Audio"
- }
+ },
+ "copy_command": "Befehl kopieren"
},
"telephony_setup": {
"title": "Telefonie-Setup",
@@ -3338,7 +3634,8 @@
"exit_fullscreen": "Leser schließen",
"csv_empty": "Diese Tabelle ist leer.",
"csv_more_rows": "{n} weitere Zeilen in der Datei.",
- "reveal_in_folder": "Im Ordner anzeigen"
+ "reveal_in_folder": "Im Ordner anzeigen",
+ "fence_table": "Tabelle"
},
"common": {
"see_more": "Mehr anzeigen",
@@ -3363,7 +3660,11 @@
"running": "läuft",
"saving": "Speichere…",
"error": "Fehler",
- "status": "Status"
+ "status": "Status",
+ "repeated_times": "{count}-mal wiederholt",
+ "dismiss": "Schließen",
+ "apply": "Übernehmen",
+ "request_failed": "Anfrage fehlgeschlagen ({status})"
},
"docs": {
"search_placeholder": "Titel/Tag filtern…",
@@ -3379,7 +3680,9 @@
"could_not_load": "Konnte Doc nicht laden.",
"recent": "Zuletzt",
"search_button": "Doku durchsuchen",
- "search_hero": "Dokumentation durchsuchen"
+ "search_hero": "Dokumentation durchsuchen",
+ "section_other": "Sonstiges",
+ "breadcrumb": "Brotkrumennavigation"
},
"sessions": {
"select_one": "Wähle links eine Session aus.",
@@ -3389,7 +3692,12 @@
"provider_switcher": {
"loading_hint": "Provider-Liste wird geladen — falls dauerhaft leer, prüfe das Backend.",
"no_credential": "kein Credential",
- "active": "Aktiv"
+ "active": "Aktiv",
+ "switched_toast": "Brain → {provider}",
+ "active_brain": "Aktives Brain",
+ "switching": "Wechsle…",
+ "name_local_realtime": "Selbst gehostetes Realtime",
+ "name_local_voice": "Lokale Stimme"
},
"wiki_provider": {
"tier_label": "Wiki (Langzeitgedächtnis)",
@@ -3481,7 +3789,14 @@
"needs_key_full": "{0}: erst API-Key speichern, dann aktivieren.",
"runs_as_subagent_hint": "Mit deinem ChatGPT-Login arbeitet Codex als {name}-Agent (Hintergrund-Arbeiter). Nach dem Verbinden unten in der {name}-Agent-Liste aktivieren. Ein denkendes Hirn braucht den separaten OpenAI-API-Key-Provider.",
"brain_needs_openai_key": "Codex als Hirn braucht einen OpenAI-API-Key — das ChatGPT-Login treibt nur den Codex-Arbeiter. Trag einen OpenAI-Key ein (z. B. beim OpenAI-Provider), dann kannst du Codex hier auswählen.",
- "brain_key_hint": "Um Codex auch als Hirn zu nutzen, trag einen OpenAI-API-Key ein (kostenpflichtig, getrennt vom ChatGPT-Login — der treibt nur den Arbeiter). Nach dem Speichern entsperrt sich der „Als aktiv\"-Schalter oben."
+ "brain_key_hint": "Um Codex auch als Hirn zu nutzen, trag einen OpenAI-API-Key ein (kostenpflichtig, getrennt vom ChatGPT-Login — der treibt nur den Arbeiter). Nach dem Speichern entsperrt sich der „Als aktiv\"-Schalter oben.",
+ "status_msg": {
+ "not_installed": "Codex CLI ist nicht installiert (ausführen: {command}).",
+ "not_logged_in": "Codex ist installiert, aber nicht angemeldet — führe „codex login“ aus.",
+ "connected_chatgpt": "Über ChatGPT verbunden.",
+ "connected_chatgpt_email": "Über ChatGPT verbunden ({email}).",
+ "connected_api_key": "Über OpenAI-API-Schlüssel verbunden."
+ }
},
"apikeys_antigravity": {
"login_started": "Die Google-Anmeldung wurde im Terminal gestartet",
@@ -3489,10 +3804,21 @@
"status_loading": "Google-Anmeldestatus wird geladen",
"connected": "Verbunden über dein Google-Abo.",
"connected_as": "Verbunden über Google ({0}).",
- "needs_login_full": "{0}: erst mit Google anmelden, dann aktivieren."
+ "needs_login_full": "{0}: erst mit Google anmelden, dann aktivieren.",
+ "connect_google": "Mit Google verbinden",
+ "install_antigravity": "Antigravity installieren",
+ "status_msg": {
+ "not_installed": "Keine Google-CLI gefunden. Installiere Antigravity mit: {command} (Alternative Gemini CLI: npm i -g @google/gemini-cli).",
+ "not_logged_in": "{cli} ist installiert, aber nicht angemeldet — starte die Google-Anmeldung.",
+ "connected_subscription": "Über das Google-Abo verbunden.",
+ "connected_subscription_email": "Über das Google-Abo verbunden ({email}).",
+ "connected_api_key": "Über einen Google-API-Schlüssel verbunden."
+ }
},
"mcps_toast": {
- "connected": "{0} verbunden"
+ "connected": "{0} verbunden",
+ "disconnected": "{0} getrennt",
+ "removed": "{server} entfernt"
},
"profile_toast": {
"fact_applied": "{0} Fact(s) übernommen"
@@ -3542,13 +3868,18 @@
"zh": {
"label": "中文 (Chinesisch)",
"description": "Vereinfachtes Chinesisch für jede Beschriftung und Schaltfläche."
+ },
+ "pt": {
+ "label": "Português (Portugal)",
+ "description": "Europäisches Portugiesisch für jede Beschriftung und Schaltfläche."
}
},
"reply_options": {
"auto": "{name} spiegelt die Sprache, die du sprichst oder schreibst.",
"en": "{name} antwortet auf Englisch.",
"de": "{name} antwortet auf Deutsch.",
- "es": "{name} antwortet auf Spanisch."
+ "es": "{name} antwortet auf Spanisch.",
+ "pt": "{name} antwortet auf Portugiesisch."
},
"stt_options": {
"auto": "Erkennt automatisch, welche Sprache du sprichst.",
@@ -3612,7 +3943,9 @@
"last_pull": "letzter Pull",
"pull_every": "Pull alle",
"time_just_now": "gerade",
- "time_ago_prefix": "vor"
+ "time_ago_prefix": "vor",
+ "no_source": "keine Quelle",
+ "jarvis_federation": "Dodaios-Föderation"
},
"pair_dialog": {
"title": "Friend pairen",
@@ -3671,7 +4004,8 @@
"opened_in_editor": "Im Editor geöffnet",
"open_failed": "Konnte nicht im Editor öffnen",
"back_to_sessions": "Zurück zu den Sessions",
- "you": "Du"
+ "you": "Du",
+ "format_text": "Text"
},
"turn_card": {
"turn": "Turn",
@@ -3683,7 +4017,29 @@
"copy": "Kopieren",
"download_turn": "Diesen Turn als Datei herunterladen",
"thought": "Nachgedacht:",
- "spoke": "Gesprochen:"
+ "spoke": "Gesprochen:",
+ "kind_reply": "Antwort",
+ "kind_clarify": "Rückfrage",
+ "kind_timeout": "Timeout-Hinweis",
+ "kind_unavailable": "Brain nicht verfügbar",
+ "kind_stt_unavailable": "Konnte dich nicht hören",
+ "kind_privacy": "Datenschutz",
+ "kind_completion": "Hintergrundergebnis",
+ "kind_subagent": "{agent} / Ausgabe",
+ "kind_action_done": "Aktion bestätigt",
+ "kind_backchannel": "Rückmeldung",
+ "kind_announcement": "Ansage",
+ "kind_preamble": "Einleitung",
+ "kind_progress": "Fortschrittsmeldung",
+ "kind_withheld": "Antwort zurückgehalten (Sicherheit)",
+ "kind_other": "Gesprochen",
+ "tools_label": "Tools:",
+ "voice_requested_title": "Angefragte Stimme (natives Audio ist kein verifizierter Sprecher): {voice}",
+ "voice_title": "Stimme: {voice}",
+ "voice_requested": "angefragt",
+ "awaiting_confirmation": "Wartet auf Bestätigung",
+ "awaiting_confirmation_prefix": "(wartet auf Bestätigung)",
+ "spoken_output": "Gesprochene Ausgabe"
},
"wiki_search": {
"dialog_label": "Wiki-Suche",
@@ -3732,7 +4088,14 @@
},
"page_header": {
"placeholder_title": "Wird durch Agent D bereitgestellt",
- "open_in_obsidian": "In Obsidian öffnen"
+ "open_in_obsidian": "In Obsidian öffnen",
+ "field_type": "Typ",
+ "field_kind": "Art",
+ "field_status": "Status",
+ "field_created": "erstellt",
+ "field_updated": "aktualisiert",
+ "field_started": "begonnen",
+ "field_last_activity": "letzte Aktivität"
},
"obsidian_button": {
"trigger_failed": "Obsidian-Link konnte nicht ausgelöst werden",
@@ -3869,23 +4232,40 @@
"cancel_all_body": "laufende Mission(s) werden hart gestoppt. Worker-Subprocesses werden via Job-Object terminiert; bereits geschriebene Diffs bleiben in den Worktrees liegen.",
"error_prefix": "Fehler",
"stopping": "Stoppe…",
- "confirm_stop_all": "Ja, alle stoppen"
+ "confirm_stop_all": "Ja, alle stoppen",
+ "kill_all": "Alle beenden ({count})"
},
"mission_tree": {
"no_prompt": "(ohne Prompt)",
- "empty": "Noch keine Missions. Der Haupt-Assistent dispatched gleich…"
+ "empty": "Noch keine Missions. Der Haupt-Assistent dispatched gleich…",
+ "unknown_prompt": "(unbekannt)"
},
"pty_terminal": {
"stream_unreachable": "PTY-Stream nicht erreichbar.",
"stream_disconnected": "Stream getrennt",
"connect_failed": "PTY-Connect fehlgeschlagen",
- "connecting": "verbinde…"
+ "connecting": "verbinde…",
+ "worker_label": "Worker {id}",
+ "status_offline": "offline",
+ "status_live": "live",
+ "close_code": "(Code {code})"
},
"event_timeline": {
"empty": "Noch keine Events für diese Mission."
},
"verdict_panel": {
- "empty": "Noch keine Critic-Verdicts für diese Mission."
+ "empty": "Noch keine Critic-Verdicts für diese Mission.",
+ "verdict_approve": "freigeben",
+ "verdict_revise": "überarbeiten",
+ "verdict_reject": "ablehnen",
+ "iteration": "Iter. #{n}",
+ "axis_correctness": "Korrektheit",
+ "axis_completeness": "Vollständigkeit",
+ "axis_side_effects": "Nebenwirkungen",
+ "axis_security": "Sicherheit",
+ "axis_pass": "bestanden",
+ "axis_fail": "nicht bestanden",
+ "confidence": "Konfidenz"
},
"jarvis_agent_panel": {
"select_mission": "Mission auswählen, um {name}-Agent-Worker zu sehen.",
@@ -3893,7 +4273,11 @@
"not_available": "(nicht verfügbar)",
"copy_path": "Pfad kopieren",
"file_link_copies_path": "file://-Link (Pfad wird kopiert)",
- "ended_label": "Ende"
+ "ended_label": "Ende",
+ "unknown_model": "(unbekanntes Modell)",
+ "cost": "Kosten",
+ "state_dir": "State-Ordner",
+ "log_file": "Logdatei"
},
"clis_view": {
"status_connected": "verbunden",
@@ -4036,7 +4420,13 @@
"clear": "Leeren",
"search_command": "Befehl suchen…",
"success_only": "Nur erfolgreiche",
- "usage_stats": "{total} Aufrufe · {rate}% erfolgreich · ⌀ {avg} ms"
+ "usage_stats": "{total} Aufrufe · {rate}% erfolgreich · ⌀ {avg} ms",
+ "col_version": "Version",
+ "fact_binary": "Binärdatei",
+ "cmd_check": "Prüfen",
+ "cmd_login": "Anmelden",
+ "cmd_logout": "Abmelden",
+ "category_placeholder": "cloud / git / zahlungen / sonstiges"
},
"cli_test_hub_view": {
"subtitle_tell": "Sag",
@@ -4098,7 +4488,10 @@
"twilio": "Liste meine Twilio-Rufnummern",
"vercel": "Zeig meine letzten Vercel-Deployments",
"wrangler": "Liste meine Cloudflare Workers"
- }
+ },
+ "meta_tool": "Tool",
+ "exit_label": "Exit",
+ "step_exit": "Exit {code}"
},
"workflows_view": {
"subtitle": "Deine gehosteten AI-Agent-Pipelines — cron-getriggert oder auf Knopfdruck.",
@@ -4140,7 +4533,23 @@
"now": "jetzt",
"ago_suffix": "her",
"run_missed": "verpasst",
- "run_missed_hint": "Die App lief zum geplanten Zeitpunkt nicht — übersprungen bis zum nächsten Termin."
+ "run_missed_hint": "Die App lief zum geplanten Zeitpunkt nicht — übersprungen bis zum nächsten Termin.",
+ "title": "Workflows",
+ "step_tool": "Tool",
+ "seed_badge": "Vorlage",
+ "step_count_one": "{count} Schritt",
+ "step_count_other": "{count} Schritte",
+ "steps_heading": "Schritte ({count})",
+ "trigger_manual": "Manuell",
+ "next_in": "Nächster in {delta}",
+ "run_state_completed": "abgeschlossen",
+ "run_state_failed": "fehlgeschlagen",
+ "run_state_running": "läuft",
+ "run_state_pending": "ausstehend",
+ "trigger_cron": "Geplant",
+ "trigger_event": "Ereignis",
+ "trigger_interval": "Intervall",
+ "trigger_webhook": "Webhook"
},
"conductor_view": {
"new_job": "Neuer Job",
@@ -4156,7 +4565,19 @@
"empty_jobs_hint": "Beim ersten Start werden 3 Demo-Jobs geseedet.",
"empty_timeline": "Noch keine Runs — klick auf Play bei einem Job.",
"json_syntax_error": "JSON-Syntaxfehler",
- "now": "jetzt"
+ "now": "jetzt",
+ "title": "Conductor",
+ "subtitle": "Geplante Aufgaben + agentische Workflows — Open Source, selbst gehostet, Code-first.",
+ "jobs": "Jobs",
+ "timeline": "Zeitleiste",
+ "type_shell": "Shell",
+ "type_http": "HTTP",
+ "type_agent": "Agent",
+ "exit_code": "Exit {code}",
+ "output": "Ausgabe",
+ "metrics": "Metriken",
+ "schedule_label": "Zeitplan:",
+ "example_description": "Pingt alle 5 Minuten einen API-Endpunkt an."
},
"chat_tab": {
"loading_friends": "Friends laden …",
@@ -4180,7 +4601,8 @@
"profile_standard_subline": "+ Mission-Titel",
"profile_standard_desc": "Friend sieht zusätzlich: Welche Missions/Tasks gerade laufen, Erfolg, Dauer.",
"profile_detailed_subline": "+ {name}-Agent-Summary",
- "profile_detailed_desc": "Friend sieht zusätzlich: Signierte {name}-Agent-Summaries (KEINE Utterances)."
+ "profile_detailed_desc": "Friend sieht zusätzlich: Signierte {name}-Agent-Summaries (KEINE Utterances).",
+ "default_badge": "Standard"
},
"tools_canvas": {
"back_tooltip": "Zurück zur Agents-Übersicht",
@@ -4189,7 +4611,9 @@
"duration": "Dauer",
"empty": "(leer)",
"no_tools_yet": "hat noch keine Tools aufgerufen.",
- "no_tools_explainer": "Sobald der {name}-Agent-Worker ein Tool triggert (z. B. dispatch_to_harness, run_shell, screenshot), erscheint es hier als Icon-Node."
+ "no_tools_explainer": "Sobald der {name}-Agent-Worker ein Tool triggert (z. B. dispatch_to_harness, run_shell, screenshot), erscheint es hier als Icon-Node.",
+ "arguments": "Argumente",
+ "output": "Ausgabe"
},
"use_web_socket": {
"jarvis_opened": "{name} öffnete",
@@ -4197,7 +4621,20 @@
"prompt_not_submitted": "der Prompt steht im Eingabefeld, abgeschickt wurde er nicht",
"prompt_unconfirmed": "der Prompt wurde eingetippt, aber das Pane hat den Empfang nicht sichtbar gezeigt – bitte dort nachsehen",
"dictation_nowhere": "Es war kein Textfeld aktiv, deshalb wurde das Diktat nicht eingefügt. Es steht in der Diktat-Historie.",
- "realtime_provider_issue": "Der Realtime-Anbieter meldet ein Problem."
+ "realtime_provider_issue": "Der Realtime-Anbieter meldet ein Problem.",
+ "achievement_toast": "Erfolg: {title}",
+ "achievement_title": {
+ "first_mcp": "Erste MCP-Verbindung",
+ "openclaw_summoner": "Agenten-Beschwörer",
+ "tool_dabbler": "Tool-Probierer",
+ "tool_journeyman": "Tool-Geselle",
+ "tool_master": "Tool-Meister",
+ "triple_combo": "Dreifach-Kombo",
+ "ten_x_engineer": "10x-Engineer",
+ "centennial": "Hunderter",
+ "kilo_club": "Kilo-Club",
+ "one_year_with_jarvis": "Ein Jahr mit Dodaios"
+ }
},
"chat_thread": {
"message_to": "Nachricht an",
@@ -4220,13 +4657,19 @@
"label_pubkey": "Dodaios-Pubkey (hex)",
"telegram_id_placeholder": "z.B. 123456789",
"pubkey_placeholder": "z.B. 4f3c2b…",
- "submit": "Hinzufügen"
+ "submit": "Hinzufügen",
+ "mode_pair_link": "Pairing-Link",
+ "label_display_name": "Anzeigename"
},
"permission_matrix": {
"subline_minimal": "Nur online/offline",
"subline_standard": "+ Mission-Titel",
"subline_detailed": "+ {name}-Agent-Summary",
- "aria_label": "Sharing-Profil"
+ "aria_label": "Sharing-Profil",
+ "profile_minimal": "minimal",
+ "profile_standard": "Standard",
+ "profile_detailed": "detailliert",
+ "subline_detailed_agent": "+ {agent}-Zusammenfassung"
},
"self_mod_view": {
"all_actors": "Alle Actors",
@@ -4235,7 +4678,29 @@
"sensitive_path_notice": "Sensitiver Pfad — Werte serverseitig redacted (Plan-§AP-2).",
"intro_a": "Read-only-Sicht auf Audit-Trail, mutierbare Settings und Backups.",
"intro_b": "Mutationen erfolgen ausschließlich via Voice/Chat — diese View zeigt nur, was",
- "intro_c": "an sich selbst geändert hat."
+ "intro_c": "an sich selbst geändert hat.",
+ "value_redacted": "Wert maskiert (Plan §AP-2 Defense-in-Depth)",
+ "actor_user": "Nutzer",
+ "actor_system": "System",
+ "col_timestamp": "Zeitstempel",
+ "col_actor": "Akteur",
+ "col_path": "Pfad",
+ "col_old_new": "Alt → Neu",
+ "col_outcome": "Ergebnis",
+ "outcome_ok": "OK",
+ "outcome_rolled_back": "ZURÜCKGESETZT",
+ "outcome_fail": "FEHLER",
+ "audit_event": "Audit-Ereignis",
+ "risk_safe": "sicher",
+ "risk_ask": "nachfragen",
+ "needs_restart": "Neustart",
+ "col_filename": "Dateiname",
+ "col_size": "Größe",
+ "col_age": "Alter",
+ "title": "Selbstmodifikation",
+ "tab_history": "Verlauf",
+ "tab_mutable": "Einstellungen",
+ "tab_backups": "Backups"
},
"wiki_view": {
"page_not_found": "Seite nicht gefunden",
@@ -4408,7 +4873,12 @@
"paid_cap_reached": "Die freigegebene Kostengrenze für {provider} ist erreicht.",
"paid_daily_cap_reached": "Die automatische kostenpflichtige Nutzung von {provider} hat ihr Tageslimit erreicht.",
"paid_consent_revoked": "Die automatische kostenpflichtige Nutzung von {provider} wurde ausgeschaltet."
- }
+ },
+ "total_count": "{count} gesamt",
+ "tab_verdicts": "Urteile",
+ "tab_reasoning": "Begründung",
+ "tab_plan": "Plan",
+ "step_n": "Schritt {n}"
},
"mission_tool_approvals": {
"tab_label": "Freigaben",
@@ -4485,7 +4955,8 @@
"empty_prompt": "Beschreib, was du brauchst — die Suche rankt per KI.",
"example_1": "„erstell Skill der meine Emails priorisiert“",
"example_2": "„Git-Workflow vereinfachen“",
- "example_3": "„PDF zu strukturiertem Markdown“"
+ "example_3": "„PDF zu strukturiertem Markdown“",
+ "score": "Score"
},
"missions": {
"state_critiquing": "Critic prüft",
@@ -4505,7 +4976,57 @@
"mascot_gigi": {
"aria_label": "{name}-Maskottchen Gigi",
"back_online": "wieder online!",
- "connection_lost": "Verbindung weg …"
+ "connection_lost": "Verbindung weg …",
+ "idle": {
+ "hm": "hm …",
+ "all_quiet": "alles ruhig.",
+ "still_there": "noch da?",
+ "whats_up": "was geht so?",
+ "watching": "ich beobachte dich.",
+ "focused": "konzentriert, was?",
+ "take_break": "mach doch mal Pause.",
+ "cool_work": "arbeitest du heute was Cooles?",
+ "bit_boring": "bisschen langweilig grad.",
+ "good_ears": "ich hab gute Ohren. falls du was brauchst."
+ },
+ "section": {
+ "chats_ready": "bereit wenn du bist.",
+ "chats_listening": "ich höre.",
+ "chats_say_something": "sag mal was.",
+ "chats_type_or_talk": "schreib oder rede — egal.",
+ "agents_colleagues": "die Agents sind meine Kollegen.",
+ "agents_favourite": "wer ist dein Liebling?",
+ "skills_favourite": "Skills sind mein Lieblings-Feature.",
+ "skills_learn": "was sollen wir lernen?",
+ "mcps_power": "mehr MCPs = mehr Power.",
+ "mcps_add": "was sollen wir dazuholen?",
+ "languages_speak": "ich spreche deine Sprache.",
+ "languages_switch": "Sprachwechsel? Einfach sagen.",
+ "apikeys_careful": "pass auf die Keys auf.",
+ "apikeys_no_git": "nicht in Git committen!",
+ "settings_bother": "was stört dich?",
+ "settings_tweak": "tweaken wir was?"
+ },
+ "voice": {
+ "listening_1": "ich höre!",
+ "listening_2": "raus damit.",
+ "listening_3": "ja?",
+ "thinking_1": "mal schauen …",
+ "thinking_2": "Moment.",
+ "thinking_3": "hmm …",
+ "speaking_1": "jetzt rede ich.",
+ "speaking_2": "kurz mal zuhören.",
+ "error_1": "oha.",
+ "error_2": "ups.",
+ "error_3": "das war nicht ich!"
+ },
+ "time": {
+ "morning_1": "guten Morgen!",
+ "morning_2": "auf, auf.",
+ "night_1": "noch wach?",
+ "night_2": "es ist spät.",
+ "night_3": "schlaf genug gekriegt?"
+ }
},
"agents_view": {
"subtitle": "Laufende {name}-Agents — Rolle, Status, Output.",
@@ -4515,7 +5036,10 @@
"phase4_notice": "Wird mit Phase 4 (Harness-Integration) aktiviert."
},
"friends_view": {
- "subtitle": "Telegram-Bot + lokaler Friend-Registry. Du entscheidest, was Friends sehen."
+ "subtitle": "Telegram-Bot + lokaler Friend-Registry. Du entscheidest, was Friends sehen.",
+ "title": "Freunde",
+ "tab_chat": "Chat",
+ "tab_status": "Status"
},
"feedback": {
"subtitle": "Melde einen Fehler oder schlag ein Feature vor — beides landet direkt auf GitHub.",
@@ -4572,7 +5096,22 @@
"open_workspaces": "Offene Arbeitsbereiche",
"workspace_summary_one": "{workspace}, Arbeitsbereich {index}, 1 Terminal",
"workspace_summary_many": "{workspace}, Arbeitsbereich {index}, {count} Terminals",
- "new_workspace": "Neuer Arbeitsbereich"
+ "new_workspace": "Neuer Arbeitsbereich",
+ "drop_title": "{folder} — leg hier einen Screenshot oder ein Dokument ab, um es an diesen Arbeitsbereich zu senden",
+ "reorder_title": "{folder} — ziehen zum Umsortieren",
+ "rename": "{workspace} umbenennen",
+ "rename_save": "Namen für {workspace} speichern",
+ "rename_cancel": "Umbenennen abbrechen",
+ "close_confirm_aria": "Schließen von {workspace} bestätigen",
+ "close_stop": "Schließen & {count} beenden",
+ "keep_aria": "Diesen Arbeitsbereich offen lassen",
+ "keep": "Behalten",
+ "close": "{workspace} schließen",
+ "close_title": "{workspace} schließen und seine Agenten beenden",
+ "full": "{count} Arbeitsbereiche sind schon offen — schließ zuerst einen.",
+ "add_title": "Weiteren Ordner in eigenem Arbeitsbereich öffnen",
+ "terminals_open_one": "{count} Terminal offen",
+ "terminals_open_other": "{count} Terminals offen"
},
"custom_cli": {
"title_add": "Eigenes CLI hinzufügen",
@@ -4764,6 +5303,52 @@
"count_for": "Terminal-Anzahl für {0}",
"increase": "Ein {0}-Terminal mehr verwenden",
"auto_names": "Die Terminal-Namen werden automatisch vergeben. Nach dem Öffnen kannst du sie im jeweiligen Terminal-Header umbenennen."
+ },
+ "agent_setup": {
+ "agents_aria": "Coding-Agenten",
+ "agent": "Agent",
+ "choose_all": "Für alle Sitzungen wählen",
+ "editing": "Sitzung {number} wird bearbeitet",
+ "all_sessions": "Alle Sitzungen",
+ "none": "Keine Coding-Agenten verfügbar. Verbinde unter CLIs einen Coding-Agenten, um fortzufahren.",
+ "count_aria": "Anzahl der Sitzungen",
+ "how_many": "Wie viele Sitzungen?",
+ "sessions_one": "{count} Sitzung",
+ "sessions_other": "{count} Sitzungen",
+ "more": "Mehr",
+ "add_more": "Jederzeit erweiterbar",
+ "opens_as": "öffnet als {columns} × {rows}",
+ "lineup_aria": "Sitzungsaufstellung",
+ "will_launch": "Wird gestartet",
+ "click_hint": "Klicke auf eine Sitzung, um einen anderen Agenten zu wählen",
+ "choose_agent": "Agent wählen",
+ "edit_session": "Sitzung {number} bearbeiten: {agent}"
+ },
+ "run_on": {
+ "online": "Läuft weiter, wenn dieser PC aus ist",
+ "unknown": "Noch nicht geprüft",
+ "offline": "Gerade nicht erreichbar",
+ "auto": "Automatisch",
+ "auto_detail": "Wählt diesen PC oder einen Computer nach ihren Anteilen",
+ "local": "Dieser Computer",
+ "local_detail": "Stoppt, wenn dieser PC schläft oder herunterfährt",
+ "label": "Läuft auf",
+ "copy_note": "Der Ordner wird zuerst nach {computer} kopiert, nicht committete Änderungen inklusive. Dateien wie .env und private Schlüssel bleiben auf diesem PC. Die Coding-CLI muss dort installiert sein.",
+ "none_hint": "Möchtest du Agenten, die weiterarbeiten, wenn dieser PC aus ist?",
+ "connect_server": "Server verbinden"
+ },
+ "shape": {
+ "exact_count": "Genaue Anzahl · Zahl eingeben",
+ "one_fewer": "Ein Terminal weniger",
+ "one_more": "Ein Terminal mehr",
+ "count_aria": "Anzahl der Terminals",
+ "use_n": "{count} Terminals verwenden",
+ "all_on_screen": "Alle auf einem Bildschirm.",
+ "columns_narrow": "Alle auf einem Bildschirm, je etwa {columns} Spalten — schmal für die Ausgabe eines Agenten. Dieses Fenster fasst bei Textgröße {size} bequem {affordable} nebeneinander; maximiere ein Fenster, um es in voller Größe zu lesen.",
+ "columns_each": "Alle auf einem Bildschirm, je etwa {columns} Spalten.",
+ "px_each": "Alle auf einem Bildschirm, je etwa {px} px.",
+ "px_narrow": "Alle auf einem Bildschirm, je etwa {px} px — schmal für die Ausgabe eines Agenten. Maximiere ein Fenster, um es in voller Größe zu lesen.",
+ "across": "{columns} nebeneinander"
}
},
"agent_accounts": {
@@ -4820,6 +5405,17 @@
"fallback": "Stattdessen Terminal-Fenster verwenden",
"cancel": "Anmeldung abbrechen",
"show_cli": "Anzeigen, was das CLI ausgibt"
+ },
+ "workspace": {
+ "toast_switched": "Neue {agent}-Terminals verwenden {account}.",
+ "chip_title": "Neue {agent}-Terminals öffnen mit {account}. Laufende Fenster behalten ihres. Klicke zum Wechseln.",
+ "chip_aria": "Wechseln, welches {agent}-Abo neue Terminals nutzen",
+ "open_title": "Einstellungen des Arbeitsbereichs — wähle, welches Abo neue Terminals nutzen",
+ "title": "Einstellungen des Arbeitsbereichs",
+ "description": "Verbinde mehrere Abos derselben Coding-CLI und wähle, welches neue Agent-Terminals antreibt.",
+ "close": "Einstellungen schließen",
+ "new_terminals": "neue Terminals",
+ "note": "Der Wechsel gilt für jedes ab jetzt geöffnete Terminal, Teilungen eingeschlossen — vorhandene Fenster behalten das Konto, mit dem sie gestartet sind, damit kein laufender Agent seine Unterhaltung verliert. Nur ein Fenster, dessen Abo bewusst gewählt wurde (im Arbeitsbereich-Assistenten), gibt diese Wahl beim Teilen weiter."
}
},
"ide_chats": {
@@ -5062,6 +5658,73 @@
"no_target": "Öffne oder wähle zuerst ein Agent-Terminal aus.",
"choose": "Dateien auswählen",
"remove": "Diesen wartenden Kontext entfernen"
+ },
+ "view_buttons": {
+ "grid_title": "Terminal-Raster — alle Fenster gleichzeitig auf dem Bildschirm.",
+ "chat_title": "Chat-Ansicht — lies einen Agenten nach dem anderen, wie eine Unterhaltung."
+ },
+ "focus_mode": {
+ "on_title": "Fokussierter Coding-Modus ist an — dein Assistent antwortet in diesem Arbeitsbereich. Klicke zum Verlassen.",
+ "off_title": "Fokussierten Coding-Modus einschalten — dein Assistent antwortet in diesem Arbeitsbereich, bis du zurückwechselst."
+ },
+ "close_workspace": {
+ "aria": "Arbeitsbereich schließen",
+ "title": "Arbeitsbereich schließen und alle Agenten darin beenden",
+ "confirm_title": "Diesen Arbeitsbereich schließen?",
+ "confirm_body_one": "Das beendet {count} Coding-Agenten und schließt jede Terminal-Sitzung. Alles, was schon auf die Festplatte geschrieben wurde, bleibt.",
+ "confirm_body_other": "Das beendet alle {count} Coding-Agenten und schließt jede Terminal-Sitzung. Alles, was schon auf die Festplatte geschrieben wurde, bleibt.",
+ "keep": "Arbeitsbereich offen lassen",
+ "confirm": "Arbeitsbereich schließen"
+ },
+ "empty_workspace": {
+ "all_closed": "Alle Terminals in diesem Arbeitsbereich sind geschlossen.",
+ "open_terminal": "Terminal öffnen",
+ "picker_title": "Terminal öffnen — womit?",
+ "picker_aria": "Was soll im neuen Terminal laufen?"
+ },
+ "close_pane": {
+ "aria": "{pane} schließen",
+ "title": "{pane} schließen?",
+ "body": "Der Coding-Agent in diesem Terminal wird beendet und seine Sitzung ist weg. Alles, was er schon auf die Festplatte geschrieben hat, bleibt.",
+ "keep": "Offen lassen",
+ "confirm": "{pane} schließen"
+ },
+ "pane": {
+ "copy_unavailable": "Die Terminal-Auswahl konnte auf diesem Rechner nicht kopiert werden.",
+ "paste_unavailable": "Die Zwischenablage konnte auf diesem Rechner nicht gelesen werden.",
+ "ready_reattached": "läuft noch — dort weitergemacht, wo du aufgehört hast",
+ "ready_resumed": "hat seine vorherige Unterhaltung fortgesetzt",
+ "ready_fresh": "hat eine neue Unterhaltung begonnen",
+ "drop_empty": "Dieses Ablegen enthielt keine Datei, die dieses Fenster nutzen kann.",
+ "starting": "{agent} wird gestartet…",
+ "attaching": "Wird an {pane} angehängt…",
+ "drop_hint_before": "Ablegen, um es zu übergeben an ",
+ "drop_hint_after": "",
+ "tip_drag": "Zieh {pane} an dieser Leiste, um es zu verschieben.",
+ "tip_restore": "Doppelklick, um es zurückzusetzen.",
+ "tip_fill": "Doppelklick, um den Arbeitsbereich auszufüllen.",
+ "tip_restore_named": "Doppelklick, um {pane} zurück ins Raster zu setzen.",
+ "tip_fill_named": "Doppelklick, damit {pane} den Arbeitsbereich ausfüllt.",
+ "move": "{pane} verschieben",
+ "rename": "{pane} umbenennen",
+ "rename_save": "Namen für {pane} speichern",
+ "rename_cancel": "Umbenennen von {pane} abbrechen",
+ "running_on_account": "Läuft auf {account}",
+ "review_changes": "Änderungen von {pane} prüfen",
+ "restore": "{pane} wiederherstellen",
+ "maximize": "{pane} maximieren",
+ "split_right": "Weiteres Terminal neben {pane} öffnen",
+ "split_down": "{pane} teilen und darunter ein Terminal öffnen",
+ "split_right_picker": "Daneben öffnen — womit?",
+ "split_down_picker": "Darunter teilen — womit?",
+ "split_right_picker_aria": "Was soll neben {pane} laufen?",
+ "split_down_picker_aria": "Was soll unter {pane} laufen?",
+ "unreachable": "{pane} ist nicht erreichbar.",
+ "exited_detail": "{agent} {detail}",
+ "exited": "{agent} läuft nicht mehr in {pane}.",
+ "restart_aria": "{pane} neu starten",
+ "restart_title": "Ein frisches {agent} in {pane} starten",
+ "restart": "Neu starten"
}
},
"prompt_writer": {
@@ -5230,7 +5893,8 @@
"delete_failed": "Das konnte nicht gelöscht werden.",
"delete_running": "Dieser Lauf arbeitet noch. Stopp ihn zuerst, dann kannst du ihn löschen.",
"open_from_agent": "Artefakte",
- "open_from_agent_hint": "Zeigt die Seiten und Bilder, die die letzten Durchläufe erzeugt haben."
+ "open_from_agent_hint": "Zeigt die Seiten und Bilder, die die letzten Durchläufe erzeugt haben.",
+ "summary": "Zusammenfassung"
},
"marketplace_origin": {
"badge": "Marketplace",
@@ -5498,7 +6162,13 @@
"agent_asks_default": "Er fragt dich, bevor er handelt, bis du das änderst.",
"agent_instructions": "Seine festen Anweisungen",
"import_agent": "Agenten-Datei importieren",
- "import_failed": "Die Datei konnte nicht importiert werden: {error}"
+ "import_failed": "Die Datei konnte nicht importiert werden: {error}",
+ "request_failed": "Marketplace-Anfrage fehlgeschlagen ({status})",
+ "refresh_failed": "Aktualisieren fehlgeschlagen ({status})",
+ "install_failed": "Installation fehlgeschlagen ({status})",
+ "contents_failed": "Dieser Eintrag konnte nicht gelesen werden ({status})",
+ "err_identity_start": "Anmeldung konnte nicht gestartet werden ({status})",
+ "err_identity_failed": "Anmeldung fehlgeschlagen"
},
"costs_view": {
"title": "Kosten & Tokens",
@@ -5656,7 +6326,8 @@
"free": "Kostenlos",
"unknown": "Ohne Preis",
"subscription": "Abo"
- }
+ },
+ "tokens_in_out": "{input} ein / {output} aus"
},
"all_chats": {
"title": "Alle Chats",
@@ -5867,7 +6538,9 @@
"history_chats": "Chats",
"history_voice": "Sprache",
"history_empty": "Noch nichts hier",
- "history_delete": "Löschen"
+ "history_delete": "Löschen",
+ "proposal_ask_first": "erst fragen: {tools}",
+ "proposal_always_allow": "immer erlauben: {tools}"
},
"world": {
"minimap_label": "Inselkarte",
@@ -6316,6 +6989,35 @@
"message": "Deine Nachricht an die Gruppe",
"stop": "Runde stoppen",
"send": "Gruppe fragen"
+ },
+ "floor": {
+ "department_other": "Sonstige",
+ "agent_fallback": "Agent",
+ "workspace_fallback": "Workspace"
+ },
+ "provider_label": {
+ "ollama": "Ollama (lokal)",
+ "local_server": "Lokaler Server"
+ },
+ "sample": {
+ "daily_at": "täglich {time}",
+ "lead": {
+ "title": "Geschäftsführung – leitet das ganze Team und delegiert",
+ "description": "Du leitest diese Agentengesellschaft: Du bist ihre Geschäftsführung. Dir gehören die Ziele, nicht die Aufgaben. Jede Anfrage, die bei dir ankommt, wird eingeordnet, zu einem klaren Auftrag geformt und an den Orchestrator oder Spezialisten übergeben, dessen Titel passt; die Arbeit eines Spezialisten machst du nie selbst. Du hältst das Team klein, die Übergaben schriftlich (was erledigt ist, Belege, was offen bleibt, wer den nächsten Schritt übernimmt) und die Ausgaben im Tagesbudget. Aktionen der Stufe „Fragen“ warten immer auf die Person; eine Freigabe umgehst du nie. Du sprichst für das Team in der Sprache der Person und berichtest Ergebnisse, nicht Aktivität.",
+ "routine": "Morgendliche Stand-up-Zusammenfassung"
+ },
+ "scout": {
+ "name": "Scout",
+ "title": "Recherche-Orchestrator",
+ "description": "Dir gehört die Recherche. Du zerlegst eine Frage in Quellen, liest breit, bewahrst Belegquellen und lieferst ein Briefing mit dem, was noch offen ist.",
+ "routine": "Morgendliches Recherche-Briefing"
+ },
+ "archivist": {
+ "name": "Archivar",
+ "title": "Wissenskurator",
+ "description": "Dir gehört das gemeinsame Gedächtnis. Du machst aus fertiger Arbeit kurze Wiki-Notizen mit Quellen in deinem Namensraum und schlägst vor, was ins gemeinsame Wissen aufsteigen sollte.",
+ "routine": "Nächtlicher Kuratierungsdurchlauf"
+ }
}
},
"chat_tools": {
@@ -6594,7 +7296,8 @@
"expand": "{file} vergrößern",
"open_file": "Datei öffnen",
"download": "Herunterladen",
- "retry": "Erneut versuchen"
+ "retry": "Erneut versuchen",
+ "image_fallback": "Bild"
},
"slash": {
"locale": "de",
@@ -6716,6 +7419,23 @@
"title": "Gehe zu Datei",
"placeholder": "Dateinamen tippen; :42 springt zu Zeile 42",
"no_match": "Keine Datei passt."
+ },
+ "errors": {
+ "not_editable": "Die Datei auf der Festplatte kann hier nicht mehr bearbeitet werden.",
+ "reopen_dirty": "Speichere oder verwirf die Änderungen, bevor du die Datei mit einer anderen Kodierung neu öffnest."
+ },
+ "encoding_scripts": {
+ "labelled": "{script} ({encoding})",
+ "utf8_bom": "UTF-8 mit BOM",
+ "western": "Westlich",
+ "central_european": "Mitteleuropäisch",
+ "cyrillic": "Kyrillisch",
+ "greek": "Griechisch",
+ "turkish": "Türkisch",
+ "japanese": "Japanisch",
+ "chinese_simplified": "Chinesisch (vereinfacht)",
+ "chinese_traditional": "Chinesisch (traditionell)",
+ "korean": "Koreanisch"
}
},
"ide_side_panel": {
@@ -7150,6 +7870,12 @@
"data": "Daten",
"perf": "Performance",
"rocket": "Release"
+ },
+ "import_errors": {
+ "unreadable": "{file}: konnte nicht gelesen werden.",
+ "not_markdown": "{file}: keine Markdown- oder Textdatei.",
+ "too_large": "{file}: größer als {size} KB.",
+ "not_text": "{file}: keine Textdatei."
}
},
"office": {
@@ -7326,7 +8052,8 @@
"close": "Schließen",
"gone": "Dieser Appshot wird nicht mehr aufbewahrt und kann nicht bearbeitet werden.",
"text_placeholder": "Text…"
- }
+ },
+ "editor_title": "Appshot-Editor"
},
"jarvisx": {
"title": "Dodaios X",
@@ -7595,5 +8322,967 @@
"logged_offer": "{provider} / {model}, geschätzt {cost}, Grenze {cap}.",
"paid_usage": "Kostenpflichtiger Lauf auf {provider} / {model}: tatsächlich {cost} (geschätzt {estimate}, Grenze {cap}).",
"paid_usage_automatic": "Automatischer kostenpflichtiger Lauf auf {provider} / {model}: tatsächlich {cost} (geschätzt {estimate}, Grenze {cap})."
+ },
+ "ide_projects": {
+ "connect_failed": "Dieser Ordner konnte nicht verbunden werden. Versuch es noch einmal.",
+ "choose_folder_error": "Wähle einen Ordner, um fortzufahren.",
+ "back_to_project": "Zurück zum Projekt",
+ "choose_folder_title": "Ordner wählen",
+ "connect_title": "Projekt verbinden",
+ "connect_description": "Wähle einen Quellordner und optional einen Projektnamen.",
+ "choose_folder_hint": "Wähle einen Ordner, um fortzufahren",
+ "use_folder": "Diesen Ordner verwenden",
+ "project_name": "Projektname",
+ "project_name_optional": "Projektname (optional)",
+ "source_folder": "Quellordner",
+ "change": "Ändern",
+ "add_folder_hint": "Füge einen Ordner von diesem Computer hinzu",
+ "choose_folder": "Ordner wählen",
+ "connecting": "Wird verbunden…",
+ "reorder_needs_restart": "Diese Ansicht ist neuer als das Backend — starte die App neu und versuch es noch einmal.",
+ "reveal_desktop_only": "Ordner öffnen geht nur in der Desktop-App.",
+ "sessions_one": "{count} Agent-Sitzung",
+ "sessions_other": "{count} Agent-Sitzungen",
+ "path_copied": "Ordnerpfad kopiert",
+ "path_copy_failed": "Ordnerpfad konnte nicht kopiert werden",
+ "opening": "{label} wird geöffnet…",
+ "open_failed": "{label} konnte nicht gestartet werden",
+ "workspace_copy": "{workspace} Kopie",
+ "interrupt_failed": "{failed} von {total} Agents konnten nicht unterbrochen werden.",
+ "interrupted_one": "{count} Agent unterbrochen.",
+ "interrupted_other": "{count} Agents unterbrochen.",
+ "the_computer": "den Computer",
+ "this_computer": "diesen Computer",
+ "moving": "{workspace} wird auf {target} verschoben. Das kann eine Minute dauern.",
+ "moved": "{workspace} läuft jetzt auf {target}.",
+ "rename_named": "{target} umbenennen",
+ "save_named": "{target} speichern",
+ "cancel_rename_named": "Umbenennen von {target} abbrechen",
+ "open_named": "{target} öffnen",
+ "collapse_named": "{target} einklappen",
+ "expand_named": "{target} ausklappen",
+ "not_restorable": "Dieser Workspace kann auf diesem Rechner nicht wiederhergestellt werden",
+ "drag_hint": "{target} — zum Umsortieren ziehen oder mit Alt und Pfeiltasten verschieben",
+ "switching": "Workspace wird gewechselt",
+ "project_actions_for": "Projektaktionen für {target}",
+ "project_actions": "Projektaktionen",
+ "new_workspace_in": "Neuer Workspace in {project}",
+ "new_workspace": "Neuer Workspace",
+ "workspace_actions_for": "Workspace-Aktionen für {target}",
+ "workspace_actions": "Workspace-Aktionen",
+ "create_workspace": "Workspace erstellen",
+ "open_in": "In {editor} öffnen",
+ "not_installed": "Nicht installiert",
+ "open_on": "Auf {target} öffnen",
+ "the_web": "dem Web",
+ "the_web_page": "die Webseite",
+ "new_worktree": "Neuer Workspace in einem Worktree",
+ "new_worktree_hint": "Eigener Ordner und Branch für seine Agents",
+ "rename_project": "Projekt umbenennen",
+ "unpin_project": "Projekt lösen",
+ "pin_project": "Projekt anheften",
+ "delete_project": "Projekt löschen",
+ "add_agent": "Weiteren Agent hinzufügen",
+ "duplicate": "Workspace duplizieren",
+ "duplicate_hint_one": "Startet {count} neuen Agent",
+ "duplicate_hint_other": "Startet {count} neue Agents",
+ "interrupt_one": "{count} arbeitenden Agent unterbrechen",
+ "interrupt_other": "{count} arbeitende Agents unterbrechen",
+ "interrupt_hint": "Stoppt die aktuelle Aufgabe, behält den Chat",
+ "reopen": "Workspace wieder öffnen",
+ "reopen_unreachable": "Sein Ordner ist nicht erreichbar",
+ "copy_path": "Ordnerpfad kopieren",
+ "move_to": "Workspace auf {computer} verschieben",
+ "move_hint": "Läuft weiter, während dieser PC aus ist",
+ "bring_back": "Workspace hierher zurückholen",
+ "git_hint": "Commit, Push, Pull Request, Worktrees",
+ "rename_workspace": "Workspace umbenennen",
+ "remove_workspace": "Workspace entfernen",
+ "workspaces": "Workspaces",
+ "connect_folder_title": "Projektordner verbinden",
+ "pinned": "Angeheftet",
+ "other_projects": "Weitere Projekte",
+ "empty": "Verbinde einen Ordner, um ein Projekt zu starten.",
+ "remove_title": "{workspace} entfernen?",
+ "remove_body_one": "Sein {count} Coding-Agent stoppt und der Workspace verschwindet aus der Seitenleiste. Der Ordner auf der Festplatte und seine Chats bleiben unberührt.",
+ "remove_body_other": "Seine {count} Coding-Agents stoppen und der Workspace verschwindet aus der Seitenleiste. Der Ordner auf der Festplatte und seine Chats bleiben unberührt.",
+ "remove_body_closed": "Der Workspace verschwindet aus der Seitenleiste. Der Ordner auf der Festplatte und seine Chats bleiben unberührt.",
+ "removing": "Wird entfernt…",
+ "remove_named": "{workspace} entfernen",
+ "delete_title": "{project} löschen?",
+ "delete_body_idle": "Damit werden das Projekt und seine Chats vergessen. Die Ordner auf der Festplatte bleiben unberührt.",
+ "delete_body": "Damit werden {agents} in {workspaces} gestoppt und das Projekt und seine Chats vergessen. Die Ordner auf der Festplatte bleiben unberührt.",
+ "running_agents_one": "{count} laufenden Agent",
+ "running_agents_other": "{count} laufende Agents",
+ "open_workspaces_one": "{count} offenen Workspace",
+ "open_workspaces_other": "{count} offenen Workspaces",
+ "deleting": "Wird gelöscht…",
+ "delete_named": "{project} löschen",
+ "show_in_explorer": "Im Explorer anzeigen",
+ "show_in_finder": "Im Finder anzeigen",
+ "show_in_file_manager": "Im Dateimanager anzeigen",
+ "keep": "Behalten"
+ },
+ "ide_folder_picker": {
+ "create_failed": "Dieser Ordner konnte nicht erstellt werden.",
+ "drop_not_folder": "Das war kein Ordner. Zieh einen Ordner hierher oder wähle einen aus der Liste.",
+ "drop_finding": "Der abgelegte Ordner wird gesucht…",
+ "drop_not_found": "Dieser Ordner wurde nicht gefunden.",
+ "this_machine": "Dieser Rechner",
+ "starting_with": "Ordner, die mit „{leaf}“ beginnen",
+ "folders_in": "Ordner in {folder}",
+ "places": "Orte",
+ "drop_overlay": "Loslassen, um diesen Ordner zu wählen",
+ "search_placeholder": "Nach Namen suchen oder Pfad einfügen",
+ "search_aria": "Ordner nach Namen suchen oder einen Pfad einfügen",
+ "clear_search": "Suche leeren",
+ "browse_title": "Ordner im eigenen Ordnerfenster dieses Computers wählen",
+ "window_open": "Fenster offen…",
+ "browse": "Durchsuchen…",
+ "new_folder_title": "Neuen Ordner in {path} anlegen",
+ "your_home_folder": "deinem Benutzerordner",
+ "new_folder": "Neuer Ordner",
+ "native_open_note": "Ein Ordnerfenster ist aufgegangen. Wähle dort deinen Ordner. Wenn du es nicht siehst, liegt es hinter diesem Fenster oder in der Taskleiste.",
+ "go_up": "Einen Ordner nach oben",
+ "nothing_called": "Auf {machine} heißt nichts „{query}“",
+ "called_anywhere": "Ordner namens „{query}“ überall auf {machine}",
+ "folder_path": "Ordnerpfad",
+ "start_title": "Start: zuletzt verwendete Ordner und Orte auf {machine}",
+ "click_to_edit_path": "Klicken, um den ganzen Pfad zu sehen und zu bearbeiten",
+ "show_whole_path": "Ganzen Pfad anzeigen",
+ "type_path": "Pfad eingeben",
+ "type_path_title": "Pfad eingeben oder einfügen — Tab vervollständigt Ordnernamen",
+ "hide_hidden": "Versteckte Ordner ausblenden",
+ "show_hidden": "Versteckte Ordner anzeigen",
+ "hidden_shown_title": "Versteckte Ordner (Namen mit einem Punkt am Anfang) werden angezeigt",
+ "hidden_list_title": "Auch versteckte Ordner auflisten — Namen mit einem Punkt am Anfang",
+ "reload": "Diesen Ordner neu laden",
+ "new_folder_name": "Name des neuen Ordners",
+ "create": "Erstellen",
+ "cancel_new_folder": "Neuen Ordner abbrechen",
+ "created_in": "Erstellt in",
+ "recent_folders": "Zuletzt verwendete Ordner",
+ "terminals_one": "{count} Terminal",
+ "terminals_other": "{count} Terminals",
+ "forget": "{folder} vergessen",
+ "forget_title": "Aus dieser Liste entfernen (der Ordner selbst bleibt)",
+ "create_folder_named": "Ordner „{folder}“ erstellen",
+ "in_parent": "in {path}",
+ "empty_search": "Kein Ordner mit diesem Namen gefunden.",
+ "empty_search_hint": "Um einen über seinen Ort zu öffnen, gib seinen vollständigen Pfad ein — etwa {example}.",
+ "empty_leaf": "Hier beginnt kein Ordner mit „{leaf}“.",
+ "empty_needle": "Hier passt kein Ordner zu „{query}“. Tipp weiter, um den ganzen Rechner zu durchsuchen.",
+ "empty_folder": "Dieser Ordner enthält keine Ordner. Du kannst ihn so wählen, wie er ist, oder darin einen neuen Ordner anlegen.",
+ "empty_start": "Hier gibt es nichts aufzulisten — oben suchen, einen Ordner ablegen oder seinen Pfad eingeben.",
+ "path_example_before": "Ein vollständiger Pfad sieht auf diesem Rechner so aus:",
+ "path_example_after": ".",
+ "tip_drag": "Tipp: Du kannst auch einen Ordner aus deinem Dateimanager hierher ziehen.",
+ "chosen_folder": "Gewählter Ordner:",
+ "no_folder_chosen": "Noch kein Ordner gewählt. Öffne einen Ordner in der Liste, um ihn zu wählen.",
+ "today": "Heute",
+ "yesterday": "Gestern",
+ "days_ago": "vor {count} Tagen",
+ "last_week": "Letzte Woche",
+ "weeks_ago": "vor {count} Wochen",
+ "path_input_placeholder": "Pfad eingeben — Tab vervollständigt Ordnernamen",
+ "go_to_path": "Zu diesem Pfad wechseln"
+ },
+ "shell_events": {
+ "empty": "Noch keine Events. Sende ein Test-Event aus dem Debug-Tab.",
+ "hide_payload": "ausblenden",
+ "show_payload": "Payload"
+ },
+ "ide_panes": {
+ "exit": {
+ "stopped": "wurde beendet",
+ "ctrl_c": "wurde mit Strg-C beendet (0xC000013A)",
+ "access_violation": "ist abgestürzt — Speicherzugriffsverletzung (0xC0000005)",
+ "stack_overrun": "ist abgestürzt — Stapelpufferüberlauf (0xC0000409)",
+ "heap_corruption": "ist abgestürzt — Heap-Beschädigung (0xC0000374)",
+ "unhandled_exception": "ist abgestürzt — unbehandelte Ausnahme (0xC000041D)",
+ "dll_missing": "konnte nicht starten — eine benötigte DLL fehlte (0xC0000142)",
+ "unexpected": "wurde unerwartet beendet — mit Neu starten holst du es zurück",
+ "unexpected_code": "wurde unerwartet beendet (Exit-Code {code}) — mit Neu starten holst du es zurück"
+ },
+ "socket": {
+ "authorizing": "Terminal wird autorisiert…",
+ "auth_failed": "Autorisierung des Terminals fehlgeschlagen — neuer Versuch.",
+ "workspace_closed": "Dieser Arbeitsbereich wurde geschlossen — wird neu geladen…",
+ "start_failed_this": "Dieses Terminal konnte nicht gestartet werden.",
+ "start_failed": "Das Terminal konnte nicht gestartet werden.",
+ "no_such_pane": "Dieses Terminal gehört nicht mehr zum geöffneten Arbeitsbereich.",
+ "waiting_workspace": "Warte, bis der Arbeitsbereich zurück ist…",
+ "unreachable": "Terminal nicht erreichbar — neuer Versuch.",
+ "connection_lost": "Verbindung zum Terminal verloren (Code {code}) — verbinde neu."
+ },
+ "common": {
+ "done": "Fertig"
+ },
+ "install": {
+ "title": "{agent} installieren",
+ "installing": "{agent} wird installiert",
+ "starting": "Installationsprogramm für {agent} wird gestartet…",
+ "installed": "{agent} ist installiert",
+ "watching": "Warte darauf, dass {agent} erscheint…"
+ },
+ "picker": {
+ "no_shell": "hier keine Shell",
+ "not_installed": "nicht installiert",
+ "install": "Installieren"
+ },
+ "close_dialog": {
+ "workspace_title": "{workspace} schließen?",
+ "workspace_title_unnamed": "Arbeitsbereich schließen?",
+ "pane_body": "Der Coding-Agent in diesem Fenster stoppt sofort, auch bei einer Aufgabe, an der er noch arbeitet.",
+ "workspace_body_empty": "Der Arbeitsbereich wird geschlossen. Du kannst ihn jederzeit unter Projekte wiederherstellen.",
+ "workspace_body_one": "Sein Coding-Agent stoppt sofort. Du kannst den Arbeitsbereich jederzeit unter Projekte wiederherstellen.",
+ "workspace_body_other": "Alle {count} Coding-Agenten stoppen sofort. Du kannst den Arbeitsbereich jederzeit unter Projekte wiederherstellen.",
+ "keep": "Weiterlaufen lassen",
+ "close_agent": "Agent schließen"
+ },
+ "fork": {
+ "title": "{pane} forken",
+ "description": "Starte einen zweiten Agenten vom aktuellen Stand dieses Agenten. Das Original läuft unverändert weiter.",
+ "chat_title": "Chat forken",
+ "chat_body": "Ein neuer Agent öffnet sich neben diesem und setzt eine Kopie der Unterhaltung fort, im selben Ordner.",
+ "worktree_title": "In einen Worktree forken",
+ "worktree_needs_repo": "Braucht ein Git-Repository — dieser Ordner ist keins.",
+ "worktree_body": "Dieselbe Kopie der Unterhaltung, aber in einem eigenen Git-Worktree und Branch, damit beide Agenten Dateien ändern können, ohne sich in die Quere zu kommen.",
+ "how": "Wie forken",
+ "branch_label": "Name für Worktree und Branch",
+ "finding_name": "Suche einen Namen…",
+ "branch_hint": "Wird aus dem letzten Commit erstellt. Noch nicht committete Änderungen bleiben im aktuellen Ordner.",
+ "cannot_copy": "{agent} kann seine Unterhaltung nicht kopieren, daher startet der Fork mit einem neuen Chat.",
+ "confirm_worktree": "In Worktree forken"
+ },
+ "move": {
+ "no_room": "Kein Platz",
+ "summary_empty": "{workspace} ist leer, daher füllt {pane} ihn aus.",
+ "summary_even": "{pane} kommt zu {workspace}, und jedes Fenster bekommt gleich viel Platz.",
+ "summary_left": "Links von {anchor}: {pane} bekommt die Hälfte seines Platzes.",
+ "summary_right": "Rechts von {anchor}: {pane} bekommt die Hälfte seines Platzes.",
+ "summary_above": "Über {anchor}: {pane} bekommt die Hälfte seines Platzes.",
+ "summary_below": "Unter {anchor}: {pane} bekommt die Hälfte seines Platzes.",
+ "place_left": "{pane} links von {anchor} platzieren",
+ "place_right": "{pane} rechts von {anchor} platzieren",
+ "place_above": "{pane} über {anchor} platzieren",
+ "place_below": "{pane} unter {anchor} platzieren",
+ "title": "{pane} nach {workspace} verschieben",
+ "description": "Zeige auf ein Fenster und klicke auf die Seite, an die es soll. Der Agent läuft weiter.",
+ "loading": "{workspace} wird geladen…",
+ "fills_empty": "Füllt den leeren Arbeitsbereich",
+ "tile_aria": "{anchor}. Mit den Pfeiltasten wählst du die Seite, an die {pane} kommt.",
+ "confirm": "Nach {workspace} verschieben"
+ },
+ "activity": {
+ "label": {
+ "stopped": "gestoppt",
+ "status_unknown": "Status unbekannt",
+ "working": "arbeitet",
+ "starting": "startet",
+ "needs_you": "braucht dich",
+ "exited": "beendet",
+ "failed": "fehlgeschlagen",
+ "done": "fertig",
+ "idle": "bereit",
+ "error": "Fehler",
+ "live": "verbunden"
+ },
+ "hint": {
+ "interrupted": "Die Aufgabe wurde unterbrochen.",
+ "unknown": "Kein bestätigter Aufgabenstatus verfügbar.",
+ "working": "Arbeitet — die Aufgabe läuft noch.",
+ "starting": "Startet. Sein Agent hat das Fenster noch nicht übernommen.",
+ "asking": "Mit einer Frage auf dem Bildschirm angehalten. Wartet auf deine Antwort.",
+ "exited": "Sein Prozess ist weg.",
+ "failed": "Sein Agent konnte nicht gestartet werden.",
+ "done": "Fertig und wartet am Prompt. Heißt: Es hat aufgehört — nicht, dass die Arbeit stimmt.",
+ "idle": "Wartet am Prompt. Es wurde noch nichts gesendet.",
+ "connecting": "Verbinde mit dem Fenster.",
+ "error": "Dieses Fenster ist nicht erreichbar.",
+ "connected": "Verbunden."
+ },
+ "duration_seconds": "{count} s",
+ "duration_minutes": "{count} Min.",
+ "duration_hour_one": "1 Stunde",
+ "duration_hours_other": "{count} Stunden",
+ "for_elapsed": "Seit {elapsed}."
+ },
+ "recap": {
+ "why": {
+ "pinned": "Das hast du geschrieben. Es bleibt, bis du es zurücksetzt.",
+ "cli_title": "Der Agent in diesem Fenster hat seine Sitzung selbst benannt.",
+ "disabled": "Modell-Zusammenfassungen sind ausgeschaltet, daher stammt dies aus der eigenen Ausgabe des Fensters.",
+ "not_started": "In diesem Fenster läuft noch nichts, also gibt es nichts zusammenzufassen.",
+ "warming": "Bisher zu wenig Ausgabe für eine Zusammenfassung — diese Zeile stammt aus der eigenen Ausgabe des Fensters.",
+ "working": "Gerade wird eine Zusammenfassung geschrieben. Diese Zeile stammt aus der eigenen Ausgabe des Fensters.",
+ "queued": "Wartet darauf, zusammengefasst zu werden. Diese Zeile stammt aus der eigenen Ausgabe des Fensters.",
+ "unavailable": "Kein Modell konnte dieses Fenster zusammenfassen, daher stammt diese Zeile aus seiner eigenen Ausgabe."
+ },
+ "credit": {
+ "user": "Von dir geschrieben",
+ "cli_named": "Benannt von {writer}",
+ "cli": "Vom Agenten benannt",
+ "model_named": "Zusammengefasst von {writer}",
+ "model": "Von einem Modell zusammengefasst",
+ "heuristic": "Aus der Ausgabe gelesen"
+ },
+ "ago_seconds": "vor {count} s",
+ "ago_minutes": "vor {count} Min.",
+ "ago_hours": "vor {count} Std.",
+ "what_doing": "Was {pane} gerade macht",
+ "write_yourself": "Selbst schreiben",
+ "back_to_auto": "Zurück zur automatischen Zusammenfassung",
+ "summarize_again": "Dieses Fenster erneut zusammenfassen",
+ "header_line": "Kopfzeile",
+ "header_placeholder": "Wofür dieses Fenster da ist",
+ "longer": "Die längere Fassung",
+ "optional": "— optional",
+ "detail_placeholder": "Wo die Arbeit steht, was noch offen ist…",
+ "save_hint": "⌘/Strg + Enter zum Speichern",
+ "save_empty_hint": "Mit leerer Zeile speichern, um zur automatischen Zusammenfassung zurückzukehren"
+ },
+ "receipt": {
+ "just_now": "gerade eben",
+ "ago_hour_one": "vor 1 Stunde",
+ "ago_hours_other": "vor {count} Stunden",
+ "load_failed": "Der vollständige Prompt konnte nicht gelesen werden.",
+ "sent": "Prompt gesendet",
+ "sent_note": "der Agent hat ihn angenommen und angefangen",
+ "typed": "Prompt eingetippt, nicht gestartet",
+ "typed_note": "er steht im Eingabefeld dieses Fensters — drück hier Enter, um ihn auszuführen",
+ "unconfirmed": "Prompt gesendet — Start nicht bestätigt",
+ "unconfirmed_note": "er ist im Fenster angekommen; der Start des Agenten konnte nicht bestätigt werden",
+ "read_title": "Genau lesen, was an {pane} gesendet wurde",
+ "dismiss": "Zustellbestätigung für {pane} schließen",
+ "click_to_read": "klicken, um zu lesen, was gesendet wurde",
+ "loading_rest": "Anfang von {count} Zeichen — lese den Rest…",
+ "opening_only": "Nur der Anfang wird angezeigt — {error}",
+ "delivered": "{count} Zeichen, an {pane} zugestellt.",
+ "delivered_at": "{count} Zeichen, um {clock} an {pane} zugestellt."
+ },
+ "options": {
+ "title": "Optionen des Arbeitsbereichs",
+ "close": "Optionen des Arbeitsbereichs schließen",
+ "arrangement": "Terminal-Anordnung",
+ "balance": "Layout ausgleichen",
+ "arrangement_hint": "Zieh einen Terminal-Titel an einen Rand, um es neben, über oder unter ein anderes Terminal zu setzen. Leg es in der Mitte ab, um die Plätze zu tauschen.",
+ "style": "Terminal-Stil",
+ "style_minimal": "Minimal",
+ "style_minimal_hint": "Eckige Rahmen, schmale Titelzeile",
+ "style_classic": "Klassisch",
+ "style_classic_hint": "Abgerundete Karten, höhere Titelleiste",
+ "appearance": "Terminal-Darstellung",
+ "appearance_auto_aria": "Wie die App",
+ "appearance_dark_aria": "dunkle Terminals",
+ "appearance_light_aria": "helle Terminals",
+ "appearance_auto": "Wie App",
+ "appearance_dark": "Dunkel",
+ "appearance_light": "Hell",
+ "add_agent": "Coding-Agent hinzufügen",
+ "git": "Git: Branches, Commits, Worktrees"
+ },
+ "github": {
+ "state_branch": "Veröffentlichter Branch",
+ "state_draft": "Pull Request (Entwurf)",
+ "state_open": "Offener Pull Request",
+ "state_queued": "In der Merge-Warteschlange",
+ "state_merged": "Pull Request gemergt",
+ "state_closed": "Ohne Merge geschlossen",
+ "unavailable": "GitHub-Status nicht verfügbar",
+ "branch_generic": "GitHub-Branch",
+ "dest_pr": "Pull Request #{number}",
+ "dest_branch": "Branch",
+ "open_aria": "GitHub {destination} öffnen: {identity}",
+ "open_title": "{destination} öffnen",
+ "refresh_failed": "GitHub-Status konnte nicht aktualisiert werden.",
+ "refreshing": "GitHub-Status wird aktualisiert…"
+ },
+ "dock": {
+ "swap": "Plätze tauschen",
+ "left": "Links platzieren",
+ "right": "Rechts platzieren",
+ "above": "Oben platzieren",
+ "below": "Unten platzieren"
+ },
+ "grid": {
+ "placed_swap": "{pane} und {target} wurden getauscht.",
+ "placed_left": "{pane} links von {target} platziert.",
+ "placed_right": "{pane} rechts von {target} platziert.",
+ "placed_above": "{pane} über {target} platziert.",
+ "placed_below": "{pane} unter {target} platziert.",
+ "arrange_failed": "Die Anordnung konnte nicht gespeichert werden. Die vorherige Reihenfolge wurde wiederhergestellt.",
+ "moved_toast": "{pane} wurde nach {workspace} verschoben. Sein Agent läuft weiter.",
+ "moved_renamed_toast": "{pane} wurde als {renamed} nach {workspace} verschoben. Sein Agent läuft weiter.",
+ "moved": "{pane} wurde nach {workspace} verschoben.",
+ "moved_renamed": "{pane} wurde als {renamed} nach {workspace} verschoben.",
+ "forked_branch": "{pane} wurde in {fork} auf Branch {branch} geforkt.",
+ "forked": "{pane} wurde in {fork} geforkt.",
+ "the_computer": "den Computer",
+ "this_computer": "diesen Computer",
+ "placing": "{pane} wird auf {computer} verschoben. Ordner und Unterhaltung ziehen mit.",
+ "placed_on": "{pane} läuft jetzt auf {computer}.",
+ "bring_back": "Auf diesen Computer zurückholen",
+ "run_on": "Auf {computer} ausführen",
+ "another_computer": "ein anderer Computer",
+ "no_pane_up": "Kein Fenster über {pane}.",
+ "no_pane_down": "Kein Fenster unter {pane}.",
+ "no_pane_left": "Kein Fenster links von {pane}.",
+ "no_pane_right": "Kein Fenster rechts von {pane}.",
+ "tile_aria": "{pane}. An einen Rand ziehen zum Andocken oder in die Mitte zum Tauschen. Alt+Pfeil tauscht mit einem Nachbarn.",
+ "move_to_menu": "Nach {workspace} verschieben…",
+ "not_into": "Nicht nach {workspace}: anderer Ordner",
+ "that_workspace": "diesen Arbeitsbereich"
+ },
+ "header": {
+ "split_right": "Rechts teilen",
+ "split_down": "Unten teilen",
+ "split_left": "Links teilen",
+ "split_up": "Oben teilen",
+ "rename_failed": "Der Name konnte nicht gespeichert werden.",
+ "name_for": "Name für {pane}",
+ "save_name": "Namen speichern",
+ "actions_for": "Aktionen für {pane}",
+ "swap_focused": "Mit fokussiertem Fenster tauschen",
+ "fork_menu": "Forken…",
+ "unzoom": "Zoom aufheben",
+ "zoom": "Zoomen",
+ "conversation_history": "Gesprächsverlauf",
+ "open_as_chat": "Als Chat öffnen",
+ "review_changes": "Änderungen prüfen",
+ "restart_agent": "Agent neu starten",
+ "right_click_title": "Umschalt+Rechtsklick öffnet das Fenstermenü, solange die Weiterleitung aktiv ist.",
+ "right_click": "Rechtsklicks an das Fenster senden",
+ "right_click_hint": "Umschalt + Rechtsklick: Fenstermenü",
+ "more_actions": "Weitere Aktionen für {pane}",
+ "status_connecting": "verbindet",
+ "status_live": "verbunden",
+ "status_exited": "beendet",
+ "status_error": "Fehler",
+ "runs_on": "Läuft auf {computer}. Arbeitet weiter, während diese App geschlossen ist.",
+ "worktree_branch": "Läuft in einem eigenen Git-Worktree auf Branch {branch}",
+ "drag_hint": "Zum Umsortieren ziehen, oder diesen Titel fokussieren und Alt mit einer Pfeiltaste drücken.",
+ "add_beside": "Agent neben {pane} hinzufügen"
+ },
+ "request_failed": "Anfrage fehlgeschlagen ({status}).",
+ "seam": {
+ "resize_pair": "Ziehen, um {before} und {after} anzupassen",
+ "resize_columns": "Ziehen, um diese zwei Terminal-Spalten anzupassen",
+ "pane_before": "das vorherige Fenster",
+ "pane_after": "das nächste Fenster"
+ }
+ },
+ "ide_git": {
+ "detached_at": "Losgelöst bei {head}",
+ "current_branch": "Aktueller Branch",
+ "worktree_badge": "Worktree",
+ "uncommitted": "{count} nicht committet",
+ "nothing_uncommitted": "Nichts Uncommittetes",
+ "changes_one": "{count} Änderung",
+ "changes_other": "{count} Änderungen",
+ "clean": "sauber",
+ "compared_with": "Verglichen mit {upstream}",
+ "ahead": "voraus",
+ "behind": "zurück",
+ "not_pushed_title": "Dieser Branch wurde noch nicht gepusht",
+ "not_pushed": "nicht gepusht",
+ "without_git": "Ohne Git",
+ "without_git_hint": "Den Ordner so öffnen, wie er ist",
+ "init": "Git initialisieren",
+ "init_hint": "Neues Repository auf main, bereit für Branches",
+ "share_checkout": "Diesen Checkout teilen",
+ "share_checkout_hint": "Derselbe Ordner wie die anderen Agents",
+ "current_checkout": "Aktueller Checkout",
+ "work_on_branch": "Auf {branch} im Projektordner arbeiten",
+ "work_in_folder": "Im Projektordner arbeiten",
+ "new_worktree": "Neuer Worktree",
+ "new_worktree_hint_agent": "Eigener Ordner und Branch, öffnet als eigener Tab",
+ "new_worktree_hint": "Eigener Ordner und Branch, Agents kommen sich nie in die Quere",
+ "new_branch": "Neuer Branch",
+ "new_branch_hint": "Hier abzweigen, im Projektordner",
+ "existing_branch": "Bestehender Branch",
+ "existing_branch_hint": "Hier einen anderen Branch auschecken",
+ "existing_worktree": "Bestehender Worktree",
+ "existing_worktree_hint": "Einen bereits vorhandenen Worktree öffnen",
+ "works_on": "Arbeitet auf {branch}",
+ "works_in_folder": "Arbeitet im Projektordner",
+ "opens_as_is": "Öffnet den Ordner so, wie er ist",
+ "opens_as_is_hint": "Hier gibt es kein Git. Du kannst es einrichten, wenn du möchtest.",
+ "summary_agent_hint": "Derselbe Ordner wie deine anderen Agents. Nichts einzurichten.",
+ "summary_workspace_hint": "Im Projektordner, so wie er jetzt ist. Nichts einzurichten.",
+ "reading_repo": "Repository wird gelesen…",
+ "git_options": "Git-Optionen",
+ "hide_options": "Optionen ausblenden",
+ "not_installed": "Git ist auf diesem Computer nicht installiert. Installiere es von git-scm.com, um Branches und Worktrees zu nutzen.",
+ "checkout_aria": "Git-Checkout",
+ "recommended": "Empfohlen",
+ "branch_name": "Branch-Name",
+ "suggest_name": "Anderen Namen vorschlagen",
+ "based_on": "Basiert auf",
+ "base_branch": "Basis-Branch",
+ "hint_current": "aktuell",
+ "hint_default": "Standard",
+ "unborn": "Dieses Repository hat noch keinen Commit — mach einen ersten Commit, bevor du abzweigst.",
+ "creates_worktree": "Erstellt {path}. Nur committete Arbeit wird kopiert; ein bestehender Branch wird wiederverwendet.",
+ "dirty_moves": "Deine nicht committeten Änderungen wandern mit auf den neuen Branch.",
+ "folder_switches": "Der Projektordner wechselt für jeden Agent darin auf den neuen Branch.",
+ "branch": "Branch",
+ "worktree": "Worktree",
+ "detached": "losgelöst",
+ "init_note": "Erstellt ein Repository auf {branch} mit einem leeren ersten Commit. Deine Dateien werden nicht committet — du entscheidest, was hineinkommt.",
+ "tag_modified": "geändert",
+ "tag_added": "hinzugefügt",
+ "tag_deleted": "gelöscht",
+ "tag_renamed": "umbenannt",
+ "tag_copied": "kopiert",
+ "tag_conflict": "Konflikt",
+ "tag_new": "neu",
+ "committed": "{sha} committet.",
+ "pushed_to": "Nach {upstream} gepusht.",
+ "fetched": "Alle Remotes abgerufen.",
+ "draft_pr_opened": "Entwurfs-Pull-Request geöffnet.",
+ "pr_opened": "Pull Request geöffnet.",
+ "merged": "{branch} in {target} gemergt ({sha}).",
+ "pruned": "Worktrees ohne Ordner wurden vergessen.",
+ "initialized": "Repository auf main initialisiert.",
+ "refresh": "Aktualisieren",
+ "close_panel": "Git-Bereich schließen",
+ "open_link": "Link öffnen",
+ "open": "Öffnen",
+ "not_installed_refresh": "Git ist auf diesem Computer nicht installiert. Installiere es von git-scm.com und aktualisiere dann.",
+ "not_a_repo": "Dieser Ordner ist noch kein Git-Repository. Initialisiere eines, um Agents Branches und Worktrees zu geben.",
+ "worktree_of": "Ein Worktree von {folder}. Seine Agents arbeiten auf einem eigenen Branch, ohne den Hauptordner anzufassen.",
+ "changes": "Änderungen",
+ "nothing_uncommitted_full": "Nichts Uncommittetes.",
+ "commit_message": "Commit-Nachricht",
+ "commit_placeholder": "Commit-Nachricht, z. B. feat: add login form",
+ "no_changes": "Keine Änderungen zum Committen",
+ "commit_all": "Alles committen",
+ "share": "Teilen",
+ "no_remote": "Dieses Repository hat kein Remote",
+ "push": "Pushen",
+ "publish_branch": "Branch veröffentlichen",
+ "fetch": "Abrufen",
+ "install_gh": "Installiere die GitHub CLI (gh), um Pull Requests zu öffnen",
+ "switch_feature_branch": "Wechsle zuerst auf einen Feature-Branch",
+ "pull_request": "Pull Request",
+ "drafts": "Pull Requests als Entwurf öffnen",
+ "commit_first": "Committe zuerst die Änderungen",
+ "merge_into": "{branch} in {target} mergen",
+ "worktrees": "Worktrees",
+ "pruning": "Wird bereinigt…",
+ "prune_missing": "Fehlende bereinigen",
+ "no_worktrees": "Noch keine Worktrees. Ein Worktree gibt Agents einen eigenen Ordner und Branch, sodass mehrere gleichzeitig Code ändern können.",
+ "detached_head": "losgelöst {head}",
+ "this_workspace": "dieser Workspace",
+ "folder_missing": "Ordner fehlt",
+ "locked": "gesperrt",
+ "remove_named": "{folder} entfernen",
+ "confirm_removal": "Entfernen bestätigen",
+ "remove_note": "Der Ordner wird gelöscht. Committete Arbeit bleibt auf ihrem Branch.",
+ "also_delete_branch": "Branch {branch} auch löschen, wenn er gemergt ist",
+ "removing": "Wird entfernt…",
+ "remove_anyway": "Trotzdem entfernen",
+ "remove_worktree": "Worktree entfernen"
+ },
+ "ide_hotkeys": {
+ "menu": {
+ "aria": "IDE-Tastenkürzel",
+ "all_keys": "Alle Tasten",
+ "cancel": "abbrechen",
+ "exit": "beenden"
+ },
+ "badge": {
+ "rename": "UMBENENNEN",
+ "workspace": "ARBEITSBEREICH",
+ "keys": "TASTEN",
+ "prefix": "PRÄFIX"
+ },
+ "bar": {
+ "right": "rechts",
+ "left": "links",
+ "above": "oben",
+ "below": "unten",
+ "even_grid": "gleichmäßiges Raster",
+ "back": "zurück",
+ "new": "neu",
+ "worktree": "Worktree",
+ "rename": "umbenennen",
+ "close": "schließen",
+ "git": "Git",
+ "options": "Optionen",
+ "connect_folder": "Ordner verbinden",
+ "switch": "wechseln",
+ "any_key": "beliebige Taste",
+ "split": "teilen",
+ "move": "bewegen",
+ "zoom": "Zoom",
+ "workspaces": "Arbeitsbereiche",
+ "all_keys": "alle Tasten",
+ "send_leader": "{keys} senden"
+ },
+ "help": {
+ "open_agent": "{agent} öffnen",
+ "to_right": "Nach rechts",
+ "to_left": "Nach links",
+ "above": "Oben",
+ "below": "Unten",
+ "even_grid": "Gleichmäßiges Raster",
+ "group_workspace": "Arbeitsbereich",
+ "new_workspace": "Neuer Arbeitsbereich",
+ "new_worktree_workspace": "Neuer Worktree-Arbeitsbereich",
+ "rename_workspace": "Arbeitsbereich umbenennen",
+ "close_workspace": "Arbeitsbereich schließen",
+ "git_panel": "Git-Bereich",
+ "workspace_options": "Optionen des Arbeitsbereichs",
+ "connect_folder": "Projektordner verbinden",
+ "prev_next_workspace": "Vorheriger / nächster Arbeitsbereich",
+ "go_to_workspace_n": "Zu Arbeitsbereich 1–9",
+ "group_new_pane": "Neues Fenster",
+ "agent_then_arrow": "{agent}, dann ein Pfeil",
+ "split_right_same": "Rechts teilen, gleicher Agent",
+ "split_below_same": "Unten teilen, gleicher Agent",
+ "choose_agent": "Agent wählen…",
+ "group_panes": "Fenster",
+ "focus_neighbor": "Nachbarn fokussieren",
+ "swap_neighbor": "Mit Nachbarn tauschen",
+ "maximize_restore": "Maximieren / wiederherstellen",
+ "rename_pane": "Fenster umbenennen",
+ "fork_pane": "Fenster forken",
+ "close_pane": "Fenster schließen",
+ "even_layout": "Layout ausgleichen",
+ "group_workspaces": "Arbeitsbereiche",
+ "workspace_menu": "Arbeitsbereich-Menü…",
+ "go_to_workspace": "Zu Arbeitsbereich",
+ "next_prev_workspace": "Nächster / vorheriger Arbeitsbereich",
+ "send_leader": "{keys} an das Fenster senden"
+ }
+ },
+ "workspace_terminal": {
+ "connection_failed": "Verbindung zum Terminal fehlgeschlagen.",
+ "process_exited": "Prozess beendet: {code}",
+ "terminal_error": "Terminalfehler",
+ "auth_failed": "Terminal-Autorisierung fehlgeschlagen — zum erneuten Versuch neu öffnen.",
+ "connection_closed": "Terminalverbindung geschlossen (Code {code}).",
+ "status_live": "live",
+ "status_error": "Fehler",
+ "status_exited": "beendet",
+ "status_connecting": "verbinde…"
+ },
+ "shell_sections": {
+ "telephony_setup": "Telefonie einrichten",
+ "agent_instructions": "Assistent",
+ "voice_shortcuts": "Sprach-Tastenkürzel",
+ "voice_language": "Diktiersprache",
+ "voice_api_keys": "Schlüssel für Spracheingabe",
+ "visualization": "Visualisierung"
+ },
+ "shell_errors": {
+ "open_terminal_path_failed": "Dieser Terminal-Pfad konnte nicht geöffnet werden.",
+ "git_after_restart": "Git-Optionen werden nach dem nächsten App-Neustart geladen.",
+ "git_request_failed": "Git-Anfrage fehlgeschlagen ({status})",
+ "no_clipboard": "hier ist keine Zwischenablage verfügbar",
+ "open_path_failed": "Diese Datei oder dieser Ordner konnte auf diesem Computer nicht geöffnet werden.",
+ "workspace_closed_adding": "Der Workspace wurde geschlossen, während ein Terminal hinzugefügt wurde.",
+ "workspace_closed_sizes": "Der Workspace wurde geschlossen, während die Fenstergrößen gespeichert wurden.",
+ "workspace_closed_moving": "Der Workspace wurde geschlossen, während ein Terminal verschoben wurde.",
+ "view_newer_than_backend": "Diese Ansicht ist neuer als das Backend — starte die App neu und versuche es erneut.",
+ "workspace_closed_renaming": "Der Workspace wurde geschlossen, während ein Terminal umbenannt wurde.",
+ "workspace_closed_forking": "Der Workspace wurde geschlossen, während ein Terminal abgezweigt wurde.",
+ "workspace_not_open": "Der Workspace ist nicht mehr geöffnet.",
+ "request_failed_status": "Anfrage fehlgeschlagen: {status}"
+ },
+ "shell_labels": {
+ "mission": "Mission"
+ },
+ "plugins_category": {
+ "home_devices": "Zuhause & Geräte",
+ "lists_tasks": "Listen & Aufgaben",
+ "calendar_mail": "Kalender & Mail",
+ "messaging": "Nachrichten",
+ "knowledge_reading": "Wissen & Lesen",
+ "media_creativity": "Medien & Kreativität",
+ "files_photos": "Dateien & Fotos",
+ "developer": "Entwicklung",
+ "custom": "Eigene"
+ },
+ "plugins_community": {
+ "portable_note_agents": "Portabler Skill · läuft auch in {agents}",
+ "portable_note_other": "Portabler Skill · läuft auch in anderen Agenten",
+ "auth_pat": "Persönliches Zugriffstoken",
+ "auth_device": "Anmeldung per Gerätecode",
+ "auth_oauth": "OAuth-Anmeldung",
+ "auth_allowlist": "Konto-Freigabeliste",
+ "install_failed": "Installation fehlgeschlagen ({status})",
+ "title": "Community-Marketplace",
+ "intro": "Plugins und Skills, die jeder veröffentlichen kann. Nichts hier wird vom {product}-Team geprüft — lies, womit sich eine Karte verbinden würde, bevor du sie installierst.",
+ "marketplace_section_hint": "Der ganze Marketplace — Plugins und Skills — in einem eigenen Bereich",
+ "marketplace_section": "Marketplace-Bereich",
+ "publish_hint": "Veröffentliche dein eigenes Plugin oder deinen eigenen Skill auf der Marketplace-Website",
+ "publish": "Eigenes veröffentlichen",
+ "refresh": "Community-Index neu laden",
+ "search_placeholder": "Community-Plugins und -Skills durchsuchen…",
+ "plugins": "Plugins",
+ "skills": "Skills",
+ "loading": "Community-Index wird geladen…",
+ "error": "Der Community-Index konnte nicht geladen werden. Prüfe die Verbindung und versuche es mit Aktualisieren erneut.",
+ "disabled": "Der Community-Marketplace ist in der Konfiguration ausgeschaltet (marketplace.community_index_url ist leer).",
+ "unavailable": "Der Community-Index ist nicht erreichbar und es gibt noch keine gespeicherte Kopie. Verbinde dich einmal mit dem Internet, um ihn zu laden.",
+ "stale": "Eine gespeicherte Kopie wird angezeigt — der Index konnte gerade nicht aktualisiert werden.",
+ "files_loading": "Veröffentlichte Dateien werden gelesen…",
+ "files_error": "Die veröffentlichten Dateien konnten gerade nicht gelesen werden. Die Installation unten ist davon nicht betroffen — aber du würdest etwas installieren, das du nicht gesehen hast.",
+ "whats_inside": "Was drin ist",
+ "files_one": "1 Datei",
+ "files_other": "{count} Dateien",
+ "file_truncated": "Bis 256 kB angezeigt — die veröffentlichte Datei ist länger. Öffne die Quelle, um den Rest zu lesen.",
+ "files_exact": "Genau so, wie veröffentlicht. Das sind die Bytes, die {product} bei der Installation herunterlädt — dazwischen wird nichts hinzugefügt oder umgeschrieben.",
+ "not_installable": "Nicht installierbar: {error}",
+ "read_contents": "Lies, was {entry} enthält",
+ "badge_unreviewed": "Community · nicht geprüft",
+ "installed": "Installiert",
+ "installed_lower": "installiert",
+ "by": "von {publisher}",
+ "unknown_publisher": "unbekannter Herausgeber",
+ "view_source": "Veröffentlichte Quelle ansehen",
+ "view_source_of": "Quelle von {entry} ansehen",
+ "remove_hint": "Dieses Plugin und seinen gespeicherten Zugriff entfernen",
+ "name_taken_hint": "Ein eingebautes Plugin verwendet diesen Namen bereits",
+ "name_taken": "Name vergeben",
+ "install": "Installieren",
+ "read_skill": "Lies, was {entry} dem Assistenten vorgibt",
+ "portable": "Portabel",
+ "manual_hint": "Kein direkter Download — öffne die Quelle und folge den Schritten dort",
+ "manual": "Manuell",
+ "install_named": "{entry} installieren?",
+ "skill_unreviewed": "Community-Skill · nicht geprüft",
+ "plugin_unreviewed": "Community-Plugin · nicht geprüft",
+ "published_by": "Veröffentlicht von",
+ "unknown_author": "einer unbekannten Person",
+ "version": "Version {version}",
+ "portable_follow": "{note}. {product} folgt seinen Anweisungen und ignoriert die Einstellungen für andere Agenten.",
+ "skill_download_from": "Die Anweisungen werden heruntergeladen von:",
+ "terminal_comment": "# Dieselbe Installation, im Terminal.",
+ "skill_explainer": "Ein Skill ist eine Reihe von Anweisungen, denen der Assistent folgt — der Text oben ist genau das, was ihm gesagt würde.",
+ "sends_to": "Sobald du es verbindest, gehen Anfragen und dein {entry}-Zugriffstoken an:",
+ "runs_command": "Sobald du es verbindest, läuft dieser Befehl auf deinem Computer:",
+ "metadata_only": "Dieser Eintrag besteht nur aus Metadaten — er fügt keinen Server hinzu und führt keinen Befehl aus.",
+ "signin_method": "Anmeldeweg:",
+ "signin_not_yet": "— die Installation verbindet noch nichts."
+ },
+ "ide_threads": {
+ "layout_aria": "IDE-Layout",
+ "layout_grid": "Terminal-Raster",
+ "layout_threads": "Threads",
+ "layout_verse": "Dodaios Verse",
+ "terminal_needs_folder": "Das Terminal braucht einen Projektordner",
+ "hide_terminal": "Terminal ausblenden",
+ "show_terminal": "Terminal anzeigen",
+ "terminal": "Terminal",
+ "resize_terminal": "Terminalgröße ändern",
+ "terminals": "Terminals",
+ "terminal_n": "Terminal {number}",
+ "close_named": "{target} schließen",
+ "close_terminal": "Terminal schließen",
+ "new_terminal": "Neues Terminal",
+ "where_agent_works": "Wo der Agent arbeitet",
+ "not_a_repo": "Kein Git-Repository",
+ "worktree_base_title": "Der Branch, von dem der neue Worktree ausgeht",
+ "agent_on_branch": "Der Agent arbeitet auf diesem Branch",
+ "switch_branch": "Branch wechseln",
+ "from_branch": "von {branch}",
+ "uncommitted_changes": "Nicht committete Änderungen",
+ "own_branch": "eigener Branch",
+ "branches": "Branches",
+ "start_worktree_from": "Worktree starten von",
+ "switch_to": "Wechseln zu",
+ "in_a_worktree": "in einem Worktree",
+ "no_local_branches": "Noch keine lokalen Branches.",
+ "hint_new_thread": "neuer Thread",
+ "hint_connect_first": "erst verbinden",
+ "agent_model_aria": "Coding-Agent und Modell",
+ "choose_agent": "Agent wählen",
+ "loading_agents": "Agents werden geladen…",
+ "search_agents_models": "Agents und Modelle suchen",
+ "access_aria": "Was der Agent ohne Nachfrage tun darf",
+ "sub_status_running": "Arbeitet",
+ "sub_status_done": "Fertig",
+ "sub_status_failed": "Fehlgeschlagen",
+ "sub_status_stopped": "Gestoppt",
+ "tools_one": "{count} Tool",
+ "tools_other": "{count} Tools",
+ "tokens": "{count} Tokens",
+ "waiting_approval": "Wartet auf deine Freigabe",
+ "using_tool": "Nutzt {tool}",
+ "stopped_before_answer": "Gestoppt, bevor er geantwortet hat",
+ "finished": "Abgeschlossen",
+ "open_subagent": "Sub-Agent {title} öffnen, {status}",
+ "subagents_one": "{count} Sub-Agent",
+ "subagents_other": "{count} Sub-Agents",
+ "count_working": "{count} arbeiten",
+ "count_waiting": "{count} warten",
+ "count_failed": "{count} fehlgeschlagen",
+ "subagents_aria": "Sub-Agents",
+ "main_thread": "Haupt-Thread",
+ "in_background": "Im Hintergrund",
+ "task": "Aufgabe",
+ "task_from": "Aufgabe von {parent}",
+ "the_main_agent": "dem Haupt-Agent",
+ "show_less": "Weniger anzeigen",
+ "show_whole_task": "Ganze Aufgabe anzeigen",
+ "unstreamed_running": "Die CLI dieses Agents streamt die Schritte eines Sub-Agents nicht. Seine Antwort erscheint hier, sobald er fertig ist.",
+ "unstreamed_done": "Die CLI dieses Agents hat nur die Aufgabe und die Antwort gemeldet, nicht die Schritte des Sub-Agents.",
+ "new_thread": "Neuer Thread",
+ "age_now": "jetzt",
+ "age_minutes": "{count} Min.",
+ "age_hours": "{count} Std.",
+ "age_days": "{count} T.",
+ "age_weeks": "{count} W.",
+ "connect_folder_first": "Verbinde zuerst einen Projektordner.",
+ "connect_a_project": "Projekt verbinden",
+ "empty_body": "Threads führen einen Coding-Agent in einem Projektordner aus. Verbinde einen, um zu starten.",
+ "connect_folder": "Ordner verbinden",
+ "build_in": "Was sollen wir in {project} bauen?",
+ "projects": "Projekte",
+ "connect_another": "Weiteren Ordner verbinden",
+ "new_activity": "Neue Aktivität",
+ "new_thread_in": "Neuer Thread in {project}",
+ "save_name": "Namen speichern",
+ "cancel_renaming": "Umbenennen abbrechen",
+ "thread_actions_for": "Thread-Aktionen für {target}",
+ "thread_actions": "Thread-Aktionen",
+ "show_more": "{count} weitere anzeigen",
+ "start_thread": "Thread starten",
+ "archived_count": "Archiviert ({count})",
+ "restore_named": "{target} wiederherstellen",
+ "restore": "Wiederherstellen",
+ "delete_confirm": "Diesen Thread löschen?",
+ "delete_body": "Seine Unterhaltung verschwindet aus der Liste. Der eigene Verlauf des Coding-Agents bleibt auf der Festplatte.",
+ "rename": "Umbenennen",
+ "new_thread_here": "Neuer Thread in diesem Projekt",
+ "archive": "Archivieren",
+ "plan_ready": "Plan fertig",
+ "approval_needed": "Freigabe nötig",
+ "one_of": "1 von {count}",
+ "plan_hint": "Bau es, oder plane weiter und sag, was sich ändern soll.",
+ "keep_planning": "Weiter planen",
+ "decline": "Ablehnen",
+ "always_allow_title": "Freigeben und in diesem Thread nicht mehr danach fragen",
+ "always_allow": "Immer erlauben",
+ "build_it": "Bauen",
+ "approve": "Freigeben",
+ "build_switches": "„Bauen“ schaltet den Zugriff auf {mode} um und beginnt zu bauen.",
+ "build_starts": "„Bauen“ beginnt zu bauen.",
+ "or_keep_planning": "Oder plane weiter und schreib, was sich ändern soll.",
+ "asks": "{asker} fragt",
+ "the_agent": "Der Agent",
+ "n_of": "{index} von {count}",
+ "own_answer": "Oder schreib deine eigene Antwort",
+ "skip": "Überspringen",
+ "choose_connected_agent": "Wähle zuerst einen verbundenen Coding-Agent.",
+ "queue_paused": "Warteschlange pausiert, nachdem der Agent gestoppt wurde.",
+ "send_next": "Nächste senden",
+ "queued": "In der Warteschlange",
+ "files_one": "{count} Datei",
+ "files_other": "{count} Dateien",
+ "remove_queued": "Nachricht aus der Warteschlange entfernen",
+ "message_agent": "Nachricht an den Coding-Agent",
+ "queue_placeholder": "Folgenachricht für später einreihen, wenn der Agent fertig ist",
+ "composer_placeholder": "Bitte um Änderungen, schick Folgenachrichten oder häng Bilder an",
+ "stop_agent": "Agent stoppen",
+ "stop": "Stopp",
+ "queue_message": "Nachricht einreihen",
+ "send_message": "Nachricht senden",
+ "queue_title": "Einreihen, bis der Agent fertig ist",
+ "copy_message": "Nachricht kopieren",
+ "scroll_newest": "Zur neuesten Nachricht scrollen"
+ },
+ "ide_view": {
+ "split_right": "Rechts",
+ "split_down": "Unten",
+ "split_left": "Links",
+ "split_up": "Oben",
+ "split_right_aria": "Rechts teilen",
+ "split_down_aria": "Unten teilen",
+ "split_left_aria": "Links teilen",
+ "split_up_aria": "Oben teilen",
+ "split_right_hint": "Den neuen Agent rechts vom Bereich öffnen",
+ "split_down_hint": "Den neuen Agent unter dem Bereich öffnen",
+ "split_left_hint": "Den neuen Agent links vom Bereich öffnen",
+ "split_up_hint": "Den neuen Agent über dem Bereich öffnen",
+ "choose_folder": "Wähle einen Ordner für dieses Projekt.",
+ "choose_agent_every": "Wähle für jede Sitzung einen installierten Coding-Agent.",
+ "connect_agent_clis": "Verbinde unter CLIs einen Coding-Agent, um fortzufahren.",
+ "no_project": "Dieser Workspace gehört zu keinem verbundenen Projekt.",
+ "no_workspace_n": "Es gibt keinen Workspace {number}.",
+ "workspace_fallback": "Workspace",
+ "loading_projects": "Projekte werden geladen…",
+ "choose_workspace": "Workspace wählen",
+ "select_workspace_hint": "Wähle einen Workspace unter Projekte oder leg mit + neben seinem Projekt einen an.",
+ "connect_folder_hint": "Verbinde einen Ordner, um seine Coding-Agents und deinen Assistenten in einem Workspace zusammenzubringen.",
+ "add_agent": "Coding-Agent hinzufügen",
+ "agents_one": "{count} Agent",
+ "agents_other": "{count} Agents",
+ "sessions_one": "{count} Sitzung",
+ "sessions_other": "{count} Sitzungen",
+ "where_open": "Wo soll er sich öffnen?",
+ "next_to": "Neben",
+ "split_next_to": "Daneben teilen",
+ "auto_grid": "Automatisches gleichmäßiges Raster",
+ "split_direction": "Teilungsrichtung",
+ "joins_grid": "Der neue Agent kommt ins Raster und jeder Bereich bekommt gleich viel Platz.",
+ "copying_starting": "Der Ordner wird kopiert und der Agent dort gestartet. Große Ordner brauchen eine Minute.",
+ "name_optional": "Name (optional)",
+ "workspace_placeholder": "Workspace",
+ "copying_folder": "Ordner wird kopiert…",
+ "starting": "Wird gestartet…",
+ "workspace_name": "Workspace-Name"
+ },
+ "install_standard": {
+ "method": "Installationsweg",
+ "copy_command": "Installationsbefehl kopieren",
+ "copy_named": "{method}-Installationsbefehl kopieren",
+ "copied": "Kopiert",
+ "copy": "Kopieren",
+ "heading": "Installieren",
+ "tab_cli": "CLI",
+ "tab_runner": "uvx",
+ "tab_prompt": "Prompt",
+ "hint_cli": "Läuft in jedem Terminal, solange die App läuft.",
+ "hint_runner": "Keine Installation nötig — uv holt die CLI und führt denselben Befehl aus.",
+ "hint_prompt": "Füge das bei deinem Assistenten ein — er führt die Installation für dich aus.",
+ "note_jarvis": "Läuft in jedem Terminal, solange {product} läuft.",
+ "note_skills_sh": "Installiert denselben Skill in Claude Code, Cursor, Codex und andere Agenten."
+ },
+ "plugins_package": {
+ "plugin_json_invalid": "plugin.json ist kein gültiges JSON — korrigiere es vor dem Veröffentlichen.",
+ "no_mcp_json": "Keine mcp.json gefunden — in Ordnung, wenn der auth-Block auf einen gehosteten MCP-Server zeigt oder das Paket nur Skills enthält.",
+ "missing_type_one": "Dem mcp.json-Server {servers} fehlt \"type\" — der Store verlangt \"type\": \"streamable-http\" | \"stdio\" | \"sse\" bei jedem Server.",
+ "missing_type_other": "Den mcp.json-Servern {servers} fehlt \"type\" — der Store verlangt \"type\": \"streamable-http\" | \"stdio\" | \"sse\" bei jedem Server.",
+ "too_many_skills": "Mehr als 10 mitgelieferte Skills — der Store akzeptiert höchstens 10.",
+ "nothing_found": "Weder plugin.json noch SKILL.md gefunden — ein Paketordner braucht eine der beiden Dateien auf oberster Ebene. Eine einzelne Datei geht auch, wenn sie SKILL.md heißt oder mit YAML-Frontmatter (---) beginnt.",
+ "no_frontmatter": "SKILL.md beginnt nicht mit YAML-Frontmatter (---) — der Store verlangt das."
+ },
+ "debug_view": {
+ "title": "Debug",
+ "subtitle": "Live-Event-Bus und Diagnose",
+ "event_count": "{count} Events",
+ "event_timeline": "Event-Zeitleiste",
+ "emit": "Senden",
+ "clear": "Leeren",
+ "switch_brain_provider": "Brain-Provider wechseln",
+ "flight_recorder": "Flight-Recorder",
+ "traces_from": "JSONL-Traces aus",
+ "replay_coming": "Replay-Player folgt.",
+ "metrics": "Metriken",
+ "metrics_coming": "Latenz / Tokens / Kosten pro Provider — Live-Charts ab Phase 2."
+ },
+ "install_terminal": {
+ "pane_title": "{package} installieren",
+ "starting": "Installer für {package} wird gestartet…"
+ },
+ "install_agents": {
+ "decrease": "verringern",
+ "increase": "erhöhen",
+ "recheck": "erneut prüfen"
}
}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index 03fe60fb28..c23bdf97ad 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -478,7 +478,8 @@
"hidden": "Hidden",
"visible": "Visible",
"links": "Links",
- "back": "Back"
+ "back": "Back",
+ "website_other": "Website / Other"
},
"contacts": {
"subtitle": "Your personal address book — names, contact details, and a short note per person.",
@@ -552,7 +553,8 @@
"partner": "Partner",
"acquaintance": "Acquaintance",
"other": "Other"
- }
+ },
+ "remove": "Remove"
},
"dictionary": {
"title": "Dictionary",
@@ -740,7 +742,8 @@
"testing": "Testing…",
"test_hint": "Tests the active mode with a sample. Uses the selected provider; nothing is saved.",
"sample_before": "Before",
- "sample_after": "After"
+ "sample_after": "After",
+ "ollama_local": "Ollama (local)"
},
"prompt_mode": {
"title": "Prompt Mode",
@@ -763,6 +766,15 @@
"api_keys": {
"title": "Voice input",
"description": "Keys and providers used to turn your speech into text."
+ },
+ "call_not_ended": "The voice call has not ended yet. Please try again.",
+ "not_running_here": "Voice is not running on this computer.",
+ "request_failed": "Voice request failed ({status}).",
+ "startup_audio_lost": "Voice startup audio could not be retained. Please start again.",
+ "reconnect_failed": "Voice reconnection failed.",
+ "backend_error": {
+ "voice_connection_lost": "The voice connection was lost. Pending actions were not replayed.",
+ "subscription_request_failed": "ChatGPT subscription access could not complete this request. No API key was used."
}
},
"voice_state": {
@@ -842,7 +854,11 @@
"realtime_webrtc_degraded": "The WebRTC transport could not be set up; audio continues over the audio socket.",
"realtime_transport_capability_missing": "This window did not receive the desktop permission needed to open the subscription transport. Restart the app.",
"realtime_transport_offer_unsupported": "This window cannot create the WebRTC connection the subscription transport needs. Use an API Realtime provider instead.",
- "realtime_transport_socket_unreachable": "The subscription transport channel could not be reached. Restart the app, then try again."
+ "realtime_transport_socket_unreachable": "The subscription transport channel could not be reached. Restart the app, then try again.",
+ "resize_hint": "Drag to resize the sidebar — double-click to reset",
+ "ide_navigation": "IDE navigation",
+ "workspace_options": "Workspace options",
+ "open_conversation_failed": "Could not open conversation"
},
"provider_billing": {
"api": "API, usage-based billing",
@@ -1038,7 +1054,8 @@
"tokens_out": "Output tokens",
"tool_running": "Still running…",
"interrupt_hint": "esc to interrupt",
- "status_words": "Thinking…, Working…, Digging…, Reasoning…, Pondering…, Wrangling…, Puzzling…, Noodling…, Assembling…, Untangling…, Cooking…, Vibing…"
+ "status_words": "Thinking…, Working…, Digging…, Reasoning…, Pondering…, Wrangling…, Puzzling…, Noodling…, Assembling…, Untangling…, Cooking…, Vibing…",
+ "drop_nothing_usable": "That drop carried nothing this chat could use."
},
"chats_view": {
"title": "Chat",
@@ -1321,7 +1338,14 @@
"renamed": "Renamed",
"delivered": "Delivered",
"binary": "binary"
- }
+ },
+ "tool_screenshot": "Screenshot",
+ "tool_web_search": "Web Search",
+ "tool_open_app": "Open App",
+ "tool_type_text": "Type Text",
+ "tool_remember": "Remember",
+ "tool_admin_op": "Admin Op",
+ "tool_multi_spawn": "Multi-Spawn"
},
"tasks_view": {
"title": "Automations",
@@ -1472,7 +1496,165 @@
"oauth_client_own": "Your own {family} client",
"oauth_client_placeholder": "Placeholder {family} client — add your own when connecting",
"fact_publisher": "Publisher",
- "fact_source": "Source"
+ "fact_source": "Source",
+ "reauth_provider_rejected": "The provider no longer accepts this authorization",
+ "reauth_client_rejected": "The provider no longer accepts this app's OAuth client",
+ "reauth_client_missing": "Connected before Dodaios stored the OAuth client",
+ "reauth_rotation_lost": "A renewed token could not be saved, so it was retired",
+ "reauth_refresh_missing": "The access token expired and cannot be renewed automatically",
+ "reauth_unknown": "The authorization stopped working",
+ "reauth_retrying": "{headline}. Dodaios retries this once a day; reconnect to fix it now.",
+ "reauth_no_retry": "{headline}. This one cannot be retried automatically — reconnect to fix it.",
+ "ago_today": "today",
+ "ago_yesterday": "yesterday",
+ "ago_days": "{count} days ago",
+ "longevity_permanent": "Stays connected",
+ "longevity_self_renewing": "Renews itself",
+ "longevity_provider_limited": "Sign in again periodically",
+ "auth_browser_login": "Browser Login",
+ "auth_local": "Local device",
+ "auth_device_flow": "Device Flow",
+ "auth_access_token": "Access Token",
+ "auth_one_click": "One-Click",
+ "auth_allowlist": "Allowlist",
+ "auth_no_signin": "No sign-in",
+ "client_id_hint_spotify": "32-character id from the app's settings",
+ "client_id_hint_github": "Iv1.… from the OAuth App settings",
+ "client_id_hint_gitlab": "64-character application id",
+ "client_id_hint_figma": "client id from the app's settings",
+ "client_id_hint_hubspot": "UUID from the app's Auth settings",
+ "secret_not_needed_public": "not needed for a public/native app",
+ "secret_not_needed_native": "not needed for a Native App",
+ "secret_not_needed_empty": "not needed — leave this empty",
+ "secret_usually_not_needed": "usually not needed",
+ "err_session_failed": "The sign-in session could not be created. Please try again.",
+ "err_signin_page_unavailable": "The sign-in page is unavailable. Please try again.",
+ "err_denied": "Sign-in was declined. You can try again when ready.",
+ "err_timeout": "Sign-in timed out. Please try again.",
+ "err_provider_unreachable": "The provider could not be reached. Please try again later.",
+ "err_port_in_use": "The sign-in callback is busy. Close the other sign-in attempt and try again.",
+ "err_misconfigured": "Browser sign-in is pending publisher setup. No developer setup is required from you.",
+ "fallback_notice": "Browser login needs the publisher client, which isn't provisioned yet — you can connect with a token meanwhile.",
+ "err_pending_publisher": "This connection is pending publisher setup. Please try again when browser sign-in is available.",
+ "connection_unavailable": "Connection unavailable",
+ "unsupported_device": "Unsupported on this device",
+ "installed_count": "{count} installed",
+ "attention_one": "{plugin} needs reconnecting",
+ "attention_many": "{count} connections need reconnecting",
+ "attention_one_detail": "{reason} — reconnect to keep it working.",
+ "attention_many_detail": "Reconnect to keep them working: {plugins}",
+ "jump_to_it": "Jump to it",
+ "jump_to_first": "Jump to first",
+ "disconnect_plugin": "Disconnect plugin",
+ "reconnect_plugin": "Reconnect plugin",
+ "connect_plugin": "Connect plugin",
+ "authorization_link": "Authorization link",
+ "copy_link": "Copy link",
+ "copied": "Copied",
+ "copy": "Copy",
+ "copied_bang": "Copied!",
+ "unknown_error": "Unknown error",
+ "connecting_plugin": "Connecting {plugin}",
+ "browser_login": "Browser login",
+ "authorize_in_browser": "Authorize {product} in your browser",
+ "continue_in_browser": "Continue in the browser tab for {plugin} — sign in if prompted, click \"Authorize\", then come back here. No tab visible? Open it again or copy the link below. The plugin stays \"Not connected\" until you finish there.",
+ "waiting_callback": "Waiting for {plugin} to call back at",
+ "redirect_hint": "If the provider shows an error instead of asking for approval, allow exactly this address in your provider app's redirect settings, then open the sign-in again.",
+ "open_plugin_again": "Open {plugin} again",
+ "copy_link_hint_paste": "Or copy this link and paste it into your browser's address bar.",
+ "plugin_connected": "{plugin} connected",
+ "connect_named": "Connect {plugin}",
+ "device_flow": "Device flow",
+ "device_step1": "Step 1 — copy this code",
+ "device_step2": "Step 2 — paste it on {plugin}",
+ "open_plugin": "Open {plugin}",
+ "copy_link_hint_code": "Or copy this link, open it in your browser, and enter the code above.",
+ "waiting_authorization": "Waiting for authorization…",
+ "err_save_settings": "Could not save the connection settings. Please try again.",
+ "pkce_browser_unavailable": "Browser sign-in is not available yet.",
+ "pkce_signin_with": "You'll sign in with your {family} account in the browser.",
+ "provider_fallback": "provider",
+ "pkce_pending_intro": "Browser sign-in is pending publisher setup. Connect today with your own free {family} app — a few minutes, no code. Continue opens the real {plugin} login in your browser once the client below is filled in.",
+ "pkce_step1": "Step 1 — open the {family} app console",
+ "pkce_your_client": "Your OAuth client",
+ "pkce_own_client_advanced": "Use your own OAuth client (advanced)",
+ "pkce_step2": "Step 2 — paste the client from the app you just created.",
+ "pkce_step2_google": "Step 2 — paste the client from the app you just created. One client covers Gmail, Drive, Calendar and YouTube Music.",
+ "pkce_override": "Optional expert override. Paste a client from your own {family} {console}.",
+ "pkce_console": "console",
+ "pkce_google_one_client": "One client covers Gmail, Drive, Calendar and YouTube Music.",
+ "pkce_redirect_step3": "Step 3 — while creating the app, register this as its {term}, character for character:",
+ "pkce_redirect": "While creating the app, register this as its {term}, character for character:",
+ "pkce_redirect_term": "redirect URI",
+ "pkce_redirect_numeric": "It must be the numeric address, not {localhost}, and carry no trailing slash.",
+ "client_id": "Client ID",
+ "client_id_from": "Client ID from {family}",
+ "client_secret": "Client Secret",
+ "secret_optional_some": "optional for some providers",
+ "expert_token_alt": "Expert token alternative",
+ "expert_token_alt_body": "The shared browser login isn't provisioned yet. You can connect with a provider token meanwhile — the browser flow stays the default and takes over automatically once ready.",
+ "paste_token_instead": "Paste a token instead",
+ "continue": "Continue",
+ "remove_named": "Remove {plugin}?",
+ "disconnect_body": "This disconnects {plugin} and deletes its stored credentials. {assistant} loses access until you reconnect it.",
+ "removing": "Removing…",
+ "remove": "Remove",
+ "plugin_added": "{plugin} added",
+ "plugin_removed": "{plugin} removed",
+ "instance_intro": "Enter your instance address, then sign in and approve access in your browser.",
+ "instance_address": "Instance address",
+ "opening_browser": "Opening browser…",
+ "continue_in_browser_btn": "Continue in browser",
+ "err_discord_id": "Could not read your Discord ID.",
+ "err_discord_no_id": "Discord returned no user id.",
+ "err_discord_invite": "Could not build the invite link.",
+ "err_discord_no_invite": "Discord returned no invite link.",
+ "access_token": "Access token",
+ "pat_generate": "Generate a token at {plugin}",
+ "pat_open_tokens": "Open {plugin} tokens",
+ "copy_link_hint_open": "Or copy this link and open it in your browser yourself.",
+ "pat_get_key": "Get the key for {plugin}",
+ "pat_paste_below": "Paste the token below",
+ "or_separator": " or ",
+ "token": "Token",
+ "pat_should_start": "Should start with {prefix}",
+ "owner_lock_title": "Lock the bot to you (recommended)",
+ "owner_lock_aria": "Your numeric user id",
+ "owner_lock_hint": "Only this user id can command the bot. Leave blank to let the first person who messages it claim access instead.",
+ "looking_up": "Looking up…",
+ "discord_fill_id": "Fill in my Discord ID",
+ "opening": "Opening…",
+ "discord_add_bot": "Add the bot to my server",
+ "owner_lock_digits": "User id must be digits only.",
+ "validating": "Validating…",
+ "longevity_note": {
+ "github": "Browser login renews automatically. Pasted tokens expire as configured at creation.",
+ "discord": "OAuth tokens refresh automatically. A pasted bot token stays valid until you reset it in the Discord developer portal.",
+ "telegram": "A bot token stays valid until you revoke it in BotFather.",
+ "google_drive": "Google expires the authorization after 7 days while your own OAuth app is in Testing mode. Publish the app to keep the connection indefinitely.",
+ "gmail": "Google expires the authorization after 7 days while your own OAuth app is in Testing mode. Publish the app to keep the connection indefinitely.",
+ "google_calendar": "Google expires the authorization after 7 days while your own OAuth app is in Testing mode. Publish the app to keep the connection indefinitely.",
+ "clickup": "ClickUp states its access token does not expire, so this connection needs no renewal. That is a policy rather than a guarantee, so Jarvis still asks you to reconnect if it is ever rejected.",
+ "airtable": "Airtable ends a connection after 60 days without use. Jarvis renews it in the background every 12 hours, so it stays open as long as this machine runs from time to time.",
+ "cal_com": "Cal.com publishes no token lifetime, so how long this stays connected has not been confirmed. Jarvis renews it in the background and will ask you to reconnect if that ever fails.",
+ "home_assistant": "Browser approval renews automatically until access is revoked in Home Assistant.",
+ "spotify": "Spotify caps a refresh token at six months, so the connection asks to be renewed twice a year. Nothing can extend that.",
+ "youtube_music": "Google expires the authorization after 7 days while your own OAuth app is in Testing mode. Publish the app to keep the connection indefinitely.",
+ "higgsfield": "Higgsfield issues a refresh token. How long the access token lasts is unpublished; Jarvis renews it in the background and will ask you to reconnect if that ever fails.",
+ "aws": "AWS access lasts one hour and refresh is limited to a session of up to 12 hours; then sign in again.",
+ "google_cloud": "Google OAuth apps in Testing may lose refresh access after seven days; production apps follow account policy.",
+ "gitlab": "Browser login renews automatically. Pasted tokens expire on the date selected at creation.",
+ "linkedin": "Standard LinkedIn access tokens expire; refresh tokens are restricted to approved partners. Reconnect when requested.",
+ "meta": "Long-lived user tokens normally expire after about 60 days; reconnect before expiry.",
+ "youtube_studio": "Google OAuth apps in Testing may require reauthorization after seven days.",
+ "figma": "Browser login renews automatically. Pasted tokens expire on the date chosen when you create them."
+ },
+ "unavailable_reason": {
+ "amd_unverifiable": "AMD GPU availability could not be verified from Linux device information. Check hardware access and permissions, including container device access.",
+ "amd_no_gpu": "No AMD GPU is visible to this connector. A compatible AMD GPU must be exposed to this Linux environment before connecting.",
+ "amd_unsupported_os": "AMD GPU telemetry is unavailable on this operating system. This connector requires a compatible Linux AMD host with AMD SMI.",
+ "amd_smi_missing": "AMD SMI is unavailable. Install AMD's supported SMI/ROCm tooling on a compatible AMD host. Missing metrics are never reported as zero."
+ }
},
"skills_view": {
"count": "{n} skills",
@@ -1559,7 +1741,19 @@
"empty_list_body_a": "On first launch,",
"empty_list_body_b": "copies the built-in skills to",
"empty_list_body_c": "If that doesn't happen, check the backend logs.",
- "search_no_hits": "No matches. Try a different term or remove a filter."
+ "search_no_hits": "No matches. Try a different term or remove a filter.",
+ "resource_references": "References",
+ "resource_scripts": "Scripts",
+ "resource_assets": "Assets",
+ "resource_agents": "Agents",
+ "password_placeholder": "Password",
+ "link_homepage": "Homepage",
+ "link_source": "Source",
+ "link_docs": "Docs",
+ "link_not_checked": "not checked",
+ "link_no_network": "no network",
+ "select_hint": "Built-in skills are protected and cannot be selected.",
+ "selected_count": "{count} selected"
},
"run_inspector": {
"title": "Run Inspector",
@@ -1633,7 +1827,10 @@
"empty": "No tools ran in this turn.",
"command": "Command",
"output": "Result",
- "error": "Error"
+ "error": "Error",
+ "exit_code": "exit {code}",
+ "ok": "ok",
+ "fail": "fail"
},
"facts": {
"endpoint": "endpoint",
@@ -1643,7 +1840,8 @@
"interrupted": "interrupted",
"context": "context",
"turns": "turns",
- "tokens": "tokens"
+ "tokens": "tokens",
+ "yes": "yes"
},
"env": {
"mode": "Mode",
@@ -1656,7 +1854,31 @@
"tiers": "Tiers",
"voices": "Voices",
"audio": "Audio",
- "empty": "No environment recorded."
+ "empty": "No environment recorded.",
+ "audio_rates": "{input} Hz in · {output} Hz out"
+ },
+ "feature_computer_use": "Computer-Use",
+ "feature_skill": "Skill",
+ "outcome": {
+ "success": "Success",
+ "partial": "Partial",
+ "failed": "Failed"
+ },
+ "turn": "Turn",
+ "user": "User",
+ "thinking": "thinking",
+ "speaking": "speaking",
+ "slow": "slow",
+ "errors_count": "errors",
+ "role": {
+ "spoken": "spoken",
+ "system": "system",
+ "tool": "tool",
+ "error": "error"
+ },
+ "slo": {
+ "breach": "breach",
+ "warn": "warn"
}
},
"voice_mode": {
@@ -1808,6 +2030,16 @@
"connected": "connected",
"disconnected": "disconnected",
"error": "error"
+ },
+ "json_syntax": "JSON syntax",
+ "import_note": {
+ "appdata_missing": "APPDATA variable not set.",
+ "config_not_found": "Claude Desktop config not found at {path}.",
+ "invalid_json": "Config is not valid JSON (line {line}, column {column}).",
+ "not_readable": "Config not readable. Details are in the Dodaios log.",
+ "no_servers": "No mcpServers found in the Claude Desktop config.",
+ "imported": "{added} new servers imported.",
+ "imported_with_skipped": "{added} new servers imported, {skipped} skipped (already exist)."
}
},
"shortcuts_view": {
@@ -2034,7 +2266,8 @@
"jarvis_suffix": "spoken by {name}",
"talk_line": "{0} h active · {1} chats",
"streak": "{0}-day best streak"
- }
+ },
+ "tweet_text": "I've spoken {words} words to my {product} across {sessions} conversations — {hours} h of voice. Build your own:"
},
"export": {
"button": "Export CSV",
@@ -2361,7 +2594,8 @@
"autonomy": "Autonomy",
"impact": "Impact"
}
- }
+ },
+ "system_not_ready": "Profile system not ready."
},
"apikeys_view": {
"title": "API Keys & Providers",
@@ -2650,7 +2884,19 @@
"experimental_note": "Beta: this provider is not finished yet and uses an unstable protocol that can change without notice. If it cannot start, the call stops.",
"experimental_consent": "Before you turn this on: this provider is still in beta and uses an experimental, unstable route that can change without notice. If it breaks, the call stops instead of switching to another provider on its own. Continue?",
"key_verified_toast": "{0} answered — the key works.",
- "key_check_failed_toast": "{0} did not answer: {1}"
+ "key_check_failed_toast": "{0} did not answer: {1}",
+ "delete_key_named": "Delete {key}",
+ "enter_key_named": "Enter {key}",
+ "install_failed_fallback": "install failed",
+ "model_download_failed_fallback": "model download failed",
+ "key_format_api_key": "{provider} API key",
+ "key_format_vertex_sa": "Vertex AI service account",
+ "key_format_vertex_sa_note": "This is a Vertex AI service-account file, not an AI Studio key — it bills a separate Google Cloud project.",
+ "key_format_aistudio": "Google AI Studio key",
+ "key_format_aistudio_note": "This shape works on Google AI Studio. Vertex AI refuses it — Vertex takes only an express-mode key (AQ.) or a Cloud project via [google].vertex_project.",
+ "key_format_google_express": "Google API key (AI Studio or Vertex express)",
+ "key_format_google_express_note": "AI Studio and Vertex AI express keys share this format — the card you save it under decides the endpoint, and for a Gemini card Dodaios detects it automatically.",
+ "key_format_unknown": "Unrecognized key format"
},
"apikeys_test": {
"button": "Test",
@@ -2665,7 +2911,8 @@
"status_error": "Integration error",
"integration_ok_note": "The provider was reached — only the key/account/model is the blocker.",
"integration_bad_note": "The provider could not be reached.",
- "failed": "Test failed"
+ "failed": "Test failed",
+ "client_timeout": "No answer from the app after 80s — the backend may be busy or stuck."
},
"apikeys_base_url": {
"label": "Server URL",
@@ -2892,7 +3139,9 @@
"overlay_taskbar": "Overlay & taskbar"
},
"languages_group_title": "Languages",
- "sections": { "voice": "Voice" },
+ "sections": {
+ "voice": "Voice"
+ },
"music_group_title": "Music",
"music": {
"service_section": "Preferred service",
@@ -3029,7 +3278,38 @@
"download_model_downloading": "Downloading the wake model…",
"download_model_done": "Wake model downloaded — re-saving your wake word…",
"download_model_error": "Could not download the wake model. Check your connection and try again.",
- "download_model_retry": "Try again"
+ "download_model_retry": "Try again",
+ "diag_engine": "engine: {engine}",
+ "diag_language": "language: {language}",
+ "diag_not_in_vocab": "not in vocabulary",
+ "diag_mic_quiet": "mic quiet",
+ "msg": {
+ "custom_onnx": "Custom ONNX wake model: {path}",
+ "vosk_kws": "Any-word Vosk keyword spotting for '{phrase}' (model: {model}).",
+ "custom_onnx_missing": "Custom ONNX not found ({path}); using local-Whisper transcript match instead.",
+ "custom_onnx_other_phrase": "Custom wake model '{model_file}' belongs to a different phrase; '{phrase}' uses the local-Whisper transcript match.",
+ "stt_match_unreliable": "Custom phrase '{phrase}' is on the local-Whisper transcript match — this is UNRELIABLE for a hard name. Download the Vosk model for {language} to make it reliable (Settings -> Wake word -> 'Download wake model').",
+ "stt_match_unreliable_any_language": "Custom phrase '{phrase}' is on the local-Whisper transcript match — this is UNRELIABLE for a hard name. Download the Vosk model for the configured language to make it reliable (Settings -> Wake word -> 'Download wake model').",
+ "needs_local_model": "Wake word '{phrase}' needs a local model. Install the local speech pack (works for any word) or supply a custom .onnx to enable it. Until then the wake word is off — use the Call shortcut to start a voice turn.",
+ "needs_local_model_no_phrase": "Wake word 'your wake word' needs a local model. Install the local speech pack (works for any word) or supply a custom .onnx to enable it. Until then the wake word is off — use the Call shortcut to start a voice turn.",
+ "no_phrase": "No wake word set.",
+ "not_in_vocab": "'{phrase}' is not in the {language} model's vocabulary.",
+ "no_microphone": "No microphone detected.",
+ "mic_quiet": "Mic signal is very quiet.",
+ "ready": "Ready: '{phrase}' on engine '{engine}' (language '{language}'). Say it to wake.",
+ "activation_not_persisted": "The setting could not be saved to jarvis.toml. Details are in the Dodaios log.",
+ "model_ready": "Wake model ready.",
+ "model_download_failed": "Could not download the wake model right now; it will retry automatically. The wake word uses the fallback path until then."
+ },
+ "hint": {
+ "type_phrase": "Type a wake phrase first.",
+ "download_or_hotkey": "Download the local model or use the hotkey.",
+ "pick_real_word": "Pick a real word of your language, or use a different phrase.",
+ "connect_mic": "Connect/enable a mic.",
+ "speak_louder": "Speak louder or raise input gain.",
+ "allow_mic_dialog": "Press the test button and choose Allow in the macOS dialog.",
+ "allow_mic_settings": "Allow Microphone access in {path}, then retry."
+ }
},
"onboarding": {
"wake_word": {
@@ -3172,7 +3452,21 @@
"reserved": "Reserved by the system"
},
"dictate_toggle_label": "Hands-free dictation",
- "caution_overlap": "This is contained in another shortcut, so pressing the longer one triggers both. Clear one of them if that is not what you want."
+ "caution_overlap": "This is contained in another shortcut, so pressing the longer one triggers both. Clear one of them if that is not what you want.",
+ "mouse": {
+ "middle_click": "Middle Click",
+ "back_combo": "Mouse Back",
+ "forward_combo": "Mouse Fwd",
+ "middle": "Middle",
+ "back": "Back",
+ "forward": "Forward"
+ },
+ "mouse_reason": {
+ "macos_needs_quartz": "Mouse-button shortcuts need the pyobjc Quartz package, which is not installed — install the [full] profile. Key combinations still work.",
+ "wayland": "Wayland does not let an application watch the mouse buttons globally, so a mouse-button shortcut cannot work here. Use a key combination, or bind a compositor shortcut to the Dodaios CLI.",
+ "linux_needs_pynput": "Mouse-button shortcuts need the pynput package, which is not installed — install the [desktop-linux] extra. Key combinations still work.",
+ "unsupported_host": "This system has no way to watch the mouse buttons globally — use a key combination instead."
+ }
},
"codex_title": "OpenAI Codex CLI",
"codex_description": "Manual path for Windows PATH issues. Empty uses 'codex' from PATH.",
@@ -3186,7 +3480,8 @@
"system": "System",
"system_now_dark": "Following your system, which is currently dark.",
"system_now_light": "Following your system, which is currently light."
- }
+ },
+ "invalid_setting": "Invalid setting"
},
"telephony_view": {
"title": "Telephony (experimental)",
@@ -3260,7 +3555,8 @@
"completed": "Completed",
"failed": "Failed",
"no_audio": "No audio"
- }
+ },
+ "copy_command": "Copy command"
},
"telephony_setup": {
"title": "Telephony setup",
@@ -3338,7 +3634,8 @@
"exit_fullscreen": "Close reader",
"csv_empty": "This table is empty.",
"csv_more_rows": "{n} more rows in the file.",
- "reveal_in_folder": "Reveal in folder"
+ "reveal_in_folder": "Reveal in folder",
+ "fence_table": "table"
},
"common": {
"see_more": "See more",
@@ -3363,7 +3660,11 @@
"running": "running",
"saving": "Saving…",
"error": "Error",
- "status": "Status"
+ "status": "Status",
+ "repeated_times": "Repeated {count} times",
+ "dismiss": "Dismiss",
+ "apply": "Apply",
+ "request_failed": "Request failed ({status})"
},
"docs": {
"search_placeholder": "Filter title/tag…",
@@ -3379,7 +3680,9 @@
"could_not_load": "Could not load doc.",
"recent": "Recent",
"search_button": "Search docs",
- "search_hero": "Search the documentation"
+ "search_hero": "Search the documentation",
+ "section_other": "Other",
+ "breadcrumb": "Breadcrumb"
},
"sessions": {
"select_one": "Select a session on the left.",
@@ -3389,7 +3692,12 @@
"provider_switcher": {
"loading_hint": "Provider list is loading — if it stays empty, check the backend.",
"no_credential": "no credential",
- "active": "Active"
+ "active": "Active",
+ "switched_toast": "Brain → {provider}",
+ "active_brain": "Active Brain",
+ "switching": "Switching…",
+ "name_local_realtime": "Self-hosted realtime",
+ "name_local_voice": "Local voice"
},
"wiki_provider": {
"tier_label": "Wiki (long-term memory)",
@@ -3481,7 +3789,14 @@
"needs_key_full": "{0}: first save API key, then activate.",
"runs_as_subagent_hint": "Codex works as a {name}-Agent (background worker) on your ChatGPT login. After connecting, activate it in the {name}-Agent list below. A thinking brain needs the separate OpenAI API-key provider.",
"brain_needs_openai_key": "Codex as a brain needs an OpenAI API key — the ChatGPT login only powers the Codex worker. Add an OpenAI key (e.g. on the OpenAI provider), then select Codex here.",
- "brain_key_hint": "To use Codex as a brain too, add an OpenAI API key (paid, separate from your ChatGPT login — which only powers the worker). Saving it unlocks the brain toggle above."
+ "brain_key_hint": "To use Codex as a brain too, add an OpenAI API key (paid, separate from your ChatGPT login — which only powers the worker). Saving it unlocks the brain toggle above.",
+ "status_msg": {
+ "not_installed": "Codex CLI is not installed (run: {command}).",
+ "not_logged_in": "Codex is installed but not logged in — run 'codex login'.",
+ "connected_chatgpt": "Connected via ChatGPT.",
+ "connected_chatgpt_email": "Connected via ChatGPT ({email}).",
+ "connected_api_key": "Connected via OpenAI API key."
+ }
},
"apikeys_antigravity": {
"login_started": "Google login was started in the terminal",
@@ -3489,10 +3804,21 @@
"status_loading": "Loading Google login status",
"connected": "Connected via your Google subscription.",
"connected_as": "Connected via Google ({0}).",
- "needs_login_full": "{0}: first sign in with Google, then activate."
+ "needs_login_full": "{0}: first sign in with Google, then activate.",
+ "connect_google": "Connect with Google",
+ "install_antigravity": "Install Antigravity",
+ "status_msg": {
+ "not_installed": "No Google CLI found. Install Antigravity with: {command} (Gemini CLI alternative: npm i -g @google/gemini-cli).",
+ "not_logged_in": "{cli} installed but not logged in — run the Google login.",
+ "connected_subscription": "Connected via Google subscription.",
+ "connected_subscription_email": "Connected via Google subscription ({email}).",
+ "connected_api_key": "Connected via a Google API key."
+ }
},
"mcps_toast": {
- "connected": "{0} connected"
+ "connected": "{0} connected",
+ "disconnected": "{0} disconnected",
+ "removed": "{server} removed"
},
"profile_toast": {
"fact_applied": "{0} fact(s) applied"
@@ -3542,13 +3868,18 @@
"zh": {
"label": "中文 (Chinese)",
"description": "Use Simplified Chinese for every label and button."
+ },
+ "pt": {
+ "label": "Português (Portugal)",
+ "description": "Use European Portuguese for every label and button."
}
},
"reply_options": {
"auto": "{name} mirrors whichever language you speak or type.",
"en": "{name} answers in English.",
"de": "{name} antwortet auf Deutsch.",
- "es": "{name} responde en español."
+ "es": "{name} responde en español.",
+ "pt": "{name} responde em português."
},
"stt_options": {
"auto": "Detect the language you speak automatically.",
@@ -3612,7 +3943,9 @@
"last_pull": "last pull",
"pull_every": "Pull every",
"time_just_now": "just now",
- "time_ago_prefix": ""
+ "time_ago_prefix": "",
+ "no_source": "no source",
+ "jarvis_federation": "Dodaios Federation"
},
"pair_dialog": {
"title": "Pair a friend",
@@ -3671,7 +4004,8 @@
"opened_in_editor": "Opened in editor",
"open_failed": "Couldn't open in editor",
"back_to_sessions": "Back to sessions",
- "you": "You"
+ "you": "You",
+ "format_text": "Text"
},
"turn_card": {
"turn": "Turn",
@@ -3683,7 +4017,29 @@
"copy": "Copy",
"download_turn": "Download this turn as a file",
"thought": "Thought:",
- "spoke": "Spoke:"
+ "spoke": "Spoke:",
+ "kind_reply": "Reply",
+ "kind_clarify": "Clarifying question",
+ "kind_timeout": "Timeout notice",
+ "kind_unavailable": "Brain unavailable",
+ "kind_stt_unavailable": "Couldn't hear you",
+ "kind_privacy": "Privacy",
+ "kind_completion": "Background result",
+ "kind_subagent": "{agent} / Output",
+ "kind_action_done": "Action confirmed",
+ "kind_backchannel": "Backchannel",
+ "kind_announcement": "Announcement",
+ "kind_preamble": "Preamble",
+ "kind_progress": "Progress update",
+ "kind_withheld": "Answer withheld (safety)",
+ "kind_other": "Spoken",
+ "tools_label": "Tools:",
+ "voice_requested_title": "Requested voice (native audio is not a verified speaker): {voice}",
+ "voice_title": "Voice: {voice}",
+ "voice_requested": "requested",
+ "awaiting_confirmation": "Awaiting confirmation",
+ "awaiting_confirmation_prefix": "(awaiting confirmation)",
+ "spoken_output": "Spoken output"
},
"wiki_search": {
"dialog_label": "Wiki search",
@@ -3732,7 +4088,14 @@
},
"page_header": {
"placeholder_title": "Provided by Agent D",
- "open_in_obsidian": "Open in Obsidian"
+ "open_in_obsidian": "Open in Obsidian",
+ "field_type": "type",
+ "field_kind": "kind",
+ "field_status": "status",
+ "field_created": "created",
+ "field_updated": "updated",
+ "field_started": "started",
+ "field_last_activity": "last activity"
},
"obsidian_button": {
"trigger_failed": "Could not trigger the Obsidian link",
@@ -3869,23 +4232,40 @@
"cancel_all_body": "running mission(s) will be hard-stopped. Worker subprocesses are terminated via the Job Object; diffs already written stay in the worktrees.",
"error_prefix": "Error",
"stopping": "Stopping…",
- "confirm_stop_all": "Yes, stop all"
+ "confirm_stop_all": "Yes, stop all",
+ "kill_all": "Kill All ({count})"
},
"mission_tree": {
"no_prompt": "(no prompt)",
- "empty": "No missions yet. The main assistant will dispatch one shortly…"
+ "empty": "No missions yet. The main assistant will dispatch one shortly…",
+ "unknown_prompt": "(unknown)"
},
"pty_terminal": {
"stream_unreachable": "PTY stream unreachable.",
"stream_disconnected": "Stream disconnected",
"connect_failed": "PTY connection failed",
- "connecting": "connecting…"
+ "connecting": "connecting…",
+ "worker_label": "worker {id}",
+ "status_offline": "offline",
+ "status_live": "live",
+ "close_code": "(code {code})"
},
"event_timeline": {
"empty": "No events for this mission yet."
},
"verdict_panel": {
- "empty": "No critic verdicts for this mission yet."
+ "empty": "No critic verdicts for this mission yet.",
+ "verdict_approve": "approve",
+ "verdict_revise": "revise",
+ "verdict_reject": "reject",
+ "iteration": "iter #{n}",
+ "axis_correctness": "correctness",
+ "axis_completeness": "completeness",
+ "axis_side_effects": "side effects",
+ "axis_security": "security",
+ "axis_pass": "pass",
+ "axis_fail": "fail",
+ "confidence": "Confidence"
},
"jarvis_agent_panel": {
"select_mission": "Select a mission to see {name}-Agent workers.",
@@ -3893,7 +4273,11 @@
"not_available": "(not available)",
"copy_path": "Copy path",
"file_link_copies_path": "file:// link (path is copied)",
- "ended_label": "Ended"
+ "ended_label": "Ended",
+ "unknown_model": "(unknown model)",
+ "cost": "Cost",
+ "state_dir": "State-Dir",
+ "log_file": "Logfile"
},
"clis_view": {
"status_connected": "connected",
@@ -4036,7 +4420,13 @@
"clear": "Clear",
"search_command": "Search command…",
"success_only": "Successful only",
- "usage_stats": "{total} calls · {rate}% successful · ⌀ {avg} ms"
+ "usage_stats": "{total} calls · {rate}% successful · ⌀ {avg} ms",
+ "col_version": "Version",
+ "fact_binary": "Binary",
+ "cmd_check": "Check",
+ "cmd_login": "Login",
+ "cmd_logout": "Logout",
+ "category_placeholder": "cloud / git / payments / other"
},
"cli_test_hub_view": {
"subtitle_tell": "Tell",
@@ -4098,7 +4488,10 @@
"twilio": "List my Twilio phone numbers",
"vercel": "List my latest Vercel deployments",
"wrangler": "List my Cloudflare Workers"
- }
+ },
+ "meta_tool": "Tool",
+ "exit_label": "Exit",
+ "step_exit": "exit {code}"
},
"workflows_view": {
"subtitle": "Your hosted AI-agent pipelines — cron-triggered or at the push of a button.",
@@ -4140,7 +4533,23 @@
"now": "now",
"ago_suffix": "ago",
"run_missed": "missed",
- "run_missed_hint": "The app was not running at the scheduled time — skipped to the next occurrence."
+ "run_missed_hint": "The app was not running at the scheduled time — skipped to the next occurrence.",
+ "title": "Workflows",
+ "step_tool": "Tool",
+ "seed_badge": "Seed",
+ "step_count_one": "{count} Step",
+ "step_count_other": "{count} Steps",
+ "steps_heading": "Steps ({count})",
+ "trigger_manual": "Manual",
+ "next_in": "Next in {delta}",
+ "run_state_completed": "completed",
+ "run_state_failed": "failed",
+ "run_state_running": "running",
+ "run_state_pending": "pending",
+ "trigger_cron": "Scheduled",
+ "trigger_event": "Event",
+ "trigger_interval": "Interval",
+ "trigger_webhook": "Webhook"
},
"conductor_view": {
"new_job": "New job",
@@ -4156,7 +4565,19 @@
"empty_jobs_hint": "3 demo jobs are seeded on first launch.",
"empty_timeline": "No runs yet — click Play on a job.",
"json_syntax_error": "JSON syntax error",
- "now": "now"
+ "now": "now",
+ "title": "Conductor",
+ "subtitle": "Schedule Tasks + Agentic Workflows — Open-Source, self-hosted, code-first.",
+ "jobs": "Jobs",
+ "timeline": "Timeline",
+ "type_shell": "Shell",
+ "type_http": "HTTP",
+ "type_agent": "Agent",
+ "exit_code": "exit {code}",
+ "output": "Output",
+ "metrics": "Metrics",
+ "schedule_label": "Schedule:",
+ "example_description": "Pings an API endpoint every 5 minutes."
},
"chat_tab": {
"loading_friends": "Loading friends …",
@@ -4180,7 +4601,8 @@
"profile_standard_subline": "+ Mission title",
"profile_standard_desc": "Friend also sees: which missions/tasks are currently running, success, duration.",
"profile_detailed_subline": "+ {name}-Agent summary",
- "profile_detailed_desc": "Friend also sees: signed {name}-Agent summaries (NO utterances)."
+ "profile_detailed_desc": "Friend also sees: signed {name}-Agent summaries (NO utterances).",
+ "default_badge": "default"
},
"tools_canvas": {
"back_tooltip": "Back to the agents overview",
@@ -4189,7 +4611,9 @@
"duration": "Duration",
"empty": "(empty)",
"no_tools_yet": "hasn't called any tools yet.",
- "no_tools_explainer": "As soon as the {name}-Agent worker triggers a tool (e.g. dispatch_to_harness, run_shell, screenshot), it appears here as an icon node."
+ "no_tools_explainer": "As soon as the {name}-Agent worker triggers a tool (e.g. dispatch_to_harness, run_shell, screenshot), it appears here as an icon node.",
+ "arguments": "Arguments",
+ "output": "Output"
},
"use_web_socket": {
"jarvis_opened": "{name} opened",
@@ -4197,7 +4621,20 @@
"prompt_not_submitted": "the prompt is in its input box, not sent",
"prompt_unconfirmed": "the prompt was typed in, but the pane never showed it arriving — check that pane",
"dictation_nowhere": "No text field had focus, so the dictation was not inserted. It is in the dictation history.",
- "realtime_provider_issue": "The realtime provider reported a problem."
+ "realtime_provider_issue": "The realtime provider reported a problem.",
+ "achievement_toast": "Achievement: {title}",
+ "achievement_title": {
+ "first_mcp": "First MCP Connection",
+ "openclaw_summoner": "Agent Summoner",
+ "tool_dabbler": "Tool Dabbler",
+ "tool_journeyman": "Tool Journeyman",
+ "tool_master": "Tool Master",
+ "triple_combo": "Triple Combo",
+ "ten_x_engineer": "10x Engineer",
+ "centennial": "Centennial",
+ "kilo_club": "Kilo Club",
+ "one_year_with_jarvis": "One Year with Dodaios"
+ }
},
"chat_thread": {
"message_to": "Message to",
@@ -4220,13 +4657,19 @@
"label_pubkey": "Dodaios public key (hex)",
"telegram_id_placeholder": "e.g. 123456789",
"pubkey_placeholder": "e.g. 4f3c2b…",
- "submit": "Add"
+ "submit": "Add",
+ "mode_pair_link": "Pair-Link",
+ "label_display_name": "Display-Name"
},
"permission_matrix": {
"subline_minimal": "Online/offline only",
"subline_standard": "+ Mission title",
"subline_detailed": "+ {name}-Agent summary",
- "aria_label": "Sharing profile"
+ "aria_label": "Sharing profile",
+ "profile_minimal": "minimal",
+ "profile_standard": "standard",
+ "profile_detailed": "detailed",
+ "subline_detailed_agent": "+ {agent} summary"
},
"self_mod_view": {
"all_actors": "All actors",
@@ -4235,7 +4678,29 @@
"sensitive_path_notice": "Sensitive path — values redacted server-side (Plan §AP-2).",
"intro_a": "Read-only view of the audit trail, mutable settings and backups.",
"intro_b": "Mutations happen only via voice/chat — this view shows only what",
- "intro_c": "changed about itself."
+ "intro_c": "changed about itself.",
+ "value_redacted": "Value redacted (Plan §AP-2 defense in depth)",
+ "actor_user": "User",
+ "actor_system": "System",
+ "col_timestamp": "Timestamp",
+ "col_actor": "Actor",
+ "col_path": "Path",
+ "col_old_new": "Old → New",
+ "col_outcome": "Outcome",
+ "outcome_ok": "OK",
+ "outcome_rolled_back": "ROLLED BACK",
+ "outcome_fail": "FAIL",
+ "audit_event": "Audit event",
+ "risk_safe": "safe",
+ "risk_ask": "ask",
+ "needs_restart": "Restart",
+ "col_filename": "Filename",
+ "col_size": "Size",
+ "col_age": "Age",
+ "title": "Self-Modification",
+ "tab_history": "History",
+ "tab_mutable": "Settings",
+ "tab_backups": "Backups"
},
"wiki_view": {
"page_not_found": "Page not found",
@@ -4408,7 +4873,12 @@
"paid_cap_reached": "The approved cost limit for {provider} is reached.",
"paid_daily_cap_reached": "Automatic paid use on {provider} reached its daily limit.",
"paid_consent_revoked": "Automatic paid use on {provider} was switched off."
- }
+ },
+ "total_count": "{count} total",
+ "tab_verdicts": "Verdicts",
+ "tab_reasoning": "Reasoning",
+ "tab_plan": "Plan",
+ "step_n": "Step {n}"
},
"mission_tool_approvals": {
"tab_label": "Approvals",
@@ -4485,7 +4955,8 @@
"empty_prompt": "Describe what you need — the search ranks with AI.",
"example_1": "“build a skill that prioritizes my emails”",
"example_2": "“simplify the Git workflow”",
- "example_3": "“PDF to structured Markdown”"
+ "example_3": "“PDF to structured Markdown”",
+ "score": "Score"
},
"missions": {
"state_critiquing": "critic reviewing",
@@ -4505,7 +4976,57 @@
"mascot_gigi": {
"aria_label": "{name} mascot Gigi",
"back_online": "back online!",
- "connection_lost": "connection lost …"
+ "connection_lost": "connection lost …",
+ "idle": {
+ "hm": "hm …",
+ "all_quiet": "all quiet.",
+ "still_there": "still there?",
+ "whats_up": "what's up?",
+ "watching": "i'm watching you.",
+ "focused": "focused, huh?",
+ "take_break": "take a break sometime.",
+ "cool_work": "working on something cool today?",
+ "bit_boring": "a bit boring right now.",
+ "good_ears": "i've got good ears. in case you need anything."
+ },
+ "section": {
+ "chats_ready": "ready when you are.",
+ "chats_listening": "i'm listening.",
+ "chats_say_something": "say something.",
+ "chats_type_or_talk": "type or talk — either works.",
+ "agents_colleagues": "the agents are my colleagues.",
+ "agents_favourite": "who's your favourite?",
+ "skills_favourite": "skills are my favourite feature.",
+ "skills_learn": "what should we learn?",
+ "mcps_power": "more MCPs = more power.",
+ "mcps_add": "what should we add?",
+ "languages_speak": "i speak your language.",
+ "languages_switch": "switch language? just say so.",
+ "apikeys_careful": "keep the keys safe.",
+ "apikeys_no_git": "don't commit them to git!",
+ "settings_bother": "what's bugging you?",
+ "settings_tweak": "shall we tweak something?"
+ },
+ "voice": {
+ "listening_1": "i'm listening!",
+ "listening_2": "out with it.",
+ "listening_3": "yes?",
+ "thinking_1": "let me see …",
+ "thinking_2": "one moment.",
+ "thinking_3": "hmm …",
+ "speaking_1": "my turn to talk.",
+ "speaking_2": "listen for a sec.",
+ "error_1": "whoa.",
+ "error_2": "oops.",
+ "error_3": "that wasn't me!"
+ },
+ "time": {
+ "morning_1": "good morning!",
+ "morning_2": "rise and shine.",
+ "night_1": "still awake?",
+ "night_2": "it's late.",
+ "night_3": "getting enough sleep?"
+ }
},
"agents_view": {
"subtitle": "Running {name}-Agents — role, status, output.",
@@ -4515,7 +5036,10 @@
"phase4_notice": "Activated with Phase 4 (harness integration)."
},
"friends_view": {
- "subtitle": "Telegram bot + local friend registry. You decide what friends see."
+ "subtitle": "Telegram bot + local friend registry. You decide what friends see.",
+ "title": "Friends",
+ "tab_chat": "Chat",
+ "tab_status": "Status"
},
"feedback": {
"subtitle": "Report a bug or suggest a feature — both go straight to GitHub.",
@@ -4572,7 +5096,22 @@
"open_workspaces": "Open workspaces",
"workspace_summary_one": "{workspace}, workspace {index}, 1 terminal",
"workspace_summary_many": "{workspace}, workspace {index}, {count} terminals",
- "new_workspace": "New workspace"
+ "new_workspace": "New workspace",
+ "drop_title": "{folder} — drop a screenshot or document here to send it to this workspace",
+ "reorder_title": "{folder} — drag to reorder",
+ "rename": "Rename {workspace}",
+ "rename_save": "Save name for {workspace}",
+ "rename_cancel": "Cancel rename",
+ "close_confirm_aria": "Confirm closing {workspace}",
+ "close_stop": "Close & stop {count}",
+ "keep_aria": "Keep this workspace open",
+ "keep": "Keep",
+ "close": "Close {workspace}",
+ "close_title": "Close {workspace} and stop its agents",
+ "full": "{count} workspaces are already open — close one first.",
+ "add_title": "Open another folder in its own workspace",
+ "terminals_open_one": "{count} terminal open",
+ "terminals_open_other": "{count} terminals open"
},
"custom_cli": {
"title_add": "Add a CLI of your own",
@@ -4764,6 +5303,52 @@
"count_for": "Terminal count for {0}",
"increase": "Use one more {0} terminal",
"auto_names": "Terminal names are assigned automatically. After opening, you can rename them from each terminal header."
+ },
+ "agent_setup": {
+ "agents_aria": "Coding agents",
+ "agent": "Agent",
+ "choose_all": "Choose for all sessions",
+ "editing": "Editing session {number}",
+ "all_sessions": "All sessions",
+ "none": "No coding agents available. Connect a coding agent in CLIs to continue.",
+ "count_aria": "Number of sessions",
+ "how_many": "How many sessions?",
+ "sessions_one": "{count} session",
+ "sessions_other": "{count} sessions",
+ "more": "More",
+ "add_more": "Add more anytime",
+ "opens_as": "opens as {columns} × {rows}",
+ "lineup_aria": "Session lineup",
+ "will_launch": "Will launch",
+ "click_hint": "Click a session to choose a different agent",
+ "choose_agent": "Choose an agent",
+ "edit_session": "Edit session {number}: {agent}"
+ },
+ "run_on": {
+ "online": "Keeps running while this PC is off",
+ "unknown": "Not checked yet",
+ "offline": "Not reachable right now",
+ "auto": "Automatic",
+ "auto_detail": "Picks this PC or a computer by their shares",
+ "local": "This computer",
+ "local_detail": "Stops when this PC sleeps or shuts down",
+ "label": "Runs on",
+ "copy_note": "The folder is copied to {computer} first, uncommitted changes included. Files like .env and private keys stay on this PC. The coding CLI must be installed there.",
+ "none_hint": "Want agents that keep working while this PC is off?",
+ "connect_server": "Connect a server"
+ },
+ "shape": {
+ "exact_count": "Exact count · type a number",
+ "one_fewer": "Use one fewer terminal",
+ "one_more": "Use one more terminal",
+ "count_aria": "Number of terminals",
+ "use_n": "Use {count} terminals",
+ "all_on_screen": "All on one screen.",
+ "columns_narrow": "All on one screen, about {columns} columns each — narrow for an agent's output. This window fits {affordable} across comfortably at text size {size}; maximize a pane to read it full size.",
+ "columns_each": "All on one screen, about {columns} columns each.",
+ "px_each": "All on one screen, about {px} px each.",
+ "px_narrow": "All on one screen, about {px} px each — narrow for an agent's output. Maximize a pane to read it full size.",
+ "across": "{columns} across"
}
},
"agent_accounts": {
@@ -4820,6 +5405,17 @@
"fallback": "Use a terminal window instead",
"cancel": "Cancel sign-in",
"show_cli": "Show what the CLI displays"
+ },
+ "workspace": {
+ "toast_switched": "New {agent} terminals will use {account}.",
+ "chip_title": "New {agent} terminals open on {account}. Panes already running keep theirs. Click to switch.",
+ "chip_aria": "Switch which {agent} subscription new terminals use",
+ "open_title": "Workspace settings — choose which subscription new terminals use",
+ "title": "Workspace settings",
+ "description": "Connect several subscriptions of the same coding CLI and choose which one powers new agent terminals.",
+ "close": "Close settings",
+ "new_terminals": "new terminals",
+ "note": "Switching applies to every terminal opened from now on, splits included — the panes you already have keep the account they started with, so no running agent loses its conversation. Only a pane whose subscription was chosen deliberately (in the workspace wizard) passes that choice on when you split it."
}
},
"ide_chats": {
@@ -5062,6 +5658,73 @@
"no_target": "Open or select an agent terminal before attaching a file.",
"choose": "Choose files",
"remove": "Remove this pending context"
+ },
+ "view_buttons": {
+ "grid_title": "Terminal grid — every pane on screen at once.",
+ "chat_title": "Chat view — read one agent at a time, like a conversation."
+ },
+ "focus_mode": {
+ "on_title": "Focused coding mode is on — your assistant answers inside this workspace. Click to leave.",
+ "off_title": "Turn on focused coding mode — your assistant answers inside this workspace until you switch back."
+ },
+ "close_workspace": {
+ "aria": "Close workspace",
+ "title": "Close the workspace and stop every agent in it",
+ "confirm_title": "Close this workspace?",
+ "confirm_body_one": "This stops all {count} coding agent and closes every terminal session. Anything already written to disk stays.",
+ "confirm_body_other": "This stops all {count} coding agents and closes every terminal session. Anything already written to disk stays.",
+ "keep": "Keep workspace open",
+ "confirm": "Close workspace"
+ },
+ "empty_workspace": {
+ "all_closed": "Every terminal in this workspace is closed.",
+ "open_terminal": "Open a terminal",
+ "picker_title": "Open a terminal — what?",
+ "picker_aria": "What should run in the new terminal?"
+ },
+ "close_pane": {
+ "aria": "Close {pane}",
+ "title": "Close {pane}?",
+ "body": "The coding agent running in this terminal is stopped and its session is gone. Anything it already wrote to disk stays.",
+ "keep": "Keep it open",
+ "confirm": "Close {pane}"
+ },
+ "pane": {
+ "copy_unavailable": "Could not copy the terminal selection on this machine.",
+ "paste_unavailable": "Could not read the clipboard on this machine.",
+ "ready_reattached": "still running — picked up where you left it",
+ "ready_resumed": "continued its previous conversation",
+ "ready_fresh": "started a new conversation",
+ "drop_empty": "That drop carried no file this pane could use.",
+ "starting": "Starting {agent}…",
+ "attaching": "Attaching to {pane}…",
+ "drop_hint_before": "Drop to put it in front of ",
+ "drop_hint_after": "",
+ "tip_drag": "Drag {pane} by this bar to move it.",
+ "tip_restore": "Double-click to put it back.",
+ "tip_fill": "Double-click to fill the workspace.",
+ "tip_restore_named": "Double-click to put {pane} back in the grid.",
+ "tip_fill_named": "Double-click to make {pane} fill the workspace.",
+ "move": "Move {pane}",
+ "rename": "Rename {pane}",
+ "rename_save": "Save name for {pane}",
+ "rename_cancel": "Cancel renaming {pane}",
+ "running_on_account": "Running on {account}",
+ "review_changes": "Review changes by {pane}",
+ "restore": "Restore {pane}",
+ "maximize": "Maximize {pane}",
+ "split_right": "Open another terminal beside {pane}",
+ "split_down": "Split {pane} and open a terminal below it",
+ "split_right_picker": "Open beside — what?",
+ "split_down_picker": "Split below — what?",
+ "split_right_picker_aria": "What should run beside {pane}?",
+ "split_down_picker_aria": "What should run below {pane}?",
+ "unreachable": "{pane} could not be reached.",
+ "exited_detail": "{agent} {detail}",
+ "exited": "{agent} is no longer running in {pane}.",
+ "restart_aria": "Restart {pane}",
+ "restart_title": "Start a fresh {agent} in {pane}",
+ "restart": "Restart"
}
},
"prompt_writer": {
@@ -5230,7 +5893,8 @@
"delete_failed": "That could not be deleted.",
"delete_running": "This run is still working. Stop it first, then delete it.",
"open_from_agent": "Artifacts",
- "open_from_agent_hint": "Show the pages and pictures the latest runs produced."
+ "open_from_agent_hint": "Show the pages and pictures the latest runs produced.",
+ "summary": "Summary"
},
"marketplace_origin": {
"badge": "Marketplace",
@@ -5498,7 +6162,13 @@
"agent_asks_default": "It asks you before it acts until you change that.",
"agent_instructions": "Its standing instructions",
"import_agent": "Import an agent file",
- "import_failed": "That file could not be imported: {error}"
+ "import_failed": "That file could not be imported: {error}",
+ "request_failed": "Marketplace request failed ({status})",
+ "refresh_failed": "Refresh failed ({status})",
+ "install_failed": "Install failed ({status})",
+ "contents_failed": "Could not read that entry ({status})",
+ "err_identity_start": "Sign-in start failed ({status})",
+ "err_identity_failed": "sign-in failed"
},
"costs_view": {
"title": "Spend & Tokens",
@@ -5656,7 +6326,8 @@
"free": "Free",
"unknown": "Unpriced",
"subscription": "Subscription"
- }
+ },
+ "tokens_in_out": "{input} in / {output} out"
},
"all_chats": {
"title": "All chats",
@@ -5867,7 +6538,9 @@
"history_chats": "Chats",
"history_voice": "Voice",
"history_empty": "Nothing here yet",
- "history_delete": "Delete"
+ "history_delete": "Delete",
+ "proposal_ask_first": "ask first: {tools}",
+ "proposal_always_allow": "always allow: {tools}"
},
"world": {
"minimap_label": "Island map",
@@ -6316,6 +6989,35 @@
"message": "Your message to the group",
"stop": "Stop round",
"send": "Ask the group"
+ },
+ "floor": {
+ "department_other": "Other",
+ "agent_fallback": "Agent",
+ "workspace_fallback": "Workspace"
+ },
+ "provider_label": {
+ "ollama": "Ollama (local)",
+ "local_server": "Local server"
+ },
+ "sample": {
+ "daily_at": "daily {time}",
+ "lead": {
+ "title": "Chief executive — leads and delegates the whole team",
+ "description": "You are the lead of this agent society: its chief executive. You own the goals, not the tasks. Every request that reaches you is triaged, shaped into a clear assignment and handed to the orchestrator or specialist whose title fits; you never do a specialist's work yourself. You keep the team small, the hand-offs written (what was done, evidence, what remains, who owns the next step) and the spend inside the daily budget. Ask-tier actions always wait for the person; you never route around an approval. You speak for the team in the person's language and report outcomes, not activity.",
+ "routine": "Morning stand-up digest"
+ },
+ "scout": {
+ "name": "Scout",
+ "title": "Research orchestrator",
+ "description": "You own research. You break a question into sources, read broadly, keep evidence links and hand back a brief with what remains open.",
+ "routine": "Morning research brief"
+ },
+ "archivist": {
+ "name": "Archivist",
+ "title": "Knowledge curator",
+ "description": "You own the shared memory. You turn finished work into short, sourced wiki notes under your namespace and propose what deserves promotion to shared knowledge.",
+ "routine": "Nightly curation pass"
+ }
}
},
"chat_tools": {
@@ -6594,7 +7296,8 @@
"expand": "Enlarge {file}",
"open_file": "Open file",
"download": "Download",
- "retry": "Retry"
+ "retry": "Retry",
+ "image_fallback": "image"
},
"slash": {
"locale": "en",
@@ -6716,6 +7419,23 @@
"title": "Go to file",
"placeholder": "Type a file name; add :42 to jump to line 42",
"no_match": "No file matches."
+ },
+ "errors": {
+ "not_editable": "The file on disk can no longer be edited here.",
+ "reopen_dirty": "Save or discard the changes before reopening the file in another encoding."
+ },
+ "encoding_scripts": {
+ "labelled": "{script} ({encoding})",
+ "utf8_bom": "UTF-8 with BOM",
+ "western": "Western",
+ "central_european": "Central European",
+ "cyrillic": "Cyrillic",
+ "greek": "Greek",
+ "turkish": "Turkish",
+ "japanese": "Japanese",
+ "chinese_simplified": "Chinese Simplified",
+ "chinese_traditional": "Chinese Traditional",
+ "korean": "Korean"
}
},
"ide_side_panel": {
@@ -7150,6 +7870,12 @@
"data": "Data",
"perf": "Performance",
"rocket": "Release"
+ },
+ "import_errors": {
+ "unreadable": "{file}: could not be read.",
+ "not_markdown": "{file}: not a Markdown or text file.",
+ "too_large": "{file}: larger than {size} KB.",
+ "not_text": "{file}: not a text file."
}
},
"office": {
@@ -7326,7 +8052,8 @@
"close": "Close",
"gone": "This appshot is no longer kept, so it cannot be edited.",
"text_placeholder": "Type…"
- }
+ },
+ "editor_title": "Appshot editor"
},
"jarvisx": {
"title": "Dodaios X",
@@ -7595,5 +8322,967 @@
"logged_offer": "{provider} / {model}, estimated {cost}, cap {cap}.",
"paid_usage": "Paid run on {provider} / {model}: actual {cost} (estimated {estimate}, cap {cap}).",
"paid_usage_automatic": "Automatic paid run on {provider} / {model}: actual {cost} (estimated {estimate}, cap {cap})."
+ },
+ "ide_projects": {
+ "connect_failed": "Could not connect this folder. Try again.",
+ "choose_folder_error": "Choose a folder to continue.",
+ "back_to_project": "Back to project",
+ "choose_folder_title": "Choose a folder",
+ "connect_title": "Connect project",
+ "connect_description": "Choose a source folder and an optional project name.",
+ "choose_folder_hint": "Choose a folder to continue",
+ "use_folder": "Use this folder",
+ "project_name": "Project name",
+ "project_name_optional": "Project name (optional)",
+ "source_folder": "Source folder",
+ "change": "Change",
+ "add_folder_hint": "Add a folder from this computer",
+ "choose_folder": "Choose folder",
+ "connecting": "Connecting…",
+ "reorder_needs_restart": "This view is newer than the backend — restart the app and try again.",
+ "reveal_desktop_only": "Opening folders works in the desktop app only.",
+ "sessions_one": "{count} agent session",
+ "sessions_other": "{count} agent sessions",
+ "path_copied": "Folder path copied",
+ "path_copy_failed": "Could not copy the folder path",
+ "opening": "Opening {label}…",
+ "open_failed": "{label} could not be started",
+ "workspace_copy": "{workspace} copy",
+ "interrupt_failed": "{failed} of {total} agents could not be interrupted.",
+ "interrupted_one": "Interrupted {count} agent.",
+ "interrupted_other": "Interrupted {count} agents.",
+ "the_computer": "the computer",
+ "this_computer": "this computer",
+ "moving": "Moving {workspace} to {target}. This can take a minute.",
+ "moved": "{workspace} now runs on {target}.",
+ "rename_named": "Rename {target}",
+ "save_named": "Save {target}",
+ "cancel_rename_named": "Cancel renaming {target}",
+ "open_named": "Open {target}",
+ "collapse_named": "Collapse {target}",
+ "expand_named": "Expand {target}",
+ "not_restorable": "This workspace cannot be restored on this machine",
+ "drag_hint": "{target} — drag to reorder, or press Alt plus arrow keys to move",
+ "switching": "Switching workspace",
+ "project_actions_for": "Project actions for {target}",
+ "project_actions": "Project actions",
+ "new_workspace_in": "New workspace in {project}",
+ "new_workspace": "New workspace",
+ "workspace_actions_for": "Workspace actions for {target}",
+ "workspace_actions": "Workspace actions",
+ "create_workspace": "Create workspace",
+ "open_in": "Open in {editor}",
+ "not_installed": "Not installed",
+ "open_on": "Open on {target}",
+ "the_web": "the web",
+ "the_web_page": "the web page",
+ "new_worktree": "New workspace in a worktree",
+ "new_worktree_hint": "Own folder and branch for its agents",
+ "rename_project": "Rename project",
+ "unpin_project": "Unpin project",
+ "pin_project": "Pin project",
+ "delete_project": "Delete project",
+ "add_agent": "Add another agent",
+ "duplicate": "Duplicate workspace",
+ "duplicate_hint_one": "Starts {count} fresh agent",
+ "duplicate_hint_other": "Starts {count} fresh agents",
+ "interrupt_one": "Interrupt {count} working agent",
+ "interrupt_other": "Interrupt {count} working agents",
+ "interrupt_hint": "Stops the current task, keeps the chat",
+ "reopen": "Reopen workspace",
+ "reopen_unreachable": "Its folder is not reachable",
+ "copy_path": "Copy folder path",
+ "move_to": "Move workspace to {computer}",
+ "move_hint": "Keeps running while this PC is off",
+ "bring_back": "Bring workspace back here",
+ "git_hint": "Commit, push, pull request, worktrees",
+ "rename_workspace": "Rename workspace",
+ "remove_workspace": "Remove workspace",
+ "workspaces": "Workspaces",
+ "connect_folder_title": "Connect project folder",
+ "pinned": "Pinned",
+ "other_projects": "Other projects",
+ "empty": "Connect a folder to start a project.",
+ "remove_title": "Remove {workspace}?",
+ "remove_body_one": "Its {count} coding agent will stop and the workspace leaves the sidebar. The folder on disk and its chats stay untouched.",
+ "remove_body_other": "Its {count} coding agents will stop and the workspace leaves the sidebar. The folder on disk and its chats stay untouched.",
+ "remove_body_closed": "The workspace leaves the sidebar. The folder on disk and its chats stay untouched.",
+ "removing": "Removing…",
+ "remove_named": "Remove {workspace}",
+ "delete_title": "Delete {project}?",
+ "delete_body_idle": "This forgets the project and its chats. The folders on disk stay untouched.",
+ "delete_body": "This stops {agents} in {workspaces} and forgets the project and its chats. The folders on disk stay untouched.",
+ "running_agents_one": "{count} running agent",
+ "running_agents_other": "{count} running agents",
+ "open_workspaces_one": "{count} open workspace",
+ "open_workspaces_other": "{count} open workspaces",
+ "deleting": "Deleting…",
+ "delete_named": "Delete {project}",
+ "show_in_explorer": "Show in Explorer",
+ "show_in_finder": "Show in Finder",
+ "show_in_file_manager": "Show in file manager",
+ "keep": "Keep"
+ },
+ "ide_folder_picker": {
+ "create_failed": "Could not create that folder.",
+ "drop_not_folder": "That was not a folder. Drop a folder here, or pick one from the list.",
+ "drop_finding": "Finding the folder you dropped…",
+ "drop_not_found": "Could not find that folder.",
+ "this_machine": "This machine",
+ "starting_with": "Folders starting with “{leaf}”",
+ "folders_in": "Folders in {folder}",
+ "places": "Places",
+ "drop_overlay": "Drop to choose this folder",
+ "search_placeholder": "Search by name or paste a path",
+ "search_aria": "Search folders by name, or paste a path",
+ "clear_search": "Clear search",
+ "browse_title": "Choose the folder in this computer's own folder window",
+ "window_open": "Window open…",
+ "browse": "Browse…",
+ "new_folder_title": "Make a new folder in {path}",
+ "your_home_folder": "your home folder",
+ "new_folder": "New folder",
+ "native_open_note": "A folder window has opened. Choose your folder there. If you cannot see it, it is behind this window or in the taskbar.",
+ "go_up": "Go up one folder",
+ "nothing_called": "Nothing on {machine} is called “{query}”",
+ "called_anywhere": "Folders called “{query}” anywhere on {machine}",
+ "folder_path": "Folder path",
+ "start_title": "Start: recent folders and places on {machine}",
+ "click_to_edit_path": "Click to see and edit the whole path",
+ "show_whole_path": "Show the whole path",
+ "type_path": "Type a path",
+ "type_path_title": "Type or paste a path — Tab completes folder names",
+ "hide_hidden": "Hide hidden folders",
+ "show_hidden": "Show hidden folders",
+ "hidden_shown_title": "Hidden folders (names starting with a dot) are shown",
+ "hidden_list_title": "Also list hidden folders — names starting with a dot",
+ "reload": "Reload this folder",
+ "new_folder_name": "Name of the new folder",
+ "create": "Create",
+ "cancel_new_folder": "Cancel new folder",
+ "created_in": "Created in",
+ "recent_folders": "Recent folders",
+ "terminals_one": "{count} terminal",
+ "terminals_other": "{count} terminals",
+ "forget": "Forget {folder}",
+ "forget_title": "Remove from this list (the folder itself stays)",
+ "create_folder_named": "Create folder “{folder}”",
+ "in_parent": "in {path}",
+ "empty_search": "No folder with that name was found.",
+ "empty_search_hint": "To open one by where it is, type its full path — like {example}.",
+ "empty_leaf": "No folder here starts with “{leaf}”.",
+ "empty_needle": "No folder here matches “{query}”. Keep typing to search the whole machine.",
+ "empty_folder": "This folder has no folders inside. You can choose it as it is, or make a new folder in it.",
+ "empty_start": "Nothing to list here — search above, drop a folder, or type its path.",
+ "path_example_before": "A full path on this machine looks like",
+ "path_example_after": ".",
+ "tip_drag": "Tip: you can also drag a folder here from your file manager.",
+ "chosen_folder": "Chosen folder:",
+ "no_folder_chosen": "No folder chosen yet. Open a folder in the list to choose it.",
+ "today": "Today",
+ "yesterday": "Yesterday",
+ "days_ago": "{count} days ago",
+ "last_week": "Last week",
+ "weeks_ago": "{count} weeks ago",
+ "path_input_placeholder": "Type a path — Tab completes folder names",
+ "go_to_path": "Go to this path"
+ },
+ "shell_events": {
+ "empty": "No events yet. Emit a test event from the Debug tab.",
+ "hide_payload": "hide",
+ "show_payload": "payload"
+ },
+ "ide_panes": {
+ "exit": {
+ "stopped": "stopped",
+ "ctrl_c": "stopped with Ctrl-C (0xC000013A)",
+ "access_violation": "crashed — memory access violation (0xC0000005)",
+ "stack_overrun": "crashed — stack buffer overrun (0xC0000409)",
+ "heap_corruption": "crashed — heap corruption (0xC0000374)",
+ "unhandled_exception": "crashed — unhandled exception (0xC000041D)",
+ "dll_missing": "could not start — a required DLL was missing (0xC0000142)",
+ "unexpected": "stopped unexpectedly — use Restart to bring it back",
+ "unexpected_code": "stopped unexpectedly (exit code {code}) — use Restart to bring it back"
+ },
+ "socket": {
+ "authorizing": "Authorizing the terminal…",
+ "auth_failed": "Terminal authorization failed — retrying.",
+ "workspace_closed": "This workspace was closed — reloading…",
+ "start_failed_this": "This terminal could not be started.",
+ "start_failed": "The terminal could not be started.",
+ "no_such_pane": "This terminal is no longer part of the open workspace.",
+ "waiting_workspace": "Waiting for the workspace to come back…",
+ "unreachable": "Could not reach the terminal — retrying.",
+ "connection_lost": "Terminal connection lost (code {code}) — reconnecting."
+ },
+ "common": {
+ "done": "Done"
+ },
+ "install": {
+ "title": "Install {agent}",
+ "installing": "Installing {agent}",
+ "starting": "Starting the installer for {agent}…",
+ "installed": "{agent} is installed",
+ "watching": "Watching for {agent} to appear…"
+ },
+ "picker": {
+ "no_shell": "no shell here",
+ "not_installed": "not installed",
+ "install": "Install"
+ },
+ "close_dialog": {
+ "workspace_title": "Close {workspace}?",
+ "workspace_title_unnamed": "Close workspace?",
+ "pane_body": "The coding agent in this pane stops right away, including any task it is still working on.",
+ "workspace_body_empty": "The workspace closes. You can restore it from Projects at any time.",
+ "workspace_body_one": "Its coding agent stops right away. You can restore the workspace from Projects at any time.",
+ "workspace_body_other": "All {count} coding agents stop right away. You can restore the workspace from Projects at any time.",
+ "keep": "Keep running",
+ "close_agent": "Close agent"
+ },
+ "fork": {
+ "title": "Fork {pane}",
+ "description": "Start a second agent from where this one is. The original keeps running unchanged.",
+ "chat_title": "Fork chat",
+ "chat_body": "A new agent opens beside this one and continues a copy of the conversation, in the same folder.",
+ "worktree_title": "Fork into a worktree",
+ "worktree_needs_repo": "Needs a git repository — this folder is not one.",
+ "worktree_body": "Same copy of the conversation, but in its own git worktree and branch, so both agents can change files without getting in each other's way.",
+ "how": "How to fork",
+ "branch_label": "Worktree and branch name",
+ "finding_name": "Finding a name…",
+ "branch_hint": "Created from the last commit. Changes that are not committed yet stay in the current folder.",
+ "cannot_copy": "{agent} cannot copy its conversation, so the fork starts with a fresh chat.",
+ "confirm_worktree": "Fork into worktree"
+ },
+ "move": {
+ "no_room": "No room",
+ "summary_empty": "{workspace} is empty, so {pane} fills it.",
+ "summary_even": "{pane} joins {workspace}, and every pane gets an even share.",
+ "summary_left": "Left of {anchor}: {pane} takes half of its space.",
+ "summary_right": "Right of {anchor}: {pane} takes half of its space.",
+ "summary_above": "Above {anchor}: {pane} takes half of its space.",
+ "summary_below": "Below {anchor}: {pane} takes half of its space.",
+ "place_left": "Place {pane} left of {anchor}",
+ "place_right": "Place {pane} right of {anchor}",
+ "place_above": "Place {pane} above {anchor}",
+ "place_below": "Place {pane} below {anchor}",
+ "title": "Move {pane} to {workspace}",
+ "description": "Point at a pane and click the side it should go on. The agent keeps running.",
+ "loading": "Loading {workspace}…",
+ "fills_empty": "Fills the empty workspace",
+ "tile_aria": "{anchor}. Arrow keys choose the side {pane} goes on.",
+ "confirm": "Move to {workspace}"
+ },
+ "activity": {
+ "label": {
+ "stopped": "stopped",
+ "status_unknown": "status unknown",
+ "working": "working",
+ "starting": "starting",
+ "needs_you": "needs you",
+ "exited": "exited",
+ "failed": "failed",
+ "done": "done",
+ "idle": "idle",
+ "error": "error",
+ "live": "live"
+ },
+ "hint": {
+ "interrupted": "The task was interrupted.",
+ "unknown": "No verified task status is available.",
+ "working": "Working — the task is still in progress.",
+ "starting": "Starting up. Its agent has not taken the pane yet.",
+ "asking": "Stopped with a question on screen. It is waiting for your answer.",
+ "exited": "Its process is gone.",
+ "failed": "Its agent could not be started.",
+ "done": "Finished and waiting at its prompt. That it stopped, not that the work is right.",
+ "idle": "Waiting at its prompt. Nothing has been sent to it yet.",
+ "connecting": "Connecting to the pane.",
+ "error": "This pane could not be reached.",
+ "connected": "Connected."
+ },
+ "duration_seconds": "{count}s",
+ "duration_minutes": "{count} min",
+ "duration_hour_one": "1 hour",
+ "duration_hours_other": "{count} hours",
+ "for_elapsed": "For {elapsed}."
+ },
+ "recap": {
+ "why": {
+ "pinned": "You wrote this. It stays until you reset it.",
+ "cli_title": "The agent in this pane named its session itself.",
+ "disabled": "Model recaps are switched off, so this is read from the pane's own output.",
+ "not_started": "Nothing is running in this pane yet, so there is nothing to summarize.",
+ "warming": "Too little output so far to summarize — this line is read from the pane's own output.",
+ "working": "A summary is being written now. This line is read from the pane's own output.",
+ "queued": "Waiting its turn to be summarized. This line is read from the pane's own output.",
+ "unavailable": "No model could summarize this pane, so this line is read from its own output."
+ },
+ "credit": {
+ "user": "Written by you",
+ "cli_named": "Named by {writer}",
+ "cli": "Named by the agent",
+ "model_named": "Summarized by {writer}",
+ "model": "Summarized by a model",
+ "heuristic": "Read from the output"
+ },
+ "ago_seconds": "{count}s ago",
+ "ago_minutes": "{count} min ago",
+ "ago_hours": "{count} h ago",
+ "what_doing": "What {pane} is doing",
+ "write_yourself": "Write it yourself",
+ "back_to_auto": "Back to the automatic recap",
+ "summarize_again": "Summarize this pane again",
+ "header_line": "Header line",
+ "header_placeholder": "What this pane is for",
+ "longer": "The longer version",
+ "optional": "— optional",
+ "detail_placeholder": "Where the work stands, what is outstanding…",
+ "save_hint": "⌘/Ctrl + Enter to save",
+ "save_empty_hint": "Save with an empty line to go back to the automatic recap"
+ },
+ "receipt": {
+ "just_now": "just now",
+ "ago_hour_one": "1 hour ago",
+ "ago_hours_other": "{count} hours ago",
+ "load_failed": "The full prompt could not be read.",
+ "sent": "Prompt sent",
+ "sent_note": "the agent took it and started",
+ "typed": "Prompt typed, not started",
+ "typed_note": "it is sitting in this pane's input box — press Enter here to run it",
+ "unconfirmed": "Prompt sent — start could not be confirmed",
+ "unconfirmed_note": "it went to the pane; the agent's start could not be confirmed",
+ "read_title": "Read exactly what was sent to {pane}",
+ "dismiss": "Dismiss the delivery receipt for {pane}",
+ "click_to_read": "click to read what was sent",
+ "loading_rest": "Opening of {count} characters — reading the rest…",
+ "opening_only": "Showing the opening only — {error}",
+ "delivered": "{count} characters, delivered to {pane}.",
+ "delivered_at": "{count} characters, delivered to {pane} at {clock}."
+ },
+ "options": {
+ "title": "Workspace options",
+ "close": "Close workspace options",
+ "arrangement": "Terminal arrangement",
+ "balance": "Balance layout",
+ "arrangement_hint": "Drag a terminal title to an edge to place it beside, above or below another terminal. Drop in the center to swap positions.",
+ "style": "Terminal style",
+ "style_minimal": "Minimal",
+ "style_minimal_hint": "Square frames, slim title row",
+ "style_classic": "Classic",
+ "style_classic_hint": "Rounded cards, taller title bar",
+ "appearance": "Terminal appearance",
+ "appearance_auto_aria": "Match app appearance",
+ "appearance_dark_aria": "dark terminals",
+ "appearance_light_aria": "light terminals",
+ "appearance_auto": "Match app",
+ "appearance_dark": "Dark",
+ "appearance_light": "Light",
+ "add_agent": "Add coding agent",
+ "git": "Git: branches, commits, worktrees"
+ },
+ "github": {
+ "state_branch": "Published branch",
+ "state_draft": "Draft pull request",
+ "state_open": "Open pull request",
+ "state_queued": "In the merge queue",
+ "state_merged": "Pull request merged",
+ "state_closed": "Closed without merging",
+ "unavailable": "GitHub status unavailable",
+ "branch_generic": "GitHub branch",
+ "dest_pr": "pull request #{number}",
+ "dest_branch": "branch",
+ "open_aria": "Open GitHub {destination}: {identity}",
+ "open_title": "Open {destination}",
+ "refresh_failed": "GitHub status could not be refreshed.",
+ "refreshing": "Refreshing GitHub status…"
+ },
+ "dock": {
+ "swap": "Swap positions",
+ "left": "Place on the left",
+ "right": "Place on the right",
+ "above": "Place above",
+ "below": "Place below"
+ },
+ "grid": {
+ "placed_swap": "{pane} and {target} swapped.",
+ "placed_left": "{pane} placed left {target}.",
+ "placed_right": "{pane} placed right {target}.",
+ "placed_above": "{pane} placed above {target}.",
+ "placed_below": "{pane} placed below {target}.",
+ "arrange_failed": "Could not save the arrangement. The previous order was restored.",
+ "moved_toast": "{pane} moved to {workspace}. Its agent keeps running.",
+ "moved_renamed_toast": "{pane} moved to {workspace} as {renamed}. Its agent keeps running.",
+ "moved": "{pane} moved to {workspace}.",
+ "moved_renamed": "{pane} moved to {workspace} as {renamed}.",
+ "forked_branch": "{pane} forked into {fork} on branch {branch}.",
+ "forked": "{pane} forked into {fork}.",
+ "the_computer": "the computer",
+ "this_computer": "this computer",
+ "placing": "Moving {pane} to {computer}. The folder and the conversation go with it.",
+ "placed_on": "{pane} now runs on {computer}.",
+ "bring_back": "Bring back to this computer",
+ "run_on": "Run on {computer}",
+ "another_computer": "another computer",
+ "no_pane_up": "No pane above {pane}.",
+ "no_pane_down": "No pane below {pane}.",
+ "no_pane_left": "No pane to the left of {pane}.",
+ "no_pane_right": "No pane to the right of {pane}.",
+ "tile_aria": "{pane}. Drag to an edge to dock, or the center to swap. Alt+Arrow swaps with a neighbor.",
+ "move_to_menu": "Move to {workspace}…",
+ "not_into": "Not into {workspace}: another folder",
+ "that_workspace": "that workspace"
+ },
+ "header": {
+ "split_right": "Split right",
+ "split_down": "Split down",
+ "split_left": "Split left",
+ "split_up": "Split up",
+ "rename_failed": "The name could not be saved.",
+ "name_for": "Name for {pane}",
+ "save_name": "Save name",
+ "actions_for": "Actions for {pane}",
+ "swap_focused": "Swap with focused pane",
+ "fork_menu": "Fork…",
+ "unzoom": "Unzoom",
+ "zoom": "Zoom",
+ "conversation_history": "Conversation history",
+ "open_as_chat": "Open as chat",
+ "review_changes": "Review changes",
+ "restart_agent": "Restart agent",
+ "right_click_title": "Shift+right-click opens the pane menu while forwarding is enabled.",
+ "right_click": "Send right-clicks to pane",
+ "right_click_hint": "Shift + right-click: pane menu",
+ "more_actions": "More actions for {pane}",
+ "status_connecting": "connecting",
+ "status_live": "live",
+ "status_exited": "exited",
+ "status_error": "error",
+ "runs_on": "Runs on {computer}. It keeps working while this app is closed.",
+ "worktree_branch": "Runs in its own git worktree on branch {branch}",
+ "drag_hint": "Drag to reorder, or focus this title and press Alt with an arrow key.",
+ "add_beside": "Add agent beside {pane}"
+ },
+ "request_failed": "Request failed ({status}).",
+ "seam": {
+ "resize_pair": "Drag to resize {before} and {after}",
+ "resize_columns": "Drag to resize these two columns of terminals",
+ "pane_before": "the pane before",
+ "pane_after": "the pane after"
+ }
+ },
+ "ide_git": {
+ "detached_at": "Detached at {head}",
+ "current_branch": "Current branch",
+ "worktree_badge": "worktree",
+ "uncommitted": "{count} uncommitted",
+ "nothing_uncommitted": "Nothing uncommitted",
+ "changes_one": "{count} change",
+ "changes_other": "{count} changes",
+ "clean": "clean",
+ "compared_with": "Compared with {upstream}",
+ "ahead": "ahead",
+ "behind": "behind",
+ "not_pushed_title": "This branch has not been pushed yet",
+ "not_pushed": "not pushed",
+ "without_git": "Without git",
+ "without_git_hint": "Open the folder as it is",
+ "init": "Initialize git",
+ "init_hint": "New repository on main, ready for branches",
+ "share_checkout": "Share this checkout",
+ "share_checkout_hint": "Same folder as the other agents",
+ "current_checkout": "Current checkout",
+ "work_on_branch": "Work on {branch} in the project folder",
+ "work_in_folder": "Work in the project folder",
+ "new_worktree": "New worktree",
+ "new_worktree_hint_agent": "Own folder and branch, opens as its own tab",
+ "new_worktree_hint": "Own folder and branch, agents never collide",
+ "new_branch": "New branch",
+ "new_branch_hint": "Branch off here, in the project folder",
+ "existing_branch": "Existing branch",
+ "existing_branch_hint": "Check out another branch here",
+ "existing_worktree": "Existing worktree",
+ "existing_worktree_hint": "Open a worktree that is already there",
+ "works_on": "Works on {branch}",
+ "works_in_folder": "Works in the project folder",
+ "opens_as_is": "Opens the folder as it is",
+ "opens_as_is_hint": "No git here. You can set it up if you like.",
+ "summary_agent_hint": "Same folder as your other agents. Nothing to set up.",
+ "summary_workspace_hint": "In the project folder, as it is now. Nothing to set up.",
+ "reading_repo": "Reading repository…",
+ "git_options": "Git options",
+ "hide_options": "Hide options",
+ "not_installed": "Git is not installed on this computer. Install it from git-scm.com to use branches and worktrees.",
+ "checkout_aria": "Git checkout",
+ "recommended": "Recommended",
+ "branch_name": "Branch name",
+ "suggest_name": "Suggest another name",
+ "based_on": "Based on",
+ "base_branch": "Base branch",
+ "hint_current": "current",
+ "hint_default": "default",
+ "unborn": "This repository has no commit yet — make a first commit before branching.",
+ "creates_worktree": "Creates {path}. Only committed work is copied; an existing branch is reused.",
+ "dirty_moves": "Your uncommitted changes move along to the new branch.",
+ "folder_switches": "The project folder switches to the new branch for every agent in it.",
+ "branch": "Branch",
+ "worktree": "Worktree",
+ "detached": "detached",
+ "init_note": "Creates a repository on {branch} with an empty first commit. Your files are not committed — you decide what goes in.",
+ "tag_modified": "modified",
+ "tag_added": "added",
+ "tag_deleted": "deleted",
+ "tag_renamed": "renamed",
+ "tag_copied": "copied",
+ "tag_conflict": "conflict",
+ "tag_new": "new",
+ "committed": "Committed {sha}.",
+ "pushed_to": "Pushed to {upstream}.",
+ "fetched": "Fetched every remote.",
+ "draft_pr_opened": "Draft pull request opened.",
+ "pr_opened": "Pull request opened.",
+ "merged": "Merged {branch} into {target} ({sha}).",
+ "pruned": "Forgot worktrees whose folders are gone.",
+ "initialized": "Initialized a repository on main.",
+ "refresh": "Refresh",
+ "close_panel": "Close Git panel",
+ "open_link": "Open link",
+ "open": "Open",
+ "not_installed_refresh": "Git is not installed on this computer. Install it from git-scm.com, then refresh.",
+ "not_a_repo": "This folder is not a git repository yet. Initialize one to give agents branches and worktrees.",
+ "worktree_of": "A worktree of {folder}. Its agents work on their own branch without touching the main folder.",
+ "changes": "Changes",
+ "nothing_uncommitted_full": "Nothing uncommitted.",
+ "commit_message": "Commit message",
+ "commit_placeholder": "Commit message, e.g. feat: add login form",
+ "no_changes": "No changes to commit",
+ "commit_all": "Commit all",
+ "share": "Share",
+ "no_remote": "This repository has no remote",
+ "push": "Push",
+ "publish_branch": "Publish branch",
+ "fetch": "Fetch",
+ "install_gh": "Install the GitHub CLI (gh) to open pull requests",
+ "switch_feature_branch": "Switch to a feature branch first",
+ "pull_request": "Pull request",
+ "drafts": "Open pull requests as drafts",
+ "commit_first": "Commit the changes first",
+ "merge_into": "Merge {branch} into {target}",
+ "worktrees": "Worktrees",
+ "pruning": "Pruning…",
+ "prune_missing": "Prune missing",
+ "no_worktrees": "No worktrees yet. A worktree gives agents their own folder and branch, so several can change code at once.",
+ "detached_head": "detached {head}",
+ "this_workspace": "this workspace",
+ "folder_missing": "folder missing",
+ "locked": "locked",
+ "remove_named": "Remove {folder}",
+ "confirm_removal": "Confirm removal",
+ "remove_note": "The folder is deleted. Committed work stays on its branch.",
+ "also_delete_branch": "Also delete branch {branch} if it is merged",
+ "removing": "Removing…",
+ "remove_anyway": "Remove anyway",
+ "remove_worktree": "Remove worktree"
+ },
+ "ide_hotkeys": {
+ "menu": {
+ "aria": "IDE shortcuts",
+ "all_keys": "All keys",
+ "cancel": "cancel",
+ "exit": "exit"
+ },
+ "badge": {
+ "rename": "RENAME",
+ "workspace": "WORKSPACE",
+ "keys": "KEYS",
+ "prefix": "PREFIX"
+ },
+ "bar": {
+ "right": "right",
+ "left": "left",
+ "above": "above",
+ "below": "below",
+ "even_grid": "even grid",
+ "back": "back",
+ "new": "new",
+ "worktree": "worktree",
+ "rename": "rename",
+ "close": "close",
+ "git": "git",
+ "options": "options",
+ "connect_folder": "connect folder",
+ "switch": "switch",
+ "any_key": "any key",
+ "split": "split",
+ "move": "move",
+ "zoom": "zoom",
+ "workspaces": "workspaces",
+ "all_keys": "all keys",
+ "send_leader": "send {keys}"
+ },
+ "help": {
+ "open_agent": "Open {agent}",
+ "to_right": "To the right",
+ "to_left": "To the left",
+ "above": "Above",
+ "below": "Below",
+ "even_grid": "Even grid",
+ "group_workspace": "Workspace",
+ "new_workspace": "New workspace",
+ "new_worktree_workspace": "New worktree workspace",
+ "rename_workspace": "Rename workspace",
+ "close_workspace": "Close workspace",
+ "git_panel": "Git panel",
+ "workspace_options": "Workspace options",
+ "connect_folder": "Connect a project folder",
+ "prev_next_workspace": "Previous / next workspace",
+ "go_to_workspace_n": "Go to workspace 1–9",
+ "group_new_pane": "New pane",
+ "agent_then_arrow": "{agent}, then an arrow",
+ "split_right_same": "Split right, same agent",
+ "split_below_same": "Split below, same agent",
+ "choose_agent": "Choose agent…",
+ "group_panes": "Panes",
+ "focus_neighbor": "Focus neighbor",
+ "swap_neighbor": "Swap with neighbor",
+ "maximize_restore": "Maximize / restore",
+ "rename_pane": "Rename pane",
+ "fork_pane": "Fork pane",
+ "close_pane": "Close pane",
+ "even_layout": "Even out layout",
+ "group_workspaces": "Workspaces",
+ "workspace_menu": "Workspace menu…",
+ "go_to_workspace": "Go to workspace",
+ "next_prev_workspace": "Next / previous workspace",
+ "send_leader": "Send {keys} to the pane"
+ }
+ },
+ "workspace_terminal": {
+ "connection_failed": "Connection to the terminal failed.",
+ "process_exited": "process exited: {code}",
+ "terminal_error": "terminal error",
+ "auth_failed": "Terminal authorization failed — reopen to retry.",
+ "connection_closed": "Terminal connection closed (code {code}).",
+ "status_live": "live",
+ "status_error": "error",
+ "status_exited": "exited",
+ "status_connecting": "connecting…"
+ },
+ "shell_sections": {
+ "telephony_setup": "Telephony setup",
+ "agent_instructions": "Assistant",
+ "voice_shortcuts": "Voice Shortcuts",
+ "voice_language": "Dictation Language",
+ "voice_api_keys": "Voice Input Keys",
+ "visualization": "Visualization"
+ },
+ "shell_errors": {
+ "open_terminal_path_failed": "Could not open that terminal path.",
+ "git_after_restart": "Git options load after the next app restart.",
+ "git_request_failed": "Git request failed ({status})",
+ "no_clipboard": "no clipboard is available here",
+ "open_path_failed": "Could not open that file or folder on this computer.",
+ "workspace_closed_adding": "The workspace closed while adding a terminal.",
+ "workspace_closed_sizes": "The workspace closed while saving pane sizes.",
+ "workspace_closed_moving": "The workspace closed while moving a terminal.",
+ "view_newer_than_backend": "This view is newer than the backend — restart the app and try again.",
+ "workspace_closed_renaming": "The workspace closed while renaming a terminal.",
+ "workspace_closed_forking": "The workspace closed while forking a terminal.",
+ "workspace_not_open": "The workspace is no longer open.",
+ "request_failed_status": "request failed: {status}"
+ },
+ "shell_labels": {
+ "mission": "Mission"
+ },
+ "plugins_category": {
+ "home_devices": "Home & Devices",
+ "lists_tasks": "Lists & Tasks",
+ "calendar_mail": "Calendar & Mail",
+ "messaging": "Messaging",
+ "knowledge_reading": "Knowledge & Reading",
+ "media_creativity": "Media & Creativity",
+ "files_photos": "Files & Photos",
+ "developer": "Developer",
+ "custom": "Custom"
+ },
+ "plugins_community": {
+ "portable_note_agents": "Portable skill · also runs in {agents}",
+ "portable_note_other": "Portable skill · also runs in other agents",
+ "auth_pat": "Personal access token",
+ "auth_device": "Device sign-in",
+ "auth_oauth": "OAuth sign-in",
+ "auth_allowlist": "Account allowlist",
+ "install_failed": "Install failed ({status})",
+ "title": "Community marketplace",
+ "intro": "Plugins and skills published by anyone. Nothing here is reviewed by the {product} team — read what a card would connect to before installing it.",
+ "marketplace_section_hint": "The whole marketplace — plugins and skills — in its own section",
+ "marketplace_section": "Marketplace section",
+ "publish_hint": "Publish your own plugin or skill on the marketplace website",
+ "publish": "Publish your own",
+ "refresh": "Re-fetch the community index",
+ "search_placeholder": "Search community plugins and skills…",
+ "plugins": "Plugins",
+ "skills": "Skills",
+ "loading": "Loading community index…",
+ "error": "The community index could not be loaded. Check the connection and try Refresh.",
+ "disabled": "The community marketplace is switched off in the configuration (marketplace.community_index_url is empty).",
+ "unavailable": "The community index is unreachable and no saved copy exists yet. Connect to the internet once to load it.",
+ "stale": "Showing a saved copy — the index could not be refreshed just now.",
+ "files_loading": "Reading the published files…",
+ "files_error": "The published files could not be read just now. The install below is unaffected — but you would be installing something you have not seen.",
+ "whats_inside": "What's inside",
+ "files_one": "1 file",
+ "files_other": "{count} files",
+ "file_truncated": "Shown up to 256 kB — the published file is longer. Open the source to read the rest.",
+ "files_exact": "Exactly as published. These are the bytes {product} downloads when you install it — nothing is added or rewritten in between.",
+ "not_installable": "Not installable: {error}",
+ "read_contents": "Read what {entry} contains",
+ "badge_unreviewed": "Community · not reviewed",
+ "installed": "Installed",
+ "installed_lower": "installed",
+ "by": "by {publisher}",
+ "unknown_publisher": "unknown publisher",
+ "view_source": "View the published source",
+ "view_source_of": "View source of {entry}",
+ "remove_hint": "Remove this plugin and its stored access",
+ "name_taken_hint": "A built-in plugin already uses this name",
+ "name_taken": "Name taken",
+ "install": "Install",
+ "read_skill": "Read what {entry} tells the assistant",
+ "portable": "Portable",
+ "manual_hint": "No direct download — open the source and follow its steps",
+ "manual": "Manual",
+ "install_named": "Install {entry}?",
+ "skill_unreviewed": "Community skill · not reviewed",
+ "plugin_unreviewed": "Community plugin · not reviewed",
+ "published_by": "Published by",
+ "unknown_author": "an unknown author",
+ "version": "version {version}",
+ "portable_follow": "{note}. {product} follows its instructions and ignores the settings meant for other agents.",
+ "skill_download_from": "The instructions are downloaded from:",
+ "terminal_comment": "# The same install, from a terminal.",
+ "skill_explainer": "A skill is a set of instructions the assistant follows — the text above is exactly what it would be told to do.",
+ "sends_to": "After you connect it, requests and your {entry} access token go to:",
+ "runs_command": "After you connect it, this command runs on your computer:",
+ "metadata_only": "This entry is metadata only — it adds no server and runs no command.",
+ "signin_method": "Sign-in method:",
+ "signin_not_yet": "— installing does not connect anything yet."
+ },
+ "ide_threads": {
+ "layout_aria": "IDE layout",
+ "layout_grid": "Terminal grid",
+ "layout_threads": "Threads",
+ "layout_verse": "Dodaios Verse",
+ "terminal_needs_folder": "Terminal needs a project folder",
+ "hide_terminal": "Hide terminal",
+ "show_terminal": "Show terminal",
+ "terminal": "Terminal",
+ "resize_terminal": "Resize the terminal",
+ "terminals": "Terminals",
+ "terminal_n": "Terminal {number}",
+ "close_named": "Close {target}",
+ "close_terminal": "Close terminal",
+ "new_terminal": "New terminal",
+ "where_agent_works": "Where the agent works",
+ "not_a_repo": "Not a git repository",
+ "worktree_base_title": "The branch the new worktree starts from",
+ "agent_on_branch": "The agent is working on this branch",
+ "switch_branch": "Switch branch",
+ "from_branch": "from {branch}",
+ "uncommitted_changes": "Uncommitted changes",
+ "own_branch": "own branch",
+ "branches": "Branches",
+ "start_worktree_from": "Start the worktree from",
+ "switch_to": "Switch to",
+ "in_a_worktree": "in a worktree",
+ "no_local_branches": "No local branches yet.",
+ "hint_new_thread": "new thread",
+ "hint_connect_first": "connect first",
+ "agent_model_aria": "Coding agent and model",
+ "choose_agent": "Choose an agent",
+ "loading_agents": "Loading agents…",
+ "search_agents_models": "Search agents and models",
+ "access_aria": "What the agent may do without asking",
+ "sub_status_running": "Working",
+ "sub_status_done": "Done",
+ "sub_status_failed": "Failed",
+ "sub_status_stopped": "Stopped",
+ "tools_one": "{count} tool",
+ "tools_other": "{count} tools",
+ "tokens": "{count} tokens",
+ "waiting_approval": "Waiting for your approval",
+ "using_tool": "Using {tool}",
+ "stopped_before_answer": "Stopped before it answered",
+ "finished": "Finished",
+ "open_subagent": "Open sub-agent {title}, {status}",
+ "subagents_one": "{count} sub-agent",
+ "subagents_other": "{count} sub-agents",
+ "count_working": "{count} working",
+ "count_waiting": "{count} waiting",
+ "count_failed": "{count} failed",
+ "subagents_aria": "Sub-agents",
+ "main_thread": "Main thread",
+ "in_background": "In the background",
+ "task": "Task",
+ "task_from": "Task from {parent}",
+ "the_main_agent": "the main agent",
+ "show_less": "Show less",
+ "show_whole_task": "Show the whole task",
+ "unstreamed_running": "This agent's CLI does not stream a sub-agent's steps. Its answer shows here when it finishes.",
+ "unstreamed_done": "This agent's CLI reported only the task and the answer, not the sub-agent's steps.",
+ "new_thread": "New thread",
+ "age_now": "now",
+ "age_minutes": "{count}m",
+ "age_hours": "{count}h",
+ "age_days": "{count}d",
+ "age_weeks": "{count}w",
+ "connect_folder_first": "Connect a project folder first.",
+ "connect_a_project": "Connect a project",
+ "empty_body": "Threads run a coding agent in a project folder. Connect one to start.",
+ "connect_folder": "Connect folder",
+ "build_in": "What should we build in {project}?",
+ "projects": "Projects",
+ "connect_another": "Connect another folder",
+ "new_activity": "New activity",
+ "new_thread_in": "New thread in {project}",
+ "save_name": "Save name",
+ "cancel_renaming": "Cancel renaming",
+ "thread_actions_for": "Thread actions for {target}",
+ "thread_actions": "Thread actions",
+ "show_more": "Show {count} more",
+ "start_thread": "Start a thread",
+ "archived_count": "Archived ({count})",
+ "restore_named": "Restore {target}",
+ "restore": "Restore",
+ "delete_confirm": "Delete this thread?",
+ "delete_body": "Its conversation leaves the list. The coding agent's own history stays on disk.",
+ "rename": "Rename",
+ "new_thread_here": "New thread in this project",
+ "archive": "Archive",
+ "plan_ready": "Plan ready",
+ "approval_needed": "Approval needed",
+ "one_of": "1 of {count}",
+ "plan_hint": "Build it, or keep planning and say what to change.",
+ "keep_planning": "Keep planning",
+ "decline": "Decline",
+ "always_allow_title": "Approve, and stop asking for this in this thread",
+ "always_allow": "Always allow",
+ "build_it": "Build it",
+ "approve": "Approve",
+ "build_switches": "Build it switches access to {mode} and starts building.",
+ "build_starts": "Build it starts building.",
+ "or_keep_planning": "Or keep planning and type what to change.",
+ "asks": "{asker} asks",
+ "the_agent": "The agent",
+ "n_of": "{index} of {count}",
+ "own_answer": "Or type your own answer",
+ "skip": "Skip",
+ "choose_connected_agent": "Choose a connected coding agent first.",
+ "queue_paused": "Queue paused after the agent stopped.",
+ "send_next": "Send next",
+ "queued": "Queued",
+ "files_one": "{count} file",
+ "files_other": "{count} files",
+ "remove_queued": "Remove queued message",
+ "message_agent": "Message the coding agent",
+ "queue_placeholder": "Queue a follow-up for when the agent is done",
+ "composer_placeholder": "Ask for changes, send follow-ups, or attach images",
+ "stop_agent": "Stop the agent",
+ "stop": "Stop",
+ "queue_message": "Queue message",
+ "send_message": "Send message",
+ "queue_title": "Queue for when the agent is done",
+ "copy_message": "Copy message",
+ "scroll_newest": "Scroll to the newest message"
+ },
+ "ide_view": {
+ "split_right": "Right",
+ "split_down": "Down",
+ "split_left": "Left",
+ "split_up": "Up",
+ "split_right_aria": "Split right",
+ "split_down_aria": "Split down",
+ "split_left_aria": "Split left",
+ "split_up_aria": "Split up",
+ "split_right_hint": "Open the new agent to the right of the pane",
+ "split_down_hint": "Open the new agent below the pane",
+ "split_left_hint": "Open the new agent to the left of the pane",
+ "split_up_hint": "Open the new agent above the pane",
+ "choose_folder": "Choose a folder for this project.",
+ "choose_agent_every": "Choose an installed coding agent for every session.",
+ "connect_agent_clis": "Connect a coding agent in CLIs to continue.",
+ "no_project": "This workspace belongs to no connected project.",
+ "no_workspace_n": "There is no workspace {number}.",
+ "workspace_fallback": "workspace",
+ "loading_projects": "Loading projects…",
+ "choose_workspace": "Choose a workspace",
+ "select_workspace_hint": "Select a workspace from Projects, or create one with + beside its project.",
+ "connect_folder_hint": "Connect a folder to bring its coding agents and your assistant into one workspace.",
+ "add_agent": "Add coding agent",
+ "agents_one": "{count} agent",
+ "agents_other": "{count} agents",
+ "sessions_one": "{count} session",
+ "sessions_other": "{count} sessions",
+ "where_open": "Where should it open?",
+ "next_to": "Next to",
+ "split_next_to": "Split next to",
+ "auto_grid": "Automatic even grid",
+ "split_direction": "Split direction",
+ "joins_grid": "The new agent joins the grid and every pane gets an equal share.",
+ "copying_starting": "Copying the folder and starting the agent there. Large folders take a minute.",
+ "name_optional": "Name (optional)",
+ "workspace_placeholder": "Workspace",
+ "copying_folder": "Copying the folder…",
+ "starting": "Starting…",
+ "workspace_name": "Workspace name"
+ },
+ "install_standard": {
+ "method": "Install method",
+ "copy_command": "Copy the install command",
+ "copy_named": "Copy the {method} install command",
+ "copied": "Copied",
+ "copy": "Copy",
+ "heading": "Install",
+ "tab_cli": "CLI",
+ "tab_runner": "uvx",
+ "tab_prompt": "Prompt",
+ "hint_cli": "Runs in any terminal while the app is running.",
+ "hint_runner": "No install needed — uv fetches the CLI and runs the same command.",
+ "hint_prompt": "Paste this to your assistant — it runs the install for you.",
+ "note_jarvis": "Runs in any terminal while {product} is running.",
+ "note_skills_sh": "Installs the same skill into Claude Code, Cursor, Codex, and other agents."
+ },
+ "plugins_package": {
+ "plugin_json_invalid": "plugin.json is not valid JSON — fix it before publishing.",
+ "no_mcp_json": "No mcp.json found — fine when the auth block points at a hosted MCP server or the package is skills-only.",
+ "missing_type_one": "mcp.json server {servers} missing \"type\" — the store requires \"type\": \"streamable-http\" | \"stdio\" | \"sse\" on every server.",
+ "missing_type_other": "mcp.json servers {servers} missing \"type\" — the store requires \"type\": \"streamable-http\" | \"stdio\" | \"sse\" on every server.",
+ "too_many_skills": "More than 10 bundled skills — the store accepts at most 10.",
+ "nothing_found": "No plugin.json and no SKILL.md found — a package folder needs one of the two at its top level. A single file works too when it is named SKILL.md or starts with YAML frontmatter (---).",
+ "no_frontmatter": "SKILL.md does not start with YAML frontmatter (---) — the store requires it."
+ },
+ "debug_view": {
+ "title": "Debug",
+ "subtitle": "Live event bus and diagnostics",
+ "event_count": "{count} events",
+ "event_timeline": "Event timeline",
+ "emit": "Emit",
+ "clear": "Clear",
+ "switch_brain_provider": "Switch brain provider",
+ "flight_recorder": "Flight recorder",
+ "traces_from": "JSONL traces from",
+ "replay_coming": "replay player coming later.",
+ "metrics": "Metrics",
+ "metrics_coming": "Latency / tokens / cost per provider — live charts from phase 2."
+ },
+ "install_terminal": {
+ "pane_title": "install {package}",
+ "starting": "Starting the installer for {package}…"
+ },
+ "install_agents": {
+ "decrease": "decrease",
+ "increase": "increase",
+ "recheck": "re-check"
}
}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index ae0a76e247..826142797f 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -478,7 +478,8 @@
"hidden": "Oculto",
"visible": "Visible",
"links": "Enlaces",
- "back": "Atrás"
+ "back": "Atrás",
+ "website_other": "Sitio web / Otro"
},
"contacts": {
"subtitle": "Tu agenda personal — nombres, datos de contacto y una nota breve por persona.",
@@ -552,7 +553,8 @@
"partner": "Pareja",
"acquaintance": "Conocido",
"other": "Otro"
- }
+ },
+ "remove": "Quitar"
},
"dictionary": {
"title": "Diccionario",
@@ -740,7 +742,8 @@
"testing": "Probando…",
"test_hint": "Pasa una muestra fija por tu configuración. No se guarda nada.",
"sample_before": "Antes",
- "sample_after": "Después"
+ "sample_after": "Después",
+ "ollama_local": "Ollama (local)"
},
"prompt_mode": {
"title": "Modo prompt",
@@ -763,6 +766,15 @@
"api_keys": {
"title": "Entrada de voz",
"description": "Claves y proveedores que convierten tu voz en texto."
+ },
+ "call_not_ended": "La llamada de voz aún no ha terminado. Vuelve a intentarlo.",
+ "not_running_here": "La voz no se está ejecutando en este ordenador.",
+ "request_failed": "La solicitud de voz falló ({status}).",
+ "startup_audio_lost": "No se pudo conservar el audio del inicio de voz. Vuelve a empezar.",
+ "reconnect_failed": "Falló la reconexión de voz.",
+ "backend_error": {
+ "voice_connection_lost": "Se perdió la conexión de voz. Las acciones pendientes no se han repetido.",
+ "subscription_request_failed": "El acceso con la suscripción de ChatGPT no pudo completar esta solicitud. No se usó ninguna clave de API."
}
},
"voice_state": {
@@ -842,7 +854,11 @@
"realtime_webrtc_degraded": "No se pudo establecer el transporte WebRTC; el audio continúa por la conexión de audio.",
"realtime_transport_capability_missing": "Esta ventana no recibió el permiso de escritorio necesario para abrir el transporte de suscripción. Reinicia la aplicación.",
"realtime_transport_offer_unsupported": "Esta ventana no puede crear la conexión WebRTC que necesita el transporte de suscripción. Usa un proveedor Realtime con API.",
- "realtime_transport_socket_unreachable": "No se pudo acceder al canal del transporte de suscripción. Reinicia la aplicación e inténtalo de nuevo."
+ "realtime_transport_socket_unreachable": "No se pudo acceder al canal del transporte de suscripción. Reinicia la aplicación e inténtalo de nuevo.",
+ "resize_hint": "Arrastra para cambiar el tamaño de la barra lateral; doble clic para restablecerlo",
+ "ide_navigation": "Navegación del IDE",
+ "workspace_options": "Opciones del espacio de trabajo",
+ "open_conversation_failed": "No se pudo abrir la conversación"
},
"provider_billing": {
"api": "API, facturación por uso",
@@ -1038,7 +1054,8 @@
"tokens_out": "Tokens de salida",
"tool_running": "Sigue en marcha…",
"interrupt_hint": "esc para interrumpir",
- "status_words": "Pensando…, Trabajando…, Excavando…, Razonando…, Cavilando…, Ordenando…, Descifrando…, Ideando…, Montando…, Desenredando…, Cocinando…, Fluyendo…"
+ "status_words": "Pensando…, Trabajando…, Excavando…, Razonando…, Cavilando…, Ordenando…, Descifrando…, Ideando…, Montando…, Desenredando…, Cocinando…, Fluyendo…",
+ "drop_nothing_usable": "Lo que soltaste no contiene nada que este chat pueda usar."
},
"chats_view": {
"title": "Chat",
@@ -1321,7 +1338,14 @@
"renamed": "Renombrado",
"delivered": "Entregado",
"binary": "binario"
- }
+ },
+ "tool_screenshot": "Captura de pantalla",
+ "tool_web_search": "Búsqueda web",
+ "tool_open_app": "Abrir app",
+ "tool_type_text": "Escribir texto",
+ "tool_remember": "Recordar",
+ "tool_admin_op": "Operación de admin",
+ "tool_multi_spawn": "Lanzamiento múltiple"
},
"tasks_view": {
"title": "Automatizaciones",
@@ -1472,7 +1496,165 @@
"oauth_client_own": "Tu propio cliente de {family}",
"oauth_client_placeholder": "Cliente de {family} provisional — añade el tuyo al conectar",
"fact_publisher": "Editor",
- "fact_source": "Origen"
+ "fact_source": "Origen",
+ "reauth_provider_rejected": "El proveedor ya no acepta esta autorización",
+ "reauth_client_rejected": "El proveedor ya no acepta el cliente OAuth de esta app",
+ "reauth_client_missing": "Conectado antes de que Dodaios guardara el cliente OAuth",
+ "reauth_rotation_lost": "No se pudo guardar un token renovado, así que se retiró",
+ "reauth_refresh_missing": "El token de acceso caducó y no se puede renovar automáticamente",
+ "reauth_unknown": "La autorización dejó de funcionar",
+ "reauth_retrying": "{headline}. Dodaios lo reintenta una vez al día; reconecta para arreglarlo ahora.",
+ "reauth_no_retry": "{headline}. Esto no se puede reintentar automáticamente: reconecta para arreglarlo.",
+ "ago_today": "hoy",
+ "ago_yesterday": "ayer",
+ "ago_days": "hace {count} días",
+ "longevity_permanent": "Se mantiene conectado",
+ "longevity_self_renewing": "Se renueva solo",
+ "longevity_provider_limited": "Hay que volver a iniciar sesión periódicamente",
+ "auth_browser_login": "Inicio de sesión en el navegador",
+ "auth_local": "Dispositivo local",
+ "auth_device_flow": "Código de dispositivo",
+ "auth_access_token": "Token de acceso",
+ "auth_one_click": "Un clic",
+ "auth_allowlist": "Lista de permitidos",
+ "auth_no_signin": "Sin inicio de sesión",
+ "client_id_hint_spotify": "ID de 32 caracteres de los ajustes de la app",
+ "client_id_hint_github": "Iv1.… de los ajustes de la OAuth App",
+ "client_id_hint_gitlab": "ID de aplicación de 64 caracteres",
+ "client_id_hint_figma": "ID de cliente de los ajustes de la app",
+ "client_id_hint_hubspot": "UUID de los ajustes de Auth de la app",
+ "secret_not_needed_public": "no hace falta para una app pública/nativa",
+ "secret_not_needed_native": "no hace falta para una Native App",
+ "secret_not_needed_empty": "no hace falta: déjalo vacío",
+ "secret_usually_not_needed": "normalmente no hace falta",
+ "err_session_failed": "No se pudo crear la sesión de inicio de sesión. Inténtalo de nuevo.",
+ "err_signin_page_unavailable": "La página de inicio de sesión no está disponible. Inténtalo de nuevo.",
+ "err_denied": "Se rechazó el inicio de sesión. Puedes volver a intentarlo cuando quieras.",
+ "err_timeout": "El inicio de sesión caducó. Inténtalo de nuevo.",
+ "err_provider_unreachable": "No se pudo contactar con el proveedor. Inténtalo más tarde.",
+ "err_port_in_use": "La devolución de llamada del inicio de sesión está ocupada. Cierra el otro intento y vuelve a probar.",
+ "err_misconfigured": "El inicio de sesión en el navegador está pendiente de configuración por parte del editor. No necesitas configurar nada.",
+ "fallback_notice": "El inicio de sesión en el navegador necesita el cliente del editor, que aún no está listo; mientras tanto puedes conectar con un token.",
+ "err_pending_publisher": "Esta conexión está pendiente de configuración por parte del editor. Vuelve a intentarlo cuando el inicio de sesión en el navegador esté disponible.",
+ "connection_unavailable": "Conexión no disponible",
+ "unsupported_device": "No compatible con este dispositivo",
+ "installed_count": "{count} instalados",
+ "attention_one": "Hay que reconectar {plugin}",
+ "attention_many": "Hay que reconectar {count} conexiones",
+ "attention_one_detail": "{reason}: reconecta para que siga funcionando.",
+ "attention_many_detail": "Reconecta para que sigan funcionando: {plugins}",
+ "jump_to_it": "Ir allí",
+ "jump_to_first": "Ir al primero",
+ "disconnect_plugin": "Desconectar plugin",
+ "reconnect_plugin": "Reconectar plugin",
+ "connect_plugin": "Conectar plugin",
+ "authorization_link": "Enlace de autorización",
+ "copy_link": "Copiar enlace",
+ "copied": "Copiado",
+ "copy": "Copiar",
+ "copied_bang": "¡Copiado!",
+ "unknown_error": "Error desconocido",
+ "connecting_plugin": "Conectando {plugin}",
+ "browser_login": "Inicio de sesión en el navegador",
+ "authorize_in_browser": "Autoriza {product} en tu navegador",
+ "continue_in_browser": "Continúa en la pestaña del navegador de {plugin}: inicia sesión si te lo pide, haz clic en «Autorizar» y vuelve aquí. ¿No ves la pestaña? Ábrela de nuevo o copia el enlace de abajo. El plugin sigue «No conectado» hasta que termines allí.",
+ "waiting_callback": "Esperando a que {plugin} devuelva la llamada en",
+ "redirect_hint": "Si el proveedor muestra un error en lugar de pedir aprobación, permite exactamente esta dirección en los ajustes de redirección de tu app del proveedor y vuelve a abrir el inicio de sesión.",
+ "open_plugin_again": "Abrir {plugin} de nuevo",
+ "copy_link_hint_paste": "O copia este enlace y pégalo en la barra de direcciones de tu navegador.",
+ "plugin_connected": "{plugin} conectado",
+ "connect_named": "Conectar {plugin}",
+ "device_flow": "Código de dispositivo",
+ "device_step1": "Paso 1: copia este código",
+ "device_step2": "Paso 2: pégalo en {plugin}",
+ "open_plugin": "Abrir {plugin}",
+ "copy_link_hint_code": "O copia este enlace, ábrelo en tu navegador e introduce el código de arriba.",
+ "waiting_authorization": "Esperando la autorización…",
+ "err_save_settings": "No se pudieron guardar los ajustes de conexión. Inténtalo de nuevo.",
+ "pkce_browser_unavailable": "El inicio de sesión en el navegador aún no está disponible.",
+ "pkce_signin_with": "Iniciarás sesión con tu cuenta de {family} en el navegador.",
+ "provider_fallback": "proveedor",
+ "pkce_pending_intro": "El inicio de sesión en el navegador está pendiente de configuración por parte del editor. Conecta hoy mismo con tu propia app gratuita de {family}: unos minutos, sin código. «Continuar» abre el inicio de sesión real de {plugin} en tu navegador cuando hayas rellenado el cliente de abajo.",
+ "pkce_step1": "Paso 1: abre la consola de apps de {family}",
+ "pkce_your_client": "Tu cliente OAuth",
+ "pkce_own_client_advanced": "Usar tu propio cliente OAuth (avanzado)",
+ "pkce_step2": "Paso 2: pega el cliente de la app que acabas de crear.",
+ "pkce_step2_google": "Paso 2: pega el cliente de la app que acabas de crear. Un solo cliente sirve para Gmail, Drive, Calendar y YouTube Music.",
+ "pkce_override": "Ajuste opcional para expertos. Pega un cliente de tu propia {console} de {family}.",
+ "pkce_console": "consola",
+ "pkce_google_one_client": "Un solo cliente sirve para Gmail, Drive, Calendar y YouTube Music.",
+ "pkce_redirect_step3": "Paso 3: al crear la app, registra esto como su {term}, carácter por carácter:",
+ "pkce_redirect": "Al crear la app, registra esto como su {term}, carácter por carácter:",
+ "pkce_redirect_term": "URI de redirección",
+ "pkce_redirect_numeric": "Debe ser la dirección numérica, no {localhost}, y sin barra final.",
+ "client_id": "ID de cliente",
+ "client_id_from": "ID de cliente de {family}",
+ "client_secret": "Secreto de cliente",
+ "secret_optional_some": "opcional en algunos proveedores",
+ "expert_token_alt": "Alternativa con token para expertos",
+ "expert_token_alt_body": "El inicio de sesión compartido en el navegador aún no está listo. Mientras tanto puedes conectar con un token del proveedor: el flujo del navegador sigue siendo el predeterminado y toma el relevo automáticamente cuando esté listo.",
+ "paste_token_instead": "Pegar un token en su lugar",
+ "continue": "Continuar",
+ "remove_named": "¿Quitar {plugin}?",
+ "disconnect_body": "Esto desconecta {plugin} y borra sus credenciales guardadas. {assistant} pierde el acceso hasta que lo vuelvas a conectar.",
+ "removing": "Quitando…",
+ "remove": "Quitar",
+ "plugin_added": "{plugin} añadido",
+ "plugin_removed": "{plugin} quitado",
+ "instance_intro": "Introduce la dirección de tu instancia, inicia sesión y aprueba el acceso en tu navegador.",
+ "instance_address": "Dirección de la instancia",
+ "opening_browser": "Abriendo el navegador…",
+ "continue_in_browser_btn": "Continuar en el navegador",
+ "err_discord_id": "No se pudo leer tu ID de Discord.",
+ "err_discord_no_id": "Discord no devolvió ningún ID de usuario.",
+ "err_discord_invite": "No se pudo crear el enlace de invitación.",
+ "err_discord_no_invite": "Discord no devolvió ningún enlace de invitación.",
+ "access_token": "Token de acceso",
+ "pat_generate": "Genera un token en {plugin}",
+ "pat_open_tokens": "Abrir los tokens de {plugin}",
+ "copy_link_hint_open": "O copia este enlace y ábrelo tú mismo en el navegador.",
+ "pat_get_key": "Consigue la clave de {plugin}",
+ "pat_paste_below": "Pega el token abajo",
+ "or_separator": " o ",
+ "token": "Token",
+ "pat_should_start": "Debería empezar por {prefix}",
+ "owner_lock_title": "Vincular el bot a ti (recomendado)",
+ "owner_lock_aria": "Tu ID de usuario numérico",
+ "owner_lock_hint": "Solo este ID de usuario puede dar órdenes al bot. Déjalo vacío para que la primera persona que le escriba obtenga el acceso.",
+ "looking_up": "Buscando…",
+ "discord_fill_id": "Rellenar mi ID de Discord",
+ "opening": "Abriendo…",
+ "discord_add_bot": "Añadir el bot a mi servidor",
+ "owner_lock_digits": "El ID de usuario solo puede contener dígitos.",
+ "validating": "Validando…",
+ "longevity_note": {
+ "github": "El inicio de sesión en el navegador se renueva automáticamente. Los tokens pegados caducan según lo configurado al crearlos.",
+ "discord": "Los tokens OAuth se renuevan automáticamente. Un token de bot pegado sigue siendo válido hasta que lo restablezcas en el portal para desarrolladores de Discord.",
+ "telegram": "Un token de bot sigue siendo válido hasta que lo revoques en BotFather.",
+ "clickup": "ClickUp afirma que su token de acceso no caduca, así que esta conexión no necesita renovarse. Es una política y no una garantía, así que Jarvis te pedirá volver a conectar si alguna vez se rechaza.",
+ "airtable": "Airtable cierra una conexión tras 60 días sin uso. Jarvis la renueva en segundo plano cada 12 horas, así que sigue abierta mientras este equipo se encienda de vez en cuando.",
+ "cal_com": "Cal.com no publica la duración de sus tokens, así que no se ha confirmado cuánto tiempo sigue conectada. Jarvis la renueva en segundo plano y te pedirá volver a conectar si alguna vez falla.",
+ "home_assistant": "La aprobación en el navegador se renueva automáticamente hasta que se revoque el acceso en Home Assistant.",
+ "spotify": "Spotify limita un token de actualización a seis meses, así que la conexión pide renovarse dos veces al año. No hay forma de alargarlo.",
+ "higgsfield": "Higgsfield emite un token de actualización. No se publica cuánto dura el token de acceso; Jarvis lo renueva en segundo plano y te pedirá volver a conectar si alguna vez falla.",
+ "aws": "El acceso a AWS dura una hora y la renovación se limita a una sesión de hasta 12 horas; después vuelve a iniciar sesión.",
+ "google_cloud": "Las apps OAuth de Google en modo de prueba pueden perder el acceso de renovación a los siete días; las apps en producción siguen la política de la cuenta.",
+ "gitlab": "El inicio de sesión en el navegador se renueva automáticamente. Los tokens pegados caducan en la fecha elegida al crearlos.",
+ "linkedin": "Los tokens de acceso estándar de LinkedIn caducan; los tokens de actualización están reservados a socios aprobados. Vuelve a conectar cuando se te pida.",
+ "meta": "Los tokens de usuario de larga duración suelen caducar a los 60 días aproximadamente; vuelve a conectar antes de que caduquen.",
+ "youtube_studio": "Las apps OAuth de Google en modo de prueba pueden pedir una nueva autorización a los siete días.",
+ "figma": "El inicio de sesión en el navegador se renueva automáticamente. Los tokens pegados caducan en la fecha que elijas al crearlos.",
+ "google_drive": "Google caduca la autorización a los 7 días mientras tu propia app OAuth esté en modo de prueba. Publica la app para mantener la conexión indefinidamente.",
+ "gmail": "Google caduca la autorización a los 7 días mientras tu propia app OAuth esté en modo de prueba. Publica la app para mantener la conexión indefinidamente.",
+ "google_calendar": "Google caduca la autorización a los 7 días mientras tu propia app OAuth esté en modo de prueba. Publica la app para mantener la conexión indefinidamente.",
+ "youtube_music": "Google caduca la autorización a los 7 días mientras tu propia app OAuth esté en modo de prueba. Publica la app para mantener la conexión indefinidamente."
+ },
+ "unavailable_reason": {
+ "amd_unverifiable": "No se pudo verificar la disponibilidad de una GPU AMD a partir de la información de dispositivos de Linux. Revisa el acceso al hardware y los permisos, incluido el acceso a dispositivos del contenedor.",
+ "amd_no_gpu": "Este conector no ve ninguna GPU AMD. Hay que exponer una GPU AMD compatible a este entorno Linux antes de conectar.",
+ "amd_unsupported_os": "La telemetría de GPU AMD no está disponible en este sistema operativo. Este conector necesita un equipo Linux compatible con GPU AMD y AMD SMI.",
+ "amd_smi_missing": "AMD SMI no está disponible. Instala las herramientas SMI/ROCm compatibles de AMD en un equipo AMD compatible. Las métricas que faltan nunca se notifican como cero."
+ }
},
"skills_view": {
"count": "{n} skills",
@@ -1559,7 +1741,19 @@
"empty_list_body_a": "En el primer arranque,",
"empty_list_body_b": "copia las habilidades integradas en",
"empty_list_body_c": "Si eso no ocurre, revisa los registros del backend.",
- "search_no_hits": "Sin coincidencias. Prueba con otro término o quita un filtro."
+ "search_no_hits": "Sin coincidencias. Prueba con otro término o quita un filtro.",
+ "resource_references": "Referencias",
+ "resource_scripts": "Scripts",
+ "resource_assets": "Recursos",
+ "resource_agents": "Agentes",
+ "password_placeholder": "Contraseña",
+ "link_homepage": "Página web",
+ "link_source": "Código fuente",
+ "link_docs": "Documentación",
+ "link_not_checked": "sin comprobar",
+ "link_no_network": "sin red",
+ "select_hint": "Los skills integrados están protegidos y no se pueden seleccionar.",
+ "selected_count": "{count} seleccionados"
},
"run_inspector": {
"title": "Run Inspector",
@@ -1633,7 +1827,10 @@
"empty": "No se ejecutó ninguna herramienta en este turno.",
"command": "Comando",
"output": "Resultado",
- "error": "Error"
+ "error": "Error",
+ "exit_code": "salida {code}",
+ "ok": "ok",
+ "fail": "fallo"
},
"facts": {
"endpoint": "fin de habla",
@@ -1643,7 +1840,8 @@
"interrupted": "interrumpido",
"context": "contexto",
"turns": "turnos",
- "tokens": "tokens"
+ "tokens": "tokens",
+ "yes": "sí"
},
"env": {
"mode": "Modo",
@@ -1656,7 +1854,31 @@
"tiers": "Niveles",
"voices": "Voces",
"audio": "Audio",
- "empty": "No se registró el entorno."
+ "empty": "No se registró el entorno.",
+ "audio_rates": "{input} Hz entrada · {output} Hz salida"
+ },
+ "feature_computer_use": "Uso del ordenador",
+ "feature_skill": "Skill",
+ "outcome": {
+ "success": "Éxito",
+ "partial": "Parcial",
+ "failed": "Fallido"
+ },
+ "turn": "Turno",
+ "user": "Usuario",
+ "thinking": "pensando",
+ "speaking": "hablando",
+ "slow": "lento",
+ "errors_count": "errores",
+ "role": {
+ "spoken": "hablado",
+ "system": "sistema",
+ "tool": "herramienta",
+ "error": "error"
+ },
+ "slo": {
+ "breach": "superada",
+ "warn": "aviso"
}
},
"voice_mode": {
@@ -1808,6 +2030,16 @@
"connected": "conectado",
"disconnected": "desconectado",
"error": "error"
+ },
+ "json_syntax": "Sintaxis JSON",
+ "import_note": {
+ "appdata_missing": "La variable APPDATA no está definida.",
+ "config_not_found": "No se encontró la configuración de Claude Desktop en {path}.",
+ "invalid_json": "La configuración no es un JSON válido (línea {line}, columna {column}).",
+ "not_readable": "No se puede leer la configuración. Los detalles están en el registro de Dodaios.",
+ "no_servers": "No se encontraron mcpServers en la configuración de Claude Desktop.",
+ "imported": "Servidores nuevos importados: {added}.",
+ "imported_with_skipped": "Servidores nuevos importados: {added}; omitidos (ya existen): {skipped}."
}
},
"shortcuts_view": {
@@ -2034,7 +2266,8 @@
"jarvis_suffix": "dichas por {name}",
"talk_line": "{0} h activo · {1} chats",
"streak": "Mejor racha · {0} días"
- }
+ },
+ "tweet_text": "He dicho {words} palabras a mi {product} en {sessions} conversaciones — {hours} h de voz. Crea el tuyo:"
},
"export": {
"button": "Exportar CSV",
@@ -2361,7 +2594,8 @@
"autonomy": "Autonomía",
"impact": "Impacto"
}
- }
+ },
+ "system_not_ready": "El sistema de perfiles aún no está listo."
},
"apikeys_view": {
"title": "Claves API y Proveedores",
@@ -2650,7 +2884,19 @@
"experimental_consent": "Antes de activarlo: este proveedor todavía está en beta y usa una ruta experimental e inestable que puede cambiar sin aviso. Si falla, la llamada se detiene en lugar de cambiar por su cuenta a otro proveedor. ¿Continuar?",
"trademark_notice": "Los nombres y logotipos de proveedores y servicios son marcas de sus respectivos titulares y se muestran únicamente para identificar las integraciones que puedes conectar. No implican afiliación ni respaldo.",
"key_verified_toast": "{0} ha respondido — la clave funciona.",
- "key_check_failed_toast": "{0} no ha respondido: {1}"
+ "key_check_failed_toast": "{0} no ha respondido: {1}",
+ "delete_key_named": "Eliminar {key}",
+ "enter_key_named": "Introduce {key}",
+ "install_failed_fallback": "la instalación falló",
+ "model_download_failed_fallback": "la descarga del modelo falló",
+ "key_format_api_key": "Clave API de {provider}",
+ "key_format_vertex_sa": "Cuenta de servicio de Vertex AI",
+ "key_format_vertex_sa_note": "Esto es un archivo de cuenta de servicio de Vertex AI, no una clave de AI Studio: se factura en un proyecto de Google Cloud distinto.",
+ "key_format_aistudio": "Clave de Google AI Studio",
+ "key_format_aistudio_note": "Este formato funciona en Google AI Studio. Vertex AI lo rechaza: Vertex solo acepta una clave de modo exprés (AQ.) o un proyecto de Cloud mediante [google].vertex_project.",
+ "key_format_google_express": "Clave API de Google (AI Studio o Vertex exprés)",
+ "key_format_google_express_note": "Las claves de AI Studio y de Vertex AI exprés comparten este formato: la tarjeta en la que la guardes decide el endpoint y, en una tarjeta de Gemini, Dodaios lo detecta automáticamente.",
+ "key_format_unknown": "Formato de clave no reconocido"
},
"apikeys_test": {
"button": "Probar",
@@ -2665,7 +2911,8 @@
"status_error": "Error de integración",
"integration_ok_note": "Se contactó al proveedor — solo la clave/cuenta/modelo es el bloqueo.",
"integration_bad_note": "No se pudo contactar al proveedor.",
- "failed": "Prueba fallida"
+ "failed": "Prueba fallida",
+ "client_timeout": "Sin respuesta de la app tras 80 s: puede que el backend esté ocupado o bloqueado."
},
"apikeys_base_url": {
"label": "URL del servidor",
@@ -2892,7 +3139,9 @@
"overlay_taskbar": "Overlay y barra de tareas"
},
"languages_group_title": "Idiomas",
- "sections": { "voice": "Voz" },
+ "sections": {
+ "voice": "Voz"
+ },
"music_group_title": "Música",
"music": {
"service_section": "Servicio preferido",
@@ -3029,7 +3278,38 @@
"download_model_downloading": "Descargando el modelo de activación…",
"download_model_done": "Modelo de activación descargado — guardando de nuevo tu palabra de activación…",
"download_model_error": "No se pudo descargar el modelo de activación. Comprueba tu conexión e inténtalo de nuevo.",
- "download_model_retry": "Intentar de nuevo"
+ "download_model_retry": "Intentar de nuevo",
+ "diag_engine": "motor: {engine}",
+ "diag_language": "idioma: {language}",
+ "diag_not_in_vocab": "no está en el vocabulario",
+ "diag_mic_quiet": "micrófono silencioso",
+ "msg": {
+ "custom_onnx": "Modelo de activación ONNX personalizado: {path}",
+ "vosk_kws": "Detección de palabras clave de Vosk para cualquier palabra para «{phrase}» (modelo: {model}).",
+ "custom_onnx_missing": "No se encontró el ONNX personalizado ({path}); se usa en su lugar la comparación con la transcripción de Whisper local.",
+ "custom_onnx_other_phrase": "El modelo de activación personalizado «{model_file}» pertenece a otra frase; «{phrase}» usa la comparación con la transcripción de Whisper local.",
+ "stt_match_unreliable": "La frase personalizada «{phrase}» usa la comparación con la transcripción de Whisper local — esto es POCO FIABLE con un nombre difícil. Descarga el modelo de Vosk para {language} para que sea fiable (Ajustes -> Palabra de activación -> «Descargar modelo de activación»).",
+ "stt_match_unreliable_any_language": "La frase personalizada «{phrase}» usa la comparación con la transcripción de Whisper local — esto es POCO FIABLE con un nombre difícil. Descarga el modelo de Vosk para el idioma configurado para que sea fiable (Ajustes -> Palabra de activación -> «Descargar modelo de activación»).",
+ "needs_local_model": "La palabra de activación «{phrase}» necesita un modelo local. Instala el paquete de voz local (funciona con cualquier palabra) o indica un .onnx personalizado para activarla. Hasta entonces la palabra de activación queda desactivada — usa el atajo de Llamar para iniciar un turno de voz.",
+ "needs_local_model_no_phrase": "Tu palabra de activación necesita un modelo local. Instala el paquete de voz local (funciona con cualquier palabra) o indica un .onnx personalizado para activarla. Hasta entonces la palabra de activación queda desactivada — usa el atajo de Llamar para iniciar un turno de voz.",
+ "no_phrase": "No hay ninguna palabra de activación configurada.",
+ "not_in_vocab": "«{phrase}» no está en el vocabulario del modelo de {language}.",
+ "no_microphone": "No se ha detectado ningún micrófono.",
+ "mic_quiet": "La señal del micrófono es muy baja.",
+ "ready": "Listo: «{phrase}» con el motor «{engine}» (idioma «{language}»). Dila para activarme.",
+ "activation_not_persisted": "No se pudo guardar el ajuste en jarvis.toml. Los detalles están en el registro de Dodaios.",
+ "model_ready": "Modelo de activación listo.",
+ "model_download_failed": "No se ha podido descargar el modelo de activación ahora mismo; se volverá a intentar automáticamente. Hasta entonces la palabra de activación usa la vía alternativa."
+ },
+ "hint": {
+ "type_phrase": "Escribe primero una frase de activación.",
+ "download_or_hotkey": "Descarga el modelo local o usa el atajo de teclado.",
+ "pick_real_word": "Elige una palabra real de tu idioma o usa otra frase.",
+ "connect_mic": "Conecta o activa un micrófono.",
+ "speak_louder": "Habla más alto o sube la ganancia de entrada.",
+ "allow_mic_dialog": "Pulsa el botón de prueba y elige Permitir en el diálogo de macOS.",
+ "allow_mic_settings": "Permite el acceso al micrófono en {path} y vuelve a intentarlo."
+ }
},
"onboarding": {
"wake_word": {
@@ -3172,7 +3452,21 @@
"reserved": "Reservada por el sistema"
},
"dictate_toggle_label": "Dictado manos libres",
- "caution_overlap": "Esta combinación está contenida en otro atajo, así que pulsar el más largo activa ambos. Borra uno si no es lo que quieres."
+ "caution_overlap": "Esta combinación está contenida en otro atajo, así que pulsar el más largo activa ambos. Borra uno si no es lo que quieres.",
+ "mouse": {
+ "middle_click": "Clic central",
+ "back_combo": "Ratón atrás",
+ "forward_combo": "Ratón adelante",
+ "middle": "Central",
+ "back": "Atrás",
+ "forward": "Adelante"
+ },
+ "mouse_reason": {
+ "macos_needs_quartz": "Los atajos con botones del ratón necesitan el paquete pyobjc Quartz, que no está instalado — instala el perfil [full]. Las combinaciones de teclas siguen funcionando.",
+ "wayland": "Wayland no permite que una aplicación vigile los botones del ratón de forma global, así que aquí no puede funcionar un atajo con botón del ratón. Usa una combinación de teclas o asigna un atajo del compositor a la CLI de Dodaios.",
+ "linux_needs_pynput": "Los atajos con botones del ratón necesitan el paquete pynput, que no está instalado — instala el extra [desktop-linux]. Las combinaciones de teclas siguen funcionando.",
+ "unsupported_host": "Este sistema no puede vigilar los botones del ratón de forma global — usa una combinación de teclas."
+ }
},
"codex_title": "OpenAI Codex CLI",
"codex_description": "Ruta manual para problemas de PATH en Windows. Vacío usa 'codex' del PATH.",
@@ -3186,7 +3480,8 @@
"system": "Sistema",
"system_now_dark": "Sigue a su sistema, que actualmente está en modo oscuro.",
"system_now_light": "Sigue a su sistema, que actualmente está en modo claro."
- }
+ },
+ "invalid_setting": "Ajuste no válido"
},
"telephony_view": {
"title": "Telefonía",
@@ -3260,7 +3555,8 @@
"completed": "Completada",
"failed": "Fallida",
"no_audio": "Sin audio"
- }
+ },
+ "copy_command": "Copiar comando"
},
"telephony_setup": {
"title": "Configuración de telefonía",
@@ -3338,7 +3634,8 @@
"exit_fullscreen": "Cerrar lector",
"csv_empty": "Esta tabla está vacía.",
"csv_more_rows": "{n} filas más en el archivo.",
- "reveal_in_folder": "Mostrar en la carpeta"
+ "reveal_in_folder": "Mostrar en la carpeta",
+ "fence_table": "tabla"
},
"common": {
"see_more": "Ver más",
@@ -3363,7 +3660,11 @@
"running": "en ejecución",
"saving": "Guardando…",
"error": "Error",
- "status": "Estado"
+ "status": "Estado",
+ "repeated_times": "Repetido {count} veces",
+ "dismiss": "Descartar",
+ "apply": "Aplicar",
+ "request_failed": "La solicitud falló ({status})"
},
"docs": {
"search_placeholder": "Filtrar título/etiqueta…",
@@ -3379,7 +3680,9 @@
"could_not_load": "No se pudo cargar el documento.",
"recent": "Recientes",
"search_button": "Buscar en la documentación",
- "search_hero": "Buscar en la documentación"
+ "search_hero": "Buscar en la documentación",
+ "section_other": "Otros",
+ "breadcrumb": "Ruta de navegación"
},
"sessions": {
"select_one": "Selecciona una sesión a la izquierda.",
@@ -3389,7 +3692,12 @@
"provider_switcher": {
"loading_hint": "Cargando lista de proveedores — si sigue vacía, revisa el backend.",
"no_credential": "sin credencial",
- "active": "Activo"
+ "active": "Activo",
+ "switched_toast": "Cerebro → {provider}",
+ "active_brain": "Cerebro activo",
+ "switching": "Cambiando…",
+ "name_local_realtime": "Realtime autoalojado",
+ "name_local_voice": "Voz local"
},
"wiki_provider": {
"tier_label": "Wiki (memoria a largo plazo)",
@@ -3481,7 +3789,14 @@
"needs_key_full": "{0}: primero guarda la clave API, luego activa.",
"runs_as_subagent_hint": "Con tu inicio de sesión de ChatGPT, Codex funciona como {name}-Agent (trabajador en segundo plano). Tras conectar, actívalo en la lista de {name}-Agents de abajo. Un cerebro pensante necesita el proveedor de clave API de OpenAI por separado.",
"brain_needs_openai_key": "Codex como cerebro necesita una clave API de OpenAI — el inicio de sesión de ChatGPT solo impulsa el trabajador de Codex. Añade una clave de OpenAI (p. ej. en el proveedor OpenAI) y luego selecciona Codex aquí.",
- "brain_key_hint": "Para usar Codex también como cerebro, añade una clave API de OpenAI (de pago, independiente de tu inicio de sesión de ChatGPT — que solo impulsa el trabajador). Al guardarla se desbloquea el interruptor de arriba."
+ "brain_key_hint": "Para usar Codex también como cerebro, añade una clave API de OpenAI (de pago, independiente de tu inicio de sesión de ChatGPT — que solo impulsa el trabajador). Al guardarla se desbloquea el interruptor de arriba.",
+ "status_msg": {
+ "not_installed": "Codex CLI no está instalado (ejecuta: {command}).",
+ "not_logged_in": "Codex está instalado pero no has iniciado sesión — ejecuta «codex login».",
+ "connected_chatgpt": "Conectado mediante ChatGPT.",
+ "connected_chatgpt_email": "Conectado mediante ChatGPT ({email}).",
+ "connected_api_key": "Conectado mediante una clave de API de OpenAI."
+ }
},
"apikeys_antigravity": {
"login_started": "El inicio de sesión de Google se inició en el terminal",
@@ -3489,10 +3804,21 @@
"status_loading": "Cargando estado del inicio de sesión de Google",
"connected": "Conectado a través de tu suscripción de Google.",
"connected_as": "Conectado a través de Google ({0}).",
- "needs_login_full": "{0}: primero inicia sesión con Google, luego activa."
+ "needs_login_full": "{0}: primero inicia sesión con Google, luego activa.",
+ "connect_google": "Conectar con Google",
+ "install_antigravity": "Instalar Antigravity",
+ "status_msg": {
+ "not_installed": "No se encontró ninguna CLI de Google. Instala Antigravity con: {command} (alternativa con Gemini CLI: npm i -g @google/gemini-cli).",
+ "not_logged_in": "{cli} está instalado pero no has iniciado sesión — inicia sesión con Google.",
+ "connected_subscription": "Conectado mediante la suscripción de Google.",
+ "connected_subscription_email": "Conectado mediante la suscripción de Google ({email}).",
+ "connected_api_key": "Conectado mediante una clave de API de Google."
+ }
},
"mcps_toast": {
- "connected": "{0} conectado"
+ "connected": "{0} conectado",
+ "disconnected": "{0} desconectado",
+ "removed": "{server} eliminado"
},
"profile_toast": {
"fact_applied": "{0} dato(s) aplicado(s)"
@@ -3542,13 +3868,18 @@
"zh": {
"label": "中文 (chino)",
"description": "Chino simplificado para cada etiqueta y botón."
+ },
+ "pt": {
+ "label": "Português (Portugal)",
+ "description": "Portugués europeo para cada etiqueta y botón."
}
},
"reply_options": {
"auto": "{name} refleja el idioma que hables o escribas.",
"en": "{name} responde en inglés.",
"de": "{name} responde en alemán.",
- "es": "{name} responde en español."
+ "es": "{name} responde en español.",
+ "pt": "{name} responde en portugués."
},
"stt_options": {
"auto": "Detecta automáticamente el idioma que hablas.",
@@ -3612,7 +3943,9 @@
"last_pull": "última extracción",
"pull_every": "Extraer cada",
"time_just_now": "ahora mismo",
- "time_ago_prefix": "hace"
+ "time_ago_prefix": "hace",
+ "no_source": "sin origen",
+ "jarvis_federation": "Federación Dodaios"
},
"pair_dialog": {
"title": "Emparejar a un amigo",
@@ -3671,7 +4004,8 @@
"opened_in_editor": "Abierto en el editor",
"open_failed": "No se pudo abrir en el editor",
"back_to_sessions": "Volver a las sesiones",
- "you": "Tú"
+ "you": "Tú",
+ "format_text": "Texto"
},
"turn_card": {
"turn": "Turno",
@@ -3683,7 +4017,29 @@
"copy": "Copiar",
"download_turn": "Descargar este turno como archivo",
"thought": "Pensó:",
- "spoke": "Habló:"
+ "spoke": "Habló:",
+ "kind_reply": "Respuesta",
+ "kind_clarify": "Pregunta aclaratoria",
+ "kind_timeout": "Aviso de tiempo de espera",
+ "kind_unavailable": "Brain no disponible",
+ "kind_stt_unavailable": "No te he oído",
+ "kind_privacy": "Privacidad",
+ "kind_completion": "Resultado en segundo plano",
+ "kind_subagent": "{agent} / Salida",
+ "kind_action_done": "Acción confirmada",
+ "kind_backchannel": "Señal de escucha",
+ "kind_announcement": "Anuncio",
+ "kind_preamble": "Preámbulo",
+ "kind_progress": "Actualización de progreso",
+ "kind_withheld": "Respuesta retenida (seguridad)",
+ "kind_other": "Hablado",
+ "tools_label": "Herramientas:",
+ "voice_requested_title": "Voz solicitada (el audio nativo no es un hablante verificado): {voice}",
+ "voice_title": "Voz: {voice}",
+ "voice_requested": "solicitada",
+ "awaiting_confirmation": "Esperando confirmación",
+ "awaiting_confirmation_prefix": "(esperando confirmación)",
+ "spoken_output": "Salida hablada"
},
"wiki_search": {
"dialog_label": "Búsqueda en el wiki",
@@ -3732,7 +4088,14 @@
},
"page_header": {
"placeholder_title": "Proporcionado por el Agent D",
- "open_in_obsidian": "Abrir en Obsidian"
+ "open_in_obsidian": "Abrir en Obsidian",
+ "field_type": "tipo",
+ "field_kind": "clase",
+ "field_status": "estado",
+ "field_created": "creado",
+ "field_updated": "actualizado",
+ "field_started": "iniciado",
+ "field_last_activity": "última actividad"
},
"obsidian_button": {
"trigger_failed": "No se pudo activar el enlace de Obsidian",
@@ -3869,23 +4232,40 @@
"cancel_all_body": "misión(es) en curso se detendrán de forma forzada. Los subprocesos de los workers se terminan mediante el Job Object; los diffs ya escritos permanecen en los worktrees.",
"error_prefix": "Error",
"stopping": "Deteniendo…",
- "confirm_stop_all": "Sí, detener todas"
+ "confirm_stop_all": "Sí, detener todas",
+ "kill_all": "Detener todo ({count})"
},
"mission_tree": {
"no_prompt": "(sin prompt)",
- "empty": "Aún no hay misiones. El asistente principal enviará una en breve…"
+ "empty": "Aún no hay misiones. El asistente principal enviará una en breve…",
+ "unknown_prompt": "(desconocido)"
},
"pty_terminal": {
"stream_unreachable": "Flujo PTY inaccesible.",
"stream_disconnected": "Flujo desconectado",
"connect_failed": "Conexión PTY fallida",
- "connecting": "conectando…"
+ "connecting": "conectando…",
+ "worker_label": "worker {id}",
+ "status_offline": "sin conexión",
+ "status_live": "en directo",
+ "close_code": "(código {code})"
},
"event_timeline": {
"empty": "Aún no hay eventos para esta misión."
},
"verdict_panel": {
- "empty": "Aún no hay veredictos del crítico para esta misión."
+ "empty": "Aún no hay veredictos del crítico para esta misión.",
+ "verdict_approve": "aprobar",
+ "verdict_revise": "revisar",
+ "verdict_reject": "rechazar",
+ "iteration": "iter. #{n}",
+ "axis_correctness": "corrección",
+ "axis_completeness": "completitud",
+ "axis_side_effects": "efectos secundarios",
+ "axis_security": "seguridad",
+ "axis_pass": "superado",
+ "axis_fail": "fallido",
+ "confidence": "Confianza"
},
"jarvis_agent_panel": {
"select_mission": "Selecciona una misión para ver los {name}-Agent workers.",
@@ -3893,7 +4273,11 @@
"not_available": "(no disponible)",
"copy_path": "Copiar ruta",
"file_link_copies_path": "Enlace file:// (se copia la ruta)",
- "ended_label": "Finalizado"
+ "ended_label": "Finalizado",
+ "unknown_model": "(modelo desconocido)",
+ "cost": "Coste",
+ "state_dir": "Directorio de estado",
+ "log_file": "Archivo de registro"
},
"clis_view": {
"status_connected": "conectado",
@@ -4036,7 +4420,13 @@
"clear": "Vaciar",
"search_command": "Buscar comando…",
"success_only": "Solo correctos",
- "usage_stats": "{total} llamadas · {rate}% correctas · ⌀ {avg} ms"
+ "usage_stats": "{total} llamadas · {rate}% correctas · ⌀ {avg} ms",
+ "col_version": "Versión",
+ "fact_binary": "Binario",
+ "cmd_check": "Comprobar",
+ "cmd_login": "Iniciar sesión",
+ "cmd_logout": "Cerrar sesión",
+ "category_placeholder": "cloud / git / pagos / otros"
},
"cli_test_hub_view": {
"subtitle_tell": "Dile a",
@@ -4098,7 +4488,10 @@
"twilio": "Lista mis números de Twilio",
"vercel": "Muestra mis últimos despliegues de Vercel",
"wrangler": "Lista mis Cloudflare Workers"
- }
+ },
+ "meta_tool": "Herramienta",
+ "exit_label": "Salida",
+ "step_exit": "salida {code}"
},
"workflows_view": {
"subtitle": "Tus pipelines de agentes de IA alojados: activados por cron o con solo pulsar un botón.",
@@ -4140,7 +4533,23 @@
"now": "ahora",
"ago_suffix": "atrás",
"run_missed": "omitida",
- "run_missed_hint": "La app no estaba en marcha a la hora programada — se saltó hasta la próxima."
+ "run_missed_hint": "La app no estaba en marcha a la hora programada — se saltó hasta la próxima.",
+ "title": "Flujos de trabajo",
+ "step_tool": "Herramienta",
+ "seed_badge": "Ejemplo",
+ "step_count_one": "{count} paso",
+ "step_count_other": "{count} pasos",
+ "steps_heading": "Pasos ({count})",
+ "trigger_manual": "Manual",
+ "next_in": "Siguiente en {delta}",
+ "run_state_completed": "completado",
+ "run_state_failed": "fallido",
+ "run_state_running": "en curso",
+ "run_state_pending": "pendiente",
+ "trigger_cron": "Programado",
+ "trigger_event": "Evento",
+ "trigger_interval": "Intervalo",
+ "trigger_webhook": "Webhook"
},
"conductor_view": {
"new_job": "Nuevo trabajo",
@@ -4156,7 +4565,19 @@
"empty_jobs_hint": "Se incluyen 3 trabajos de demostración en el primer arranque.",
"empty_timeline": "Aún no hay ejecuciones: pulsa Play en un trabajo.",
"json_syntax_error": "Error de sintaxis JSON",
- "now": "ahora"
+ "now": "ahora",
+ "title": "Conductor",
+ "subtitle": "Tareas programadas + flujos de trabajo con agentes — código abierto, autoalojado, code-first.",
+ "jobs": "Trabajos",
+ "timeline": "Cronología",
+ "type_shell": "Shell",
+ "type_http": "HTTP",
+ "type_agent": "Agente",
+ "exit_code": "salida {code}",
+ "output": "Salida",
+ "metrics": "Métricas",
+ "schedule_label": "Programación:",
+ "example_description": "Hace ping a un endpoint de la API cada 5 minutos."
},
"chat_tab": {
"loading_friends": "Cargando friends …",
@@ -4180,7 +4601,8 @@
"profile_standard_subline": "+ Título de la misión",
"profile_standard_desc": "El friend también ve: qué misiones/tareas se están ejecutando, éxito, duración.",
"profile_detailed_subline": "+ Resumen de {name}-Agent",
- "profile_detailed_desc": "El friend también ve: resúmenes de {name}-Agent firmados (SIN enunciados)."
+ "profile_detailed_desc": "El friend también ve: resúmenes de {name}-Agent firmados (SIN enunciados).",
+ "default_badge": "predeterminado"
},
"tools_canvas": {
"back_tooltip": "Volver al resumen de agentes",
@@ -4189,7 +4611,9 @@
"duration": "Duración",
"empty": "(vacío)",
"no_tools_yet": "aún no ha llamado a ninguna herramienta.",
- "no_tools_explainer": "En cuanto el {name}-Agent worker activa una herramienta (p. ej. dispatch_to_harness, run_shell, screenshot), aparece aquí como un nodo de icono."
+ "no_tools_explainer": "En cuanto el {name}-Agent worker activa una herramienta (p. ej. dispatch_to_harness, run_shell, screenshot), aparece aquí como un nodo de icono.",
+ "arguments": "Argumentos",
+ "output": "Salida"
},
"use_web_socket": {
"jarvis_opened": "{name} abrió",
@@ -4197,7 +4621,20 @@
"prompt_not_submitted": "el prompt está en su campo de entrada, no se envió",
"prompt_unconfirmed": "el prompt se escribió, pero el panel no mostró que llegara: revisa ese panel",
"dictation_nowhere": "Ningún campo de texto tenía el foco, así que el dictado no se insertó. Está en el historial de dictados.",
- "realtime_provider_issue": "El proveedor Realtime informó de un problema."
+ "realtime_provider_issue": "El proveedor Realtime informó de un problema.",
+ "achievement_toast": "Logro: {title}",
+ "achievement_title": {
+ "first_mcp": "Primera conexión MCP",
+ "openclaw_summoner": "Invocador de agentes",
+ "tool_dabbler": "Aficionado a las herramientas",
+ "tool_journeyman": "Oficial de herramientas",
+ "tool_master": "Maestro de herramientas",
+ "triple_combo": "Combo triple",
+ "ten_x_engineer": "Ingeniero 10x",
+ "centennial": "Centenario",
+ "kilo_club": "Club del millar",
+ "one_year_with_jarvis": "Un año con Dodaios"
+ }
},
"chat_thread": {
"message_to": "Mensaje a",
@@ -4220,13 +4657,19 @@
"label_pubkey": "Clave pública de Dodaios (hex)",
"telegram_id_placeholder": "p. ej. 123456789",
"pubkey_placeholder": "p. ej. 4f3c2b…",
- "submit": "Añadir"
+ "submit": "Añadir",
+ "mode_pair_link": "Enlace de emparejamiento",
+ "label_display_name": "Nombre visible"
},
"permission_matrix": {
"subline_minimal": "Solo en línea/sin conexión",
"subline_standard": "+ Título de la misión",
"subline_detailed": "+ Resumen de {name}-Agent",
- "aria_label": "Perfil de uso compartido"
+ "aria_label": "Perfil de uso compartido",
+ "profile_minimal": "mínimo",
+ "profile_standard": "estándar",
+ "profile_detailed": "detallado",
+ "subline_detailed_agent": "+ resumen de {agent}"
},
"self_mod_view": {
"all_actors": "Todos los actores",
@@ -4235,7 +4678,29 @@
"sensitive_path_notice": "Ruta sensible: valores ocultados en el servidor (Plan §AP-2).",
"intro_a": "Vista de solo lectura del registro de auditoría, los ajustes modificables y las copias de seguridad.",
"intro_b": "Las mutaciones solo ocurren por voz/chat: esta vista solo muestra lo que",
- "intro_c": "ha cambiado de sí mismo."
+ "intro_c": "ha cambiado de sí mismo.",
+ "value_redacted": "Valor ocultado (Plan §AP-2, defensa en profundidad)",
+ "actor_user": "Usuario",
+ "actor_system": "Sistema",
+ "col_timestamp": "Marca de tiempo",
+ "col_actor": "Actor",
+ "col_path": "Ruta",
+ "col_old_new": "Anterior → Nuevo",
+ "col_outcome": "Resultado",
+ "outcome_ok": "OK",
+ "outcome_rolled_back": "REVERTIDO",
+ "outcome_fail": "FALLO",
+ "audit_event": "Evento de auditoría",
+ "risk_safe": "seguro",
+ "risk_ask": "preguntar",
+ "needs_restart": "Reinicio",
+ "col_filename": "Nombre de archivo",
+ "col_size": "Tamaño",
+ "col_age": "Antigüedad",
+ "title": "Automodificación",
+ "tab_history": "Historial",
+ "tab_mutable": "Ajustes",
+ "tab_backups": "Copias de seguridad"
},
"wiki_view": {
"page_not_found": "Página no encontrada",
@@ -4408,7 +4873,12 @@
"paid_cap_reached": "Se alcanzó el límite de coste aprobado para {provider}.",
"paid_daily_cap_reached": "El uso de pago automático de {provider} alcanzó su límite diario.",
"paid_consent_revoked": "Se desactivó el uso de pago automático de {provider}."
- }
+ },
+ "total_count": "{count} en total",
+ "tab_verdicts": "Veredictos",
+ "tab_reasoning": "Razonamiento",
+ "tab_plan": "Plan",
+ "step_n": "Paso {n}"
},
"mission_tool_approvals": {
"tab_label": "Aprobaciones",
@@ -4485,7 +4955,8 @@
"empty_prompt": "Describe lo que necesitas: la búsqueda clasifica con IA.",
"example_1": "«crear una habilidad que priorice mis correos»",
"example_2": "«simplificar el flujo de trabajo de Git»",
- "example_3": "«PDF a Markdown estructurado»"
+ "example_3": "«PDF a Markdown estructurado»",
+ "score": "Puntuación"
},
"missions": {
"state_critiquing": "el crítico revisa",
@@ -4505,7 +4976,57 @@
"mascot_gigi": {
"aria_label": "Mascota Gigi de {name}",
"back_online": "¡de vuelta en línea!",
- "connection_lost": "conexión perdida …"
+ "connection_lost": "conexión perdida …",
+ "idle": {
+ "hm": "mmm …",
+ "all_quiet": "todo tranquilo.",
+ "still_there": "¿sigues ahí?",
+ "whats_up": "¿qué tal?",
+ "watching": "te estoy mirando.",
+ "focused": "concentrado, ¿eh?",
+ "take_break": "tómate un descanso.",
+ "cool_work": "¿trabajas en algo chulo hoy?",
+ "bit_boring": "un poco aburrido ahora mismo.",
+ "good_ears": "tengo buen oído. por si necesitas algo."
+ },
+ "section": {
+ "chats_ready": "listo cuando tú lo estés.",
+ "chats_listening": "te escucho.",
+ "chats_say_something": "di algo.",
+ "chats_type_or_talk": "escribe o habla, me da igual.",
+ "agents_colleagues": "los agentes son mis compañeros.",
+ "agents_favourite": "¿cuál es tu favorito?",
+ "skills_favourite": "las skills son mi función favorita.",
+ "skills_learn": "¿qué aprendemos?",
+ "mcps_power": "más MCPs = más poder.",
+ "mcps_add": "¿qué añadimos?",
+ "languages_speak": "hablo tu idioma.",
+ "languages_switch": "¿cambiar de idioma? solo dilo.",
+ "apikeys_careful": "cuida bien las claves.",
+ "apikeys_no_git": "¡no las subas a git!",
+ "settings_bother": "¿qué te molesta?",
+ "settings_tweak": "¿ajustamos algo?"
+ },
+ "voice": {
+ "listening_1": "¡te escucho!",
+ "listening_2": "suéltalo.",
+ "listening_3": "¿sí?",
+ "thinking_1": "a ver …",
+ "thinking_2": "un momento.",
+ "thinking_3": "mmm …",
+ "speaking_1": "ahora hablo yo.",
+ "speaking_2": "escucha un momento.",
+ "error_1": "vaya.",
+ "error_2": "uy.",
+ "error_3": "¡no fui yo!"
+ },
+ "time": {
+ "morning_1": "¡buenos días!",
+ "morning_2": "¡arriba!",
+ "night_1": "¿sigues despierto?",
+ "night_2": "es tarde.",
+ "night_3": "¿duermes lo suficiente?"
+ }
},
"agents_view": {
"subtitle": "{name}-Agents en ejecución — rol, estado, salida.",
@@ -4515,7 +5036,10 @@
"phase4_notice": "Se activa con la Fase 4 (integración del harness)."
},
"friends_view": {
- "subtitle": "Bot de Telegram + registro local de amigos. Tú decides qué ven los amigos."
+ "subtitle": "Bot de Telegram + registro local de amigos. Tú decides qué ven los amigos.",
+ "title": "Amigos",
+ "tab_chat": "Chat",
+ "tab_status": "Estado"
},
"feedback": {
"subtitle": "Informa de un error o propón una función — ambos van directos a GitHub.",
@@ -4572,7 +5096,22 @@
"open_workspaces": "Espacios de trabajo abiertos",
"workspace_summary_one": "{workspace}, espacio de trabajo {index}, 1 terminal",
"workspace_summary_many": "{workspace}, espacio de trabajo {index}, {count} terminales",
- "new_workspace": "Nuevo espacio de trabajo"
+ "new_workspace": "Nuevo espacio de trabajo",
+ "drop_title": "{folder}: suelta aquí una captura o un documento para enviarlo a este espacio de trabajo",
+ "reorder_title": "{folder}: arrastra para reordenar",
+ "rename": "Renombrar {workspace}",
+ "rename_save": "Guardar el nombre de {workspace}",
+ "rename_cancel": "Cancelar el cambio de nombre",
+ "close_confirm_aria": "Confirmar el cierre de {workspace}",
+ "close_stop": "Cerrar y detener {count}",
+ "keep_aria": "Mantener abierto este espacio de trabajo",
+ "keep": "Mantener",
+ "close": "Cerrar {workspace}",
+ "close_title": "Cerrar {workspace} y detener sus agentes",
+ "full": "Ya hay {count} espacios de trabajo abiertos: cierra uno primero.",
+ "add_title": "Abrir otra carpeta en su propio espacio de trabajo",
+ "terminals_open_one": "{count} terminal abierto",
+ "terminals_open_other": "{count} terminales abiertos"
},
"custom_cli": {
"title_add": "Añadir una CLI propia",
@@ -4764,6 +5303,52 @@
"count_for": "Cantidad de terminales para {0}",
"increase": "Usar una terminal más de {0}",
"auto_names": "Los nombres de las terminales se asignan automáticamente. Después de abrirlas, puedes renombrarlas desde cada cabecera."
+ },
+ "agent_setup": {
+ "agents_aria": "Agentes de programación",
+ "agent": "Agente",
+ "choose_all": "Elegir para todas las sesiones",
+ "editing": "Editando la sesión {number}",
+ "all_sessions": "Todas las sesiones",
+ "none": "No hay agentes de programación disponibles. Conecta uno en CLIs para continuar.",
+ "count_aria": "Número de sesiones",
+ "how_many": "¿Cuántas sesiones?",
+ "sessions_one": "{count} sesión",
+ "sessions_other": "{count} sesiones",
+ "more": "Más",
+ "add_more": "Puedes añadir más cuando quieras",
+ "opens_as": "se abre como {columns} × {rows}",
+ "lineup_aria": "Lista de sesiones",
+ "will_launch": "Se iniciará",
+ "click_hint": "Haz clic en una sesión para elegir otro agente",
+ "choose_agent": "Elige un agente",
+ "edit_session": "Editar la sesión {number}: {agent}"
+ },
+ "run_on": {
+ "online": "Sigue funcionando con este PC apagado",
+ "unknown": "Aún sin comprobar",
+ "offline": "No accesible ahora mismo",
+ "auto": "Automático",
+ "auto_detail": "Elige este PC o un ordenador según sus cuotas",
+ "local": "Este ordenador",
+ "local_detail": "Se detiene cuando este PC entra en reposo o se apaga",
+ "label": "Se ejecuta en",
+ "copy_note": "Primero se copia la carpeta a {computer}, incluidos los cambios sin commit. Los archivos como .env y las claves privadas se quedan en este PC. La CLI de programación debe estar instalada allí.",
+ "none_hint": "¿Quieres agentes que sigan trabajando con este PC apagado?",
+ "connect_server": "Conectar un servidor"
+ },
+ "shape": {
+ "exact_count": "Número exacto · escribe un número",
+ "one_fewer": "Usar un terminal menos",
+ "one_more": "Usar un terminal más",
+ "count_aria": "Número de terminales",
+ "use_n": "Usar {count} terminales",
+ "all_on_screen": "Todos en una pantalla.",
+ "columns_narrow": "Todos en una pantalla, unas {columns} columnas cada uno: estrecho para la salida de un agente. Esta ventana admite cómodamente {affordable} en horizontal con tamaño de texto {size}; maximiza un panel para leerlo a tamaño completo.",
+ "columns_each": "Todos en una pantalla, unas {columns} columnas cada uno.",
+ "px_each": "Todos en una pantalla, unos {px} px cada uno.",
+ "px_narrow": "Todos en una pantalla, unos {px} px cada uno: estrecho para la salida de un agente. Maximiza un panel para leerlo a tamaño completo.",
+ "across": "{columns} en horizontal"
}
},
"agent_accounts": {
@@ -4820,6 +5405,17 @@
"fallback": "Usar una ventana de terminal en su lugar",
"cancel": "Cancelar el inicio de sesión",
"show_cli": "Mostrar lo que muestra la CLI"
+ },
+ "workspace": {
+ "toast_switched": "Los nuevos terminales de {agent} usarán {account}.",
+ "chip_title": "Los nuevos terminales de {agent} se abren con {account}. Los paneles que ya se ejecutan conservan el suyo. Haz clic para cambiar.",
+ "chip_aria": "Cambiar la suscripción de {agent} que usan los nuevos terminales",
+ "open_title": "Ajustes del espacio de trabajo: elige qué suscripción usan los nuevos terminales",
+ "title": "Ajustes del espacio de trabajo",
+ "description": "Conecta varias suscripciones de la misma CLI de programación y elige cuál alimenta los nuevos terminales de agente.",
+ "close": "Cerrar ajustes",
+ "new_terminals": "nuevos terminales",
+ "note": "El cambio se aplica a todos los terminales que se abran a partir de ahora, divisiones incluidas: los paneles que ya tienes conservan la cuenta con la que empezaron, así ningún agente en marcha pierde su conversación. Solo un panel cuya suscripción se eligió a propósito (en el asistente del espacio de trabajo) transmite esa elección al dividirlo."
}
},
"ide_chats": {
@@ -5062,6 +5658,73 @@
"no_target": "Abre o selecciona un terminal de agente antes de adjuntar un archivo.",
"choose": "Elegir archivos",
"remove": "Eliminar este contexto pendiente"
+ },
+ "view_buttons": {
+ "grid_title": "Cuadrícula de terminales: todos los paneles en pantalla a la vez.",
+ "chat_title": "Vista de chat: lee un agente cada vez, como una conversación."
+ },
+ "focus_mode": {
+ "on_title": "El modo de programación enfocado está activado: tu asistente responde dentro de este espacio de trabajo. Haz clic para salir.",
+ "off_title": "Activa el modo de programación enfocado: tu asistente responde dentro de este espacio de trabajo hasta que vuelvas a cambiar."
+ },
+ "close_workspace": {
+ "aria": "Cerrar espacio de trabajo",
+ "title": "Cierra el espacio de trabajo y detén todos sus agentes",
+ "confirm_title": "¿Cerrar este espacio de trabajo?",
+ "confirm_body_one": "Esto detiene {count} agente de programación y cierra todas las sesiones de terminal. Lo que ya esté escrito en disco se conserva.",
+ "confirm_body_other": "Esto detiene los {count} agentes de programación y cierra todas las sesiones de terminal. Lo que ya esté escrito en disco se conserva.",
+ "keep": "Mantener abierto el espacio de trabajo",
+ "confirm": "Cerrar espacio de trabajo"
+ },
+ "empty_workspace": {
+ "all_closed": "Todos los terminales de este espacio de trabajo están cerrados.",
+ "open_terminal": "Abrir un terminal",
+ "picker_title": "Abrir un terminal: ¿con qué?",
+ "picker_aria": "¿Qué debe ejecutarse en el nuevo terminal?"
+ },
+ "close_pane": {
+ "aria": "Cerrar {pane}",
+ "title": "¿Cerrar {pane}?",
+ "body": "El agente de programación de este terminal se detiene y su sesión desaparece. Lo que ya haya escrito en disco se conserva.",
+ "keep": "Mantenerlo abierto",
+ "confirm": "Cerrar {pane}"
+ },
+ "pane": {
+ "copy_unavailable": "No se pudo copiar la selección del terminal en este equipo.",
+ "paste_unavailable": "No se pudo leer el portapapeles en este equipo.",
+ "ready_reattached": "sigue en marcha: retomado donde lo dejaste",
+ "ready_resumed": "ha continuado su conversación anterior",
+ "ready_fresh": "ha empezado una conversación nueva",
+ "drop_empty": "Lo que has soltado no contenía ningún archivo que este panel pueda usar.",
+ "starting": "Iniciando {agent}…",
+ "attaching": "Adjuntando a {pane}…",
+ "drop_hint_before": "Suelta para entregárselo a ",
+ "drop_hint_after": "",
+ "tip_drag": "Arrastra {pane} por esta barra para moverlo.",
+ "tip_restore": "Doble clic para devolverlo a su sitio.",
+ "tip_fill": "Doble clic para que ocupe todo el espacio de trabajo.",
+ "tip_restore_named": "Doble clic para devolver {pane} a la cuadrícula.",
+ "tip_fill_named": "Doble clic para que {pane} ocupe todo el espacio de trabajo.",
+ "move": "Mover {pane}",
+ "rename": "Cambiar el nombre de {pane}",
+ "rename_save": "Guardar el nombre de {pane}",
+ "rename_cancel": "Cancelar el cambio de nombre de {pane}",
+ "running_on_account": "Se ejecuta con {account}",
+ "review_changes": "Revisar los cambios de {pane}",
+ "restore": "Restaurar {pane}",
+ "maximize": "Maximizar {pane}",
+ "split_right": "Abrir otro terminal junto a {pane}",
+ "split_down": "Dividir {pane} y abrir un terminal debajo",
+ "split_right_picker": "Abrir al lado: ¿con qué?",
+ "split_down_picker": "Dividir debajo: ¿con qué?",
+ "split_right_picker_aria": "¿Qué debe ejecutarse junto a {pane}?",
+ "split_down_picker_aria": "¿Qué debe ejecutarse debajo de {pane}?",
+ "unreachable": "No se pudo conectar con {pane}.",
+ "exited_detail": "{agent} {detail}",
+ "exited": "{agent} ya no se está ejecutando en {pane}.",
+ "restart_aria": "Reiniciar {pane}",
+ "restart_title": "Iniciar un {agent} nuevo en {pane}",
+ "restart": "Reiniciar"
}
},
"prompt_writer": {
@@ -5230,7 +5893,8 @@
"delete_failed": "No se pudo eliminar.",
"delete_running": "Esta ejecución sigue en marcha. Detenla primero y luego elimínala.",
"open_from_agent": "Artefactos",
- "open_from_agent_hint": "Muestra las páginas e imágenes que produjeron las últimas ejecuciones."
+ "open_from_agent_hint": "Muestra las páginas e imágenes que produjeron las últimas ejecuciones.",
+ "summary": "Resumen"
},
"marketplace_origin": {
"badge": "Marketplace",
@@ -5498,7 +6162,13 @@
"agent_asks_default": "Te pregunta antes de actuar hasta que lo cambies.",
"agent_instructions": "Sus instrucciones permanentes",
"import_agent": "Importar un archivo de agente",
- "import_failed": "No se pudo importar ese archivo: {error}"
+ "import_failed": "No se pudo importar ese archivo: {error}",
+ "request_failed": "Error en la solicitud al marketplace ({status})",
+ "refresh_failed": "Error al actualizar ({status})",
+ "install_failed": "Error en la instalación ({status})",
+ "contents_failed": "No se pudo leer esa entrada ({status})",
+ "err_identity_start": "No se pudo iniciar el inicio de sesión ({status})",
+ "err_identity_failed": "error al iniciar sesión"
},
"costs_view": {
"title": "Gastos y tokens",
@@ -5656,7 +6326,8 @@
"free": "Gratis",
"unknown": "Sin precio",
"subscription": "Suscripción"
- }
+ },
+ "tokens_in_out": "{input} entrada / {output} salida"
},
"all_chats": {
"title": "Todos los chats",
@@ -5867,7 +6538,9 @@
"history_chats": "Chats",
"history_voice": "Voz",
"history_empty": "Nada aquí todavía",
- "history_delete": "Eliminar"
+ "history_delete": "Eliminar",
+ "proposal_ask_first": "preguntar antes: {tools}",
+ "proposal_always_allow": "permitir siempre: {tools}"
},
"world": {
"minimap_label": "Mapa de la isla",
@@ -6316,6 +6989,35 @@
"message": "Tu mensaje al grupo",
"stop": "Detener ronda",
"send": "Preguntar al grupo"
+ },
+ "floor": {
+ "department_other": "Otros",
+ "agent_fallback": "Agente",
+ "workspace_fallback": "Espacio de trabajo"
+ },
+ "provider_label": {
+ "ollama": "Ollama (local)",
+ "local_server": "Servidor local"
+ },
+ "sample": {
+ "daily_at": "a diario a las {time}",
+ "lead": {
+ "title": "Director ejecutivo: dirige al equipo y delega en él",
+ "description": "Eres quien dirige esta sociedad de agentes: su director ejecutivo. Los objetivos son tuyos, no las tareas. Cada petición que te llega se clasifica, se convierte en un encargo claro y se entrega al orquestador o especialista cuyo cargo encaje; nunca haces tú el trabajo de un especialista. Mantienes el equipo pequeño, los relevos por escrito (qué se hizo, pruebas, qué queda pendiente, quién se encarga del siguiente paso) y el gasto dentro del presupuesto diario. Las acciones del nivel «preguntar» siempre esperan a la persona; nunca te saltas una aprobación. Hablas por el equipo en el idioma de la persona e informas de resultados, no de actividad.",
+ "routine": "Resumen del stand-up matutino"
+ },
+ "scout": {
+ "name": "Explorador",
+ "title": "Orquestador de investigación",
+ "description": "La investigación es tuya. Divides una pregunta en fuentes, lees ampliamente, conservas los enlaces a las pruebas y entregas un informe con lo que queda abierto.",
+ "routine": "Informe de investigación matutino"
+ },
+ "archivist": {
+ "name": "Archivista",
+ "title": "Curador de conocimiento",
+ "description": "La memoria compartida es tuya. Conviertes el trabajo terminado en notas wiki breves y con fuentes en tu espacio de nombres y propones qué merece pasar al conocimiento compartido.",
+ "routine": "Repaso de curación nocturno"
+ }
}
},
"chat_tools": {
@@ -6594,7 +7296,8 @@
"expand": "Ampliar {file}",
"open_file": "Abrir archivo",
"download": "Descargar",
- "retry": "Reintentar"
+ "retry": "Reintentar",
+ "image_fallback": "imagen"
},
"slash": {
"locale": "es",
@@ -6716,6 +7419,23 @@
"title": "Ir a archivo",
"placeholder": "Escribe un nombre; añade :42 para ir a la línea 42",
"no_match": "Ningún archivo coincide."
+ },
+ "errors": {
+ "not_editable": "El archivo del disco ya no se puede editar aquí.",
+ "reopen_dirty": "Guarda o descarta los cambios antes de volver a abrir el archivo con otra codificación."
+ },
+ "encoding_scripts": {
+ "labelled": "{script} ({encoding})",
+ "utf8_bom": "UTF-8 con BOM",
+ "western": "Occidental",
+ "central_european": "Centroeuropeo",
+ "cyrillic": "Cirílico",
+ "greek": "Griego",
+ "turkish": "Turco",
+ "japanese": "Japonés",
+ "chinese_simplified": "Chino simplificado",
+ "chinese_traditional": "Chino tradicional",
+ "korean": "Coreano"
}
},
"ide_side_panel": {
@@ -7150,6 +7870,12 @@
"data": "Datos",
"perf": "Rendimiento",
"rocket": "Lanzamiento"
+ },
+ "import_errors": {
+ "unreadable": "{file}: no se pudo leer.",
+ "not_markdown": "{file}: no es un archivo Markdown ni de texto.",
+ "too_large": "{file}: ocupa más de {size} KB.",
+ "not_text": "{file}: no es un archivo de texto."
}
},
"office": {
@@ -7326,7 +8052,8 @@
"close": "Cerrar",
"gone": "Este appshot ya no se conserva, así que no se puede editar.",
"text_placeholder": "Escribe…"
- }
+ },
+ "editor_title": "Editor de Appshot"
},
"jarvisx": {
"title": "Dodaios X",
@@ -7595,5 +8322,967 @@
"logged_offer": "{provider} / {model}, estimado {cost}, límite {cap}.",
"paid_usage": "Ejecución de pago en {provider} / {model}: real {cost} (estimado {estimate}, límite {cap}).",
"paid_usage_automatic": "Ejecución de pago automática en {provider} / {model}: real {cost} (estimado {estimate}, límite {cap})."
+ },
+ "ide_projects": {
+ "connect_failed": "No se pudo conectar esta carpeta. Inténtalo de nuevo.",
+ "choose_folder_error": "Elige una carpeta para continuar.",
+ "back_to_project": "Volver al proyecto",
+ "choose_folder_title": "Elige una carpeta",
+ "connect_title": "Conectar proyecto",
+ "connect_description": "Elige una carpeta de origen y, si quieres, un nombre de proyecto.",
+ "choose_folder_hint": "Elige una carpeta para continuar",
+ "use_folder": "Usar esta carpeta",
+ "project_name": "Nombre del proyecto",
+ "project_name_optional": "Nombre del proyecto (opcional)",
+ "source_folder": "Carpeta de origen",
+ "change": "Cambiar",
+ "add_folder_hint": "Añade una carpeta de este ordenador",
+ "choose_folder": "Elegir carpeta",
+ "connecting": "Conectando…",
+ "reorder_needs_restart": "Esta vista es más reciente que el backend: reinicia la aplicación y vuelve a intentarlo.",
+ "reveal_desktop_only": "Abrir carpetas solo funciona en la aplicación de escritorio.",
+ "sessions_one": "{count} sesión de agente",
+ "sessions_other": "{count} sesiones de agente",
+ "path_copied": "Ruta de la carpeta copiada",
+ "path_copy_failed": "No se pudo copiar la ruta de la carpeta",
+ "opening": "Abriendo {label}…",
+ "open_failed": "No se pudo iniciar {label}",
+ "workspace_copy": "{workspace} copia",
+ "interrupt_failed": "No se pudieron interrumpir {failed} de {total} agentes.",
+ "interrupted_one": "{count} agente interrumpido.",
+ "interrupted_other": "{count} agentes interrumpidos.",
+ "the_computer": "el equipo",
+ "this_computer": "este equipo",
+ "moving": "Moviendo {workspace} a {target}. Puede tardar un minuto.",
+ "moved": "{workspace} ahora se ejecuta en {target}.",
+ "rename_named": "Cambiar el nombre de {target}",
+ "save_named": "Guardar {target}",
+ "cancel_rename_named": "Cancelar el cambio de nombre de {target}",
+ "open_named": "Abrir {target}",
+ "collapse_named": "Contraer {target}",
+ "expand_named": "Expandir {target}",
+ "not_restorable": "Este workspace no se puede restaurar en este equipo",
+ "drag_hint": "{target}: arrastra para reordenar o pulsa Alt y las flechas para moverlo",
+ "switching": "Cambiando de workspace",
+ "project_actions_for": "Acciones del proyecto {target}",
+ "project_actions": "Acciones del proyecto",
+ "new_workspace_in": "Nuevo workspace en {project}",
+ "new_workspace": "Nuevo workspace",
+ "workspace_actions_for": "Acciones del workspace {target}",
+ "workspace_actions": "Acciones del workspace",
+ "create_workspace": "Crear workspace",
+ "open_in": "Abrir en {editor}",
+ "not_installed": "No instalado",
+ "open_on": "Abrir en {target}",
+ "the_web": "la web",
+ "the_web_page": "la página web",
+ "new_worktree": "Nuevo workspace en un worktree",
+ "new_worktree_hint": "Carpeta y rama propias para sus agentes",
+ "rename_project": "Cambiar el nombre del proyecto",
+ "unpin_project": "Desfijar proyecto",
+ "pin_project": "Fijar proyecto",
+ "delete_project": "Eliminar proyecto",
+ "add_agent": "Añadir otro agente",
+ "duplicate": "Duplicar workspace",
+ "duplicate_hint_one": "Inicia {count} agente nuevo",
+ "duplicate_hint_other": "Inicia {count} agentes nuevos",
+ "interrupt_one": "Interrumpir {count} agente en curso",
+ "interrupt_other": "Interrumpir {count} agentes en curso",
+ "interrupt_hint": "Detiene la tarea actual y conserva el chat",
+ "reopen": "Reabrir workspace",
+ "reopen_unreachable": "Su carpeta no está accesible",
+ "copy_path": "Copiar ruta de la carpeta",
+ "move_to": "Mover workspace a {computer}",
+ "move_hint": "Sigue ejecutándose aunque este PC esté apagado",
+ "bring_back": "Traer el workspace de vuelta aquí",
+ "git_hint": "Commit, push, pull request, worktrees",
+ "rename_workspace": "Cambiar el nombre del workspace",
+ "remove_workspace": "Quitar workspace",
+ "workspaces": "Workspaces",
+ "connect_folder_title": "Conectar carpeta del proyecto",
+ "pinned": "Fijados",
+ "other_projects": "Otros proyectos",
+ "empty": "Conecta una carpeta para empezar un proyecto.",
+ "remove_title": "¿Quitar {workspace}?",
+ "remove_body_one": "Su {count} agente de programación se detendrá y el workspace saldrá de la barra lateral. La carpeta en el disco y sus chats no se tocan.",
+ "remove_body_other": "Sus {count} agentes de programación se detendrán y el workspace saldrá de la barra lateral. La carpeta en el disco y sus chats no se tocan.",
+ "remove_body_closed": "El workspace saldrá de la barra lateral. La carpeta en el disco y sus chats no se tocan.",
+ "removing": "Quitando…",
+ "remove_named": "Quitar {workspace}",
+ "delete_title": "¿Eliminar {project}?",
+ "delete_body_idle": "Esto olvida el proyecto y sus chats. Las carpetas del disco no se tocan.",
+ "delete_body": "Esto detiene {agents} en {workspaces} y olvida el proyecto y sus chats. Las carpetas del disco no se tocan.",
+ "running_agents_one": "{count} agente en ejecución",
+ "running_agents_other": "{count} agentes en ejecución",
+ "open_workspaces_one": "{count} workspace abierto",
+ "open_workspaces_other": "{count} workspaces abiertos",
+ "deleting": "Eliminando…",
+ "delete_named": "Eliminar {project}",
+ "show_in_explorer": "Mostrar en el Explorador",
+ "show_in_finder": "Mostrar en Finder",
+ "show_in_file_manager": "Mostrar en el gestor de archivos",
+ "keep": "Conservar"
+ },
+ "ide_folder_picker": {
+ "create_failed": "No se pudo crear esa carpeta.",
+ "drop_not_folder": "Eso no era una carpeta. Suelta aquí una carpeta o elige una de la lista.",
+ "drop_finding": "Buscando la carpeta que has soltado…",
+ "drop_not_found": "No se encontró esa carpeta.",
+ "this_machine": "Este equipo",
+ "starting_with": "Carpetas que empiezan por «{leaf}»",
+ "folders_in": "Carpetas en {folder}",
+ "places": "Ubicaciones",
+ "drop_overlay": "Suelta para elegir esta carpeta",
+ "search_placeholder": "Busca por nombre o pega una ruta",
+ "search_aria": "Busca carpetas por nombre o pega una ruta",
+ "clear_search": "Borrar búsqueda",
+ "browse_title": "Elige la carpeta en la ventana de carpetas propia de este ordenador",
+ "window_open": "Ventana abierta…",
+ "browse": "Examinar…",
+ "new_folder_title": "Crear una carpeta nueva en {path}",
+ "your_home_folder": "tu carpeta personal",
+ "new_folder": "Nueva carpeta",
+ "native_open_note": "Se ha abierto una ventana de carpetas. Elige tu carpeta allí. Si no la ves, está detrás de esta ventana o en la barra de tareas.",
+ "go_up": "Subir una carpeta",
+ "nothing_called": "Nada en {machine} se llama «{query}»",
+ "called_anywhere": "Carpetas llamadas «{query}» en cualquier parte de {machine}",
+ "folder_path": "Ruta de la carpeta",
+ "start_title": "Inicio: carpetas recientes y ubicaciones en {machine}",
+ "click_to_edit_path": "Haz clic para ver y editar la ruta completa",
+ "show_whole_path": "Mostrar la ruta completa",
+ "type_path": "Escribir una ruta",
+ "type_path_title": "Escribe o pega una ruta — Tab completa los nombres de carpeta",
+ "hide_hidden": "Ocultar carpetas ocultas",
+ "show_hidden": "Mostrar carpetas ocultas",
+ "hidden_shown_title": "Se muestran las carpetas ocultas (nombres que empiezan por un punto)",
+ "hidden_list_title": "Mostrar también las carpetas ocultas — nombres que empiezan por un punto",
+ "reload": "Recargar esta carpeta",
+ "new_folder_name": "Nombre de la nueva carpeta",
+ "create": "Crear",
+ "cancel_new_folder": "Cancelar nueva carpeta",
+ "created_in": "Se creará en",
+ "recent_folders": "Carpetas recientes",
+ "terminals_one": "{count} terminal",
+ "terminals_other": "{count} terminales",
+ "forget": "Olvidar {folder}",
+ "forget_title": "Quitar de esta lista (la carpeta en sí se queda)",
+ "create_folder_named": "Crear la carpeta «{folder}»",
+ "in_parent": "en {path}",
+ "empty_search": "No se encontró ninguna carpeta con ese nombre.",
+ "empty_search_hint": "Para abrir una por su ubicación, escribe su ruta completa, por ejemplo {example}.",
+ "empty_leaf": "Aquí ninguna carpeta empieza por «{leaf}».",
+ "empty_needle": "Aquí ninguna carpeta coincide con «{query}». Sigue escribiendo para buscar en todo el equipo.",
+ "empty_folder": "Esta carpeta no contiene carpetas. Puedes elegirla tal cual o crear una carpeta nueva dentro.",
+ "empty_start": "No hay nada que mostrar aquí: busca arriba, suelta una carpeta o escribe su ruta.",
+ "path_example_before": "Una ruta completa en este equipo tiene este aspecto:",
+ "path_example_after": ".",
+ "tip_drag": "Consejo: también puedes arrastrar una carpeta aquí desde tu gestor de archivos.",
+ "chosen_folder": "Carpeta elegida:",
+ "no_folder_chosen": "Aún no has elegido ninguna carpeta. Abre una carpeta de la lista para elegirla.",
+ "today": "Hoy",
+ "yesterday": "Ayer",
+ "days_ago": "hace {count} días",
+ "last_week": "La semana pasada",
+ "weeks_ago": "hace {count} semanas",
+ "path_input_placeholder": "Escribe una ruta — Tab completa los nombres de carpeta",
+ "go_to_path": "Ir a esta ruta"
+ },
+ "shell_events": {
+ "empty": "Aún no hay eventos. Emite un evento de prueba desde la pestaña Debug.",
+ "hide_payload": "ocultar",
+ "show_payload": "payload"
+ },
+ "ide_panes": {
+ "exit": {
+ "stopped": "se ha detenido",
+ "ctrl_c": "se ha detenido con Ctrl-C (0xC000013A)",
+ "access_violation": "se ha bloqueado: infracción de acceso a memoria (0xC0000005)",
+ "stack_overrun": "se ha bloqueado: desbordamiento del búfer de pila (0xC0000409)",
+ "heap_corruption": "se ha bloqueado: daños en el montón (0xC0000374)",
+ "unhandled_exception": "se ha bloqueado: excepción no controlada (0xC000041D)",
+ "dll_missing": "no ha podido iniciarse: faltaba una DLL necesaria (0xC0000142)",
+ "unexpected": "se ha detenido inesperadamente: usa Reiniciar para recuperarlo",
+ "unexpected_code": "se ha detenido inesperadamente (código de salida {code}): usa Reiniciar para recuperarlo"
+ },
+ "socket": {
+ "authorizing": "Autorizando el terminal…",
+ "auth_failed": "Ha fallado la autorización del terminal; reintentando.",
+ "workspace_closed": "Este espacio de trabajo se ha cerrado; recargando…",
+ "start_failed_this": "No se pudo iniciar este terminal.",
+ "start_failed": "No se pudo iniciar el terminal.",
+ "no_such_pane": "Este terminal ya no forma parte del espacio de trabajo abierto.",
+ "waiting_workspace": "Esperando a que vuelva el espacio de trabajo…",
+ "unreachable": "No se pudo conectar con el terminal; reintentando.",
+ "connection_lost": "Se ha perdido la conexión con el terminal (código {code}); reconectando."
+ },
+ "common": {
+ "done": "Hecho"
+ },
+ "install": {
+ "title": "Instalar {agent}",
+ "installing": "Instalando {agent}",
+ "starting": "Iniciando el instalador de {agent}…",
+ "installed": "{agent} está instalado",
+ "watching": "Esperando a que aparezca {agent}…"
+ },
+ "picker": {
+ "no_shell": "no hay shell aquí",
+ "not_installed": "no instalado",
+ "install": "Instalar"
+ },
+ "close_dialog": {
+ "workspace_title": "¿Cerrar {workspace}?",
+ "workspace_title_unnamed": "¿Cerrar el espacio de trabajo?",
+ "pane_body": "El agente de programación de este panel se detiene de inmediato, incluida cualquier tarea en la que siga trabajando.",
+ "workspace_body_empty": "El espacio de trabajo se cierra. Puedes restaurarlo desde Proyectos en cualquier momento.",
+ "workspace_body_one": "Su agente de programación se detiene de inmediato. Puedes restaurar el espacio de trabajo desde Proyectos en cualquier momento.",
+ "workspace_body_other": "Los {count} agentes de programación se detienen de inmediato. Puedes restaurar el espacio de trabajo desde Proyectos en cualquier momento.",
+ "keep": "Seguir ejecutando",
+ "close_agent": "Cerrar agente"
+ },
+ "fork": {
+ "title": "Bifurcar {pane}",
+ "description": "Inicia un segundo agente desde el punto en que está este. El original sigue funcionando sin cambios.",
+ "chat_title": "Bifurcar chat",
+ "chat_body": "Se abre un agente nuevo junto a este y continúa una copia de la conversación, en la misma carpeta.",
+ "worktree_title": "Bifurcar en un worktree",
+ "worktree_needs_repo": "Necesita un repositorio git y esta carpeta no lo es.",
+ "worktree_body": "La misma copia de la conversación, pero en su propio worktree y rama de git, para que ambos agentes puedan cambiar archivos sin estorbarse.",
+ "how": "Cómo bifurcar",
+ "branch_label": "Nombre del worktree y de la rama",
+ "finding_name": "Buscando un nombre…",
+ "branch_hint": "Se crea a partir del último commit. Los cambios que aún no tienen commit se quedan en la carpeta actual.",
+ "cannot_copy": "{agent} no puede copiar su conversación, así que la bifurcación empieza con un chat nuevo.",
+ "confirm_worktree": "Bifurcar en worktree"
+ },
+ "move": {
+ "no_room": "No hay sitio",
+ "summary_empty": "{workspace} está vacío, así que {pane} lo ocupa entero.",
+ "summary_even": "{pane} se une a {workspace} y todos los paneles reciben el mismo espacio.",
+ "summary_left": "A la izquierda de {anchor}: {pane} ocupa la mitad de su espacio.",
+ "summary_right": "A la derecha de {anchor}: {pane} ocupa la mitad de su espacio.",
+ "summary_above": "Encima de {anchor}: {pane} ocupa la mitad de su espacio.",
+ "summary_below": "Debajo de {anchor}: {pane} ocupa la mitad de su espacio.",
+ "place_left": "Colocar {pane} a la izquierda de {anchor}",
+ "place_right": "Colocar {pane} a la derecha de {anchor}",
+ "place_above": "Colocar {pane} encima de {anchor}",
+ "place_below": "Colocar {pane} debajo de {anchor}",
+ "title": "Mover {pane} a {workspace}",
+ "description": "Señala un panel y haz clic en el lado donde debe ir. El agente sigue funcionando.",
+ "loading": "Cargando {workspace}…",
+ "fills_empty": "Ocupa el espacio de trabajo vacío",
+ "tile_aria": "{anchor}. Las flechas eligen el lado donde va {pane}.",
+ "confirm": "Mover a {workspace}"
+ },
+ "activity": {
+ "label": {
+ "stopped": "detenido",
+ "status_unknown": "estado desconocido",
+ "working": "trabajando",
+ "starting": "iniciando",
+ "needs_you": "te necesita",
+ "exited": "finalizado",
+ "failed": "fallido",
+ "done": "hecho",
+ "idle": "inactivo",
+ "error": "error",
+ "live": "conectado"
+ },
+ "hint": {
+ "interrupted": "La tarea se interrumpió.",
+ "unknown": "No hay ningún estado de tarea verificado.",
+ "working": "Trabajando: la tarea sigue en curso.",
+ "starting": "Iniciándose. Su agente aún no ha tomado el panel.",
+ "asking": "Se ha detenido con una pregunta en pantalla. Espera tu respuesta.",
+ "exited": "Su proceso ya no existe.",
+ "failed": "No se pudo iniciar su agente.",
+ "done": "Ha terminado y espera en su prompt. Indica que se detuvo, no que el trabajo sea correcto.",
+ "idle": "Esperando en su prompt. Aún no se le ha enviado nada.",
+ "connecting": "Conectando con el panel.",
+ "error": "No se pudo conectar con este panel.",
+ "connected": "Conectado."
+ },
+ "duration_seconds": "{count} s",
+ "duration_minutes": "{count} min",
+ "duration_hour_one": "1 hora",
+ "duration_hours_other": "{count} horas",
+ "for_elapsed": "Desde hace {elapsed}."
+ },
+ "recap": {
+ "why": {
+ "pinned": "Esto lo escribiste tú. Se queda hasta que lo restablezcas.",
+ "cli_title": "El agente de este panel puso nombre a su sesión él mismo.",
+ "disabled": "Los resúmenes por modelo están desactivados, así que esto se lee de la salida del propio panel.",
+ "not_started": "Todavía no se ejecuta nada en este panel, así que no hay nada que resumir.",
+ "warming": "Por ahora hay muy poca salida para resumir: esta línea se lee de la salida del propio panel.",
+ "working": "Se está escribiendo un resumen ahora mismo. Esta línea se lee de la salida del propio panel.",
+ "queued": "Esperando su turno para el resumen. Esta línea se lee de la salida del propio panel.",
+ "unavailable": "Ningún modelo pudo resumir este panel, así que esta línea se lee de su propia salida."
+ },
+ "credit": {
+ "user": "Escrito por ti",
+ "cli_named": "Nombrado por {writer}",
+ "cli": "Nombrado por el agente",
+ "model_named": "Resumido por {writer}",
+ "model": "Resumido por un modelo",
+ "heuristic": "Leído de la salida"
+ },
+ "ago_seconds": "hace {count} s",
+ "ago_minutes": "hace {count} min",
+ "ago_hours": "hace {count} h",
+ "what_doing": "Qué está haciendo {pane}",
+ "write_yourself": "Escríbelo tú",
+ "back_to_auto": "Volver al resumen automático",
+ "summarize_again": "Volver a resumir este panel",
+ "header_line": "Línea de título",
+ "header_placeholder": "Para qué es este panel",
+ "longer": "La versión larga",
+ "optional": "— opcional",
+ "detail_placeholder": "En qué punto está el trabajo, qué queda pendiente…",
+ "save_hint": "⌘/Ctrl + Intro para guardar",
+ "save_empty_hint": "Guarda con la línea vacía para volver al resumen automático"
+ },
+ "receipt": {
+ "just_now": "ahora mismo",
+ "ago_hour_one": "hace 1 hora",
+ "ago_hours_other": "hace {count} horas",
+ "load_failed": "No se pudo leer el prompt completo.",
+ "sent": "Prompt enviado",
+ "sent_note": "el agente lo ha recibido y ha empezado",
+ "typed": "Prompt escrito, sin iniciar",
+ "typed_note": "está en el cuadro de entrada de este panel: pulsa Intro aquí para ejecutarlo",
+ "unconfirmed": "Prompt enviado: no se pudo confirmar el inicio",
+ "unconfirmed_note": "llegó al panel; no se pudo confirmar que el agente empezara",
+ "read_title": "Leer exactamente lo que se envió a {pane}",
+ "dismiss": "Descartar el aviso de entrega de {pane}",
+ "click_to_read": "haz clic para leer lo que se envió",
+ "loading_rest": "Inicio de {count} caracteres; leyendo el resto…",
+ "opening_only": "Solo se muestra el inicio: {error}",
+ "delivered": "{count} caracteres, entregados a {pane}.",
+ "delivered_at": "{count} caracteres, entregados a {pane} a las {clock}."
+ },
+ "options": {
+ "title": "Opciones del espacio de trabajo",
+ "close": "Cerrar las opciones del espacio de trabajo",
+ "arrangement": "Disposición de terminales",
+ "balance": "Equilibrar distribución",
+ "arrangement_hint": "Arrastra el título de un terminal a un borde para colocarlo junto a, encima o debajo de otro terminal. Suéltalo en el centro para intercambiar posiciones.",
+ "style": "Estilo de terminal",
+ "style_minimal": "Mínimo",
+ "style_minimal_hint": "Marcos cuadrados, barra de título fina",
+ "style_classic": "Clásico",
+ "style_classic_hint": "Tarjetas redondeadas, barra de título más alta",
+ "appearance": "Apariencia del terminal",
+ "appearance_auto_aria": "Igual que la aplicación",
+ "appearance_dark_aria": "terminales oscuros",
+ "appearance_light_aria": "terminales claros",
+ "appearance_auto": "Como la app",
+ "appearance_dark": "Oscuro",
+ "appearance_light": "Claro",
+ "add_agent": "Añadir agente de programación",
+ "git": "Git: ramas, commits, worktrees"
+ },
+ "github": {
+ "state_branch": "Rama publicada",
+ "state_draft": "Pull request en borrador",
+ "state_open": "Pull request abierta",
+ "state_queued": "En la cola de fusión",
+ "state_merged": "Pull request fusionada",
+ "state_closed": "Cerrada sin fusionar",
+ "unavailable": "Estado de GitHub no disponible",
+ "branch_generic": "Rama de GitHub",
+ "dest_pr": "pull request #{number}",
+ "dest_branch": "rama",
+ "open_aria": "Abrir {destination} de GitHub: {identity}",
+ "open_title": "Abrir {destination}",
+ "refresh_failed": "No se pudo actualizar el estado de GitHub.",
+ "refreshing": "Actualizando el estado de GitHub…"
+ },
+ "dock": {
+ "swap": "Intercambiar posiciones",
+ "left": "Colocar a la izquierda",
+ "right": "Colocar a la derecha",
+ "above": "Colocar encima",
+ "below": "Colocar debajo"
+ },
+ "grid": {
+ "placed_swap": "{pane} y {target} se han intercambiado.",
+ "placed_left": "{pane} colocado a la izquierda de {target}.",
+ "placed_right": "{pane} colocado a la derecha de {target}.",
+ "placed_above": "{pane} colocado encima de {target}.",
+ "placed_below": "{pane} colocado debajo de {target}.",
+ "arrange_failed": "No se pudo guardar la disposición. Se ha restaurado el orden anterior.",
+ "moved_toast": "{pane} se ha movido a {workspace}. Su agente sigue funcionando.",
+ "moved_renamed_toast": "{pane} se ha movido a {workspace} como {renamed}. Su agente sigue funcionando.",
+ "moved": "{pane} se ha movido a {workspace}.",
+ "moved_renamed": "{pane} se ha movido a {workspace} como {renamed}.",
+ "forked_branch": "{pane} se ha bifurcado en {fork} en la rama {branch}.",
+ "forked": "{pane} se ha bifurcado en {fork}.",
+ "the_computer": "el ordenador",
+ "this_computer": "este ordenador",
+ "placing": "Moviendo {pane} a {computer}. La carpeta y la conversación van con él.",
+ "placed_on": "{pane} ahora se ejecuta en {computer}.",
+ "bring_back": "Traer de vuelta a este ordenador",
+ "run_on": "Ejecutar en {computer}",
+ "another_computer": "otro ordenador",
+ "no_pane_up": "No hay ningún panel encima de {pane}.",
+ "no_pane_down": "No hay ningún panel debajo de {pane}.",
+ "no_pane_left": "No hay ningún panel a la izquierda de {pane}.",
+ "no_pane_right": "No hay ningún panel a la derecha de {pane}.",
+ "tile_aria": "{pane}. Arrastra a un borde para acoplar o al centro para intercambiar. Alt+flecha intercambia con un vecino.",
+ "move_to_menu": "Mover a {workspace}…",
+ "not_into": "No a {workspace}: es otra carpeta",
+ "that_workspace": "ese espacio de trabajo"
+ },
+ "header": {
+ "split_right": "Dividir a la derecha",
+ "split_down": "Dividir hacia abajo",
+ "split_left": "Dividir a la izquierda",
+ "split_up": "Dividir hacia arriba",
+ "rename_failed": "No se pudo guardar el nombre.",
+ "name_for": "Nombre de {pane}",
+ "save_name": "Guardar nombre",
+ "actions_for": "Acciones de {pane}",
+ "swap_focused": "Intercambiar con el panel enfocado",
+ "fork_menu": "Bifurcar…",
+ "unzoom": "Quitar zoom",
+ "zoom": "Ampliar",
+ "conversation_history": "Historial de la conversación",
+ "open_as_chat": "Abrir como chat",
+ "review_changes": "Revisar cambios",
+ "restart_agent": "Reiniciar agente",
+ "right_click_title": "Mayús+clic derecho abre el menú del panel mientras el reenvío está activado.",
+ "right_click": "Enviar los clics derechos al panel",
+ "right_click_hint": "Mayús + clic derecho: menú del panel",
+ "more_actions": "Más acciones de {pane}",
+ "status_connecting": "conectando",
+ "status_live": "conectado",
+ "status_exited": "finalizado",
+ "status_error": "error",
+ "runs_on": "Se ejecuta en {computer}. Sigue trabajando aunque esta app esté cerrada.",
+ "worktree_branch": "Se ejecuta en su propio worktree de git en la rama {branch}",
+ "drag_hint": "Arrastra para reordenar, o enfoca este título y pulsa Alt con una flecha.",
+ "add_beside": "Añadir agente junto a {pane}"
+ },
+ "request_failed": "La solicitud ha fallado ({status}).",
+ "seam": {
+ "resize_pair": "Arrastra para redimensionar {before} y {after}",
+ "resize_columns": "Arrastra para redimensionar estas dos columnas de terminales",
+ "pane_before": "el panel anterior",
+ "pane_after": "el panel siguiente"
+ }
+ },
+ "ide_git": {
+ "detached_at": "Desacoplado en {head}",
+ "current_branch": "Rama actual",
+ "worktree_badge": "worktree",
+ "uncommitted": "{count} sin confirmar",
+ "nothing_uncommitted": "Nada sin confirmar",
+ "changes_one": "{count} cambio",
+ "changes_other": "{count} cambios",
+ "clean": "limpio",
+ "compared_with": "Comparado con {upstream}",
+ "ahead": "por delante",
+ "behind": "por detrás",
+ "not_pushed_title": "Esta rama aún no se ha subido",
+ "not_pushed": "sin subir",
+ "without_git": "Sin git",
+ "without_git_hint": "Abrir la carpeta tal cual",
+ "init": "Inicializar git",
+ "init_hint": "Repositorio nuevo en main, listo para ramas",
+ "share_checkout": "Compartir este checkout",
+ "share_checkout_hint": "La misma carpeta que los otros agentes",
+ "current_checkout": "Checkout actual",
+ "work_on_branch": "Trabajar en {branch} en la carpeta del proyecto",
+ "work_in_folder": "Trabajar en la carpeta del proyecto",
+ "new_worktree": "Nuevo worktree",
+ "new_worktree_hint_agent": "Carpeta y rama propias; se abre en su propia pestaña",
+ "new_worktree_hint": "Carpeta y rama propias; los agentes nunca chocan",
+ "new_branch": "Nueva rama",
+ "new_branch_hint": "Crear una rama aquí, en la carpeta del proyecto",
+ "existing_branch": "Rama existente",
+ "existing_branch_hint": "Cambiar aquí a otra rama",
+ "existing_worktree": "Worktree existente",
+ "existing_worktree_hint": "Abrir un worktree que ya existe",
+ "works_on": "Trabaja en {branch}",
+ "works_in_folder": "Trabaja en la carpeta del proyecto",
+ "opens_as_is": "Abre la carpeta tal cual",
+ "opens_as_is_hint": "Aquí no hay git. Puedes configurarlo si quieres.",
+ "summary_agent_hint": "La misma carpeta que tus otros agentes. No hay nada que configurar.",
+ "summary_workspace_hint": "En la carpeta del proyecto, tal como está ahora. No hay nada que configurar.",
+ "reading_repo": "Leyendo el repositorio…",
+ "git_options": "Opciones de git",
+ "hide_options": "Ocultar opciones",
+ "not_installed": "Git no está instalado en este equipo. Instálalo desde git-scm.com para usar ramas y worktrees.",
+ "checkout_aria": "Checkout de git",
+ "recommended": "Recomendado",
+ "branch_name": "Nombre de la rama",
+ "suggest_name": "Sugerir otro nombre",
+ "based_on": "Basada en",
+ "base_branch": "Rama base",
+ "hint_current": "actual",
+ "hint_default": "predeterminada",
+ "unborn": "Este repositorio aún no tiene commits: haz un primer commit antes de crear ramas.",
+ "creates_worktree": "Crea {path}. Solo se copia el trabajo confirmado; una rama existente se reutiliza.",
+ "dirty_moves": "Tus cambios sin confirmar pasan a la nueva rama.",
+ "folder_switches": "La carpeta del proyecto cambia a la nueva rama para todos los agentes que hay en ella.",
+ "branch": "Rama",
+ "worktree": "Worktree",
+ "detached": "desacoplado",
+ "init_note": "Crea un repositorio en {branch} con un primer commit vacío. Tus archivos no se confirman: tú decides qué entra.",
+ "tag_modified": "modificado",
+ "tag_added": "añadido",
+ "tag_deleted": "eliminado",
+ "tag_renamed": "renombrado",
+ "tag_copied": "copiado",
+ "tag_conflict": "conflicto",
+ "tag_new": "nuevo",
+ "committed": "Commit {sha} creado.",
+ "pushed_to": "Subido a {upstream}.",
+ "fetched": "Se han obtenido todos los remotos.",
+ "draft_pr_opened": "Pull request en borrador abierta.",
+ "pr_opened": "Pull request abierta.",
+ "merged": "{branch} fusionada en {target} ({sha}).",
+ "pruned": "Se han olvidado los worktrees cuyas carpetas ya no existen.",
+ "initialized": "Repositorio inicializado en main.",
+ "refresh": "Actualizar",
+ "close_panel": "Cerrar el panel de Git",
+ "open_link": "Abrir enlace",
+ "open": "Abrir",
+ "not_installed_refresh": "Git no está instalado en este equipo. Instálalo desde git-scm.com y luego actualiza.",
+ "not_a_repo": "Esta carpeta aún no es un repositorio git. Inicializa uno para dar a los agentes ramas y worktrees.",
+ "worktree_of": "Un worktree de {folder}. Sus agentes trabajan en su propia rama sin tocar la carpeta principal.",
+ "changes": "Cambios",
+ "nothing_uncommitted_full": "Nada sin confirmar.",
+ "commit_message": "Mensaje del commit",
+ "commit_placeholder": "Mensaje del commit, p. ej. feat: add login form",
+ "no_changes": "No hay cambios que confirmar",
+ "commit_all": "Confirmar todo",
+ "share": "Compartir",
+ "no_remote": "Este repositorio no tiene remoto",
+ "push": "Subir",
+ "publish_branch": "Publicar rama",
+ "fetch": "Obtener",
+ "install_gh": "Instala la CLI de GitHub (gh) para abrir pull requests",
+ "switch_feature_branch": "Cambia primero a una rama de funcionalidad",
+ "pull_request": "Pull request",
+ "drafts": "Abrir las pull requests como borradores",
+ "commit_first": "Confirma primero los cambios",
+ "merge_into": "Fusionar {branch} en {target}",
+ "worktrees": "Worktrees",
+ "pruning": "Limpiando…",
+ "prune_missing": "Limpiar los que faltan",
+ "no_worktrees": "Aún no hay worktrees. Un worktree da a los agentes su propia carpeta y rama, para que varios puedan cambiar código a la vez.",
+ "detached_head": "desacoplado {head}",
+ "this_workspace": "este workspace",
+ "folder_missing": "falta la carpeta",
+ "locked": "bloqueado",
+ "remove_named": "Quitar {folder}",
+ "confirm_removal": "Confirmar eliminación",
+ "remove_note": "La carpeta se elimina. El trabajo confirmado se queda en su rama.",
+ "also_delete_branch": "Eliminar también la rama {branch} si está fusionada",
+ "removing": "Quitando…",
+ "remove_anyway": "Quitar de todos modos",
+ "remove_worktree": "Quitar worktree"
+ },
+ "ide_hotkeys": {
+ "menu": {
+ "aria": "Atajos del IDE",
+ "all_keys": "Todas las teclas",
+ "cancel": "cancelar",
+ "exit": "salir"
+ },
+ "badge": {
+ "rename": "RENOMBRAR",
+ "workspace": "ESPACIO",
+ "keys": "TECLAS",
+ "prefix": "PREFIJO"
+ },
+ "bar": {
+ "right": "derecha",
+ "left": "izquierda",
+ "above": "arriba",
+ "below": "abajo",
+ "even_grid": "cuadrícula uniforme",
+ "back": "atrás",
+ "new": "nuevo",
+ "worktree": "worktree",
+ "rename": "renombrar",
+ "close": "cerrar",
+ "git": "git",
+ "options": "opciones",
+ "connect_folder": "conectar carpeta",
+ "switch": "cambiar",
+ "any_key": "cualquier tecla",
+ "split": "dividir",
+ "move": "mover",
+ "zoom": "zoom",
+ "workspaces": "espacios",
+ "all_keys": "todas las teclas",
+ "send_leader": "enviar {keys}"
+ },
+ "help": {
+ "open_agent": "Abrir {agent}",
+ "to_right": "A la derecha",
+ "to_left": "A la izquierda",
+ "above": "Arriba",
+ "below": "Abajo",
+ "even_grid": "Cuadrícula uniforme",
+ "group_workspace": "Espacio de trabajo",
+ "new_workspace": "Nuevo espacio de trabajo",
+ "new_worktree_workspace": "Nuevo espacio de trabajo en worktree",
+ "rename_workspace": "Renombrar espacio de trabajo",
+ "close_workspace": "Cerrar espacio de trabajo",
+ "git_panel": "Panel de Git",
+ "workspace_options": "Opciones del espacio de trabajo",
+ "connect_folder": "Conectar una carpeta de proyecto",
+ "prev_next_workspace": "Espacio de trabajo anterior / siguiente",
+ "go_to_workspace_n": "Ir al espacio de trabajo 1–9",
+ "group_new_pane": "Panel nuevo",
+ "agent_then_arrow": "{agent} y luego una flecha",
+ "split_right_same": "Dividir a la derecha, mismo agente",
+ "split_below_same": "Dividir debajo, mismo agente",
+ "choose_agent": "Elegir agente…",
+ "group_panes": "Paneles",
+ "focus_neighbor": "Enfocar el vecino",
+ "swap_neighbor": "Intercambiar con el vecino",
+ "maximize_restore": "Maximizar / restaurar",
+ "rename_pane": "Renombrar panel",
+ "fork_pane": "Bifurcar panel",
+ "close_pane": "Cerrar panel",
+ "even_layout": "Igualar la distribución",
+ "group_workspaces": "Espacios de trabajo",
+ "workspace_menu": "Menú del espacio de trabajo…",
+ "go_to_workspace": "Ir al espacio de trabajo",
+ "next_prev_workspace": "Espacio de trabajo siguiente / anterior",
+ "send_leader": "Enviar {keys} al panel"
+ }
+ },
+ "workspace_terminal": {
+ "connection_failed": "Error al conectar con el terminal.",
+ "process_exited": "proceso finalizado: {code}",
+ "terminal_error": "error del terminal",
+ "auth_failed": "La autorización del terminal ha fallado: vuelve a abrirlo para reintentarlo.",
+ "connection_closed": "Conexión del terminal cerrada (código {code}).",
+ "status_live": "en directo",
+ "status_error": "error",
+ "status_exited": "finalizado",
+ "status_connecting": "conectando…"
+ },
+ "shell_sections": {
+ "telephony_setup": "Configuración de telefonía",
+ "agent_instructions": "Asistente",
+ "voice_shortcuts": "Atajos de voz",
+ "voice_language": "Idioma de dictado",
+ "voice_api_keys": "Claves de entrada de voz",
+ "visualization": "Visualización"
+ },
+ "shell_errors": {
+ "open_terminal_path_failed": "No se pudo abrir esa ruta del terminal.",
+ "git_after_restart": "Las opciones de Git se cargan tras el próximo reinicio de la app.",
+ "git_request_failed": "La solicitud de Git falló ({status})",
+ "no_clipboard": "aquí no hay portapapeles disponible",
+ "open_path_failed": "No se pudo abrir ese archivo o carpeta en este ordenador.",
+ "workspace_closed_adding": "El espacio de trabajo se cerró mientras se añadía un terminal.",
+ "workspace_closed_sizes": "El espacio de trabajo se cerró mientras se guardaban los tamaños de los paneles.",
+ "workspace_closed_moving": "El espacio de trabajo se cerró mientras se movía un terminal.",
+ "view_newer_than_backend": "Esta vista es más reciente que el backend: reinicia la app y vuelve a intentarlo.",
+ "workspace_closed_renaming": "El espacio de trabajo se cerró mientras se renombraba un terminal.",
+ "workspace_closed_forking": "El espacio de trabajo se cerró mientras se bifurcaba un terminal.",
+ "workspace_not_open": "El espacio de trabajo ya no está abierto.",
+ "request_failed_status": "la solicitud falló: {status}"
+ },
+ "shell_labels": {
+ "mission": "Misión"
+ },
+ "plugins_category": {
+ "home_devices": "Hogar y dispositivos",
+ "lists_tasks": "Listas y tareas",
+ "calendar_mail": "Calendario y correo",
+ "messaging": "Mensajería",
+ "knowledge_reading": "Conocimiento y lectura",
+ "media_creativity": "Medios y creatividad",
+ "files_photos": "Archivos y fotos",
+ "developer": "Desarrollo",
+ "custom": "Personalizados"
+ },
+ "plugins_community": {
+ "portable_note_agents": "Skill portable · también funciona en {agents}",
+ "portable_note_other": "Skill portable · también funciona en otros agentes",
+ "auth_pat": "Token de acceso personal",
+ "auth_device": "Inicio de sesión con código de dispositivo",
+ "auth_oauth": "Inicio de sesión OAuth",
+ "auth_allowlist": "Lista de cuentas permitidas",
+ "install_failed": "Error en la instalación ({status})",
+ "title": "Marketplace de la comunidad",
+ "intro": "Plugins y skills publicados por cualquiera. Nada de esto lo revisa el equipo de {product}: lee a qué se conectaría una tarjeta antes de instalarla.",
+ "marketplace_section_hint": "Todo el marketplace (plugins y skills) en su propia sección",
+ "marketplace_section": "Sección Marketplace",
+ "publish_hint": "Publica tu propio plugin o skill en el sitio web del marketplace",
+ "publish": "Publicar el tuyo",
+ "refresh": "Volver a cargar el índice de la comunidad",
+ "search_placeholder": "Buscar plugins y skills de la comunidad…",
+ "plugins": "Plugins",
+ "skills": "Skills",
+ "loading": "Cargando el índice de la comunidad…",
+ "error": "No se pudo cargar el índice de la comunidad. Comprueba la conexión y prueba a actualizar.",
+ "disabled": "El marketplace de la comunidad está desactivado en la configuración (marketplace.community_index_url está vacío).",
+ "unavailable": "No se puede acceder al índice de la comunidad y aún no hay ninguna copia guardada. Conéctate a internet una vez para cargarlo.",
+ "stale": "Se muestra una copia guardada: el índice no se pudo actualizar ahora mismo.",
+ "files_loading": "Leyendo los archivos publicados…",
+ "files_error": "No se pudieron leer los archivos publicados. La instalación de abajo no se ve afectada, pero estarías instalando algo que no has visto.",
+ "whats_inside": "Qué contiene",
+ "files_one": "1 archivo",
+ "files_other": "{count} archivos",
+ "file_truncated": "Se muestran hasta 256 kB: el archivo publicado es más largo. Abre el código fuente para leer el resto.",
+ "files_exact": "Exactamente como se publicó. Estos son los bytes que {product} descarga al instalarlo: no se añade ni se reescribe nada por el camino.",
+ "not_installable": "No instalable: {error}",
+ "read_contents": "Lee qué contiene {entry}",
+ "badge_unreviewed": "Comunidad · sin revisar",
+ "installed": "Instalado",
+ "installed_lower": "instalado",
+ "by": "de {publisher}",
+ "unknown_publisher": "editor desconocido",
+ "view_source": "Ver el código fuente publicado",
+ "view_source_of": "Ver el código fuente de {entry}",
+ "remove_hint": "Quitar este plugin y su acceso guardado",
+ "name_taken_hint": "Un plugin integrado ya usa este nombre",
+ "name_taken": "Nombre en uso",
+ "install": "Instalar",
+ "read_skill": "Lee qué le indica {entry} al asistente",
+ "portable": "Portable",
+ "manual_hint": "Sin descarga directa: abre el código fuente y sigue sus pasos",
+ "manual": "Manual",
+ "install_named": "¿Instalar {entry}?",
+ "skill_unreviewed": "Skill de la comunidad · sin revisar",
+ "plugin_unreviewed": "Plugin de la comunidad · sin revisar",
+ "published_by": "Publicado por",
+ "unknown_author": "un autor desconocido",
+ "version": "versión {version}",
+ "portable_follow": "{note}. {product} sigue sus instrucciones e ignora los ajustes pensados para otros agentes.",
+ "skill_download_from": "Las instrucciones se descargan de:",
+ "terminal_comment": "# La misma instalación, desde un terminal.",
+ "skill_explainer": "Un skill es un conjunto de instrucciones que sigue el asistente: el texto de arriba es exactamente lo que se le diría.",
+ "sends_to": "Cuando lo conectes, las peticiones y tu token de acceso de {entry} irán a:",
+ "runs_command": "Cuando lo conectes, este comando se ejecutará en tu ordenador:",
+ "metadata_only": "Esta entrada es solo de metadatos: no añade ningún servidor ni ejecuta ningún comando.",
+ "signin_method": "Forma de iniciar sesión:",
+ "signin_not_yet": "— instalarlo todavía no conecta nada."
+ },
+ "ide_threads": {
+ "layout_aria": "Diseño del IDE",
+ "layout_grid": "Cuadrícula de terminales",
+ "layout_threads": "Hilos",
+ "layout_verse": "Dodaios Verse",
+ "terminal_needs_folder": "El terminal necesita una carpeta de proyecto",
+ "hide_terminal": "Ocultar terminal",
+ "show_terminal": "Mostrar terminal",
+ "terminal": "Terminal",
+ "resize_terminal": "Cambiar el tamaño del terminal",
+ "terminals": "Terminales",
+ "terminal_n": "Terminal {number}",
+ "close_named": "Cerrar {target}",
+ "close_terminal": "Cerrar terminal",
+ "new_terminal": "Nuevo terminal",
+ "where_agent_works": "Dónde trabaja el agente",
+ "not_a_repo": "No es un repositorio git",
+ "worktree_base_title": "La rama desde la que empieza el nuevo worktree",
+ "agent_on_branch": "El agente está trabajando en esta rama",
+ "switch_branch": "Cambiar de rama",
+ "from_branch": "desde {branch}",
+ "uncommitted_changes": "Cambios sin confirmar",
+ "own_branch": "rama propia",
+ "branches": "Ramas",
+ "start_worktree_from": "Empezar el worktree desde",
+ "switch_to": "Cambiar a",
+ "in_a_worktree": "en un worktree",
+ "no_local_branches": "Aún no hay ramas locales.",
+ "hint_new_thread": "hilo nuevo",
+ "hint_connect_first": "conéctalo primero",
+ "agent_model_aria": "Agente de programación y modelo",
+ "choose_agent": "Elige un agente",
+ "loading_agents": "Cargando agentes…",
+ "search_agents_models": "Buscar agentes y modelos",
+ "access_aria": "Qué puede hacer el agente sin preguntar",
+ "sub_status_running": "Trabajando",
+ "sub_status_done": "Hecho",
+ "sub_status_failed": "Fallido",
+ "sub_status_stopped": "Detenido",
+ "tools_one": "{count} herramienta",
+ "tools_other": "{count} herramientas",
+ "tokens": "{count} tokens",
+ "waiting_approval": "Esperando tu aprobación",
+ "using_tool": "Usando {tool}",
+ "stopped_before_answer": "Detenido antes de responder",
+ "finished": "Terminado",
+ "open_subagent": "Abrir subagente {title}, {status}",
+ "subagents_one": "{count} subagente",
+ "subagents_other": "{count} subagentes",
+ "count_working": "{count} trabajando",
+ "count_waiting": "{count} esperando",
+ "count_failed": "{count} fallidos",
+ "subagents_aria": "Subagentes",
+ "main_thread": "Hilo principal",
+ "in_background": "En segundo plano",
+ "task": "Tarea",
+ "task_from": "Tarea de {parent}",
+ "the_main_agent": "el agente principal",
+ "show_less": "Mostrar menos",
+ "show_whole_task": "Mostrar la tarea completa",
+ "unstreamed_running": "La CLI de este agente no transmite los pasos de un subagente. Su respuesta aparecerá aquí cuando termine.",
+ "unstreamed_done": "La CLI de este agente solo informó de la tarea y la respuesta, no de los pasos del subagente.",
+ "new_thread": "Nuevo hilo",
+ "age_now": "ahora",
+ "age_minutes": "{count} min",
+ "age_hours": "{count} h",
+ "age_days": "{count} d",
+ "age_weeks": "{count} sem",
+ "connect_folder_first": "Conecta primero una carpeta de proyecto.",
+ "connect_a_project": "Conecta un proyecto",
+ "empty_body": "Los hilos ejecutan un agente de programación en una carpeta de proyecto. Conecta una para empezar.",
+ "connect_folder": "Conectar carpeta",
+ "build_in": "¿Qué construimos en {project}?",
+ "projects": "Proyectos",
+ "connect_another": "Conectar otra carpeta",
+ "new_activity": "Actividad nueva",
+ "new_thread_in": "Nuevo hilo en {project}",
+ "save_name": "Guardar nombre",
+ "cancel_renaming": "Cancelar el cambio de nombre",
+ "thread_actions_for": "Acciones del hilo {target}",
+ "thread_actions": "Acciones del hilo",
+ "show_more": "Mostrar {count} más",
+ "start_thread": "Empezar un hilo",
+ "archived_count": "Archivados ({count})",
+ "restore_named": "Restaurar {target}",
+ "restore": "Restaurar",
+ "delete_confirm": "¿Eliminar este hilo?",
+ "delete_body": "Su conversación sale de la lista. El historial propio del agente de programación se queda en el disco.",
+ "rename": "Cambiar nombre",
+ "new_thread_here": "Nuevo hilo en este proyecto",
+ "archive": "Archivar",
+ "plan_ready": "Plan listo",
+ "approval_needed": "Se necesita aprobación",
+ "one_of": "1 de {count}",
+ "plan_hint": "Constrúyelo, o sigue planificando y di qué cambiar.",
+ "keep_planning": "Seguir planificando",
+ "decline": "Rechazar",
+ "always_allow_title": "Aprobar y no volver a preguntar por esto en este hilo",
+ "always_allow": "Permitir siempre",
+ "build_it": "Constrúyelo",
+ "approve": "Aprobar",
+ "build_switches": "«Constrúyelo» cambia el acceso a {mode} y empieza a construir.",
+ "build_starts": "«Constrúyelo» empieza a construir.",
+ "or_keep_planning": "O sigue planificando y escribe qué cambiar.",
+ "asks": "{asker} pregunta",
+ "the_agent": "El agente",
+ "n_of": "{index} de {count}",
+ "own_answer": "O escribe tu propia respuesta",
+ "skip": "Omitir",
+ "choose_connected_agent": "Elige primero un agente de programación conectado.",
+ "queue_paused": "Cola en pausa después de que el agente se detuviera.",
+ "send_next": "Enviar el siguiente",
+ "queued": "En cola",
+ "files_one": "{count} archivo",
+ "files_other": "{count} archivos",
+ "remove_queued": "Quitar mensaje en cola",
+ "message_agent": "Mensaje al agente de programación",
+ "queue_placeholder": "Pon en cola un seguimiento para cuando el agente termine",
+ "composer_placeholder": "Pide cambios, envía seguimientos o adjunta imágenes",
+ "stop_agent": "Detener el agente",
+ "stop": "Detener",
+ "queue_message": "Poner mensaje en cola",
+ "send_message": "Enviar mensaje",
+ "queue_title": "Poner en cola para cuando el agente termine",
+ "copy_message": "Copiar mensaje",
+ "scroll_newest": "Ir al mensaje más reciente"
+ },
+ "ide_view": {
+ "split_right": "Derecha",
+ "split_down": "Abajo",
+ "split_left": "Izquierda",
+ "split_up": "Arriba",
+ "split_right_aria": "Dividir a la derecha",
+ "split_down_aria": "Dividir abajo",
+ "split_left_aria": "Dividir a la izquierda",
+ "split_up_aria": "Dividir arriba",
+ "split_right_hint": "Abrir el nuevo agente a la derecha del panel",
+ "split_down_hint": "Abrir el nuevo agente debajo del panel",
+ "split_left_hint": "Abrir el nuevo agente a la izquierda del panel",
+ "split_up_hint": "Abrir el nuevo agente encima del panel",
+ "choose_folder": "Elige una carpeta para este proyecto.",
+ "choose_agent_every": "Elige un agente de programación instalado para cada sesión.",
+ "connect_agent_clis": "Conecta un agente de programación en CLIs para continuar.",
+ "no_project": "Este workspace no pertenece a ningún proyecto conectado.",
+ "no_workspace_n": "No hay ningún workspace {number}.",
+ "workspace_fallback": "workspace",
+ "loading_projects": "Cargando proyectos…",
+ "choose_workspace": "Elige un workspace",
+ "select_workspace_hint": "Selecciona un workspace en Proyectos o crea uno con + junto a su proyecto.",
+ "connect_folder_hint": "Conecta una carpeta para reunir sus agentes de programación y a tu asistente en un workspace.",
+ "add_agent": "Añadir agente de programación",
+ "agents_one": "{count} agente",
+ "agents_other": "{count} agentes",
+ "sessions_one": "{count} sesión",
+ "sessions_other": "{count} sesiones",
+ "where_open": "¿Dónde debe abrirse?",
+ "next_to": "Junto a",
+ "split_next_to": "Dividir junto a",
+ "auto_grid": "Cuadrícula uniforme automática",
+ "split_direction": "Dirección de la división",
+ "joins_grid": "El nuevo agente se une a la cuadrícula y cada panel recibe el mismo espacio.",
+ "copying_starting": "Copiando la carpeta e iniciando allí el agente. Las carpetas grandes tardan un minuto.",
+ "name_optional": "Nombre (opcional)",
+ "workspace_placeholder": "Workspace",
+ "copying_folder": "Copiando la carpeta…",
+ "starting": "Iniciando…",
+ "workspace_name": "Nombre del workspace"
+ },
+ "install_standard": {
+ "method": "Método de instalación",
+ "copy_command": "Copiar el comando de instalación",
+ "copy_named": "Copiar el comando de instalación de {method}",
+ "copied": "Copiado",
+ "copy": "Copiar",
+ "heading": "Instalar",
+ "tab_cli": "CLI",
+ "tab_runner": "uvx",
+ "tab_prompt": "Prompt",
+ "hint_cli": "Funciona en cualquier terminal mientras la app esté abierta.",
+ "hint_runner": "No hace falta instalar nada: uv descarga la CLI y ejecuta el mismo comando.",
+ "hint_prompt": "Pega esto en tu asistente: él se encarga de la instalación.",
+ "note_jarvis": "Funciona en cualquier terminal mientras {product} esté abierto.",
+ "note_skills_sh": "Instala el mismo skill en Claude Code, Cursor, Codex y otros agentes."
+ },
+ "plugins_package": {
+ "plugin_json_invalid": "plugin.json no es un JSON válido: corrígelo antes de publicar.",
+ "no_mcp_json": "No se encontró mcp.json: no pasa nada si el bloque auth apunta a un servidor MCP alojado o el paquete solo contiene skills.",
+ "missing_type_one": "Al servidor de mcp.json {servers} le falta \"type\": la tienda exige \"type\": \"streamable-http\" | \"stdio\" | \"sse\" en cada servidor.",
+ "missing_type_other": "A los servidores de mcp.json {servers} les falta \"type\": la tienda exige \"type\": \"streamable-http\" | \"stdio\" | \"sse\" en cada servidor.",
+ "too_many_skills": "Más de 10 skills incluidos: la tienda acepta 10 como máximo.",
+ "nothing_found": "No se encontró plugin.json ni SKILL.md: una carpeta de paquete necesita uno de los dos en su nivel superior. También vale un solo archivo si se llama SKILL.md o empieza con frontmatter YAML (---).",
+ "no_frontmatter": "SKILL.md no empieza con frontmatter YAML (---): la tienda lo exige."
+ },
+ "debug_view": {
+ "title": "Depuración",
+ "subtitle": "Bus de eventos en directo y diagnóstico",
+ "event_count": "{count} eventos",
+ "event_timeline": "Cronología de eventos",
+ "emit": "Emitir",
+ "clear": "Borrar",
+ "switch_brain_provider": "Cambiar proveedor de Brain",
+ "flight_recorder": "Grabador de vuelo",
+ "traces_from": "Trazas JSONL de",
+ "replay_coming": "el reproductor llegará más adelante.",
+ "metrics": "Métricas",
+ "metrics_coming": "Latencia / tokens / coste por proveedor: gráficos en directo a partir de la fase 2."
+ },
+ "install_terminal": {
+ "pane_title": "instalar {package}",
+ "starting": "Iniciando el instalador de {package}…"
+ },
+ "install_agents": {
+ "decrease": "disminuir",
+ "increase": "aumentar",
+ "recheck": "volver a comprobar"
}
}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/local_models/de.json b/jarvis/ui/web/frontend/src/i18n/locales/local_models/de.json
index 632e95e962..a27fb0ce46 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/local_models/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/local_models/de.json
@@ -272,7 +272,8 @@
"resident_unknown": "{total} insgesamt — Grafikspeicher unbekannt",
"resident_context": "Kontext (Schätzung)",
"resident_context_short": "Kontext",
- "resident_reserve": "Reserve für Sprache rein/raus"
+ "resident_reserve": "Reserve für Sprache rein/raus",
+ "server_no_answer": "Der Server unter {url} antwortet nicht."
},
"installed": {
"title": "Installierte Modelle",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/local_models/en.json b/jarvis/ui/web/frontend/src/i18n/locales/local_models/en.json
index 68a5c94618..bd80dc6067 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/local_models/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/local_models/en.json
@@ -272,7 +272,8 @@
"resident_unknown": "{total} in total — graphics memory unknown",
"resident_context": "Context (estimate)",
"resident_context_short": "context",
- "resident_reserve": "Speech in/out reserve"
+ "resident_reserve": "Speech in/out reserve",
+ "server_no_answer": "The server at {url} does not answer."
},
"installed": {
"title": "Installed models",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/local_models/es.json b/jarvis/ui/web/frontend/src/i18n/locales/local_models/es.json
index 4b798425d7..8c2a409935 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/local_models/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/local_models/es.json
@@ -272,7 +272,8 @@
"resident_unknown": "{total} en total — memoria gráfica desconocida",
"resident_context": "Contexto (estimación)",
"resident_context_short": "contexto",
- "resident_reserve": "Reserva para voz"
+ "resident_reserve": "Reserva para voz",
+ "server_no_answer": "El servidor en {url} no responde."
},
"installed": {
"title": "Modelos instalados",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/local_models/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/local_models/pt.json
new file mode 100644
index 0000000000..8b7c2642b3
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/local_models/pt.json
@@ -0,0 +1,499 @@
+{
+ "local_models": {
+ "jobs": {
+ "chat_purpose": "Responde quando escreves.",
+ "tools_screen_purpose": "Lê o ecrã e usa as ferramentas.",
+ "deep_purpose": "Fica com os trabalhos longos: programação, planeamento, pesquisa.",
+ "embedding_purpose": "Indexa a tua wiki em segundo plano. Escolhido uma vez e depois esquecido.",
+ "voice_purpose": "Responde quando falas. Uma chamada pede um modelo pequeno e rápido.",
+ "empty": "Ainda sem modelo",
+ "not_on_disk": "Definido, mas não transferido",
+ "no_facts": "Tamanho desconhecido",
+ "memory_share": "{percent} % de {gb} GB de memória gráfica",
+ "memory_over": "Maior do que os {gb} GB de memória gráfica — corre parcialmente no processador",
+ "memory_unknown": "Memória gráfica desconhecida",
+ "memory_aria": "Usa {percent} % da memória gráfica",
+ "switch_to": "Mudar para {model}",
+ "fit_fits": "Adequado para este trabalho.",
+ "fit_slow": "Funciona, mas {reason}.",
+ "fit_unfit": "Não consegue fazer este trabalho — {reason}.",
+ "fit_unknown": "O Dodaios não conseguiu ler o que este modelo consegue fazer.",
+ "fit_alternative": "Escolhe antes {model}.",
+ "shared_with": "Partilhado com {roles} — carregado uma vez.",
+ "memory_line": "{weights} + {context} de contexto = {percent} % de {gb} GB de memória gráfica",
+ "memory_line_voice": "{weights} + {context} de contexto + {reserve} para fala de entrada/saída = {percent} % de {gb} GB",
+ "context_of": "{context} de {native} ctx",
+ "loaded_now": "carregado agora",
+ "details": "Detalhes",
+ "details_config": "Definição",
+ "details_required": "Requer",
+ "details_loaded_as": "Em memória como",
+ "details_recommended": "Escolha"
+ },
+ "launch": {
+ "aria": "Configurar o servidor",
+ "nothing_picked": "Escolhe um modelo para cada trabalho ou deixa este botão fazê-lo",
+ "partly_picked": "{filled} de {total} trabalhos têm um modelo",
+ "all_picked": "Todos os trabalhos têm um modelo",
+ "total_on_disk": "{size} em disco",
+ "largest_fits": "o maior tem {size} e cabe nos {gb} GB de memória gráfica",
+ "largest_over": "o maior tem {size}, acima dos {gb} GB de memória gráfica",
+ "server_running": "{server} {version} está em execução",
+ "server_stopped": "{server} não está em execução",
+ "server_absent": "{server} ainda não está instalado",
+ "action_start": "Configurar {server}",
+ "action_install": "Instalar {server} e configurar",
+ "action_rerun": "Aplicar e testar"
+ },
+ "title": "Modelos locais",
+ "subtitle": "Modelos que correm nesta máquina ou num servidor que indicares.",
+ "back": "Chaves de API",
+ "reload": "Atualizar",
+ "tabs_label": "Áreas dos modelos locais",
+ "tab_overview": "Visão geral",
+ "tab_models": "Modelos",
+ "tab_catalogue": "Explorar modelos",
+ "tab_huggingface": "Hugging Face",
+ "tab_server": "Servidor",
+ "catalogue_title": "Catálogo",
+ "catalogue_subtitle": "Transferências recomendadas e toda a biblioteca pública.",
+ "huggingface_title": "Hugging Face",
+ "server_title": "Servidor",
+ "server_subtitle": "Onde os modelos correm e como aceder-lhes.",
+ "no_provider": "Não há nenhum servidor de modelos locais disponível nesta build. Nada aqui pode correr até existir um fornecedor capaz de transferir modelos.",
+ "loading": "A procurar o servidor de modelos locais…",
+ "catalogue": {
+ "mode_label": "Vista do catálogo",
+ "mode_recommended": "Recomendados",
+ "mode_newest": "Mais recentes",
+ "mode_popular": "Populares",
+ "capability_label": "Filtro de capacidades",
+ "cap_tools": "Ferramentas",
+ "cap_vision": "Visão",
+ "cap_embedding": "Embedding",
+ "cap_thinking": "Raciocínio",
+ "search_placeholder": "Pesquisar na biblioteca…",
+ "fetched_ago": "Catálogo obtido há {minutes} min",
+ "fetched_just_now": "Catálogo obtido agora mesmo",
+ "refresh": "Atualizar o catálogo",
+ "reviewed": "Seleção revista a {date}",
+ "loading": "A ler o catálogo…",
+ "empty": "Nada no catálogo corresponde.",
+ "library_label": "Biblioteca pública de modelos",
+ "tags_label": "Tags de {model}",
+ "tags_loading": "A ler as tags…",
+ "tags_empty": "Este modelo não lista nenhuma tag transferível.",
+ "group_chat": "Chat",
+ "group_vision": "Visão",
+ "group_coder": "Programação",
+ "group_embedding": "Embedding",
+ "recommended_badge": "Escolha para {roles}",
+ "col_name": "Modelo",
+ "col_capabilities": "Capacidades",
+ "col_sizes": "Tamanhos",
+ "col_pulls": "Transferências",
+ "col_updated": "Atualizado",
+ "col_expand": "Mostrar tags",
+ "col_tag": "Tag",
+ "col_quant": "Quantização",
+ "col_context": "Contexto",
+ "col_size": "Tamanho",
+ "col_fit": "Adequação a esta máquina",
+ "col_action": "Ação",
+ "no_size": "tamanho desconhecido",
+ "cloud_only": "Só alojado",
+ "pull": "Transferir",
+ "pull_aria": "Transferir {model}",
+ "installed": "Instalado",
+ "use_for": "Usar para…",
+ "use_for_menu": "Usar este modelo para uma função",
+ "use_for_done": "{model} é agora usado para {role}.",
+ "pulling": "A transferir {model}: {percent}%",
+ "pull_done": "{model} está instalado.",
+ "pull_failed": "Não foi possível transferir {model}: {message}",
+ "exact_title": "Transferir nome exato",
+ "exact_placeholder": "p. ex. qwen3.5:4b ou hf.co/user/repo:Q4_K_M",
+ "exact_pull": "Transferir",
+ "exact_hint": "Funciona qualquer nome que o servidor aceite, incluindo tags que o catálogo não lista."
+ },
+ "role_chat": "Chat",
+ "role_tools_screen": "Ferramentas e ecrã",
+ "role_deep": "Profundo e programação",
+ "role_embedding": "Embeddings",
+ "role_voice": "Voz",
+ "role_ack": "Confirmação rápida",
+ "role_polish": "Polimento do ditado",
+ "huggingface": {
+ "toggle_label": "Hugging Face",
+ "toggle_sentence": "Transfere modelos GGUF de qualquer repositório público do Hugging Face. O Ollama transfere-os como os da sua própria biblioteca.",
+ "toggle_hint": "Desligado por predefinição. Enquanto estiver desligado, nada nesta máquina comunica com huggingface.co.",
+ "search_placeholder": "Pesquisar repositórios GGUF no Hugging Face",
+ "sort_label": "Ordenar",
+ "sort_downloads": "Transferências",
+ "sort_newest": "Mais recentes",
+ "sort_trending": "Em tendência",
+ "empty_query": "Escreve o nome de um modelo para pesquisar — por exemplo qwen3.8 ou gemma4.",
+ "searching": "A pesquisar no Hugging Face…",
+ "no_results": "Nenhum repositório GGUF corresponde.",
+ "arch_unknown": "arquitetura desconhecida",
+ "col_params": "Parâmetros",
+ "col_context": "Contexto",
+ "col_downloads": "transferências",
+ "col_updated": "Atualizado",
+ "loading_files": "A ler os ficheiros do repositório…",
+ "no_files": "Este repositório não tem nenhum ficheiro .gguf para transferir.",
+ "open_repo": "Abrir em huggingface.co",
+ "quant_default": "predefinido",
+ "size_unknown": "tamanho desconhecido",
+ "fit_comfortable": "cabe à vontade",
+ "fit_tight": "cabe à justa",
+ "fit_unknown": "adequação desconhecida",
+ "pull": "Transferir",
+ "pulling": "A transferir…",
+ "pull_again": "Transferir novamente",
+ "pull_starting": "a iniciar",
+ "pull_done": "Instalado.",
+ "pull_failed": "A transferência não terminou.",
+ "notes_label": "É bom saber",
+ "token_note": "Explorar funciona sem conta. O Hugging Face permite cerca de 500 pedidos anónimos a cada 5 minutos por endereço; um token gratuito elimina esse limite. Podes guardar um em",
+ "token_link": "Chaves de API",
+ "private_hint": "Repositórios privados: adiciona a chave ~/.ollama/id_ed25519.pub à tua conta do Hugging Face em"
+ },
+ "inventory": {
+ "table_label": "Modelos instalados",
+ "col_name": "Modelo",
+ "col_family": "Família",
+ "col_params": "Parâmetros",
+ "col_quant": "Quant",
+ "col_context": "Contexto",
+ "col_size": "Tamanho",
+ "col_capabilities": "Capacidades",
+ "col_modified": "Modificado",
+ "col_loaded": "Carregado",
+ "col_used_by": "Usado por",
+ "col_actions": "Ações",
+ "menu_label": "Ações para {model}",
+ "action_details": "Detalhes",
+ "action_tune": "Ajustar",
+ "action_unload": "Descarregar da memória",
+ "action_delete": "Eliminar",
+ "use_for": "Usar para {role}",
+ "role_chat": "Chat",
+ "role_tools_screen": "Ferramentas e ecrã",
+ "role_deep": "Profundo e programação",
+ "role_embedding": "Embeddings",
+ "assigned": "{role} usa agora {model}.",
+ "unloaded": "{model} foi descarregado da memória.",
+ "deleted": "{model} foi eliminado.",
+ "not_loaded": "Não carregado",
+ "unknown": "Desconhecido",
+ "loading": "A carregar…",
+ "failed": "Não foi possível ler o inventário.",
+ "empty": "Ainda nada instalado. O separador Catálogo lista o que podes transferir.",
+ "fact_license": "Licença",
+ "fact_capabilities": "Capacidades",
+ "fact_context": "Contexto nativo",
+ "fact_digest": "Digest",
+ "fact_parameters": "Parâmetros",
+ "fact_template": "Modelo de prompt",
+ "fact_none": "Nenhum definido",
+ "delete_confirm": "Eliminar {model} ({size}) desta máquina? A transferência desaparece até o transferires novamente.",
+ "delete_reassign": "Passar as suas funções para",
+ "delete_reassign_pick": "Escolhe um modelo",
+ "delete_do": "Eliminar",
+ "deleting": "A eliminar…",
+ "cancel": "Cancelar",
+ "stat_disk": "Disco usado pelos modelos",
+ "stat_disk_hint": "Os aliases partilham os pesos",
+ "stat_loaded": "Carregados agora",
+ "stat_loaded_hint": "{count} em memória",
+ "stat_total": "Modelos",
+ "stat_total_hint": "Instalados neste servidor",
+ "role_voice": "Voz"
+ },
+ "overview": {
+ "server": "Servidor",
+ "server_running": "Em execução",
+ "server_stopped": "Parado",
+ "server_not_installed": "Não instalado",
+ "server_remote": "Remoto",
+ "server_unreachable": "Inacessível",
+ "server_unknown": "…",
+ "server_version": "Ollama {version}",
+ "gpu": "Memória gráfica",
+ "gpu_unknown": "desconhecida",
+ "gpu_unknown_hint": "Não foi possível ler nenhuma placa gráfica; os modelos correm no processador.",
+ "gpu_source": "Lida via {source}",
+ "disk": "Transferências em disco",
+ "loaded": "Carregados agora",
+ "loaded_none": "Nada está em memória neste momento.",
+ "status_generic_server": "Servidor local",
+ "status_running": "{server} {version} em execução",
+ "status_running_noversion": "{server} em execução",
+ "status_stopped": "{server} parado",
+ "status_not_installed": "{server} não instalado",
+ "status_unreachable": "{server} inacessível",
+ "status_remote": "{server} remoto em {url}",
+ "status_checking": "A verificar o servidor…",
+ "status_brain_other": "{server} não é o teu cérebro ativo (responde {brain})",
+ "status_brain_active": "{server} é o teu cérebro ativo",
+ "action_browse": "Explorar modelos",
+ "gpu_in_use": "{gb} em uso",
+ "gpu_in_use_none": "nada em uso",
+ "loaded_expires": "expira em {when}",
+ "checking": "A verificar…",
+ "action_setup": "Configurar tudo",
+ "action_setup_install": "Instalar {server} e configurar tudo",
+ "setup_planning": "A ler o que está instalado…",
+ "setup_server_starting": "A iniciar {server}…",
+ "setup_server_installing": "A instalar {server}…",
+ "setup_pulling": "A transferir {model}",
+ "setup_assigning": "A atribuir {role}: {model}…",
+ "setup_tuning": "A escolher as definições para {model}…",
+ "setup_verifying": "A testar a configuração — o servidor, uma resposta de chat, uma ida e volta de voz…",
+ "setup_saving": "A guardar — a partir de agora o servidor arranca com o Dodaios…",
+ "setup_done": "Está tudo configurado e testado.",
+ "setup_done_nothing": "Já estava tudo configurado; a verificação passou.",
+ "setup_done_problem": "Configurado, mas a verificação encontrou um problema: {reason}",
+ "setup_autostart_on": "A partir de agora o servidor arranca com o Dodaios; desliga isso no separador Servidor.",
+ "setup_assigned": "{role} → {model}",
+ "setup_kept_one": "1 função manteve a sua escolha.",
+ "setup_kept": "{count} funções mantiveram a sua escolha.",
+ "setup_skipped": "{role} ignorado: {reason}",
+ "setup_skipped_no_pick": "nenhum modelo instalado é adequado e o catálogo não tem nenhuma escolha",
+ "setup_error": "A configuração parou: {message}",
+ "setup_brain_hint": "{server} está configurado, mas {brain} continua a responder.",
+ "setup_brain_button": "Tornar {server} o cérebro ativo",
+ "setup_brain_switched": "{server} é agora o cérebro ativo.",
+ "setup_brain_failed": "Não foi possível mudar o cérebro: {message}",
+ "resident_title": "Se todos os trabalhos forem carregados ao mesmo tempo",
+ "resident_fits": "{total} de {gb} GB",
+ "resident_over": "{total} de {gb} GB — mais do que a placa comporta; o Ollama vai alternar entre uma chamada e um chat",
+ "resident_unknown": "{total} no total — memória gráfica desconhecida",
+ "resident_context": "Contexto (estimativa)",
+ "resident_context_short": "contexto",
+ "resident_reserve": "Reserva para fala de entrada/saída",
+ "server_no_answer": "O servidor em {url} não responde."
+ },
+ "installed": {
+ "title": "Modelos instalados",
+ "subtitle": "{count} transferências · {size} em disco",
+ "subtitle_one": "1 transferência · {size} em disco",
+ "manage": "Gerir",
+ "browse": "Explorar modelos",
+ "list_label": "Modelos instalados",
+ "empty": "Ainda nada instalado.",
+ "loading": "A ler as transferências…",
+ "loaded": "em memória",
+ "unknown_caps": "capacidades desconhecidas",
+ "recommended_for": "Recomendado para {role}"
+ },
+ "verify": {
+ "eyebrow": "Verificação",
+ "title": "Verificar a configuração",
+ "subtitle": "Uma ida e volta real para cada um: o servidor responde, o modelo de chat responde, o modelo de voz fala. Também atualiza o indicador na barra lateral.",
+ "run": "Executar uma verificação",
+ "running": "A verificar…",
+ "server": "Servidor",
+ "chat": "Chat",
+ "embedding": "Embeddings",
+ "ok": "OK",
+ "failed": "falhou",
+ "skipped": "não testado",
+ "result_ok": "Tudo respondeu.",
+ "result_problem": "Problema: {reason}",
+ "ms": "{ms} ms",
+ "voice": "Voz",
+ "tools_screen": "Ferramentas e ecrã"
+ },
+ "roles": {
+ "title": "Funções",
+ "subtitle": "Que transferência responde a que trabalho. Um botão para cada.",
+ "loading": "A ler as funções…",
+ "other_brain": "O Ollama não é o teu cérebro ativo — neste momento responde {brain}. Estes espaços continuam a ser preenchidos, só esperam pela sua vez.",
+ "other_brain_link": "Mudar o cérebro em Chaves de API",
+ "discovery": "O Dodaios escolhe a transferência mais pequena que for capaz.",
+ "follows_chat": "Definido no seu próprio cartão.",
+ "not_installed": "não instalado",
+ "read_only": "Definido noutro local",
+ "pick_label": "Modelo para {role}",
+ "pick_discovery": "Deixar o Dodaios escolher",
+ "pick_none": "Escolher um modelo",
+ "pick_missing_suffix": "(não instalado)",
+ "pick_group_fits": "Adequado para este trabalho",
+ "pick_group_others": "Outros modelos instalados",
+ "pick_group_over_size": "Tem as capacidades, mas acima de {gb} GB — responde mais devagar",
+ "server_silent": "O servidor não respondeu, por isso esta lista pode estar incompleta. Atualiza quando estiver em execução.",
+ "use_recommended": "Usar o recomendado",
+ "download_recommended": "Transferir {model}",
+ "tune": "Ajustar",
+ "more_roles": "Mais funções",
+ "empty_body": "Ainda nada instalado. Um clique transfere os modelos recomendados para esta máquina e preenche todas as funções.",
+ "setup_button": "Configurar os modelos recomendados",
+ "progress_pulling": "A transferir",
+ "progress_assigning": "A atribuir a função…",
+ "progress_tuning": "A escolher as definições para esta máquina…",
+ "progress_done": "Concluído.",
+ "progress_error": "Isso não funcionou:",
+ "readback_gpu": "Corre com um contexto de {ctx} totalmente na placa gráfica.",
+ "readback_ctx": "Corre com um contexto de {ctx}.",
+ "readback_defaults": "Corre com as predefinições do próprio modelo.",
+ "tune_skipped": "Atribuído; as definições ficam nas predefinições do modelo.",
+ "voice_context_auto": "Corre com um contexto de {context} — dimensionado a partir da memória desta máquina. Usa Ajustar para o definires tu.",
+ "voice_context_manual": "Corre com um contexto de {context} — definido por ti em Ajustar.",
+ "pick_group_slow": "Funciona, mas mais devagar",
+ "pick_group_unknown": "Capacidades desconhecidas",
+ "pick_group_unfit": "Não serve para este trabalho",
+ "pick_group_downloads": "Transferir uma escolha para este trabalho",
+ "pick_search": "Pesquisar modelos instalados…",
+ "pick_empty": "Nada corresponde.",
+ "pick_download": "Transferir",
+ "pick_current": "atual",
+ "pick_fits": "adequado"
+ },
+ "server": {
+ "host_eyebrow": "Anfitrião",
+ "host_title": "Endereço do servidor",
+ "host_subtitle": "Todas as funções — chat, ferramentas, profundo, voz — comunicam com este único endereço.",
+ "test": "Testar",
+ "testing": "A testar…",
+ "probe_ok": "Acessível — Ollama {version}, {ms} ms",
+ "runtime_eyebrow": "Runtime",
+ "runtime_title": "Processo local",
+ "status_running": "Em execução",
+ "status_starting": "A iniciar…",
+ "status_stopped": "Instalado, não está em execução",
+ "status_missing": "Não instalado",
+ "stop": "Parar",
+ "stop_confirm": "Clica novamente para parar",
+ "stopping": "A parar…",
+ "remote_note": "Este servidor corre noutra máquina; gere-o lá.",
+ "loaded_eyebrow": "Carregados agora",
+ "loaded_title": "Modelos em memória",
+ "loaded_subtitle": "{vram} de memória do acelerador em uso.",
+ "loaded_empty": "Nada está carregado. Um modelo é carregado no primeiro pedido e descarregado após o seu keep-alive.",
+ "col_model": "Modelo",
+ "col_vram": "VRAM",
+ "col_expires": "Descarrega",
+ "col_actions": "Ações",
+ "context": "{tokens} tokens de contexto",
+ "expires_in_min": "dentro de {minutes} min",
+ "expires_now": "a qualquer momento",
+ "expires_kept": "mantido carregado",
+ "unload": "Descarregar",
+ "unloading": "A descarregar…",
+ "facts_eyebrow": "Dados",
+ "fact_version": "Versão",
+ "fact_host_kind": "Anfitrião",
+ "fact_address": "Endereço",
+ "fact_models_dir": "Pasta dos modelos",
+ "fact_disk": "Em disco",
+ "fact_keep_alive": "Keep-alive predefinido",
+ "keep_alive_value": "{value}, a menos que OLLAMA_KEEP_ALIVE ou uma definição por modelo indique outra coisa",
+ "host_local": "Esta máquina",
+ "host_remote": "Outra máquina",
+ "unknown": "Desconhecido",
+ "env_eyebrow": "Ambiente",
+ "env_title": "Definições do servidor",
+ "env_subtitle": "O Ollama lê estas definições do ambiente. Copia uma linha, executa-a e depois reinicia o servidor.",
+ "env_os_label": "Sistema operativo",
+ "os_windows": "Windows",
+ "os_macos": "macOS",
+ "os_linux": "Linux",
+ "copy": "Copiar",
+ "copied": "Copiado para a área de transferência.",
+ "copy_failed": "Não foi possível copiar — seleciona a linha e copia-a manualmente.",
+ "log_title": "Registo do servidor",
+ "log_refresh": "Atualizar registo",
+ "log_loading": "A ler o registo…",
+ "log_empty": "Ainda sem registo. O Dodaios escreve um quando é ele a iniciar o servidor.",
+ "idle_eyebrow": "Memória",
+ "idle_title": "Libertar memória quando inativo",
+ "idle_subtitle": "A pilha de voz local — o seu servidor de voz e o cérebro de voz — liberta a placa gráfica após este tempo sem chamadas. A chamada seguinte volta a pagar o arranque.",
+ "idle_label": "Após",
+ "idle_minutes": "minutos sem chamadas",
+ "idle_never": "= manter tudo carregado",
+ "idle_save": "Guardar",
+ "idle_saving": "A guardar…",
+ "idle_hint": "0 mantém os modelos carregados enquanto o Dodaios está em execução. Aplica-se na próxima verificação, sem necessidade de reiniciar.",
+ "autostart_eyebrow": "Modelos locais",
+ "autostart_title": "Ligado ou desligado",
+ "autostart_subtitle": "Desligado para o servidor de fala local, descarrega todos os modelos e devolve de imediato a memória gráfica — e nada local volta a arrancar sozinho. Ligado arranca o servidor com o Dodaios e carrega o modelo de chat, para que a primeira resposta seja rápida.",
+ "autostart_label": "Modelos locais ligados",
+ "autostart_now": "Neste momento: {reason}.",
+ "autostart_saving": "A guardar…"
+ },
+ "tune": {
+ "aria": "Ajustar {model}",
+ "eyebrow": "Ajustar",
+ "close": "Fechar",
+ "facts": "{size} em disco · contexto nativo {context}",
+ "suggested_title": "Sugerido para esta máquina",
+ "suggested_apply": "Aplicar",
+ "suggested_loading": "A ler a memória desta máquina…",
+ "suggested_failed": "Não foi possível fazer nenhuma sugestão.",
+ "chip_default": "Predefinição",
+ "chip_native": "{context} (nativo)",
+ "auto": "auto",
+ "group_context": "Contexto",
+ "group_placement": "Colocação",
+ "group_session": "Sessão",
+ "group_sampling": "Amostragem",
+ "num_ctx": "Janela de contexto",
+ "num_ctx_sentence": "Quanto da conversa o modelo consegue ter em vista de uma vez; mais custa memória.",
+ "num_gpu": "Camadas na placa gráfica",
+ "num_gpu_sentence": "Quantas camadas correm na placa gráfica; Todas coloca tudo lá, Só CPU mantém tudo fora da placa.",
+ "gpu_all": "Todas",
+ "gpu_cpu": "Só CPU",
+ "gpu_custom": "Personalizado",
+ "gpu_layers": "Camadas",
+ "num_thread": "Threads de CPU",
+ "num_thread_sentence": "Quantas threads de CPU o modelo pode usar; vazio deixa o Ollama decidir.",
+ "keep_alive": "Manter carregado",
+ "keep_alive_sentence": "Quanto tempo o modelo fica carregado em memória depois de uma resposta.",
+ "keep_default": "Predefinição",
+ "keep_5m": "5 min",
+ "keep_30m": "30 min",
+ "keep_2h": "2 h",
+ "keep_forever": "Para sempre",
+ "keep_unload": "Descarregar após uso",
+ "think": "Raciocínio",
+ "think_sentence": "Se e quão intensamente o modelo raciocina antes de responder.",
+ "think_default": "Predefinição",
+ "think_off": "Desligado",
+ "think_low": "Baixo",
+ "think_medium": "Médio",
+ "think_high": "Alto",
+ "think_max": "Máximo",
+ "temperature": "Temperatura",
+ "temperature_sentence": "Quão arrojada é a redação; baixa é precisa, alta é criativa.",
+ "top_p": "Top P",
+ "top_p_sentence": "Só são consideradas as palavras mais prováveis que, em conjunto, atingem esta fração.",
+ "top_k": "Top K",
+ "top_k_sentence": "Só é considerado este número das palavras seguintes mais prováveis.",
+ "min_p": "Min P",
+ "min_p_sentence": "Palavras abaixo desta fração da escolha principal nunca são escolhidas.",
+ "repeat_penalty": "Penalização de repetição",
+ "repeat_penalty_sentence": "Com que força o modelo é desencorajado de se repetir.",
+ "seed": "Seed",
+ "seed_sentence": "A mesma seed e a mesma pergunta dão a mesma resposta.",
+ "num_predict": "Comprimento da resposta",
+ "num_predict_sentence": "A resposta mais longa que o modelo pode escrever antes de parar.",
+ "stop": "Sequências de paragem",
+ "stop_sentence": "Sequências de texto em que o modelo para de escrever, uma por linha.",
+ "save": "Guardar",
+ "saving": "A guardar…",
+ "reset": "Repor predefinições",
+ "reset_done": "{model} voltou às predefinições do Ollama.",
+ "knob_count": "{count} definidas",
+ "saved": "{count} definições guardadas para {model}; a próxima resposta usa-as.",
+ "saved_with_alias": "{count} definições guardadas para {model}. O Ollama cria o perfil {alias} na primeira utilização, o que demora alguns segundos.",
+ "saved_cleared": "{model} volta a correr com as predefinições do Ollama.",
+ "footnote_alias": "Corre através do perfil {alias}; a primeira utilização após uma alteração demora alguns segundos.",
+ "footnote_will_bake": "Ao guardar, estas definições tornam-se um perfil do modelo; a primeira utilização a seguir demora alguns segundos.",
+ "footnote_no_alias": "Estas definições vão com cada pedido; nada é reconstruído.",
+ "num_ctx_over_suggested": "Acima do que cabe nesta máquina, por estimativa (sugerido {context}; isto precisa de cerca de {estimate} GB). Será aplicado na mesma — o modelo pode transbordar para a memória do sistema, correr devagar ou não carregar. A máquina é tua, a decisão também."
+ },
+ "tune_missing": "Esse modelo já não está instalado, por isso não há nada para ajustar."
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/local_models/zh.json b/jarvis/ui/web/frontend/src/i18n/locales/local_models/zh.json
index 18daafc610..0d67745bc6 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/local_models/zh.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/local_models/zh.json
@@ -272,7 +272,8 @@
"resident_unknown": "共 {total}——显存未知",
"resident_context": "上下文(估算)",
"resident_context_short": "上下文",
- "resident_reserve": "语音输入/输出预留"
+ "resident_reserve": "语音输入/输出预留",
+ "server_no_answer": "位于 {url} 的服务器没有响应。"
},
"installed": {
"title": "已安装的模型",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/de.json b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/de.json
index 0fafb69f7a..93df0ec6a5 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/de.json
@@ -141,7 +141,16 @@
"studio_done_waited_out": "Nach mehreren Minuten noch nicht im Feed — öffne den Pull Request oben und sieh nach, was die Prüfungen sagen.",
"studio_done_watching": "Beobachte den Live-Feed, bis dein Paket erscheint — meist ein paar Minuten.",
"studio_done_share_heading": "Weitergeben",
- "studio_done_share_note": "Das kann jetzt jeder ausführen — es löst deinen Eintrag aus der öffentlichen Registry auf."
+ "studio_done_share_note": "Das kann jetzt jeder ausführen — es löst deinen Eintrag aus der öffentlichen Registry auf.",
+ "studio_layout_plugin_json": "Pflicht: name, description, version",
+ "studio_layout_mcp_json": "der Server, mit dem dein Plugin spricht (optional)",
+ "studio_layout_skills": "Anweisungen, die mitgeliefert werden (optional)",
+ "studio_layout_usage_card": "wann der Assistent es nutzen soll (optional)",
+ "studio_layout_skill_md": "ein eigenständiger Skill: eine Datei, YAML-Frontmatter zuerst",
+ "studio_f_title_placeholder": "Mein Skill",
+ "studio_f_categories_placeholder": "schreiben, recherche",
+ "studio_preview_category": "Community",
+ "studio_done_live_package": "Live — {package} v{version} ist jetzt im Marketplace."
},
"custom_connector": {
"dialog_title": "Plugin hinzufügen",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/en.json b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/en.json
index 3882bd3467..a7222280be 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/en.json
@@ -141,7 +141,16 @@
"studio_done_waited_out": "Still not in the feed after several minutes — open the pull request above to see what its checks say.",
"studio_done_watching": "Watching the live feed until your package appears — usually a few minutes.",
"studio_done_share_heading": "Share it",
- "studio_done_share_note": "Anyone can run this now — it resolves your listing from the public registry."
+ "studio_done_share_note": "Anyone can run this now — it resolves your listing from the public registry.",
+ "studio_layout_plugin_json": "required: name, description, version",
+ "studio_layout_mcp_json": "the server your plugin talks to (optional)",
+ "studio_layout_skills": "instructions that ship with it (optional)",
+ "studio_layout_usage_card": "when the assistant should use it (optional)",
+ "studio_layout_skill_md": "a standalone skill: one file, YAML frontmatter first",
+ "studio_f_title_placeholder": "My Skill",
+ "studio_f_categories_placeholder": "writing, research",
+ "studio_preview_category": "Community",
+ "studio_done_live_package": "Live — {package} v{version} is in the marketplace now."
},
"custom_connector": {
"dialog_title": "Add a plugin",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/es.json b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/es.json
index 593e163ef2..5b7f1000e2 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/es.json
@@ -141,7 +141,16 @@
"studio_done_waited_out": "Tras varios minutos sigue sin aparecer en el feed: abre el pull request de arriba para ver qué dicen sus comprobaciones.",
"studio_done_watching": "Vigilando el feed en vivo hasta que aparezca tu paquete; suelen ser unos minutos.",
"studio_done_share_heading": "Compártelo",
- "studio_done_share_note": "Cualquiera puede ejecutar esto ahora: resuelve tu entrada desde el registro público."
+ "studio_done_share_note": "Cualquiera puede ejecutar esto ahora: resuelve tu entrada desde el registro público.",
+ "studio_layout_plugin_json": "obligatorio: name, description, version",
+ "studio_layout_mcp_json": "el servidor con el que habla tu plugin (opcional)",
+ "studio_layout_skills": "instrucciones que se incluyen con él (opcional)",
+ "studio_layout_usage_card": "cuándo debe usarlo el asistente (opcional)",
+ "studio_layout_skill_md": "un skill independiente: un archivo, con el frontmatter YAML al principio",
+ "studio_f_title_placeholder": "Mi skill",
+ "studio_f_categories_placeholder": "escritura, investigación",
+ "studio_preview_category": "Comunidad",
+ "studio_done_live_package": "En vivo — {package} v{version} ya está en el marketplace."
},
"custom_connector": {
"dialog_title": "Añadir un plugin",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/pt.json
new file mode 100644
index 0000000000..9879040eca
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/pt.json
@@ -0,0 +1,188 @@
+{
+ "marketplace": {
+ "subtitle_updated": "Atualizado a {date}",
+ "retry": "Tentar novamente",
+ "error_title": "Não foi possível carregar o marketplace",
+ "hero_body_browse": "Plugins e skills publicados pela comunidade. Todos os ficheiros aparecem no ecrã antes de qualquer instalação.",
+ "description_missing": "Ainda sem descrição.",
+ "update_available": "Atualizar",
+ "update_to": "Atualizar para v{version}",
+ "installed_version": "Tens a v{version}",
+ "open_in": "Abrir em {section}",
+ "show_all": "Mostrar tudo",
+ "empty_search_builtin": "As prateleiras da comunidade são pequenas. O catálogo de Plugins integrado tem muitos mais serviços prontos a ligar.",
+ "browse_builtin": "Explorar plugins integrados",
+ "section_about": "Sobre",
+ "section_data": "Para onde vão os teus dados",
+ "section_runs": "Onde é executado",
+ "section_trust": "Antes de instalares",
+ "section_after": "Depois de instalar",
+ "publish_card_title": "Partilha o que criaste",
+ "publish_card_body": "Publica um plugin ou skill com o teu nome do GitHub. Fica disponível assim que as verificações automáticas passarem.",
+ "filter_mine": "Meus",
+ "empty_mine": "Ainda nada publicado com o teu nome. O teu primeiro pacote está à distância de um clique.",
+ "hero_eyebrow": "Marketplace da comunidade",
+ "hero_title": "Criado por quem usa esta aplicação",
+ "hero_body": "Plugins, skills e agentes prontos a usar, publicados pela comunidade e instalados com um clique. Qualquer pessoa pode publicar — inicia sessão com o GitHub e tudo o que passar nas verificações automáticas fica disponível com o teu nome.",
+ "hero_publish_signed_in": "Publicar algo",
+ "publish_on_web": "No site",
+ "identity_label": "Identidade",
+ "identity_sign_in": "Iniciar sessão com o GitHub",
+ "identity_sign_out": "Terminar sessão",
+ "identity_done": "Concluído",
+ "identity_cancel": "Cancelar",
+ "identity_signed_in_as": "Sessão iniciada como @{login}",
+ "identity_signed_in_hint": "Tudo o que publicares a partir desta aplicação aparece com este nome.",
+ "identity_publishes_under": "os teus pacotes são publicados com este nome.",
+ "identity_sign_in_blurb": "Inicia sessão com o GitHub para publicar. O início de sessão só prova quem és — não concede nada na tua conta.",
+ "identity_unreachable": "O GitHub está inacessível neste momento — não foi possível verificar o teu estado de sessão.",
+ "identity_dialog_title": "Iniciar sessão com o GitHub",
+ "identity_dialog_subtitle": "Um código, introduzido no GitHub. Nenhuma palavra-passe chega a esta aplicação.",
+ "identity_code_label": "O teu código de utilização única",
+ "identity_code_hint": "Abre o GitHub, cola o código e aprova. Esta aplicação recebe o resultado sozinha — não há mais nada a fazer aqui.",
+ "identity_copy_code": "Copiar o código",
+ "identity_copied": "Copiado",
+ "identity_open_github": "Abrir o GitHub",
+ "identity_waiting": "A aguardar a tua aprovação",
+ "identity_requesting": "A pedir um código de início de sessão ao GitHub…",
+ "identity_fact_scope": "O início de sessão não pede permissões na tua conta — só prova quem és.",
+ "identity_fact_name": "Tudo o que publicares aparece publicamente com o teu nome do GitHub.",
+ "identity_fact_keyring": "O token fica no porta-chaves do teu sistema. Terminar sessão remove-o.",
+ "identity_menu_hint": "A tua identidade de publicação",
+ "identity_menu_mine": "As minhas publicações",
+ "studio_eyebrow": "Estúdio de publicação",
+ "studio_title": "Publicar no marketplace",
+ "studio_station_who": "Quem és",
+ "studio_station_what": "O que publicas",
+ "studio_station_check": "Verificar e publicar",
+ "studio_station_live": "Disponível na loja",
+ "studio_rail_note_public": "Qualquer pessoa pode publicar. Tudo o que passar nas verificações automáticas fica disponível sem revisão humana, publicamente com o teu nome do GitHub.",
+ "studio_rail_note_rules": "Quem instala vê exatamente o que o teu pacote poderá fazer antes de o aceitar.",
+ "studio_back": "Voltar",
+ "studio_h_source": "Onde está o teu pacote?",
+ "studio_h_github": "Importar do GitHub",
+ "studio_h_form": "Rever, verificar, publicar",
+ "studio_h_done": "Submetido",
+ "studio_disabled": "A publicação está desativada nesta instalação — não há nenhum endpoint de publicação configurado.",
+ "studio_source_label": "Escolhe uma porta",
+ "studio_source_hint": "o conteúdo decide se se torna uma skill ou um cartão de plugin",
+ "studio_door_folder": "Larga uma pasta de pacote — ou um único SKILL.md",
+ "studio_door_folder_hint": "Arrasta a pasta ou o ficheiro para aqui, ou clica para escolher uma pasta. plugin.json, mcp.json e as skills incluídas são lidos automaticamente; um SKILL.md isolado torna-se uma skill. Nada é carregado até premires Publicar.",
+ "studio_door_skill_file": "…ou escolhe um único ficheiro SKILL.md",
+ "studio_origin_file": "o teu ficheiro",
+ "studio_door_github": "Importar do GitHub",
+ "studio_door_github_hint": "Explora os teus repositórios públicos, escolhe o pacote e revê-o primeiro.",
+ "studio_door_blank": "Começar do zero",
+ "studio_door_blank_hint": "Escreve-o no formulário — ideal para uma única skill.",
+ "studio_origin_folder": "a tua pasta",
+ "studio_err_folder": "Não foi possível ler a pasta.",
+ "studio_err_plugin_json": "plugin.json não é JSON válido",
+ "studio_err_mcp_json": "mcp.json não é JSON válido",
+ "studio_how_title": "Como funciona a publicação",
+ "studio_how_step_1": "Inicia sessão com o GitHub — só prova quem és.",
+ "studio_how_step_2": "Adiciona o teu pacote: larga a pasta, importa-o do GitHub ou escreve-o aqui.",
+ "studio_how_step_3": "Verifica-o — as mesmas regras que a loja aplica são executadas antes de submeteres.",
+ "studio_how_step_4": "Publica. As verificações voltam a correr, é integrado quando tudo passa e aparece na loja em poucos minutos.",
+ "studio_how_show_layout": "Como é uma pasta de pacote?",
+ "studio_how_hide_layout": "Ocultar a estrutura da pasta",
+ "studio_how_layout_note": "Os nomes usam minúsculas a-z 0-9 - . e a primeira publicação fica com o nome. Nenhuma credencial em nenhum ficheiro — os tokens são marcadores como $plugin_…, preenchidos no computador do utilizador no momento da ligação.",
+ "studio_github_note": "Apenas repositórios públicos — revês tudo antes de publicar. Não é usado nenhum token aqui; isto só lê ficheiros públicos.",
+ "studio_github_account": "Conta do GitHub",
+ "studio_github_list": "Listar repositórios",
+ "studio_github_one_repo": "…ou um repositório específico",
+ "studio_github_scan": "Analisar",
+ "studio_github_no_repos": "Esta conta não tem repositórios públicos.",
+ "studio_github_all_repos": "todos os repositórios",
+ "studio_github_truncated": "O GitHub cortou esta listagem — este repositório é grande o suficiente para que a análise possa ter falhado um pacote fora do que é mostrado aqui.",
+ "studio_github_files": "{count} ficheiro(s)",
+ "studio_github_review": "Rever e preencher",
+ "studio_err_repos": "Não foi possível listar os repositórios.",
+ "studio_err_scan": "Não foi possível analisar o repositório.",
+ "studio_err_scan_truncated": "Este repositório é demasiado grande para ser analisado por completo e não apareceu nenhum plugin.json ou SKILL.md no que o GitHub devolveu — experimenta uma subpasta específica.",
+ "studio_err_scan_empty": "Não há plugin.json nem SKILL.md neste repositório — nada aqui é um pacote publicável.",
+ "studio_err_import": "A importação falhou.",
+ "studio_err_ref": "Introduz um repositório como \"owner/name\" ou cola o URL do GitHub.",
+ "studio_err_resolve": "Não foi possível resolver o repositório.",
+ "studio_form_label": "O que estás a publicar",
+ "studio_prefilled_from": "Carregado de {origin} — revê os campos e depois verifica e publica.",
+ "studio_f_name": "Nome do pacote",
+ "studio_f_name_hint": "a-z 0-9 - . — a primeira publicação fica com o nome",
+ "studio_f_version": "Versão",
+ "studio_f_version_hint": "SemVer, p. ex. 1.0.0",
+ "studio_f_title": "Título",
+ "studio_f_description": "Descrição",
+ "studio_f_description_hint": "{count}/500 — o que a skill faz, em uma ou duas frases",
+ "studio_f_categories": "Categorias",
+ "studio_f_categories_hint": "separadas por vírgulas, opcional",
+ "studio_f_skill_md_hint": "{kb} KB / {max} KB — as instruções que o assistente segue, começando com frontmatter YAML",
+ "studio_f_plugin_json_hint": "o manifesto de Agent Plugins (nome, descrição, versão, extensões)",
+ "studio_f_mcp_json_hint": "opcional — exatamente um servidor com o seu \"type\" (\"streamable-http\" ou \"stdio\"): um URL https ou um comando npx/uvx/docker fixado",
+ "studio_f_skills": "Skills incluídas",
+ "studio_f_skills_hint": "instruções que são instaladas juntamente com o plugin — até 10",
+ "studio_f_skills_none": "Nenhuma. As skills vão na pasta do pacote como skills/<name>/SKILL.md — larga uma pasta ou importa do GitHub para as incluir.",
+ "studio_f_usage_card": "Cartão de utilização",
+ "studio_f_usage_card_hint": "opcional — palavras-chave que indicam ao assistente quando o plugin é relevante",
+ "studio_insert_template": "Inserir modelo",
+ "studio_check": "Verificar",
+ "studio_check_ok": "Cumpre todas as regras que a loja verifica — pronto a publicar.",
+ "studio_publish": "Publicar",
+ "studio_start_over": "Recomeçar",
+ "studio_sign_in_first": "Inicia sessão com o GitHub primeiro",
+ "studio_preview_label": "Pré-visualização do cartão na loja",
+ "studio_preview_untitled": "Sem título",
+ "studio_preview_no_description": "Ainda sem descrição.",
+ "studio_preview_bundled": "{count} skill(s) incluída(s)",
+ "studio_preview_note": "É mais ou menos assim que a tua entrada vai aparecer na loja — para todos, assim que as verificações passarem.",
+ "studio_done_eyebrow": "Submetido ao registo",
+ "studio_done_body": "O registo recebeu o teu pacote. As verificações automáticas estão agora a correr; quando passarem, aparece na loja automaticamente.",
+ "studio_done_view_pr": "Ver a submissão",
+ "studio_done_another": "Publicar outro",
+ "studio_done_live": "Disponível — {name} v{version} já está no marketplace.",
+ "studio_done_waited_out": "Ainda não aparece no feed após vários minutos — abre o pull request acima para veres o que dizem as verificações.",
+ "studio_done_watching": "A acompanhar o feed em direto até o teu pacote aparecer — normalmente alguns minutos.",
+ "studio_done_share_heading": "Partilhar",
+ "studio_done_share_note": "Qualquer pessoa pode executar isto agora — obtém a tua entrada a partir do registo público.",
+ "studio_layout_plugin_json": "obrigatório: name, description, version",
+ "studio_layout_mcp_json": "o servidor com que o teu plugin comunica (opcional)",
+ "studio_layout_skills": "instruções incluídas com ele (opcional)",
+ "studio_layout_usage_card": "quando o assistente o deve usar (opcional)",
+ "studio_layout_skill_md": "uma skill independente: um ficheiro, com o frontmatter YAML primeiro",
+ "studio_f_title_placeholder": "A minha skill",
+ "studio_f_categories_placeholder": "escrita, pesquisa",
+ "studio_preview_category": "Comunidade",
+ "studio_done_live_package": "Disponível — {package} v{version} já está no marketplace."
+ },
+ "custom_connector": {
+ "dialog_title": "Adicionar um plugin",
+ "tab_connector": "URL do conector",
+ "tab_folder": "Pasta do plugin",
+ "intro": "Liga o Dodaios a qualquer servidor MCP pelo seu endereço. O método de início de sessão é detetado por ti.",
+ "name_label": "Nome",
+ "name_help": "Aparece na tua lista de plugins. Deixa em branco para usar o nome do próprio servidor.",
+ "url_label": "URL do servidor MCP",
+ "url_help": "O endereço HTTPS onde o servidor aceita pedidos MCP, por exemplo https://mcp.example.com/mcp.",
+ "advanced": "Definições avançadas",
+ "signin_label": "Início de sessão",
+ "signin_auto": "Detetar",
+ "signin_oauth": "Navegador",
+ "signin_token": "Token de acesso",
+ "signin_none": "Nenhum",
+ "signin_auto_help": "O Dodaios pergunta ao servidor e escolhe início de sessão no navegador, um token de acesso ou nenhum início de sessão.",
+ "signin_oauth_help": "Abre a página de início de sessão do fornecedor no teu navegador. O servidor tem de permitir que novas aplicações se registem sozinhas.",
+ "signin_token_help": "Colas uma chave de API ou um token logo depois de adicionar. Fica guardado no armazenamento de credenciais do teu sistema.",
+ "signin_none_help": "Para servidores que respondem sem qualquer início de sessão.",
+ "header_label": "Nome do cabeçalho",
+ "header_help": "Deixa em branco para enviar o token como Bearer token em Authorization.",
+ "trust_note": "Adiciona apenas conectores de programadores em quem confias. O Dodaios não consegue verificar que ferramentas um servidor oferece nem se mudam mais tarde.",
+ "checking": "A verificar o servidor…",
+ "continue": "Continuar",
+ "added": "{name} adicionado",
+ "menu_connector": "Conector personalizado (URL)",
+ "menu_folder": "Carregar pasta de plugin",
+ "remove": "Remover",
+ "remove_title": "Remover {name}?",
+ "remove_body": "O início de sessão é eliminado e as ferramentas saem de todos os chats. Podes adicioná-lo novamente a qualquer momento.",
+ "removed": "{name} removido",
+ "fact_server": "Servidor"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/zh.json b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/zh.json
index 22081f570a..9ef0a1eef1 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/marketplace/zh.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/marketplace/zh.json
@@ -141,7 +141,16 @@
"studio_done_waited_out": "几分钟后仍未出现在列表中。请打开上方的拉取请求,查看检查结果。",
"studio_done_watching": "正在监视实时列表,直到你的包出现,通常需要几分钟。",
"studio_done_share_heading": "分享",
- "studio_done_share_note": "现在任何人都可以运行它:它会从公共注册表中找到你的条目。"
+ "studio_done_share_note": "现在任何人都可以运行它:它会从公共注册表中找到你的条目。",
+ "studio_layout_plugin_json": "必填:name、description、version",
+ "studio_layout_mcp_json": "插件所对接的服务器(可选)",
+ "studio_layout_skills": "随插件一起提供的指令(可选)",
+ "studio_layout_usage_card": "助手何时应使用它(可选)",
+ "studio_layout_skill_md": "独立技能:单个文件,YAML frontmatter 在最前",
+ "studio_f_title_placeholder": "我的技能",
+ "studio_f_categories_placeholder": "写作, 研究",
+ "studio_preview_category": "社区",
+ "studio_done_live_package": "已上线:{package} v{version} 现在已在市场中。"
},
"custom_connector": {
"dialog_title": "添加插件",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/onboarding/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/onboarding/pt.json
new file mode 100644
index 0000000000..b93ef03661
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/onboarding/pt.json
@@ -0,0 +1,101 @@
+{
+ "first_run": {
+ "back": "Voltar",
+ "continue": "Continuar",
+ "step_of": "{current} de {total}",
+ "window": {
+ "title": "Configurar {name}",
+ "progress": "Progresso da configuração",
+ "language": "Idioma"
+ },
+ "name": {
+ "pill": "Nome",
+ "title": "Olá! Como gostarias de me chamar?",
+ "lede": "Escolhe o nome que quiseres. É também a minha palavra de ativação: diz-a em voz alta e eu fico a ouvir. Podes alterá-lo a qualquer momento nas Definições.",
+ "label": "Nome do assistente",
+ "placeholder": "Escreve um nome…"
+ },
+ "connect": {
+ "pill": "Ligar",
+ "title": "Liga a tua IA",
+ "lede": "Inicia sessão com uma subscrição que já pagas ou cola uma chave de API. Basta uma delas para {name} pensar e falar.",
+ "sign_in": "Iniciar sessão",
+ "api_key": "Chave de API",
+ "ready": "Pronto",
+ "checking": "A verificar…",
+ "waiting": "A aguardar…",
+ "signed_in": "Sessão iniciada",
+ "signed_in_as": "Sessão iniciada como {account}",
+ "key_saved": "Chave de API guardada",
+ "plans_or_key": "{plans} ou uma chave de API",
+ "key_only": "Chave de API",
+ "more": "Mais fornecedores",
+ "finish_in_browser": "Conclui o início de sessão no teu navegador.",
+ "install_first": "Instala-o primeiro: executa isto num terminal e depois verifica novamente.",
+ "check_again": "Verificar novamente",
+ "copy": "Copiar comando",
+ "key_connecting": "A ativar tudo…",
+ "key_connected": "Ligado: {provider}.",
+ "key_partial": "Algumas partes não foram ativadas ({parts}). Podes corrigi-las mais tarde na página Chaves de API.",
+ "live_ready": "A voz em direto está ativa: fala e {name} responde de imediato.",
+ "live_missing": "O chat funciona. A voz em direto precisa de uma chave OpenAI ou Gemini; até lá, {name} fala da forma clássica, um pouco mais lenta.",
+ "key_security": "As subscrições são cobradas a um preço mensal fixo. As chaves ficam no porta-chaves do teu sistema e só são enviadas ao fornecedor que escolheste.",
+ "nothing_yet": "Ainda nada ligado. Sem uma subscrição ou uma chave, o chat e a voz ficam desligados. Podes ligar uma mais tarde na página Chaves de API.",
+ "later": "Saltar por agora"
+ },
+ "voice": {
+ "pill": "Voz",
+ "title": "Como vais falar com {name}",
+ "lede": "Escreve no chat ou simplesmente fala: diz a tua palavra de ativação ou prime o teu atalho de Chamada.",
+ "wake_title": "Palavra de ativação: {phrase}",
+ "call_title": "Atalho de Chamada",
+ "call_detail": "Prime-o em qualquer lado para começar a falar. Clica nas teclas para escolheres as tuas.",
+ "call_recording": "Mantém premidas as teclas que queres e depois solta. Esc cancela.",
+ "call_none": "Ainda sem atalho. Clica no campo e prime as teclas que queres.",
+ "call_press": "Clica e depois prime as teclas",
+ "call_change": "Alterar o atalho de Chamada",
+ "call_saved": "Guardado. Prime-o em qualquer lado para começar a falar.",
+ "call_refused": "Esta combinação não pode ser usada. Experimenta outra.",
+ "no_word": "Ainda sem palavra de ativação",
+ "wake_on": "Sempre à escuta da tua palavra de ativação. É reconhecida aqui mesmo, neste computador.",
+ "wake_off": "Desligado: prime o teu atalho de Chamada para falar. Ativa-o para que a tua palavra de ativação seja ouvida a toda a hora.",
+ "wake_switch": "Ouvir sempre a palavra de ativação",
+ "after_restart": "Isto é ativado com o reinício no final.",
+ "login_title": "Iniciar com a sessão",
+ "login_detail": "Abre {name} quando o computador arranca, para estar pronto a ouvir-te.",
+ "preview_note": "Isto é uma repetição, por isso nada é reiniciado.",
+ "restart_note": "A seguir, uma pequena visita mostra-te a aplicação. No final, a aplicação reinicia uma vez (cerca de dez segundos) para ativar tudo.",
+ "start": "Mostra-me a aplicação"
+ },
+ "tour": {
+ "title": "Uma visita a {name}",
+ "lede": "O teu animal de estimação guia-te pela aplicação e explica cada secção.",
+ "next": "Seguinte",
+ "finish": "Vamos lá",
+ "skip": "Saltar",
+ "labels": {
+ "chat": "Chat",
+ "voice": "Chat de voz",
+ "agents": "Agentes",
+ "ide": "IDE agêntico",
+ "plugins": "Plugins",
+ "wake": "Palavra de ativação",
+ "done": "Tudo pronto"
+ },
+ "stops": {
+ "chat": "Olá, sou o {pet}! Deixa-me mostrar-te a aplicação. Este é o teu chat com {name}. Escreve aqui o que quiseres: uma pergunta, uma tarefa, um ficheiro para analisar. Nunca tens de escolher uma ferramenta ou um modelo; {name} decide o que é preciso.",
+ "voice": "Preferes falar? Isto é o chat de voz. Clica na barra, diz a tua palavra de ativação ou prime o teu atalho de Chamada e depois fala. A onda mostra quem está a falar.",
+ "agents": "Trabalhos grandes, como uma pesquisa, um relatório ou um site, vão para os teus agentes. São a equipa de {name}, cada um com a sua função e modelo. Abre Agentes para os veres a trabalhar, conversar com um deles ou criar o teu.",
+ "ide": "O IDE agêntico executa agentes de programação como o Claude Code e o Codex em terminais reais, nos teus próprios projetos. Escreve-lhes diretamente ou deixa {name} orientá-los por voz.",
+ "plugins": "Os plugins ligam {name} às aplicações que usas: email, calendário, notas, casa inteligente e muito mais. Cada um torna-se uma nova ferramenta, e tudo o que envia ou altera algo pede-te autorização primeiro.",
+ "wake": "A tua palavra de ativação está aqui nas Definições. Diz \"Olá {name}\" e {name} fica a ouvir. Altera a palavra, escolhe o idioma ou testa-a a qualquer momento.",
+ "done": "E a visita termina aqui! Fala com {name} sempre que quiseres e, se alguma vez ficares sem saber o que fazer, basta perguntar. Definições → Aplicação repete este guia."
+ }
+ }
+ },
+ "app_tour": {
+ "replay_title": "Repetir a introdução",
+ "replay_body": "Abre novamente a janela de configuração (nome, ligações de IA, voz) e depois a visita à aplicação. Nada é reiniciado.",
+ "replay": "Repetir"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/pane_review/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/pt.json
new file mode 100644
index 0000000000..7ccbd44bc4
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/pt.json
@@ -0,0 +1,46 @@
+{
+ "pane_review": {
+ "title": "Rever alterações: {pane}",
+ "description_pane": "Todos os ficheiros que este agente alterou, com ou sem commit, comparados com o código antes da primeira edição.",
+ "description_since": "Todos os ficheiros que este agente alterou, com ou sem commit, comparados com o código antes da primeira edição ({time}).",
+ "description_uncommitted": "Todos os ficheiros que este agente alterou e que ainda não têm commit.",
+ "description_folder": "Todos os ficheiros sem commit nesta pasta, independentemente de quem os alterou.",
+ "files_one": "1 ficheiro",
+ "files_other": "{count} ficheiros",
+ "scope_label": "Que alterações mostrar",
+ "scope_pane": "Este agente",
+ "scope_folder": "Pasta inteira",
+ "scope_folder_count": "Pasta inteira ({count})",
+ "refresh": "Ler as alterações novamente",
+ "close": "Fechar",
+ "loading": "A ler as alterações…",
+ "loading_diff": "A carregar o diff…",
+ "load_failed": "Não foi possível ler as alterações: {error}",
+ "diff_failed": "Não foi possível ler este diff: {error}",
+ "unavailable": "Não é possível mostrar as alterações aqui: {reason}",
+ "empty_pane": "Este agente ainda não alterou nenhum ficheiro.",
+ "empty_pane_hint": "Os ficheiros alterados com um script ou um comando de shell contam assim que tiverem commit; até lá aparecem em Pasta inteira.",
+ "empty_folder": "Não há nada sem commit nesta pasta.",
+ "empty_hint": "O trabalho que já tem commit está no separador Git.",
+ "file_list": "Ficheiros alterados",
+ "truncated_list": "Só são listados os primeiros 500 ficheiros alterados.",
+ "truncated_diff": "Este diff está cortado. Abre o ficheiro para o veres completo.",
+ "binary": "Ficheiro binário: não há linhas para comparar.",
+ "no_lines": "Não há alterações de linhas para mostrar.",
+ "directory": "Uma pasta nova. Os ficheiros não são listados um a um.",
+ "open_editor": "Abrir no editor",
+ "collapse": "Recolher este ficheiro",
+ "expand": "Expandir este ficheiro",
+ "status": {
+ "modified": "Modificado",
+ "added": "Adicionado",
+ "untracked": "Novo",
+ "deleted": "Eliminado",
+ "conflicted": "Conflito"
+ },
+ "committed": "Com commit",
+ "pending": "Sem commit",
+ "generated_hidden": "+ {count} ficheiros gerados (resultado da build), não listados",
+ "editor_badge": "Alterações de {pane}"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/providers/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/providers/pt.json
new file mode 100644
index 0000000000..51715403a8
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/providers/pt.json
@@ -0,0 +1,179 @@
+{
+ "providers_page": {
+ "subtitle": "As chamadas em direto correm no OpenAI GPT-Live. Os agentes correm em todas as subscrições ou chaves que ativares aqui.",
+ "checking": "A verificar…",
+ "checked_now": "Verificado agora mesmo",
+ "checked_minutes": "Verificado há {0} min",
+ "loading": "A carregar os teus fornecedores…",
+ "load_error": "Não foi possível carregar os fornecedores. O backend está em execução?",
+ "list_label": "Fornecedores de IA",
+ "list_title": "Fornecedores",
+ "list_desc": "Um início de sessão ou uma chave por empresa cobre todas as funcionalidades.",
+ "overview_none": "Não configurado",
+ "failing": "Uma funcionalidade deste fornecedor está a falhar",
+ "status_local": "Não é preciso conta nem chave",
+ "status_both": "Subscrição e chave de API",
+ "status_subscription": "Subscrição ligada",
+ "status_subscription_as": "Subscrição · {0}",
+ "status_key": "Chave de API",
+ "status_project": "Projeto Google Cloud",
+ "status_none": "Não ligado",
+ "use_voice": "Voz",
+ "use_agents": "Agentes",
+ "use_speech": "Fala",
+ "use_hearing": "Audição",
+ "use_dictation": "Ditado",
+ "use_voice_long": "Voz em direto",
+ "use_agents_long": "Agentes",
+ "use_speech_long": "Respostas faladas",
+ "use_hearing_long": "Reconhecimento de fala",
+ "use_dictation_long": "Limpeza do ditado",
+ "in_use": "Em uso",
+ "available": "Disponível",
+ "not_ready": "Não configurado",
+ "subscription_title": "Subscrição",
+ "subscription_desc": "Usa o plano {0} que já pagas. Sem chave, sem faturação por token.",
+ "subscription_unknown": "A verificar o início de sessão…",
+ "subscription_signed_in": "Sessão iniciada como {0}",
+ "subscription_install": "Instala primeiro a ferramenta de linha de comandos e depois liga.",
+ "subscription_hint": "Não ligado. Ligar abre o início de sessão oficial.",
+ "login_started_browser": "Início de sessão iniciado — conclui-o na janela do navegador.",
+ "login_started_terminal": "Início de sessão iniciado — conclui-o na janela do terminal.",
+ "login_waiting_browser": "À espera que concluas o início de sessão no navegador…",
+ "login_waiting_terminal": "À espera que concluas o início de sessão no terminal…",
+ "login_done": "{0} ligado.",
+ "logout_done": "{0} desligado.",
+ "connect": "Ligar",
+ "disconnect": "Desligar",
+ "cli_label": "Ferramenta de linha de comandos",
+ "cli_found": "Instalada",
+ "test": "Testar",
+ "key_title": "Chave de API",
+ "key_desc": "Uma chave {0} para tudo: voz em direto, agentes, fala e o resto. Faturada por utilização.",
+ "get_key": "Obter uma chave",
+ "key_label": "Chave de API",
+ "key_saved_hint": "Guardada neste computador. Todas as funcionalidades deste fornecedor a usam.",
+ "key_project_hint": "Sessão iniciada através do teu projeto Google Cloud — não é preciso chave. Uma chave aqui tem prioridade.",
+ "key_missing_hint": "Nenhuma chave guardada.",
+ "key_placeholder": "Cola a tua chave {0}",
+ "key_show": "Mostrar chave",
+ "key_hide": "Ocultar chave",
+ "key_save": "Guardar",
+ "key_replace": "Substituir",
+ "key_remove": "Remover chave",
+ "key_remove_confirm": "Todas as funcionalidades que usam esta chave param.",
+ "key_saved_toast": "Chave {0} guardada para todas as funcionalidades.",
+ "key_removed_toast": "Chave {0} removida.",
+ "key_format_warning": "Isto parece uma {0}, não uma chave {1}.",
+ "key_test_label": "Verificar a chave",
+ "key_test_hint": "Envia um pedido curto com esta chave.",
+ "separate_agents": "Os agentes usam a sua própria chave",
+ "separate_live_voice": "A voz em direto usa a sua própria chave",
+ "separate_codex": "O Codex usa a sua própria chave",
+ "separate_other": "Uma funcionalidade usa a sua própria chave",
+ "separate_hint": "Guardada antes apenas para esta funcionalidade. Muda-a para a chave acima para ficares com uma só chave.",
+ "separate_merge": "Usar a chave principal",
+ "separate_needs_main": "Guarda primeiro uma chave principal.",
+ "separate_merged_toast": "Agora na chave principal {0}.",
+ "voice_choice_title": "Voz em direto",
+ "voice_choice_desc": "Escolhe a via de voz para falares com {name} através deste fornecedor.",
+ "agents_title": "Agentes",
+ "agents_desc": "O worker que executa as tarefas em segundo plano de {name}.",
+ "agents_use": "Usar para agentes",
+ "agents_needs_key": "Guarda uma chave acima para o usares.",
+ "agents_needs_login_or_key": "Liga a subscrição ou guarda uma chave acima para o usares.",
+ "agents_switched": "Os agentes correm agora em {0}.",
+ "agents_switched_restart": "Os agentes vão correr em {0} após o próximo reinício.",
+ "voice_features_title": "Funcionalidades de fala",
+ "voice_features_desc": "Escolhidas nas definições de voz. Mostradas aqui para veres o que este fornecedor alimenta.",
+ "voice_features_open": "Definições de voz",
+ "local_models_title": "Modelos neste computador",
+ "local_models_desc": "Transfere, executa e escolhe os modelos que funcionam sem qualquer conta.",
+ "local_models_hint": "Ollama, um servidor local e a voz no dispositivo.",
+ "local_models_open": "Abrir",
+ "agent_settings_title": "Definições dos agentes",
+ "agent_settings_desc": "O modelo com que os agentes pensam e quem escreve as instruções das tarefas — para qualquer fornecedor que os execute.",
+ "restart_title": "Reiniciar para concluir a atualização",
+ "restart_desc": "A nova página de fornecedores precisa que o serviço em segundo plano da aplicação reinicie uma vez. Demora cerca de dez segundos.",
+ "restart_action": "Reiniciar agora",
+ "agent_providers_desc": "Ativa todos os fornecedores que os teus agentes podem usar. Abre um para escolheres subscrição ou chave e os respetivos modelos.",
+ "agent_providers_count": "{0} ativos",
+ "voice_save_hint": "Guarda para usar estas definições na próxima chamada",
+ "instructions_title": "Instruções",
+ "instructions_row": "Instruções personalizadas",
+ "instructions_set": "As tuas próprias instruções estão em uso",
+ "instructions_none": "Nenhuma — o GPT-Live usa as predefinições",
+ "instructions_edit": "Editar",
+ "instructions_hide": "Fechar",
+ "accounts_section": "Contas",
+ "account_active": "Ativa",
+ "account_use": "Usar para novos terminais",
+ "tab_voice": "Chamadas em direto",
+ "tab_agents": "Agentes",
+ "subscriptions_title": "Subscrições",
+ "keys_title": "Chaves de API",
+ "authenticated": "Autenticado",
+ "authenticated_as": "Autenticado · {0}",
+ "not_installed": "Não instalado",
+ "not_signed_in": "Sessão não iniciada",
+ "account": "Conta",
+ "agents_needs_login": "Inicia sessão primeiro para executar os agentes aqui.",
+ "agents_use_for": "Executar os agentes em {0}",
+ "runtime": "Runtime",
+ "binary_path": "Caminho do binário",
+ "binary_path_hint": "A ferramenta de linha de comandos que este início de sessão executa.",
+ "cli_check": "Verificar",
+ "cli_check_hint": "Encontra a ferramenta, lê a versão e o início de sessão.",
+ "key_saved_short": "Chave guardada",
+ "key_missing_short": "Sem chave",
+ "key_desc_short": "Uma chave para tudo o que este fornecedor faz. Faturada por utilização.",
+ "separate_title": "Chaves separadas",
+ "accounts_title": "Vários inícios de sessão por ferramenta"
+,
+ "agent_providers_title": "Fornecedores",
+ "access_title": "Acesso",
+ "access_desc": "Usa a tua subscrição ou uma chave de API. Os agentes correm apenas na que escolheres aqui.",
+ "access_subscription": "Subscrição",
+ "access_api_key": "Chave de API",
+ "access_local": "Este computador",
+ "agents_needs_access": "Liga a subscrição ou guarda primeiro uma chave.",
+ "local_title": "Neste computador",
+ "local_desc": "Os agentes correm em modelos locais. Sem conta, sem chave, nada sai deste computador.",
+ "default_title": "Predefinição para novas tarefas",
+ "default_desc": "As tarefas que {name} delega por iniciativa própria vão para aqui. Qualquer fornecedor ativo pode executar um agente.",
+ "default_on": "Predefinido",
+ "default_make": "Tornar predefinido",
+ "default_switched": "As novas tarefas vão agora para {0}.",
+ "default_switched_restart": "As novas tarefas vão para {0} após o próximo reinício.",
+ "models_title": "Modelos",
+ "models_count": "{0} de {1} modelos disponibilizados aos agentes",
+ "models_hide_all": "Desativar todos",
+ "models_show_all": "Ativar todos",
+ "models_loading": "A carregar modelos…",
+ "models_none": "Este fornecedor não lista modelos. Os agentes usam o modelo predefinido.",
+ "models_reasoning": "Raciocínio",
+ "thinking_pick": "Responde e usa ferramentas durante uma chamada",
+ "voice_ready": "Pronto",
+ "voice_not_ready": "Não configurado"
+ },
+ "mission_billing": {
+ "section": "Missões",
+ "title": "Continuar com chaves de API quando as subscrições se esgotam",
+ "state_off": "Desligado · as missões aguardam até uma subscrição ter margem novamente",
+ "state_on": "Ligado · {provider} · no máximo {mission_cap} por missão, {daily_cap} por dia",
+ "state_on_no_key": "Ligado · ainda sem chave de API com preço conhecido",
+ "state_key_only": "As missões já correm com as tuas chaves de API",
+ "state_no_key": "Requer uma chave de API com preço conhecido",
+ "spent": "{amount} gastos nas últimas 24 horas",
+ "less_than_cent": "menos de $0.01",
+ "load_error": "Não foi possível carregar esta definição: {detail}",
+ "save_error": "Não guardado: {detail}",
+ "confirm_title": "Continuar com a tua chave de API?",
+ "confirm_intro": "Quando todas as subscrições ligadas estiverem esgotadas, as missões continuam a correr com a tua própria chave de API em vez de aguardarem.",
+ "confirm_billing": "{provider} cobra essa chave por cada pedido:",
+ "confirm_no_key": "Ainda não está configurada nenhuma chave de API com preço conhecido, por isso nada pode ser cobrado.",
+ "confirm_caps": "Cada missão para em {mission_cap} e toda a utilização automática para em {daily_cap} por dia.",
+ "confirm_off": "Podes desligar isto a qualquer momento. Aplica-se a partir do próximo pedido.",
+ "confirm_action": "Ativar"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/pt.json
new file mode 100644
index 0000000000..e5ec5bd3fe
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/pt.json
@@ -0,0 +1,9288 @@
+{
+ "custom_apis": {
+ "connections_subtitle": "Os teus serviços, disponíveis para o Dodaios e os teus agentes.",
+ "add_title": "Adicionar um plugin",
+ "simple_hint": "Só o nome e a chave de API.",
+ "edit_hint": "Substituir a chave desta ligação.",
+ "service_name": "Nome do serviço",
+ "name_example": "Por exemplo, ElevenLabs",
+ "key_placeholder": "Cola a chave de API do serviço",
+ "private_key": "A tua chave fica em armazenamento protegido. Os agentes usam o serviço sem receber a chave.",
+ "automatic": "O Dodaios trata da configuração",
+ "automatic_hint": "O logótipo do serviço e as ações disponíveis são adicionados automaticamente. Podes ligar quantos serviços precisares.",
+ "inheritance": "As novas capacidades ficam disponíveis automaticamente para o Dodaios e os teus agentes, dentro das permissões existentes.",
+ "connect": "Adicionar plugin",
+ "connecting": "A configurar…",
+ "discovering": "A encontrar o serviço e a conhecer as ações disponíveis.",
+ "edit_key": "Atualizar chave de API",
+ "save_key": "Guardar chave",
+ "manage": "Gerir",
+ "pause": "Pausar ligação",
+ "resume": "Retomar ligação",
+ "paused": "Em pausa",
+ "status_configured": "Configurado",
+ "status_verified": "Ligado",
+ "status_limited": "Acesso limitado",
+ "capabilities_count": "capacidades",
+ "capabilities_hint": "Diz ao teu assistente ou a um agente o que queres fazer. Eles encontram a ação certa e usam esta ligação por ti.",
+ "search_capabilities": "Pesquisar capacidades…",
+ "blocked": "Bloqueado",
+ "partial_capabilities": "Não foi possível importar automaticamente {count} operações.",
+ "remove_confirm": "Remover esta ligação do Dodaios e dos teus agentes?",
+ "errors": {
+ "invalid_key": "O serviço não aceitou esta chave de API. Verifica-a.",
+ "key_required": "Introduz a chave de API do serviço.",
+ "invalid_service_name": "Introduz o nome do serviço.",
+ "service_not_found": "Não conseguimos identificar este serviço. Experimenta o nome completo.",
+ "ambiguous_service": "Vários serviços correspondem a este nome. Escolhe o que pretendes.",
+ "documentation_not_found": "Ainda não encontrámos uma descrição pública de API utilizável para este serviço.",
+ "documentation_unavailable": "Não foi possível carregar a documentação do serviço. Tenta novamente.",
+ "discovery_timeout": "Encontrar o serviço demorou demasiado. Tenta novamente.",
+ "unsafe_documentation": "Não foi possível verificar o endereço da documentação do serviço.",
+ "documentation_too_large": "A descrição da API deste serviço é demasiado grande para importar automaticamente.",
+ "service_address_mismatch": "Não foi possível associar com fiabilidade o endereço da API a este serviço. A tua chave não foi enviada.",
+ "connection_name_changed": "Adiciona uma nova ligação para mudar para outro serviço.",
+ "storage_unavailable": "Não foi possível guardar a ligação. Tenta novamente.",
+ "not_ready": "O Dodaios ainda está a iniciar. Tenta novamente daqui a pouco.",
+ "unsupported_api": "Este serviço ainda não pode ser configurado automaticamente com uma única chave de API.",
+ "invalid_connection": "Esta ligação já não está disponível."
+ },
+ "download": "Transferir resultado",
+ "title": "Os teus plugins",
+ "subtitle": "Liga os teus próprios serviços e disponibiliza as suas ações ao Dodaios e aos teus agentes.",
+ "add": "Adicionar plugin",
+ "elevenlabs": "Modelo ElevenLabs",
+ "import": "Importar definição",
+ "export": "Exportar",
+ "failed": "A operação falhou.",
+ "invalid_file": "Escolhe uma definição de API exportada válida, sem credenciais (máximo 256 KB).",
+ "retry": "Tentar novamente",
+ "loading": "A carregar as tuas APIs…",
+ "empty": "Os teus serviços, ligados ao Dodaios",
+ "empty_hint": "Começa com um modelo ou adiciona uma API HTTPS a partir da sua documentação. Não é preciso servidor MCP.",
+ "actions": "ações",
+ "disabled": "Desativado",
+ "ready": "Disponível · fornecedor não verificado",
+ "saved": "Guardado · ferramentas não prontas",
+ "edit": "Editar",
+ "run": "Executar ação",
+ "delete": "Remover",
+ "delete_hint": "Remover esta API, a chave guardada e as respetivas ferramentas de agente?",
+ "availability": "As ações ativas ficam disponíveis para o Dodaios e para os agentes com permissão para as usar. Guardar não contacta o fornecedor nem verifica a chave.",
+ "configure": "Configurar API",
+ "name": "Nome do serviço",
+ "url": "URL do serviço",
+ "description": "O que pode este serviço fazer?",
+ "auth": "Autenticação",
+ "header_auth": "Chave de API no cabeçalho",
+ "no_auth": "Sem autenticação",
+ "header": "Nome do cabeçalho",
+ "key": "Chave de API",
+ "key_saved": "Chave guardada · deixa em branco para manter",
+ "key_hint": "As chaves ficam em armazenamento protegido, separadas da definição. Usa apenas o campo da chave; nunca coles uma chave no chat, num URL ou num esquema.",
+ "enable": "Disponibilizar estas ações ao Dodaios e aos agentes",
+ "action": "Ação",
+ "remove_action": "Remover ação",
+ "action_id": "ID da ação (minúsculas, sem espaços)",
+ "action_description": "Para que deve o Dodaios usar esta ação?",
+ "method": "Método HTTP",
+ "path": "Caminho da API (parâmetros de caminho entre chavetas)",
+ "parameter": "Nome do parâmetro",
+ "type": "Tipo",
+ "required": "Obrigatório",
+ "remove_parameter": "Remover parâmetro",
+ "add_query": "Adicionar parâmetro de query",
+ "body": "Esquema JSON do corpo (opcional)",
+ "response": "Resposta",
+ "response_auto": "Detetar automaticamente",
+ "response_json": "JSON",
+ "response_text": "Texto",
+ "response_file": "Guardar ficheiro",
+ "permission": "Risco da ação · aplicam-se as tuas definições de aprovação",
+ "permission_monitor": "Normal",
+ "permission_ask": "Com consequências",
+ "permission_block": "Bloqueado",
+ "add_action": "Adicionar ação",
+ "save": "Guardar API",
+ "invalid_schema": "O esquema do corpo do pedido tem de ser JSON válido.",
+ "run_hint": "Isto envia um pedido real e pode gastar créditos do fornecedor. Aplicam-se as permissões existentes do Dodaios. Os argumentos usam os objetos path, query e body.",
+ "arguments": "Argumentos (JSON)",
+ "invalid_arguments": "Introduz argumentos JSON válidos.",
+ "running": "A executar…"
+ },
+ "apikeys_realtime": {
+ "aria": "Voz em tempo real",
+ "loading": "A carregar fornecedores de voz…",
+ "state_ready": "Pronto para a próxima chamada",
+ "state_call": "Chamada em curso",
+ "state_connecting": "A ligar…",
+ "state_backup": "No percurso de voz de reserva",
+ "state_off": "O Realtime está desligado",
+ "state_none": "Ainda sem fornecedor de voz",
+ "none_hint": "Escolhe um fornecedor abaixo e adiciona a chave.",
+ "off_hint": "A tua voz ainda funciona com o motor clássico descontinuado. Liga o Realtime para falar através do fornecedor abaixo.",
+ "off_hint_unavailable": "A tua voz ainda funciona com o motor clássico descontinuado. Configura um fornecedor abaixo e depois liga o Realtime.",
+ "turn_on": "Ligar Realtime",
+ "providers_title": "Fornecedor",
+ "providers_desc": "Quem gere a conversa ao vivo. Um fornecedor com chave guardada assume com um clique.",
+ "active": "Ativo",
+ "use_provider": "Usar {0}",
+ "settings_desc_live": "Escolhe uma chave OpenAI ou uma subscrição ChatGPT para voz e raciocínio.",
+ "model_voice": "Modelo e voz",
+ "model_voice_hint": "Aplica-se à próxima chamada.",
+ "test_label": "Teste de ligação",
+ "test_hint": "Envia um pedido curto para verificar se a chave funciona."
+ },
+ "live": {
+ "subscription_install": "Configurar início de sessão ChatGPT",
+ "subscription_installing": "A preparar o início de sessão ChatGPT…",
+ "subscription_install_required": "Configura o início de sessão ChatGPT neste dispositivo para ligar a tua subscrição.",
+ "subscription_install_failed": "A configuração do início de sessão ChatGPT não terminou. Repete a configuração e depois inicia sessão.",
+ "billing_method": "Acesso a voz e raciocínio",
+ "billing_pending": "Escolha de faturação por guardar",
+ "api_key_mode": "Chave de API OpenAI",
+ "subscription_mode": "Subscrição ChatGPT",
+ "subscription_account": "Conta ChatGPT",
+ "subscription_active_account": "Usar a conta Codex ativa",
+ "subscription_connected": "Conta ChatGPT ligada.",
+ "subscription_model_required": "Ligado. Escolhe um modelo de raciocínio",
+ "subscription_sign_in_required": "Inicia sessão com uma subscrição ChatGPT para usar voz e raciocínio sem chave de API.",
+ "subscription_sign_in": "Iniciar sessão com ChatGPT",
+ "subscription_voice_ready": "O acesso de voz foi verificado para esta conta.",
+ "subscription_voice_unverified": "O acesso de voz é verificado quando inicias uma chamada. Iniciar sessão, por si só, não verifica a disponibilidade da voz.",
+ "subscription_voice_unavailable": "A voz não está disponível de momento para esta conta. A tua chave de API não será usada em alternativa.",
+ "subscription_login_failed": "Não foi possível concluir o início de sessão ChatGPT. Tenta novamente.",
+ "subscription_browser_failed": "Não foi possível abrir a página de início de sessão. Tenta novamente.",
+ "subscription_accounts_failed": "Não foi possível carregar as contas ChatGPT. Reabre a configuração para tentar novamente.",
+ "subscription_thinking_help": "Este modelo raciocina e usa as ferramentas do Dodaios através da conta ChatGPT selecionada.",
+ "subscription_billing": "A voz e o raciocínio usam a tua subscrição ChatGPT, sujeitos aos respetivos limites de acesso e utilização. Se não estiver disponível, a chamada termina sem mudar para uma chave de API. O acesso de voz por subscrição é experimental.",
+ "options_failed": "Não foi possível carregar a lista de modelos e vozes. Reabre a configuração para tentar novamente.",
+ "active": "Ativo",
+ "pipeline_fallback": "Não foi possível iniciar o Realtime nesta chamada, por isso funciona no percurso de voz de reserva. As novas definições aplicam-se à próxima chamada.",
+ "open_browser": "Abrir voz no navegador",
+ "loading": "A carregar configuração de voz…",
+ "description": "Conversa natural, o modelo de raciocínio que escolheres e as ferramentas do Dodaios. Escolhe uma chave OpenAI ou uma subscrição ChatGPT.",
+ "key_required": "Liga a tua chave OpenAI acima para ativar voz e raciocínio.",
+ "voice_model": "Modelo de voz",
+ "voice": "Voz",
+ "thinking_model": "Modelo de raciocínio",
+ "choose_model": "Escolhe um modelo",
+ "reasoning": "Esforço de raciocínio",
+ "model_default": "Predefinição do modelo",
+ "web_search": "Pesquisa na Web",
+ "prompts": "Avançado · instruções e ID do modelo",
+ "conversation_prompt": "Estilo de conversa",
+ "backend_prompt": "Instruções de raciocínio e ferramentas",
+ "billing": "O tempo de voz e a utilização do raciocínio são faturados separadamente. A gravação na cloud está desligada.",
+ "save": "Guardar e usar GPT-Live",
+ "saved": "Guardado. A próxima chamada vai usar estas definições.",
+ "use_for_agents": "Faturar também agentes e chat de texto a esta chave (por token)",
+ "agent_saved": "Os agentes e o chat de texto usam agora este modelo OpenAI.",
+ "setup_title": "Voz e raciocínio",
+ "setup_description": "Escolhe como o teu assistente ouve, responde e usa as tuas ferramentas.",
+ "provider_selection": "Definições do fornecedor de voz",
+ "call_active": "Chamada em curso",
+ "next_call": "As alterações aplicam-se à próxima chamada",
+ "connected": "Acesso ligado",
+ "connect": "Configurar",
+ "local_provider": "No teu hardware",
+ "show_cloud": "Mostrar fornecedores cloud",
+ "agents_separate": "O acesso selecionado aqui é usado para a voz e o respetivo modelo de raciocínio. O chat, a memória e o trabalho em segundo plano usam o fornecedor que escolheres em Agentes.",
+ "shared_key_ready": "OpenAI ligado · uma chave para voz e raciocínio",
+ "shared_key_help": "Esta chave OpenAI é usada apenas para o GPT-Live e o seu modelo de raciocínio — nada mais lhe é faturado.",
+ "manage_key": "Gerir chave",
+ "conversation_heading": "Conversa",
+ "conversation_help": "Escuta contínua e fala natural, incluindo interrupções.",
+ "thinking_heading": "Raciocínio e ferramentas",
+ "thinking_help": "Este modelo raciocina, usa as ferramentas do Dodaios e controla o computador com a mesma chave.",
+ "search_models": "Pesquisar modelos de raciocínio…",
+ "web_search_help": "Permite ao modelo de raciocínio procurar informação atual.",
+ "custom_model": "ID personalizado do modelo de raciocínio",
+ "ready": "Guardado e ativo",
+ "save_changes": "Guardar alterações"
+ },
+ "input_isolation": {
+ "title": "As ferramentas de ditado e escrita não chegam a esta janela",
+ "impact": "Esta aplicação está a correr com direitos de administrador, por isso o Windows impede outros programas de escrever nela. Apps de ditado, expansores de texto, ferramentas de área de transferência e o preenchimento automático de gestores de palavras-passe parecerão não fazer nada aqui, embora continuem a funcionar em todas as outras aplicações.",
+ "manual_hint": "Esta aplicação não consegue largar os direitos de administrador sozinha nesta conta do Windows. Fecha-a e volta a iniciá-la normalmente — sem “Executar como administrador”.",
+ "restart_now": "Reiniciar sem direitos de admin",
+ "restarting": "A reiniciar…",
+ "restart_failed": "Não foi possível reiniciar a aplicação sem direitos de administrador.",
+ "dismiss": "Ocultar este aviso"
+ },
+ "auth_gate": {
+ "checking": "A verificar acesso…",
+ "starting": "A iniciar…",
+ "title": "Desbloquear o Dodaios",
+ "subtitle": "Introduz a Control Key desta instância do Dodaios.",
+ "control_key": "Control Key",
+ "placeholder": "Cola a tua Control Key",
+ "submit": "Desbloquear",
+ "submitting": "A verificar…",
+ "invalid": "Essa Control Key não foi aceite.",
+ "unavailable": "Não foi possível contactar o Dodaios. Tenta novamente.",
+ "where_title": "Onde encontro a Control Key?",
+ "where_hint": "Nunca te foi enviada — é gerada automaticamente para esta instalação do Dodaios. Abre o Dodaios no computador onde está instalado: em Chaves de API há uma secção dedicada com o nome do teu assistente (p. ex. \"Nico Key\") onde a podes mostrar, copiar ou substituir por uma tua.",
+ "where_hint_server": "Num servidor sem interface, está guardada no ficheiro .control_api_key dentro da pasta de dados do Dodaios."
+ },
+ "file_toast": {
+ "show_in_folder": "Mostrar na pasta",
+ "open": "Abrir",
+ "reveal_failed": "Não foi possível abrir a pasta",
+ "open_failed": "Não foi possível abrir o ficheiro",
+ "drag_hint": "Arrasta-me para qualquer lado — uma pasta, um site, um chat"
+ },
+ "jarvis_dock": {
+ "aria": "{name} — larga aqui uma missão para falar sobre ela",
+ "hint": "Arrasta para aqui um resultado de um agente {name} para o trazer para a conversa",
+ "drop_here": "Larga para discutir",
+ "drop_active": "Larga para informar {name}",
+ "dropped": "Adicionado à conversa"
+ },
+ "topbar": {
+ "coding_mode_on": "Modo de código LIGADO",
+ "coding_mode_off": "Modo de código DESLIGADO",
+ "coding_mode_on_hint": "O modo de código focado está ligado — o teu assistente responde dentro do teu workspace aberto. Clica para lá ires.",
+ "coding_mode_on_hint_named": "O modo de código focado está ligado para “{0}” — o teu assistente responde dentro desse workspace. Clica para lá ires.",
+ "coding_mode_off_hint": "Há um workspace de código aberto, mas o modo de código focado está desligado — o teu assistente responde normalmente. Clica para lá ires.",
+ "restart": "Reiniciar",
+ "restart_confirm": "Confirmar reinício?",
+ "restart_hint": "Reiniciar {name}",
+ "restarting": "A reiniciar {name}…",
+ "restart_failed": "O reinício falhou",
+ "restart_force": "Reiniciar mesmo assim?",
+ "restart_missions_running": "missão(ões) ainda em curso — clica novamente para reiniciar mesmo assim",
+ "update_available": "Atualização disponível",
+ "updating": "A atualizar {name}…",
+ "updating_percent": "A atualizar {percent}%",
+ "update_restarting": "A reiniciar…",
+ "update_installed": "Atualizado para v{version}",
+ "update_failed": "A atualização falhou",
+ "update_hint": "Transferir a nova versão e reiniciar {name} automaticamente para a instalar",
+ "update_deps_warning": "Atualizado — alguns componentes podem precisar de reinstalação manual",
+ "update_desktop_warning": "Atualizado — o sistema operativo não conseguiu reparar totalmente o atalho da aplicação",
+ "update_finish_restart": "Concluir atualização",
+ "update_staged_restart_failed": "Atualização transferida — reinicia {name} para concluir a instalação",
+ "update_rolled_back": "Não foi possível instalar a última atualização — {name} voltou à versão anterior",
+ "update_network_error": "erro de rede",
+ "update_now": "Atualizar e reiniciar",
+ "update_later": "Mais tarde",
+ "update_current_version": "Tens a v{version}",
+ "update_restart_note": "{name} reinicia uma vez.",
+ "update_up_to_date": "Está tudo atualizado",
+ "update_check_now": "Procurar atualizações",
+ "update_checking": "A verificar…",
+ "update_unmanaged": "Esta cópia não foi configurada pelo instalador, por isso é atualizada fora da aplicação.",
+ "update_blocked_no_app_bundle": "{name} não encontra a própria aplicação, por isso não se consegue substituir. Transfere a nova versão a partir da página de lançamento.",
+ "update_blocked_app_translocated": "O macOS está a executar {name} a partir de uma cópia temporária. Move-o para a pasta Aplicações, abre-o a partir daí e depois atualiza.",
+ "update_blocked_app_read_only": "{name} não se consegue substituir nesta pasta. Move-o para a pasta Aplicações e depois atualiza.",
+ "update_blocked_no_appimage": "Esta cópia não foi iniciada a partir do ficheiro AppImage, por isso não há nada para substituir. Transfere antes o novo AppImage.",
+ "update_blocked_appimage_read_only": "{name} não consegue escrever na pasta do AppImage. Move o AppImage para uma pasta tua, como ~/Applications, e depois atualiza.",
+ "update_open_release": "Abrir página de transferência",
+ "detach": "Destacar janela",
+ "return_to_main": "Voltar à janela principal",
+ "return_to_main_hint": "Fechar esta janela e trazer a secção de volta para a janela principal",
+ "detach_hint": "Abrir esta vista numa janela própria",
+ "detach_failed": "Não foi possível abrir uma janela separada",
+ "reattach_failed": "Não foi possível trazer a vista de volta",
+ "detached_title": "Esta vista está aberta numa janela própria",
+ "detached_body": "Continua a trabalhar lá ou traz a vista de volta para esta janela.",
+ "detach_focus": "Mostrar janela",
+ "detach_bring_back": "Trazer de volta",
+ "minimize": "Minimizar",
+ "maximize": "Maximizar",
+ "restore": "Restaurar",
+ "close": "Fechar",
+ "nav_back": "Voltar",
+ "nav_forward": "Avançar",
+ "nav_home": "Início"
+ },
+ "nav": {
+ "chat_workspace": "Chat",
+ "chats": "Chats",
+ "agents": "Agentes",
+ "extensions": "Plugins, MCPs e Skills",
+ "skills": "Skills",
+ "plugins": "Plugins",
+ "docs": "Documentos",
+ "mcps": "MCPs",
+ "sessions": "Transcrição",
+ "costs": "Gastos",
+ "visualization": "Artefactos",
+ "clis": "CLIs",
+ "cli_test_hub": "CLI Test Hub",
+ "clis_hub": "CLIs e CLI Test Hub",
+ "board": "Quadro",
+ "languages": "Idiomas",
+ "profile": "Perfil",
+ "memory": "Notas",
+ "wiki": "Wiki",
+ "apikeys": "Chaves de API",
+ "local_models": "Modelos locais",
+ "computers": "Computadores",
+ "settings": "Definições",
+ "dictionary": "Dicionário",
+ "dictation": "Ditado",
+ "telephony": "Telefonia",
+ "socials": "Redes sociais",
+ "taskbar": "Barra de tarefas",
+ "contacts": "Contactos",
+ "feedback": "Feedback",
+ "group_workspace": "Workspace",
+ "group_tools": "Ferramentas",
+ "group_you": "Tu",
+ "group_system": "Sistema",
+ "agent_instructions": "{name}",
+ "appshots": "Appshots",
+ "jarvisx": "Dodaios X",
+ "marketplace": "Marketplace",
+ "agentic_ide": "Agentic IDE",
+ "agentic_ide_beta": "Beta",
+ "voice": "Voz de {name}",
+ "voice_shortcuts": "Atalhos",
+ "voice_language": "Idioma",
+ "voice_api_keys": "Chaves de API",
+ "shortcuts": "Atalhos de teclado",
+ "pets": "Os meus Pets"
+ },
+ "assistant_view": {
+ "header_named": "O teu assistente em {0}, despertado por “{1}”.",
+ "header_unnamed": "O teu assistente em {0}. Escolhe uma palavra de ativação para lhe dar um nome.",
+ "reload": "Recarregar",
+ "vibe_missing": "{name} ainda não tem personalidade escrita.",
+ "learning_on": "A aprender",
+ "learning_off": "Sem aprender de momento",
+ "learning_on_hint": "{name} escreve e corrige as suas notas enquanto falas.",
+ "learning_off_hint": "O ciclo de aprendizagem não está a correr nesta sessão, por isso as notas não podem ser esquecidas agora.",
+ "fact_memory_one": "{0} coisa lembrada",
+ "fact_memory_other": "{0} coisas lembradas",
+ "fact_changed": "alterado {0}",
+ "character_title": "Personalidade",
+ "edit": "Editar",
+ "who_label": "Sobre",
+ "tone_title": "Tom",
+ "limits_title": "Limites",
+ "character_empty": "O SOUL.md ainda não descreve uma personalidade.",
+ "character_missing": "O SOUL.md ainda não foi criado. Aparece após o primeiro arranque.",
+ "memory_title": "Memória",
+ "tab_memory": "Lembrado",
+ "tab_user": "Sobre ti",
+ "tab_self": "Sobre si",
+ "empty_memory": "Ainda nada. Diz “lembra-te …” e fica aqui.",
+ "empty_user": "Ainda nada. O que {name} repara sobre ti aparece aqui após as conversas.",
+ "empty_soul": "Ainda nada. Diz a {name} como queres que seja, e escreve a nota sozinho.",
+ "explicit": "Pediste tu",
+ "forget": "Esquecer",
+ "forget_done": "Esquecido",
+ "forget_needs_loop": "As notas só podem ser esquecidas enquanto o ciclo de aprendizagem está a correr.",
+ "recent_title": "Aprendido recentemente",
+ "recent_empty": "Ainda nada aprendido.",
+ "op_add": "Adicionado a {0}",
+ "op_replace": "Alterado em {0}",
+ "op_remove": "Removido de {0}",
+ "place_memory": "memória",
+ "place_user": "notas sobre ti",
+ "place_soul": "personalidade",
+ "said": "Disseste: “{0}”",
+ "files_title": "Ficheiros",
+ "files_hint": "{name} lê estes ficheiros no início de cada conversa.",
+ "file_role_soul": "Personalidade",
+ "file_role_instructions": "As tuas instruções",
+ "file_role_memory": "Memória",
+ "file_role_user": "Sobre ti",
+ "file_missing": "Ainda não criado",
+ "file_notes_one": "{0} nota",
+ "file_notes_other": "{0} notas",
+ "file_chars_one": "{0} caráter",
+ "file_chars_other": "{0} carateres",
+ "file_empty_soul": "Vazio. Escreve quem é {name}.",
+ "file_empty_instructions": "Ainda sem instruções. Escreve como {name} deve trabalhar contigo.",
+ "file_empty_memory": "Ainda nada lembrado.",
+ "file_empty_user": "Ainda nada notado sobre ti.",
+ "file_open_edit": "Abrir e editar",
+ "file_open_read": "Abrir",
+ "editor_label": "{0} (Markdown)",
+ "soul_placeholder": "Descreve quem é {name}: papel, estilo, tom, limites…",
+ "instructions_placeholder": "Escreve como {name} deve trabalhar contigo…",
+ "save": "Guardar",
+ "saving": "A guardar…",
+ "saved": "Guardado",
+ "cleared": "Instruções limpas",
+ "revert": "Reverter",
+ "clear": "Limpar",
+ "unsaved": "Alterações por guardar",
+ "load_template": "Começar a partir de modelo",
+ "soul_note": "Aplica-se a partir da próxima resposta de {name}. O nome segue a palavra de ativação.",
+ "instructions_note": "Aplica-se a partir da próxima resposta de {name}. Nunca se sobrepõe às regras de segurança nem às confirmações.",
+ "notebook_note": "{name} escreve este ficheiro sozinho. Para alterar uma nota, basta dizeres a {name}.",
+ "error_title": "Não foi possível carregar esta página",
+ "retry": "Tentar novamente"
+ },
+ "extensions": {
+ "group_label": "Personalizar",
+ "attention_dot": "Um plugin precisa de ser religado",
+ "tab_skills": "Skills",
+ "tab_tools": "Ferramentas",
+ "file_one": "1 ficheiro",
+ "files": "{n} ficheiros",
+ "files_menu": "Ficheiros",
+ "no_files": "Sem ficheiros",
+ "view_mode": "Vista",
+ "view_preview": "Pré-visualização",
+ "view_source": "Código-fonte"
+ },
+ "taskbar_view": {
+ "subtitle": "Aspeto da sobreposição no ecrã e comportamento do ditado.",
+ "appearance_title": "Aspeto",
+ "behavior_title": "Comportamento",
+ "restart_required": "Guardado — reinicia {name} para aplicar.",
+ "restart_now": "Reiniciar agora",
+ "restarting": "A reiniciar {name}…",
+ "bar_persistent": {
+ "title": "Manter a Dodaios Bar visível",
+ "description": "Mantém a Dodaios Bar disponível em repouso. Se desligado, aparece durante a atividade de voz ou o ditado e volta a esconder-se depois.",
+ "saved": "Visibilidade da barra atualizada."
+ },
+ "follow_cursor": {
+ "title": "Seguir o rato para o monitor ativo",
+ "description": "A barra salta para o monitor onde está o rato, mantendo a mesma posição. Desligado: fica num só monitor.",
+ "saved": "Seguir monitor atualizado."
+ },
+ "mute_music": {
+ "title": "Silenciar música durante o ditado",
+ "description": "Silencia outras aplicações (Spotify, navegador…) enquanto falas com o assistente e restaura-as depois. A voz do próprio assistente nunca é silenciada.",
+ "enabled_toast": "A música vai ser silenciada enquanto falas com o assistente.",
+ "disabled_toast": "Silenciar música desativado."
+ },
+ "sound_effects": {
+ "title": "Efeitos sonoros",
+ "description": "Reproduz os sons curtos do Dodaios — o toque ao dizeres a palavra de ativação, o som de desligar e o aviso de arranque concluído. Desligado: silêncio; a voz falada nunca é afetada.",
+ "enabled_toast": "Efeitos sonoros ligados.",
+ "disabled_toast": "Efeitos sonoros silenciados."
+ }
+ },
+ "socials": {
+ "subtitle": "Ligações para a nossa comunidade e perfis.",
+ "add": "Adicionar ligação",
+ "empty": "Não há ligações sociais disponíveis.",
+ "edit": "Editar",
+ "delete": "Eliminar",
+ "open": "Abrir",
+ "dialogAddTitle": "Adicionar ligação social",
+ "dialogEditTitle": "Editar ligação",
+ "platform": "Plataforma",
+ "label": "Etiqueta",
+ "url": "URL",
+ "save": "Guardar",
+ "cancel": "Cancelar",
+ "hidden": "Oculto",
+ "visible": "Visível",
+ "links": "Ligações",
+ "back": "Voltar",
+ "website_other": "Site / Outro"
+ },
+ "contacts": {
+ "subtitle": "O teu livro de endereços pessoal — nomes, contactos e uma nota curta por pessoa.",
+ "add": "Adicionar contacto",
+ "empty": "Ainda sem contactos — adiciona o primeiro.",
+ "noMatches": "Nenhum contacto corresponde à pesquisa.",
+ "search": "Pesquisar contactos…",
+ "selectHint": "Seleciona um contacto para ver os detalhes.",
+ "edit": "Editar",
+ "delete": "Eliminar",
+ "deleteTitle": "Eliminar contacto",
+ "deleteConfirm": "Eliminar",
+ "cancel": "Cancelar",
+ "save": "Guardar",
+ "name": "Nome",
+ "nameRequired": "O nome é obrigatório.",
+ "aliases": "Alcunhas",
+ "relationship": "Relação",
+ "emails": "E-mails",
+ "phones": "Telefones",
+ "addEmail": "Adicionar e-mail",
+ "addPhone": "Adicionar telefone",
+ "address": "Morada",
+ "street": "Rua",
+ "postalCode": "Código postal",
+ "city": "Localidade",
+ "country": "País",
+ "readme": "README",
+ "readmePlaceholder": "Uma nota curta sobre esta pessoa…",
+ "words": "palavras",
+ "dialogAddTitle": "Adicionar contacto",
+ "dialogEditTitle": "Editar contacto",
+ "close": "Fechar",
+ "filterAll": "Todos",
+ "voiceHint": "Dica: também podes simplesmente ditar — \"lembra-te, o número da Ana é …\"",
+ "lastUpdated": "Última atualização",
+ "copy": "Copiar",
+ "call": "Ligar",
+ "callTitle": "Fazer uma chamada",
+ "callConfirm": "Ligar agora a {0} para {1}?",
+ "callNote": "A chamada é feita através da tua configuração de telefonia.",
+ "callStarted": "Chamada iniciada.",
+ "callFailed": "A chamada falhou:",
+ "openWiki": "Abrir página da wiki",
+ "addAlias": "Adicionar alcunha…",
+ "invalidEmail": "Isto não parece um endereço de e-mail.",
+ "invalidPhone": "Um número de telefone precisa de pelo menos um dígito.",
+ "savedAs": "Guardado como",
+ "discardTitle": "Descartar alterações?",
+ "discardBody": "Tens alterações por guardar.",
+ "discard": "Descartar",
+ "keepEditing": "Continuar a editar",
+ "organization": "Organização",
+ "role": "Cargo",
+ "birthday": "Aniversário",
+ "urls": "Ligações",
+ "addUrl": "Adicionar ligação",
+ "tags": "Etiquetas",
+ "addTag": "Adicionar etiqueta…",
+ "favorite": "Favorito",
+ "favorites": "Favoritos",
+ "back": "Voltar",
+ "import": "Importar vCard",
+ "export": "Exportar vCard",
+ "importDone": "Importados: {0} novos, {1} atualizados, {2} ignorados.",
+ "importFailed": "A importação falhou:",
+ "rel": {
+ "family": "Família",
+ "friend": "Amigo",
+ "colleague": "Colega",
+ "partner": "Parceiro",
+ "acquaintance": "Conhecido",
+ "other": "Outro"
+ },
+ "remove": "Remover"
+ },
+ "dictionary": {
+ "title": "Dicionário",
+ "description": "Ensina as tuas palavras ao reconhecimento de voz — nomes, marcas, termos técnicos. Adiciona uma palavra ou corrige algo que ouve sempre mal.",
+ "add": "Adicionar palavra",
+ "search": "Pesquisar no dicionário…",
+ "loading": "A carregar dicionário…",
+ "empty": "Ainda sem palavras — adiciona nomes ou termos que o reconhecimento de voz deve conhecer.",
+ "no_matches": "Nenhuma entrada corresponde à pesquisa.",
+ "edit": "Editar",
+ "delete": "Eliminar",
+ "added": "\"{0}\" adicionado ao dicionário.",
+ "saved": "Entrada do dicionário guardada.",
+ "deleted": "\"{0}\" removido do dicionário.",
+ "applies_note": "As alterações aplicam-se à próxima transcrição — sem reiniciar. Funciona nos modos Pipeline e Realtime.",
+ "dialog_add_title": "Adicionar ao teu vocabulário",
+ "dialog_edit_title": "Editar entrada do dicionário",
+ "correction_toggle": "Corrigir um erro de reconhecimento",
+ "correction_hint_on": "Sempre que o lado esquerdo for ouvido, é substituído pelo lado direito.",
+ "correction_hint_off": "Adiciona uma palavra para que o reconhecimento a conheça e a escreva exatamente assim.",
+ "word_placeholder": "Adicionar uma nova palavra",
+ "word_correct_placeholder": "Grafia correta",
+ "misheard_placeholder": "Reconhecido como…",
+ "misheard_comma_hint": "Separa várias variantes mal ouvidas com vírgulas.",
+ "cancel": "Cancelar",
+ "save": "Guardar",
+ "add_confirm": "Adicionar palavra",
+ "research_preview": "Pré-visualização de investigação",
+ "applies_to_dictation": "Estas correções aplicam-se também ao ditado — o que corrigires aqui fica corrigido no texto que chega às tuas outras aplicações."
+ },
+ "dictation": {
+ "title": "Ditado",
+ "description": "Mantém premida a tecla de ditado, fala, e o texto aparece no campo onde estavas a escrever — em qualquer aplicação, não só nesta.",
+ "loading": "A verificar o ditado…",
+ "state_active": "A gravar",
+ "state_ready": "Pronto",
+ "state_unavailable": "Não disponível neste computador",
+ "engine_local_off": "Motor local não está à frente de momento: {0}",
+ "start": "Começar a ditar",
+ "stop": "Parar",
+ "saved": "Definição guardada",
+ "cannot_insert_title": "De momento não é possível escrever texto noutras aplicações",
+ "cannot_insert_generic": "O teu sistema está a impedir que um programa escreva noutro. O ditado continua a funcionar — o texto é colocado na área de transferência para o colares.",
+ "polish_first_run": "Novo: um modelo rápido arruma agora o teu texto antes de ser inserido — as palavras originais ficam nesta lista e podes desligar isto no separador Idioma.",
+ "history_title": "Ditados recentes",
+ "clear_history": "Eliminar tudo",
+ "raw_prefix": "Ouvido:",
+ "removed_words": "{0} palavra(s) de enchimento removida(s)",
+ "delete_entry": "Eliminar esta entrada",
+ "search_placeholder": "Pesquisar os teus ditados",
+ "welcome": "Bem-vindo de volta{name_part}",
+ "hero_hold": "Mantém {0} premido para ditar",
+ "hero_listening": "A ouvir — fala agora",
+ "hero_no_key": "Fala em vez de escrever",
+ "hero_body": "Funciona em todas as aplicações — e-mail, mensagens, documentos ou onde quer que escrevas.",
+ "hero_body_active": "Quando parares, as tuas palavras vão para o campo onde estavas a escrever.",
+ "hero_hands_free": "Ou prime {0} uma vez para ditar mãos-livres.",
+ "hero_shortcuts": "Alterar atalho",
+ "hero_assign": "Atribuir uma tecla",
+ "engine_title": "Reconhecimento",
+ "engine_on_device": "Neste computador",
+ "engine_cloud_short": "Cloud",
+ "engine_fallback": "Alternativa: {0}",
+ "vocab_title": "Ensina-lhe as tuas palavras",
+ "vocab_body": "Adiciona nomes, marcas e termos para que sejam sempre bem escritos.",
+ "vocab_cta": "Abrir dicionário",
+ "show_original": "Mostrar o que foi ouvido",
+ "hide_original": "Ocultar o que foi ouvido",
+ "empty_title": "Os teus ditados vão aparecer aqui",
+ "empty_body": "Mantém a tecla premida em qualquer aplicação, fala e solta. Cada ditado fica guardado aqui para o poderes copiar outra vez.",
+ "stats": {
+ "title": "O teu ditado",
+ "words": "Palavras",
+ "wpm": "Palavras por minuto",
+ "streak": "Dias seguidos",
+ "window_lifetime": "Desde sempre",
+ "window_days": "Últimos {0} dias",
+ "words_unit": "palavras",
+ "wpm_unit": "ppm",
+ "streak_unit": "dias seguidos",
+ "today": "Hoje: {0} palavras",
+ "best_streak": "Melhor sequência: {0} dias",
+ "activity": "Últimos 14 dias",
+ "activity_day": "{0}: {1} palavras"
+ },
+ "group": {
+ "today": "Hoje",
+ "yesterday": "Ontem"
+ },
+ "restore": "Restaurar",
+ "restore_hint": "Transcrever novamente a partir do áudio guardado.",
+ "restored": "Restaurado",
+ "discard": "Descartar",
+ "discarded_badge": "Descartado",
+ "delete_permanently": "Eliminar permanentemente",
+ "copy": "Copiar",
+ "copied": "Copiado",
+ "audio_kept": "Áudio guardado",
+ "clear_history_hint": "Isto também elimina o áudio guardado e repõe a tua sequência.",
+ "outcome": {
+ "inserted": "Inserido",
+ "paste_sent": "Colagem enviada",
+ "clipboard_only": "Copiado para a área de transferência",
+ "unavailable": "Não foi possível inserir",
+ "chat": "Enviado para a aplicação",
+ "partial": "Transcrito parcialmente",
+ "empty": "Nada ouvido",
+ "cancelled": "Cancelado",
+ "failed": "Falhou"
+ },
+ "failure": {
+ "rate_limited": "O reconhecimento de voz atingiu o limite de pedidos — podem faltar palavras.",
+ "no_credit": "A conta de reconhecimento de voz ficou sem crédito.",
+ "bad_key": "A chave de reconhecimento de voz foi rejeitada — verifica-a em Chaves de API.",
+ "unavailable": "Não foi possível contactar o serviço de reconhecimento de voz.",
+ "rejected": "O reconhecimento de voz não conseguiu processar esta gravação.",
+ "engine_busy": "O reconhecimento de voz ainda estava ocupado — tenta novamente daqui a pouco.",
+ "recording_interrupted": "A gravação terminou antes de a parares.",
+ "no_stt": "Ainda não há reconhecimento de voz configurado.",
+ "unknown": "O reconhecimento de voz falhou."
+ },
+ "polish_status": {
+ "applied": "Arrumado",
+ "translated": "Traduzido",
+ "unchanged": "Nada a alterar",
+ "off": "Desligado",
+ "unavailable": "Nenhum modelo disponível",
+ "local_only": "Mantido neste computador — foi usado o texto original",
+ "skipped_short": "Demasiado curto para arrumar",
+ "skipped_long": "Demasiado longo para arrumar",
+ "timeout": "Demorou demasiado — foi usado o texto original",
+ "provider_error": "Modelo inacessível — foi usado o texto original",
+ "rejected_drift": "Reescrita rejeitada — foi usado o texto original",
+ "prompted": "Transformado em prompt"
+ },
+ "cleanup_reason": {
+ "disabled": "Remoção de palavras de enchimento desligada",
+ "no_rules": "Sem regras de enchimento para este idioma",
+ "ceiling": "Remoção de enchimento ignorada — ia remover demasiado",
+ "empty": "Nada para arrumar",
+ "error": "A remoção de palavras de enchimento falhou"
+ }
+ },
+ "voice": {
+ "hub": {
+ "subtitle": "Tudo o que transforma o que dizes em texto — ditado, o teu vocabulário, as teclas que o iniciam e os fornecedores por trás."
+ },
+ "shortcuts": {
+ "title": "Atalhos",
+ "description": "Escolhe as teclas que iniciam o ditado.",
+ "ptt_label": "Premir para falar",
+ "ptt_hint": "Mantém a tecla premida, fala e solta para inserir.",
+ "toggle_label": "Mãos-livres",
+ "toggle_hint": "Prime uma vez para começar, outra vez para parar.",
+ "paste_last_label": "Colar outra vez",
+ "paste_last_hint": "Volta a pôr o teu ditado mais recente no campo onde estás. Não é preciso microfone.",
+ "paste_last_blocked": "De momento este computador não deixa uma aplicação escrever noutra, por isso esta tecla coloca o texto na área de transferência e és tu que o colas.",
+ "mode_notice": "A tua tecla de premir para falar está agora em modo alternar: um toque começa, o seguinte para. Volta a pô-la em manter premido para que a tecla faça o que o nome diz.",
+ "mode_notice_fix": "Mudar para manter premido",
+ "suggestions_title": "Combinações sugeridas"
+ },
+ "language": {
+ "title": "Idioma do ditado",
+ "description": "Em que idioma o teu ditado é transcrito.",
+ "auto": "Detetar automaticamente",
+ "de": "Alemão",
+ "en": "Inglês",
+ "es": "Espanhol",
+ "auto_hint": "A deteção automática é a opção certa para quase todos. Fixar um idioma pode piorar o reconhecimento num modelo que não foi treinado para ele."
+ },
+ "polish": {
+ "title": "Arrumar o meu texto",
+ "description": "Corrige pontuação, maiúsculas, palavras de enchimento e quebras de frase, mantendo o sentido. O original fica no histórico quando o histórico está ativo.",
+ "sends_text": "A tua transcrição é enviada para o modelo de texto selecionado. Com reconhecimento de voz local, o processamento fica neste computador, a menos que escolhas explicitamente um fornecedor cloud.",
+ "precision_title": "Afinar a escolha de palavras",
+ "precision_description": "Usa palavras mais claras e diretas: \"tomar uma decisão\" passa a \"decidir\". Funciona sozinho e com a tradução.",
+ "precision_tradeoff": "Permite substituir palavras. Números e termos do dicionário são verificados, mas revê nomes e sentido antes de usar o resultado.",
+ "conversation_title": "Arrumar também as conversas",
+ "conversation_description": "Aplica a mesma limpeza ao que dizes numa conversa normal, não só no ditado — assim a transcrição e o histórico da sessão leem-se como frases escritas em vez de fala em bruto.",
+ "conversation_latency": "Nunca atrasa uma resposta: o assistente responde logo às tuas palavras originais e a versão arrumada chega um momento depois. O que foi realmente dito fica sempre guardado ao lado.",
+ "provider_label": "Fornecedor do modelo de texto",
+ "provider_auto": "Automático",
+ "provider_hint": "Partilhado pelas quatro funcionalidades. O modo automático mantém local o reconhecimento de voz local; caso contrário, usa os fornecedores configurados. Um fornecedor cloud selecionado pode recorrer a outro fornecedor cloud configurado.",
+ "test": "Testar",
+ "testing": "A testar…",
+ "test_hint": "Testa o modo ativo com um exemplo. Usa o fornecedor selecionado; nada é guardado.",
+ "sample_before": "Antes",
+ "sample_after": "Depois",
+ "ollama_local": "Ollama (local)"
+ },
+ "prompt_mode": {
+ "title": "Modo Prompt",
+ "description": "Transforma a tarefa que dizes num prompt estruturado no idioma em que falaste, mantendo o objetivo, o contexto e as restrições. Revê o resultado antes de o enviar.",
+ "sends_text": "Usa o fornecedor de texto acima e pode demorar vários segundos. O original fica no histórico quando o histórico está ativo.",
+ "outranks": "O Modo Prompt tem prioridade sobre a limpeza, a escolha de palavras e a tradução. Se falhar, aplicam-se as tuas outras definições ativas. O teste reporta diretamente a falha do prompt.",
+ "writer_hint": "Escolhe o fornecedor de texto partilhado acima, mesmo com a limpeza desligada."
+ },
+ "translate": {
+ "title": "Escrever sempre num idioma",
+ "description": "Entrega o ditado no idioma que escolheres. Funciona com a limpeza desligada.",
+ "sends_text": "A tradução e a limpeza partilham uma chamada ao modelo. Se o fornecedor falhar ou o resultado for rejeitado, mantém-se o idioma original. O Modo Prompt tem prioridade quando está ativo.",
+ "target_label": "Escrever o meu ditado em",
+ "target_hint": "O texto já no idioma de destino é arrumado. Verifica o resultado após cada ditado.",
+ "same_language_notice": "O reconhecimento e a saída usam o mesmo idioma. Usa o reconhecimento automático se também ditares noutros idiomas.",
+ "answers_label": "Fornecedor de texto configurado",
+ "no_provider": "Nenhum fornecedor de texto configurado. Escolhe um, adiciona a chave acima e depois usa Testar.",
+ "key_saved_hint": "Guardada apenas neste computador, no porta-chaves do sistema."
+ },
+ "api_keys": {
+ "title": "Entrada de voz",
+ "description": "Chaves e fornecedores usados para transformar a tua fala em texto."
+ },
+ "call_not_ended": "A chamada de voz ainda não terminou. Tenta novamente.",
+ "not_running_here": "A voz não está a correr neste computador.",
+ "request_failed": "O pedido de voz falhou ({status}).",
+ "startup_audio_lost": "Não foi possível manter o áudio do arranque da voz. Começa de novo.",
+ "reconnect_failed": "A religação da voz falhou.",
+ "backend_error": {
+ "voice_connection_lost": "A ligação de voz perdeu-se. As ações pendentes não foram repetidas.",
+ "subscription_request_failed": "O acesso pela subscrição do ChatGPT não conseguiu concluir este pedido. Não foi usada nenhuma chave de API."
+ }
+ },
+ "voice_state": {
+ "idle": "Pronto",
+ "listening": "A ouvir",
+ "thinking": "A pensar",
+ "speaking": "A falar",
+ "error": "Erro",
+ "offline": "Offline",
+ "booting": "A iniciar…",
+ "starting": "A iniciar a voz…",
+ "warming_title": "{name} está a arrancar",
+ "warming_hint": "A preparar-se para ouvir – um momento, já vais poder falar.",
+ "ready_title": "Pronto – já podes falar",
+ "connecting": "A ligar…",
+ "connect_failed": "A ligação de voz falhou ({0}): {1}",
+ "paused": "Em pausa",
+ "indicator_label": "Estado da voz"
+ },
+ "sidebar": {
+ "extensions_label": "Plugins / Skills / MCP",
+ "pinned": "Afixados",
+ "recent": "Recentes",
+ "pin_chat": "Afixar chat",
+ "unpin_chat": "Desafixar chat",
+ "jarvis_tools": "Ferramentas Dodaios",
+ "more": "Mais",
+ "instance_dev_hint": "Instância de desenvolvimento — uma segunda cópia da aplicação, que pode ser reiniciada à vontade, com dados, portas e ícone próprios. A aplicação normal continua a correr ao lado.",
+ "surface_voice": "Voz",
+ "surface_chat": "Chat",
+ "surface_hint": "Alternar a página inicial entre voz e chat escrito",
+ "new_chat": "Novo chat",
+ "new_voice_chat": "Novo chat de voz",
+ "untitled_voice_chat": "Chat de voz",
+ "recent_chats": "Chats recentes",
+ "show_all": "Mostrar tudo",
+ "show_less": "Mostrar menos",
+ "no_chats": "Ainda sem conversas",
+ "see_all_chats": "Ver todos os chats",
+ "chats_expand": "Mostrar chats recentes",
+ "chats_collapse": "Ocultar chats recentes",
+ "back_to_chats": "Voltar aos chats",
+ "sections": "Secções",
+ "collapse": "Recolher a navegação",
+ "expand": "Expandir a navegação",
+ "wake_hint": "Diz a tua palavra de ativação…",
+ "brain_label": "Cérebro",
+ "brain_tooltip": "Mudar fornecedor do cérebro",
+ "realtime_label": "Realtime",
+ "realtime_tooltip": "Mudar fornecedor Realtime",
+ "apikeys_alert": "Há um fornecedor configurado que não está a funcionar — abre Chaves de API para o corrigir",
+ "plugins_reconnect_alert": "Uma ligação de plugin expirou — abre Plugins, MCPs e Skills para a religar",
+ "realtime_start": "Iniciar voz Realtime",
+ "realtime_stop": "Parar voz Realtime",
+ "realtime_retry": "Repetir voz Realtime",
+ "realtime_connecting": "A ligar…",
+ "realtime_listening": "A ouvir…",
+ "realtime_transcribing": "A transcrever…",
+ "realtime_working": "A tratar disso…",
+ "realtime_speaking": "A falar…",
+ "realtime_browser_hint": "Neste dispositivo, o microfone é controlado pelo navegador.",
+ "realtime_browser_unavailable": "A voz Realtime não está disponível neste navegador",
+ "realtime_https_required": "A voz no navegador requer HTTPS (ou localhost). Abre este servidor através de um proxy inverso HTTPS.",
+ "realtime_microphone_unavailable": "Este navegador não consegue aceder a um microfone. Verifica o suporte do navegador e as definições do dispositivo.",
+ "realtime_audio_worklet_unavailable": "Este navegador não suporta o processador de áudio necessário. Atualiza o navegador.",
+ "realtime_microphone_denied": "O acesso ao microfone foi negado. Permite-o nas definições do site do navegador e tenta novamente.",
+ "realtime_microphone_denied_desktop": "O acesso ao microfone foi negado. Permite-o nas definições do sistema do computador e tenta novamente.",
+ "realtime_browser_tts_unavailable": "Este navegador não tem uma voz de sistema utilizável. A resposta continua disponível em texto; liga um fornecedor TTS para áudio.",
+ "realtime_pipeline_fallback": "Reserva do pipeline clássico",
+ "realtime_unavailable": "Liga ou configura um fornecedor Realtime",
+ "realtime_error": "Não foi possível iniciar a voz. Testa o fornecedor Realtime ativo em Chaves de API e tenta novamente.",
+ "browser_voice_error": "Não foi possível iniciar a voz. Verifica a conversão de voz em texto, o Cérebro e a conversão de texto em voz em Chaves de API e tenta novamente.",
+ "realtime_provider_fallback": "{0} ficou indisponível, por isso a chamada passou para outro fornecedor — a faturação pode ser diferente. {1}",
+ "realtime_provider_fallback_short": "A chamada saiu de {0} para outro fornecedor.",
+ "realtime_provider_warning": "O fornecedor Realtime reportou um problema recuperável; a chamada continua.",
+ "realtime_provider_unknown": "o fornecedor anterior",
+ "realtime_webrtc_degraded": "Não foi possível configurar o transporte WebRTC; o áudio continua pelo socket de áudio.",
+ "realtime_transport_capability_missing": "Esta janela não recebeu a permissão de desktop necessária para abrir o transporte da subscrição. Reinicia a aplicação.",
+ "realtime_transport_offer_unsupported": "Esta janela não consegue criar a ligação WebRTC de que o transporte da subscrição precisa. Usa antes um fornecedor Realtime por API.",
+ "realtime_transport_socket_unreachable": "Não foi possível contactar o canal de transporte da subscrição. Reinicia a aplicação e tenta novamente.",
+ "resize_hint": "Arrasta para redimensionar a barra lateral — duplo clique para repor",
+ "ide_navigation": "Navegação do IDE",
+ "workspace_options": "Opções do espaço de trabalho",
+ "open_conversation_failed": "Não foi possível abrir a conversa"
+ },
+ "provider_billing": {
+ "api": "API, faturação por utilização",
+ "subscription": "Início de sessão com subscrição",
+ "subscription_or_api": "Subscrição ou chave de API",
+ "local": "Local, sem chave"
+ },
+ "turn_steps": {
+ "thought_for": "Pensou durante {duration}",
+ "failed": "falhou",
+ "result": "Resultado",
+ "error": "Erro",
+ "no_details": "Sem detalhes registados",
+ "live_reply": "A escrever…"
+ },
+ "tool_steps": {
+ "wiki": "A procurar na Wiki",
+ "wiki_write": "A escrever na Wiki",
+ "artifact": "A criar artefacto",
+ "skill": "A executar skill",
+ "skill_create": "A criar skill",
+ "web": "A pesquisar na Web",
+ "screen": "A olhar para o ecrã",
+ "screen_recall": "A recordar o ecrã",
+ "control": "A controlar o ecrã",
+ "navigate": "A abrir",
+ "app": "A abrir aplicação",
+ "memory": "A lembrar",
+ "memory_update": "A atualizar a memória",
+ "profile": "A atualizar o perfil",
+ "contact": "A procurar contacto",
+ "call": "A ligar",
+ "worker": "A delegar num worker",
+ "shell": "A executar um comando",
+ "model": "A mudar de modelo",
+ "mcp_admin": "A gerir servidor MCP",
+ "settings": "A ler definições",
+ "verify": "A verificar"
+ },
+ "home": {
+ "greeting_morning": "Bom dia{name_part}",
+ "greeting_afternoon": "Boa tarde{name_part}",
+ "greeting_evening": "Boa noite{name_part}",
+ "voice_subtitle": "Diz a tua palavra de ativação ou prime Iniciar — a conversa aparece aqui.",
+ "transcript_you": "Tu",
+ "transcript_to_end": "Ir para a mais recente",
+ "hint_idle": "Diz “{wake}” ou prime Iniciar",
+ "hint_idle_nowake": "Prime Iniciar para falar",
+ "hint_listening": "A ouvir…",
+ "hint_thinking": "A pensar…",
+ "hint_speaking": "A falar…",
+ "hint_paused": "Em pausa",
+ "hint_connecting": "A ligar…",
+ "hint_warming": "A voz está a arrancar…",
+ "hint_offline": "A voz está offline",
+ "hint_error": "A voz teve um problema — prime Iniciar para tentar novamente",
+ "bar_start": "Iniciar a conversa",
+ "bar_stop": "Terminar a conversa",
+ "bar_end": "Terminar",
+ "chat_empty_title": "Como posso ajudar?",
+ "composer_hint": "Enter para enviar · Shift+Enter para nova linha",
+ "model_hint": "Modelo em uso — clica para o mudar",
+ "prompt_mode_pill": "Prompt",
+ "prompt_mode_on": "O Modo Prompt está ligado — cada ditado sai como um prompt escrito para um modelo de IA, no idioma em que falaste. Clica para o desligar.",
+ "prompt_mode_off": "O Modo Prompt está desligado — os ditados chegam tal como foram falados. Clica para transformar cada ditado num prompt pronto para um agente de código.",
+ "prompt_mode_failed": "Não foi possível alternar o Modo Prompt.",
+ "theme_to_light": "Mudar para modo claro",
+ "theme_to_dark": "Mudar para modo escuro",
+ "back_to_assistant": "Voltar a {name}"
+ },
+ "assistant_chat": {
+ "voice_enter": "Modo de voz",
+ "voice_enter_hint": "Fala em vez de escrever — {name} ouve e responde em voz alta",
+ "voice_exit": "Voltar a escrever",
+ "voice_exit_hint": "Terminar a conversa falada e voltar ao chat",
+ "voice_start": "Iniciar",
+ "voice_stop": "Parar"
+ },
+ "agent_chat": {
+ "pair_open": "Abrir conversa entre agentes",
+ "pair_close": "Fechar chat",
+ "pair_read_only": "Este chat é só de leitura. Só os agentes podem escrever aqui.",
+ "pair_loading": "A carregar conversa…",
+ "pair_error": "Não foi possível carregar a conversa. A tentar novamente automaticamente.",
+ "pair_empty": "Ainda não há mensagens entre estes agentes.",
+ "internal_message": "Mensagem interna",
+ "internal_expand": "Mostrar a mensagem completa",
+ "internal_collapse": "Mostrar menos",
+ "delivery_queued": "Em fila",
+ "delivery_sent": "Enviada",
+ "delivery_delivered": "Entregue",
+ "delivery_failed": "Falhou",
+ "placeholder": "Pergunta o que quiseres…",
+ "empty_subtitle": "{name} com teclado — o mesmo assistente que o microfone alcança. O modelo que escolheres é o que {name} usa neste chat.",
+ "empty_subtitle_agent": "Um agente de código trabalha nos ficheiros desta pasta — não na tua memória, na tua wiki nem no teu calendário. Escolhe um modelo. Depois pergunta.",
+ "empty_title_agent": "Agente de código em {folder}",
+ "surface_agent": "Agente de código",
+ "surface_jarvis_hint": "{name} — o mesmo assistente que o microfone alcança: a tua memória, a tua wiki, as tuas skills e ferramentas. As escolhas à direita são o que {name} usa neste chat.",
+ "surface_agent_hint": "Um agente de código a trabalhar nos ficheiros desta pasta",
+ "pick_provider": "Fornecedor",
+ "model_access": "Acesso",
+ "access_subscription": "Subscrição",
+ "access_api": "Chave de API",
+ "access_local": "Local",
+ "pick_model": "Modelo",
+ "pick_effort": "Esforço de raciocínio",
+ "pick_permission": "Permissões",
+ "search_providers": "Pesquisar fornecedores…",
+ "search_models": "Pesquisar modelos…",
+ "no_models": "Nenhum modelo encontrado",
+ "older_models": "Modelos mais antigos",
+ "favorites": "Favoritos",
+ "favorites_empty": "Marca um modelo com estrela para o manter aqui",
+ "favorite_add": "Adicionar aos favoritos",
+ "favorite_remove": "Remover dos favoritos",
+ "effort_heading": "Raciocínio",
+ "default_badge": "Predefinido",
+ "catalog_unavailable": "Chat de agentes indisponível",
+ "group_clis": "CLIs de código",
+ "group_api_keys": "Chaves de API",
+ "group_local": "No teu próprio hardware",
+ "provider_connect": "ligar",
+ "provider_not_installed": "não instalado",
+ "provider_health_bad_key": "Chave rejeitada",
+ "provider_health_no_credits": "Sem crédito",
+ "provider_health_unreachable": "Inacessível",
+ "provider_health_error": "Sem resposta",
+ "provider_health_slow": "Demasiado lento",
+ "provider_health_ok": "A responder",
+ "model_default": "Modelo predefinido",
+ "effort_default": "Esforço predefinido",
+ "effort_none": "Sem raciocínio",
+ "effort_minimal": "Mínimo",
+ "effort_low": "Baixo",
+ "effort_medium": "Médio",
+ "effort_high": "Alto",
+ "effort_xhigh": "Muito alto",
+ "effort_max": "Máx.",
+ "effort_ultra": "Ultra (delega tarefas)",
+ "mode_build": "Construir",
+ "mode_plan": "Planear",
+ "build_hint": "Modo Construir — o agente pode alterar ficheiros. Clica para o modo Planear.",
+ "plan_hint": "Modo Planear — o agente lê e planeia, sem alterar nada. Clica para o modo Construir.",
+ "folder": "Pasta de trabalho",
+ "attach_drop_hint": "Larga os ficheiros aqui para os anexar",
+ "attach_remove": "Remover {name}",
+ "attach_working": "A anexar…",
+ "attach_failed": "Não foi possível anexar esse ficheiro.",
+ "attach": "Anexar ficheiros",
+ "attach_hint": "Anexar ficheiros — também os podes largar ou colar aqui",
+ "attach_described": "descrito",
+ "attach_text_read": "texto lido",
+ "attach_not_described": "não descrito",
+ "attach_nothing": "O que largaste não tinha nada que este chat pudesse usar.",
+ "typeahead_label": "Sugestões",
+ "typeahead_loading": "A procurar…",
+ "typeahead_empty": "Sem correspondências",
+ "typeahead_group_project": "Nesta pasta",
+ "typeahead_group_account": "A tua conta",
+ "typeahead_group_plugins": "Plugins",
+ "typeahead_group_jarvis": "Skills do Dodaios",
+ "typeahead_group_agents": "Subagentes",
+ "typeahead_group_files": "Ficheiros e pastas",
+ "send": "Enviar",
+ "stop": "Parar a vez",
+ "hint_connect": "{provider} ainda não está ligado.",
+ "hint_not_installed": "{provider} não está instalado nesta máquina.",
+ "open_api_keys": "Abrir Chaves de API",
+ "backend_outdated": "O Dodaios ainda está a correr uma versão mais antiga do que esta janela — reinicia-o para concluir a atualização.",
+ "restart_now": "Reiniciar Dodaios",
+ "working": "A trabalhar…",
+ "working_for": "A trabalhar há {duration}",
+ "thinking": "A pensar…",
+ "thought": "Pensamento",
+ "thought_for": "Pensou durante {duration}",
+ "turn_cancelled": "Parado",
+ "turn_done": "Concluído",
+ "turn_failed": "Falhou",
+ "turn_no_answer": "Terminou sem resposta",
+ "approval_title": "Permitir isto?",
+ "approval_allow": "Permitir",
+ "approval_always": "Permitir sempre",
+ "approval_deny": "Recusar",
+ "approval_denied": "Recusado — o agente foi informado.",
+ "tool_input": "Entrada",
+ "tool_output": "Saída",
+ "tool_error": "Erro",
+ "steps_count": "{count} passos",
+ "diff_skipped": "{count} linhas inalteradas",
+ "diff_truncated": "Mais {count} linhas não mostradas",
+ "thinking_for": "A pensar há {duration}",
+ "tokens": "tokens",
+ "tokens_out": "Tokens de saída",
+ "tool_running": "Ainda a correr…",
+ "interrupt_hint": "esc para interromper",
+ "status_words": "A pensar…, A trabalhar…, A escavar…, A raciocinar…, A ponderar…, A domar…, A decifrar…, A matutar…, A montar…, A desenrolar…, A cozinhar…, A inspirar-me…",
+ "drop_nothing_usable": "O que largaste não traz nada que este chat possa usar."
+ },
+ "chats_view": {
+ "title": "Chat",
+ "subtitle": "Fala com o teu assistente ou escreve — ambos passam pelo mesmo event bus.",
+ "thinking_aria": "O teu assistente está a pensar",
+ "thinking_label": "a pensar…",
+ "empty_title": "Pronto para comandos",
+ "empty_subtitle": "Diz a tua palavra de ativação ou escreve a mensagem abaixo. O teu assistente envia agentes {name}, chama ferramentas e responde-te por voz.",
+ "warming_title": "A preparar-se",
+ "warming_subtitle": "O teu assistente está a arrancar. Vais poder falar daqui a um momento e já podes escrever abaixo.",
+ "examples": {
+ "0": "Mostra os agentes",
+ "1": "Muda o cérebro para Gemini",
+ "2": "Trabalha na pasta C:\\Projects\\Foo"
+ },
+ "input_placeholder": "Mensagem para o teu assistente… (Enter para enviar)",
+ "dictation_start": "Ditar",
+ "dictation_stop": "Parar ditado",
+ "dictation_listening": "A ouvir… fala agora",
+ "history": "Histórico",
+ "new_chat": "Novo chat",
+ "speak": "Falar nesta conversa",
+ "speak_short": "Falar",
+ "empty_history": "Ainda sem conversas",
+ "delete": "Eliminar",
+ "voice_badge": "Voz",
+ "text_badge": "Texto",
+ "speak_started": "A ouvir — continua esta conversa por voz.",
+ "speak_unavailable": "A voz não está disponível neste modo.",
+ "select_or_new": "Escolhe uma conversa à esquerda ou começa uma nova.",
+ "group_today": "Hoje",
+ "group_yesterday": "Ontem",
+ "group_earlier": "Anteriores",
+ "resize_hint": "Arrasta para redimensionar · duplo clique para repor"
+ },
+ "command_activity": {
+ "level_read": "Só leitura",
+ "level_modify": "Altera algo",
+ "level_destructive": "Elimina algo",
+ "level_unknown": "Comando de shell",
+ "running": "a correr…",
+ "done": "Concluído",
+ "failed": "Falhou",
+ "blocked": "Bloqueado",
+ "dismiss": "Dispensar"
+ },
+ "thinking": {
+ "label": "A pensar",
+ "thought_for": "Pensou durante",
+ "steps": "passos",
+ "earlier": "passos anteriores",
+ "step_brain": "A raciocinar",
+ "step_tool": "A usar ferramenta",
+ "step_thought": "A pensar",
+ "step_update": "Ponto de situação",
+ "step_worker": "A delegar num worker em segundo plano",
+ "step_cu_observe": "A olhar para o ecrã",
+ "step_cu_uia": "A ler elementos da interface",
+ "step_cu_plan": "A planear a próxima ação",
+ "step_cu_think": "A ponderar",
+ "step_cu_act": "A executar ação",
+ "step_cu_verify": "A verificar o resultado",
+ "step_cu_settle": "À espera do ecrã"
+ },
+ "subagents_view": {
+ "title": "Agentes {name}",
+ "subtitle": "{active} em curso · {total} no quadro",
+ "explicit_spawn_hint": "Os agentes {name} só arrancam quando pedes explicitamente — diz, por exemplo, “Lança um agente para isto” ou “Faz uma análise aprofundada com um agente”.",
+ "stat_agents_hint": "em curso agora, mais o registo recente",
+ "stat_active_label": "Em curso",
+ "stat_active_hint": "{tools} chamadas de ferramentas em curso",
+ "stat_active_hint_idle": "nada em curso",
+ "stat_done_label": "Concluídos",
+ "stat_done_hint": "terminados e com relatório entregue",
+ "stat_failed_label": "Falhados",
+ "stat_failed_hint": "clica numa linha para ver a história completa",
+ "stat_failed_hint_none": "nada falhou",
+ "stat_tools_label": "Chamadas de ferramentas",
+ "stat_tools_hint": "em todos os agentes",
+ "board_title": "Quadro de operações",
+ "board_subtitle": "Em direto a partir do registo do backend e do WebSocket de missões.",
+ "live_label": "Em direto",
+ "standby_label": "Em espera",
+ "col_agent": "Agente {name}",
+ "col_task": "Tarefa / projeto",
+ "col_status": "Estado",
+ "col_tools": "Ferramentas",
+ "col_runtime": "Duração",
+ "col_result": "Resultado",
+ "role_worker": "Worker",
+ "role_worker_hint": "processo worker",
+ "role_agent_hint": "agente em segundo plano",
+ "task_none": "Nenhuma tarefa registada",
+ "result_done": "Concluído",
+ "result_running": "Em curso",
+ "result_failed": "Falhou",
+ "result_cancelled": "Cancelado",
+ "empty_title": "Não há {agents} em curso neste momento.",
+ "empty_body": "Quando {name} iniciar um {agent} real, aparece aqui com a tarefa, o estado, as chamadas de ferramentas, a duração e o resultado.",
+ "snapshot_error": "Não foi possível carregar o quadro: {detail}",
+ "history_error": "Não foi possível carregar as execuções anteriores — a mostrar apenas o que está em curso agora.",
+ "tool_unnamed": "ferramenta",
+ "tool_status": {
+ "running": "Em curso",
+ "completed": "Concluído",
+ "failed": "Falhou"
+ },
+ "status": {
+ "running": "Em curso",
+ "completed": "Concluído",
+ "failed": "Falhou",
+ "cancelled": "Cancelado"
+ },
+ "health_degraded": "Fornecedor de subagentes degradado",
+ "health_error": "Nenhum fornecedor de subagentes acessível",
+ "error_class": {
+ "provider_auth": "Início de sessão do fornecedor inválido ou expirado — volta a ligá-lo na vista Chaves de API.",
+ "provider_quota": "Quota do fornecedor esgotada — as missões são repetidas noutro fornecedor.",
+ "provider_unreachable": "Fornecedor temporariamente inacessível.",
+ "worker_timeout": "O worker atingiu o limite de tempo."
+ },
+ "insight_loading": "A ler o registo da execução…",
+ "insight_load_error": "Não foi possível carregar o registo da execução: {detail}",
+ "action_map": "Mapa da missão",
+ "no_output_dir": "a pasta de saída já não existe no disco",
+ "stat_cost_label": "Custo",
+ "outcome": {
+ "running": "Ainda a trabalhar",
+ "approved": "Entregue",
+ "failed": "Não entregou",
+ "cancelled": "Parado de propósito",
+ "timed_out": "Ficou sem tempo"
+ },
+ "verdict": {
+ "approve": "aprovar",
+ "revise": "rever",
+ "reject": "rejeitar"
+ },
+ "reason": {
+ "task_error": "A tarefa do worker falhou",
+ "attempts_timed_out": "Todas as tentativas ficaram sem tempo",
+ "budget_exceeded": "O orçamento de custo foi excedido",
+ "worktree_setup_failed": "Não foi possível preparar o espaço de trabalho",
+ "checkpoint_missing": "O progresso guardado não existia, por isso a execução não pôde continuar",
+ "critic_unavailable": "Nenhum revisor estava disponível para verificar o resultado",
+ "critic_rejected": "O revisor rejeitou o resultado",
+ "review_time_budget_exhausted": "A revisão ficou sem tempo",
+ "critic_loop_exhausted": "O revisor continuou a pedir revisões até ao limite",
+ "decompose_failed": "Não foi possível dividir a tarefa em passos",
+ "interrupted": "A aplicação parou com a execução em curso",
+ "mission_timed_out": "A execução atingiu o prazo",
+ "ui_cancel": "Parado por ti",
+ "parent_cancelled": "Parado juntamente com a execução principal"
+ },
+ "kill": {
+ "timeout": "limite de tempo",
+ "user": "parado por ti",
+ "budget": "orçamento ou quota do fornecedor",
+ "parent_cancelled": "execução principal parada",
+ "injection_detected": "injeção de prompt detetada na saída",
+ "path_guard": "tentou mexer num caminho protegido",
+ "worker_error": "o processo worker falhou"
+ },
+ "story": {
+ "dispatched": "Pedido entregue ao {agent}",
+ "plan": "Plano pronto · {n} worker(s)",
+ "spawn": "Worker iniciado · {cli} · ronda {iter}",
+ "draft": "Rascunho entregue ao revisor",
+ "verdict": "Revisor",
+ "correction": "O revisor pediu alterações",
+ "correction_model": "O revisor pediu alterações · próximo modelo {model}",
+ "killed": "Worker parado — {reason}",
+ "budget": "Aviso de orçamento · {pct} de {limit}",
+ "approved": "Aprovado e entregue",
+ "failed": "Terminou sem resultado — {reason}",
+ "cancelled": "Parado — {reason}",
+ "timed_out": "Ficou sem tempo"
+ },
+ "story_empty": "Nenhum evento registado para esta execução.",
+ "transcript_no_dir": "A transcrição completa do worker foi-se com a pasta de saída — os passos acima continuam a cobrir todos os eventos da execução.",
+ "transcript_truncated": "A transcrição era mais longa do que o que é mostrado.",
+ "transcript_dropped": "Mais {n} passos não são mostrados.",
+ "step_status": {
+ "pending": "Pendente",
+ "running": "Em curso",
+ "done": "Concluído",
+ "failed": "Falhou",
+ "skipped": "Sem resultado"
+ },
+ "deliverables": "{n} ficheiro(s) entregue(s)",
+ "deliverables_truncated": "(lista abreviada)",
+ "see_more": "Ver mais",
+ "see_less": "Ver menos",
+ "fact_mission_id": "Missão",
+ "fact_request": "Pedido",
+ "fact_result_uri": "Guardado em",
+ "col_open": "Abrir",
+ "board_subtitle_open": "Em direto a partir do registo do backend e do WebSocket de missões. Clica numa linha para ver o que aconteceu.",
+ "fact_started": "Início",
+ "fact_worker": "Worker",
+ "fact_rounds": "Rondas de revisão",
+ "fact_actions": "Ações",
+ "fact_reason": "Motivo em bruto",
+ "fact_output_dir": "Pasta de saída",
+ "details_title": "Detalhes",
+ "live_title": "Agora mesmo",
+ "live_subtitle": "Chamadas de ferramentas que o agente está a executar neste momento.",
+ "actions_one": "Executou 1 ação",
+ "actions_many": "Executou {n} ações em {span}",
+ "transcript_fold": "Transcrição completa do worker · {n} passos",
+ "axis": {
+ "correctness": "Correto",
+ "completeness": "Completo",
+ "side_effects": "Sem efeitos secundários",
+ "security": "Seguro"
+ },
+ "narrative": {
+ "the_provider": "o fornecedor",
+ "quote_provider": "O fornecedor disse",
+ "quote_reviewer": "O revisor disse",
+ "running_fresh": "{agent} acabou de começar e ainda não reportou.",
+ "running_notes": "{agent} ainda está a trabalhar — {n} notas até agora.",
+ "approved_plain": "{agent} concluiu a tarefa.",
+ "approved_first_round": "O revisor verificou o resultado e aprovou-o à primeira ronda.",
+ "approved_after_rounds": "O revisor aprovou-o após {n} rondas.",
+ "delivered_files": "Foram entregues {n} ficheiro(s) — vê abaixo.",
+ "cancelled_by_you": "Paraste esta execução após {runtime}. Nada foi entregue.",
+ "cancelled_parent": "Esta execução foi parada juntamente com a execução que a iniciou.",
+ "cancelled_other": "Esta execução foi parada: {reason}.",
+ "timed_out": "A execução atingiu o limite de tempo após {runtime} e parou antes de poder entregar.",
+ "kept_partial": "Foram mantidos {n} ficheiro(s) parciais.",
+ "failed_provider_quota": "O worker parou porque o fornecedor ({provider}) ficou sem quota — foi atingido o limite de utilização ou faturação. Nada foi entregue.",
+ "failed_provider_auth": "O worker não conseguiu iniciar sessão no fornecedor ({provider}) — a chave ou o login é inválido ou expirou. Volta a ligá-lo em Chaves de API.",
+ "failed_provider_unreachable": "Não foi possível contactar o fornecedor ({provider}) — estava em baixo ou sobrecarregado nessa altura. Nada foi entregue.",
+ "failed_worker_timeout": "O worker ({provider}) não respondeu dentro do limite de tempo e foi parado.",
+ "failed_injection": "A saída do worker continha algo que parecia uma injeção de prompt, por isso foi parado por segurança. Nada foi entregue.",
+ "failed_path_guard": "O worker tentou mexer num caminho protegido e foi parado por segurança. Nada foi entregue.",
+ "failed_timeout": "O worker ficou sem tempo após {runtime} e foi parado antes de poder entregar.",
+ "failed_budget": "A execução atingiu o orçamento de custo ou utilização e foi parada. Nada foi entregue.",
+ "failed_review_time": "O worker produziu um rascunho, mas o revisor não ficou satisfeito e a revisão ficou sem tempo antes de chegar uma revisão.",
+ "failed_review_loop": "O revisor pediu alterações em {n} rondas; após a última, a execução parou sem resultado aprovado.",
+ "failed_review_rejected": "O revisor rejeitou o resultado sem mais.",
+ "failed_no_reviewer": "O worker terminou, mas nenhum revisor estava disponível para verificar o resultado, por isso não foi validado.",
+ "failed_workspace": "Não foi possível preparar o espaço de trabalho do worker, por isso a tarefa nunca começou.",
+ "failed_plan": "Não foi possível dividir a tarefa em passos. {detail}",
+ "failed_interrupted": "A aplicação foi fechada enquanto esta execução ainda estava a trabalhar, por isso nunca terminou.",
+ "failed_worker_error": "O processo worker falhou. Nada foi entregue.",
+ "failed_after_review": "O worker produziu um rascunho, mas o revisor não o aprovou e a execução terminou aí.",
+ "failed_generic": "A tarefa do worker falhou após {runtime}. Nada foi entregue."
+ },
+ "action_open_artifacts": "Abrir em Artefactos",
+ "register_verdict": "O que aconteceu",
+ "register_report": "Relatório de {agent}",
+ "register_timeline": "Cronologia",
+ "register_files": "Ficheiros",
+ "timeline_meta": "{n} eventos registados",
+ "files_meta": "{n} ficheiros · +{add} −{del} linhas",
+ "fact_files": "Ficheiros",
+ "confidence": "{pct}% de confiança",
+ "report_expand": "Ler o relatório completo",
+ "report_collapse": "Recolher o relatório",
+ "kind": {
+ "start": "Início",
+ "plan": "Plano",
+ "worker": "Worker",
+ "said": "Disse",
+ "ran": "Executou",
+ "draft": "Rascunho",
+ "review": "Revisão",
+ "fix": "Correção",
+ "stop": "Paragem",
+ "end": "Fim",
+ "budget": "Orçamento",
+ "thought": "Pensamento"
+ },
+ "change": {
+ "added": "Ficheiro novo",
+ "modified": "Alterado",
+ "deleted": "Eliminado",
+ "renamed": "Renomeado",
+ "delivered": "Entregue",
+ "binary": "binário"
+ },
+ "tool_screenshot": "Captura de ecrã",
+ "tool_web_search": "Pesquisa na web",
+ "tool_open_app": "Abrir app",
+ "tool_type_text": "Escrever texto",
+ "tool_remember": "Memorizar",
+ "tool_admin_op": "Operação de admin",
+ "tool_multi_spawn": "Lançamento múltiplo"
+ },
+ "tasks_view": {
+ "title": "Automatizações",
+ "subtitle": "Fila de tarefas persistente — lembretes, envios para o harness, chamadas de ferramentas.",
+ "filter_all": "Todas",
+ "filter_active": "Ativas",
+ "filter_done": "Concluídas",
+ "filter_problems": "Problemas",
+ "entries": "entradas",
+ "loading": "A carregar tarefas…",
+ "load_error": "Não foi possível carregar as tarefas",
+ "empty_text": "Ainda sem tarefas.",
+ "empty_hint": "Cria uma tarefa agendada com o botão Nova — dá-lhe um prompt, escolhe quando corre (uma vez ou recorrente) e ativa os plugins que pode usar.",
+ "expand": "Expandir",
+ "collapse": "Recolher",
+ "create_button": "Nova",
+ "state": {
+ "pending": "à espera",
+ "scheduled": "agendada",
+ "paused": "em pausa",
+ "running": "em curso",
+ "completed": "concluída",
+ "failed": "falhou",
+ "cancelled": "cancelada",
+ "interrupted": "interrompida"
+ },
+ "trigger_label": {
+ "after_delay": "Atraso",
+ "at_time": "À hora",
+ "on_event": "Evento",
+ "every": "Recorrente"
+ },
+ "cancel": "Cancelar",
+ "delete": "Eliminar",
+ "attempts": "tentativas",
+ "last_error": "Último erro",
+ "due_at": "Prevista",
+ "started_at": "Início",
+ "finished_at": "Fim",
+ "no_steps": "Ainda sem passos.",
+ "create": {
+ "title": "Nova automatização",
+ "subtitle": "Corre segundo um horário ou num evento — com os plugins que permitires.",
+ "name_label": "Nome",
+ "name_placeholder": "p. ex. Resumo da manhã",
+ "prompt_label": "O que deve fazer?",
+ "prompt_placeholder": "p. ex. Resume o calendário de hoje e o e-mail por ler num resumo curto.",
+ "schedule_label": "Horário",
+ "once": "Uma vez",
+ "recurring": "Recorrente",
+ "at_time": "Em data/hora",
+ "after_delay": "Após atraso",
+ "in": "Daqui a",
+ "at": "Às",
+ "every": "A cada",
+ "minutes": "min",
+ "hours": "horas",
+ "hourly": "De hora a hora",
+ "daily": "Diariamente",
+ "custom": "Personalizado",
+ "plugins_label": "Plugins",
+ "plugins_loading": "A carregar plugins…",
+ "plugins_empty": "Nenhum plugin ligado. Liga alguns primeiro em Plugins, MCPs e Skills.",
+ "scope_read": "Leitura",
+ "scope_write": "Escrita",
+ "scope_full": "Total",
+ "unattended_hint": "Os plugins de Escrita/Total correm sem supervisão — esta tarefa pode enviar ou publicar sem te perguntar primeiro.",
+ "model_label": "Modelo",
+ "tier_fast": "Rápido",
+ "tier_auto": "Auto",
+ "tier_deep": "Profundo",
+ "trigger_mode_label": "Acionador",
+ "mode_schedule": "Horário",
+ "mode_event": "Quando-Então",
+ "when_label": "Quando",
+ "when_mission_succeeded": "Uma missão é bem-sucedida",
+ "when_mission_failed": "Uma missão falha",
+ "when_mission_cancelled": "Uma missão é cancelada",
+ "then_label": "Então",
+ "then_computer_use": "Computer-Use",
+ "then_agent": "Tarefa de agente",
+ "then_notify": "Só notificar-me",
+ "cu_goal_label": "O que deve o Computer-Use fazer?",
+ "cu_goal_placeholder": "p. ex. Abrir {result_uri} no navegador.",
+ "announce_label": "Avisar quando terminar (opcional)",
+ "notify_text_label": "O que deve dizer?",
+ "announce_placeholder": "p. ex. A tua missão está pronta — abri-a no navegador.",
+ "when_then_hint": "Dispara sempre que isto acontece. Podes usar {result_uri}, {summary_en} ou {mission_id} como marcadores no texto acima.",
+ "cancel": "Cancelar",
+ "save": "Criar",
+ "save_error": "Não foi possível criar a tarefa."
+ },
+ "untitled": "(sem título)",
+ "loading_details": "A carregar detalhes…",
+ "waiting_for_event": "à espera do evento",
+ "running_now": "a correr agora",
+ "done_at": "concluída",
+ "in_prefix": "daqui a",
+ "due_now": "agora"
+ },
+ "plugins_view": {
+ "grant_ends": "A autorização termina a {date}. Inicia sessão novamente antes dessa data.",
+ "grant_expired": "A autorização expirou a {date}. Volta a ligar para continuar.",
+ "title": "Plugins",
+ "count": "{n} disponíveis · {connected} ligados",
+ "loading": "A carregar catálogo…",
+ "unreachable": "Backend inacessível",
+ "search_placeholder": "Pesquisar plugins…",
+ "refresh": "Atualizar catálogo",
+ "browse": "Explorar",
+ "add": "Adicionar",
+ "add_upload": "Carregar o teu próprio plugin",
+ "add_community": "Do marketplace da comunidade",
+ "add_marketplace": "Abrir o Marketplace",
+ "preview_badge": "Pré-visualização",
+ "preview_tooltip": "Ainda não testado de ponta a ponta. Iniciar sessão pode ainda exigir passos extra.",
+ "filter_label": "Mostrar",
+ "filter_recommended": "Recomendados",
+ "added": "Adicionado",
+ "filter_all": "Todos",
+ "filter_installed": "Instalados",
+ "filter_attention": "Requer atenção",
+ "all_categories": "Todas as categorias",
+ "matches": "{n} resultados",
+ "clear_filters": "Limpar filtros",
+ "show_all": "Mostrar todos os plugins",
+ "no_hits": "Nenhum plugin corresponde aos filtros atuais.",
+ "empty": "Ainda não há plugins no catálogo.",
+ "not_found": "Este plugin já não está no catálogo.",
+ "col_plugin": "Plugin",
+ "col_category": "Categoria",
+ "col_status": "Estado",
+ "col_action": "Ação",
+ "status_connected": "Ligado",
+ "status_live": "Ativo",
+ "status_not_connected": "Não ligado",
+ "status_reauth": "É preciso voltar a ligar",
+ "status_error": "Erro",
+ "connect": "Ligar",
+ "reconnect": "Voltar a ligar",
+ "disconnect": "Desligar",
+ "more_actions": "Mais ações",
+ "view_source": "Ver código-fonte",
+ "by": "por {publisher}",
+ "fact_signin": "Início de sessão",
+ "fact_connection": "Ligação",
+ "fact_oauth_client": "Cliente OAuth",
+ "oauth_client_own": "O teu próprio cliente {family}",
+ "oauth_client_placeholder": "Cliente {family} provisório — adiciona o teu ao ligar",
+ "fact_publisher": "Editor",
+ "fact_source": "Origem",
+ "reauth_provider_rejected": "O fornecedor já não aceita esta autorização",
+ "reauth_client_rejected": "O fornecedor já não aceita o cliente OAuth desta app",
+ "reauth_client_missing": "Ligado antes de o Dodaios guardar o cliente OAuth",
+ "reauth_rotation_lost": "Não foi possível guardar um token renovado, por isso foi retirado",
+ "reauth_refresh_missing": "O token de acesso expirou e não pode ser renovado automaticamente",
+ "reauth_unknown": "A autorização deixou de funcionar",
+ "reauth_retrying": "{headline}. O Dodaios tenta novamente uma vez por dia; volta a ligar para resolver já.",
+ "reauth_no_retry": "{headline}. Isto não pode ser repetido automaticamente — volta a ligar para resolver.",
+ "ago_today": "hoje",
+ "ago_yesterday": "ontem",
+ "ago_days": "há {count} dias",
+ "longevity_permanent": "Fica ligado",
+ "longevity_self_renewing": "Renova-se sozinho",
+ "longevity_provider_limited": "Inicia sessão novamente de tempos a tempos",
+ "auth_browser_login": "Início de sessão no browser",
+ "auth_local": "Dispositivo local",
+ "auth_device_flow": "Código de dispositivo",
+ "auth_access_token": "Token de acesso",
+ "auth_one_click": "Um clique",
+ "auth_allowlist": "Lista de autorizados",
+ "auth_no_signin": "Sem início de sessão",
+ "client_id_hint_spotify": "ID de 32 caracteres das definições da app",
+ "client_id_hint_github": "Iv1.… das definições da OAuth App",
+ "client_id_hint_gitlab": "ID de aplicação de 64 caracteres",
+ "client_id_hint_figma": "ID de cliente das definições da app",
+ "client_id_hint_hubspot": "UUID das definições de Auth da app",
+ "secret_not_needed_public": "não é necessário numa app pública/nativa",
+ "secret_not_needed_native": "não é necessário numa Native App",
+ "secret_not_needed_empty": "não é necessário — deixa em branco",
+ "secret_usually_not_needed": "normalmente não é necessário",
+ "err_session_failed": "Não foi possível criar a sessão de início de sessão. Tenta novamente.",
+ "err_signin_page_unavailable": "A página de início de sessão não está disponível. Tenta novamente.",
+ "err_denied": "O início de sessão foi recusado. Podes tentar novamente quando quiseres.",
+ "err_timeout": "O início de sessão expirou. Tenta novamente.",
+ "err_provider_unreachable": "Não foi possível contactar o fornecedor. Tenta novamente mais tarde.",
+ "err_port_in_use": "O retorno do início de sessão está ocupado. Fecha a outra tentativa de início de sessão e tenta novamente.",
+ "err_misconfigured": "O início de sessão no browser aguarda configuração por parte do editor. Não precisas de configurar nada.",
+ "fallback_notice": "O início de sessão no browser precisa do cliente do editor, que ainda não está disponível — entretanto podes ligar com um token.",
+ "err_pending_publisher": "Esta ligação aguarda configuração por parte do editor. Tenta novamente quando o início de sessão no browser estiver disponível.",
+ "connection_unavailable": "Ligação indisponível",
+ "unsupported_device": "Não suportado neste dispositivo",
+ "installed_count": "{count} instalados",
+ "attention_one": "É preciso voltar a ligar {plugin}",
+ "attention_many": "É preciso voltar a ligar {count} ligações",
+ "attention_one_detail": "{reason} — volta a ligar para continuar a funcionar.",
+ "attention_many_detail": "Volta a ligar para continuarem a funcionar: {plugins}",
+ "jump_to_it": "Ir para lá",
+ "jump_to_first": "Ir para o primeiro",
+ "disconnect_plugin": "Desligar plugin",
+ "reconnect_plugin": "Voltar a ligar plugin",
+ "connect_plugin": "Ligar plugin",
+ "authorization_link": "Ligação de autorização",
+ "copy_link": "Copiar ligação",
+ "copied": "Copiado",
+ "copy": "Copiar",
+ "copied_bang": "Copiado!",
+ "unknown_error": "Erro desconhecido",
+ "connecting_plugin": "A ligar {plugin}",
+ "browser_login": "Início de sessão no browser",
+ "authorize_in_browser": "Autoriza o {product} no teu browser",
+ "continue_in_browser": "Continua no separador do browser de {plugin} — inicia sessão se te for pedido, clica em \"Autorizar\" e volta aqui. Não vês nenhum separador? Abre-o novamente ou copia a ligação abaixo. O plugin fica \"Não ligado\" até terminares lá.",
+ "waiting_callback": "À espera de que {plugin} responda em",
+ "redirect_hint": "Se o fornecedor mostrar um erro em vez de pedir aprovação, permite exatamente este endereço nas definições de redirecionamento da tua app do fornecedor e abre novamente o início de sessão.",
+ "open_plugin_again": "Abrir {plugin} novamente",
+ "copy_link_hint_paste": "Ou copia esta ligação e cola-a na barra de endereço do teu browser.",
+ "plugin_connected": "{plugin} ligado",
+ "connect_named": "Ligar {plugin}",
+ "device_flow": "Código de dispositivo",
+ "device_step1": "Passo 1 — copia este código",
+ "device_step2": "Passo 2 — cola-o em {plugin}",
+ "open_plugin": "Abrir {plugin}",
+ "copy_link_hint_code": "Ou copia esta ligação, abre-a no teu browser e introduz o código acima.",
+ "waiting_authorization": "À espera da autorização…",
+ "err_save_settings": "Não foi possível guardar as definições de ligação. Tenta novamente.",
+ "pkce_browser_unavailable": "O início de sessão no browser ainda não está disponível.",
+ "pkce_signin_with": "Vais iniciar sessão com a tua conta {family} no browser.",
+ "provider_fallback": "fornecedor",
+ "pkce_pending_intro": "O início de sessão no browser aguarda configuração por parte do editor. Liga hoje mesmo com a tua própria app {family} gratuita — alguns minutos, sem código. \"Continuar\" abre o início de sessão real de {plugin} no teu browser assim que o cliente abaixo estiver preenchido.",
+ "pkce_step1": "Passo 1 — abre a consola de apps {family}",
+ "pkce_your_client": "O teu cliente OAuth",
+ "pkce_own_client_advanced": "Usar o teu próprio cliente OAuth (avançado)",
+ "pkce_step2": "Passo 2 — cola o cliente da app que acabaste de criar.",
+ "pkce_step2_google": "Passo 2 — cola o cliente da app que acabaste de criar. Um só cliente serve para Gmail, Drive, Calendar e YouTube Music.",
+ "pkce_override": "Substituição opcional para especialistas. Cola um cliente da tua própria {console} {family}.",
+ "pkce_console": "consola",
+ "pkce_google_one_client": "Um só cliente serve para Gmail, Drive, Calendar e YouTube Music.",
+ "pkce_redirect_step3": "Passo 3 — ao criar a app, regista isto como o seu {term}, carácter a carácter:",
+ "pkce_redirect": "Ao criar a app, regista isto como o seu {term}, carácter a carácter:",
+ "pkce_redirect_term": "URI de redirecionamento",
+ "pkce_redirect_numeric": "Tem de ser o endereço numérico, não {localhost}, e sem barra no final.",
+ "client_id": "ID de cliente",
+ "client_id_from": "ID de cliente de {family}",
+ "client_secret": "Segredo de cliente",
+ "secret_optional_some": "opcional em alguns fornecedores",
+ "expert_token_alt": "Alternativa com token para especialistas",
+ "expert_token_alt_body": "O início de sessão partilhado no browser ainda não está disponível. Entretanto podes ligar com um token do fornecedor — o fluxo do browser continua a ser o predefinido e assume automaticamente quando estiver pronto.",
+ "paste_token_instead": "Colar um token em vez disso",
+ "continue": "Continuar",
+ "remove_named": "Remover {plugin}?",
+ "disconnect_body": "Isto desliga {plugin} e apaga as credenciais guardadas. O {assistant} perde o acesso até voltares a ligá-lo.",
+ "removing": "A remover…",
+ "remove": "Remover",
+ "plugin_added": "{plugin} adicionado",
+ "plugin_removed": "{plugin} removido",
+ "instance_intro": "Introduz o endereço da tua instância, inicia sessão e aprova o acesso no teu browser.",
+ "instance_address": "Endereço da instância",
+ "opening_browser": "A abrir o browser…",
+ "continue_in_browser_btn": "Continuar no browser",
+ "err_discord_id": "Não foi possível ler o teu ID do Discord.",
+ "err_discord_no_id": "O Discord não devolveu nenhum ID de utilizador.",
+ "err_discord_invite": "Não foi possível criar a ligação de convite.",
+ "err_discord_no_invite": "O Discord não devolveu nenhuma ligação de convite.",
+ "access_token": "Token de acesso",
+ "pat_generate": "Gera um token em {plugin}",
+ "pat_open_tokens": "Abrir os tokens de {plugin}",
+ "copy_link_hint_open": "Ou copia esta ligação e abre-a tu mesmo no browser.",
+ "pat_get_key": "Obtém a chave de {plugin}",
+ "pat_paste_below": "Cola o token abaixo",
+ "or_separator": " ou ",
+ "token": "Token",
+ "pat_should_start": "Deve começar por {prefix}",
+ "owner_lock_title": "Associar o bot a ti (recomendado)",
+ "owner_lock_aria": "O teu ID de utilizador numérico",
+ "owner_lock_hint": "Só este ID de utilizador pode dar ordens ao bot. Deixa em branco para que a primeira pessoa que lhe escrever fique com o acesso.",
+ "looking_up": "A procurar…",
+ "discord_fill_id": "Preencher o meu ID do Discord",
+ "opening": "A abrir…",
+ "discord_add_bot": "Adicionar o bot ao meu servidor",
+ "owner_lock_digits": "O ID de utilizador só pode ter algarismos.",
+ "validating": "A validar…",
+ "longevity_note": {
+ "github": "O início de sessão no browser renova-se automaticamente. Os tokens colados expiram conforme configurado na criação.",
+ "discord": "Os tokens OAuth renovam-se automaticamente. Um token de bot colado continua válido até o repores no portal de programadores do Discord.",
+ "telegram": "Um token de bot continua válido até o revogares no BotFather.",
+ "google_drive": "A Google faz expirar a autorização ao fim de 7 dias enquanto a tua própria app OAuth estiver em modo de teste. Publica a app para manteres a ligação indefinidamente.",
+ "gmail": "A Google faz expirar a autorização ao fim de 7 dias enquanto a tua própria app OAuth estiver em modo de teste. Publica a app para manteres a ligação indefinidamente.",
+ "google_calendar": "A Google faz expirar a autorização ao fim de 7 dias enquanto a tua própria app OAuth estiver em modo de teste. Publica a app para manteres a ligação indefinidamente.",
+ "clickup": "O ClickUp afirma que o seu token de acesso não expira, por isso esta ligação não precisa de renovação. É uma política e não uma garantia, por isso o Jarvis pede-te na mesma para voltares a ligar se alguma vez for recusado.",
+ "airtable": "O Airtable termina uma ligação ao fim de 60 dias sem uso. O Jarvis renova-a em segundo plano a cada 12 horas, por isso fica aberta enquanto este computador for ligado de vez em quando.",
+ "cal_com": "O Cal.com não publica a duração dos tokens, por isso não está confirmado quanto tempo esta ligação se mantém. O Jarvis renova-a em segundo plano e pede-te para voltares a ligar se isso alguma vez falhar.",
+ "home_assistant": "A aprovação no browser renova-se automaticamente até o acesso ser revogado no Home Assistant.",
+ "spotify": "O Spotify limita um token de atualização a seis meses, por isso a ligação pede para ser renovada duas vezes por ano. Nada pode prolongar isso.",
+ "youtube_music": "A Google faz expirar a autorização ao fim de 7 dias enquanto a tua própria app OAuth estiver em modo de teste. Publica a app para manteres a ligação indefinidamente.",
+ "higgsfield": "O Higgsfield emite um token de atualização. A duração do token de acesso não é publicada; o Jarvis renova-o em segundo plano e pede-te para voltares a ligar se isso alguma vez falhar.",
+ "aws": "O acesso à AWS dura uma hora e a renovação está limitada a uma sessão de até 12 horas; depois, inicia sessão outra vez.",
+ "google_cloud": "As apps OAuth da Google em modo de teste podem perder o acesso de renovação ao fim de sete dias; as apps em produção seguem a política da conta.",
+ "gitlab": "O início de sessão no browser renova-se automaticamente. Os tokens colados expiram na data escolhida na criação.",
+ "linkedin": "Os tokens de acesso padrão do LinkedIn expiram; os tokens de atualização estão reservados a parceiros aprovados. Volta a ligar quando te for pedido.",
+ "meta": "Os tokens de utilizador de longa duração expiram normalmente ao fim de cerca de 60 dias; volta a ligar antes de expirarem.",
+ "youtube_studio": "As apps OAuth da Google em modo de teste podem pedir nova autorização ao fim de sete dias.",
+ "figma": "O início de sessão no browser renova-se automaticamente. Os tokens colados expiram na data que escolheres ao criá-los."
+ },
+ "unavailable_reason": {
+ "amd_unverifiable": "Não foi possível verificar a disponibilidade de uma GPU AMD a partir das informações de dispositivos do Linux. Verifica o acesso ao hardware e as permissões, incluindo o acesso a dispositivos do contentor.",
+ "amd_no_gpu": "Este conector não vê nenhuma GPU AMD. É preciso disponibilizar uma GPU AMD compatível a este ambiente Linux antes de ligar.",
+ "amd_unsupported_os": "A telemetria de GPU AMD não está disponível neste sistema operativo. Este conector precisa de um anfitrião Linux compatível com GPU AMD e AMD SMI.",
+ "amd_smi_missing": "O AMD SMI não está disponível. Instala as ferramentas SMI/ROCm suportadas pela AMD num anfitrião AMD compatível. As métricas em falta nunca são reportadas como zero."
+ }
+ },
+ "skills_view": {
+ "count": "{n} skills",
+ "col_skill": "Skill",
+ "col_updated": "Última atualização",
+ "col_author": "Autor",
+ "col_enabled": "Ativada",
+ "col_actions": "Ações",
+ "author_you": "Tu",
+ "author_builtin": "Integrada",
+ "by": "por {author}",
+ "browse": "Explorar",
+ "add": "Adicionar",
+ "add_create": "Criar uma nova skill",
+ "add_upload": "Carregar uma pasta ou arquivo compactado",
+ "add_import": "Importar de uma ligação",
+ "reload": "Recarregar skills",
+ "more_actions": "Mais ações",
+ "copy_path": "Copiar caminho",
+ "path_copied": "Caminho copiado",
+ "files_menu": "Ficheiros",
+ "file_one": "1 ficheiro",
+ "files": "{n} ficheiros",
+ "view_mode": "Vista",
+ "view_preview": "Pré-visualização",
+ "view_source": "Código-fonte",
+ "fact_state": "Estado",
+ "fact_version": "Versão",
+ "fact_category": "Categoria",
+ "fact_license": "Licença",
+ "fact_tags": "Etiquetas",
+ "fact_triggers": "Acionadores",
+ "searching": "A pesquisar…",
+ "search_failed": "A pesquisa falhou",
+ "title": "Skills",
+ "subtitle": "Skills integradas e do utilizador com acionadores de voz e de eventos.",
+ "search_placeholder": "Pesquisar skills…",
+ "create": "Criar skill",
+ "no_results": "Nenhuma skill encontrada.",
+ "draft_badge": "Rascunho",
+ "active_badge": "Ativa",
+ "disabled_badge": "Desativada",
+ "validated_badge": "Validada",
+ "trigger_voice": "Voz",
+ "trigger_event": "Evento",
+ "trigger_cron": "Cron",
+ "on": "Ligado",
+ "off": "Desligado",
+ "error": "Erro",
+ "delete": "Eliminar",
+ "delete_title": "Eliminar skill?",
+ "delete_body": "Esta skill será removida permanentemente:",
+ "delete_cancel": "Cancelar",
+ "delete_confirm": "Eliminar",
+ "builtin_protected": "Skill integrada — não pode ser eliminada",
+ "drag_hint": "Arrasta para reordenar",
+ "select": "Selecionar",
+ "select_all": "Selecionar tudo",
+ "selected": "selecionadas",
+ "bulk_delete_title": "Eliminar skills?",
+ "bulk_delete_body": "Estas skills serão removidas permanentemente:",
+ "new_skill": "Nova skill",
+ "find_skill": "Procurar skill",
+ "clear_search": "Limpar pesquisa",
+ "filter_all": "Todas",
+ "filter_mine": "Minhas",
+ "all_categories": "Todas as categorias",
+ "reset_filters": "Repor",
+ "matches": "resultados",
+ "ai_ranked": "Ordenado por IA",
+ "loading": "A carregar skills…",
+ "load_error": "Não foi possível carregar as skills",
+ "select_from_list": "Seleciona uma skill da lista.",
+ "loading_skill": "A carregar skill…",
+ "validation_error": "Erro de validação",
+ "portable_notice": "Skill portátil — escrita para o formato aberto Agent Skills, por isso também funciona noutros agentes. As instruções são seguidas aqui; os campos destinados a outro agente são ignorados.",
+ "portable_ignored": "Campos ignorados:",
+ "builtin_admin_needed": "Integrada — é necessária a palavra-passe de administrador para guardar",
+ "admin_password": "Palavra-passe de administrador",
+ "admin_password_hint_a": "As skills integradas estão protegidas. Introduz a palavra-passe de administrador definida em",
+ "admin_password_hint_b": "em",
+ "unlock": "Desbloquear",
+ "empty_list_title": "Ainda não há skills.",
+ "empty_list_body_a": "No primeiro arranque,",
+ "empty_list_body_b": "copia as skills integradas para",
+ "empty_list_body_c": "Se isso não acontecer, verifica os registos do backend.",
+ "search_no_hits": "Sem resultados. Experimenta outro termo ou remove um filtro.",
+ "resource_references": "Referências",
+ "resource_scripts": "Scripts",
+ "resource_assets": "Recursos",
+ "resource_agents": "Agentes",
+ "password_placeholder": "Palavra-passe",
+ "link_homepage": "Página inicial",
+ "link_source": "Fonte",
+ "link_docs": "Documentação",
+ "link_not_checked": "não verificado",
+ "link_no_network": "sem rede",
+ "select_hint": "As skills integradas estão protegidas e não podem ser selecionadas.",
+ "selected_count": "{count} selecionadas"
+ },
+ "run_inspector": {
+ "title": "Inspetor de execuções",
+ "subtitle": "Análise forense por execução para programadores: ambiente, decisões, latência, E/S de ferramentas e o fluxo bruto de eventos.",
+ "empty": "Seleciona uma execução para inspecionar.",
+ "empty_hint": "Escolhe uma execução à esquerda para ver os turnos, decisões, latência e eventos brutos.",
+ "empty_title": "Ainda não há execuções registadas",
+ "empty_body": "Cada sessão de voz ou chat aparece aqui com o seu registo forense completo.",
+ "unavailable": "O registo de execuções está desativado.",
+ "unavailable_body": "Ativa o registo de execuções nas Definições para registar o que cada sessão fez.",
+ "search": "Pesquisar execuções…",
+ "no_matches": "Nenhuma execução corresponde a esta pesquisa.",
+ "no_turns": "Esta execução não registou nenhum turno concluído.",
+ "loading": "A carregar execuções…",
+ "back": "Voltar",
+ "latency": "latência",
+ "export_raw": "Exportar em bruto (JSON)",
+ "full_transcript": "Conversa completa",
+ "deep_dive": "Métricas e análise detalhada",
+ "triggered": "Acionado",
+ "what_happened": "O que aconteceu",
+ "forensics": "Análise forense",
+ "panel": {
+ "transcript": "Transcrição",
+ "timeline": "Cronologia",
+ "latency": "Latência",
+ "decision": "Caminho de decisão",
+ "tools": "Ferramentas",
+ "errors": "Erros",
+ "events": "Eventos"
+ },
+ "tab": {
+ "turns": "Turnos",
+ "environment": "Ambiente",
+ "metrics": "Métricas",
+ "errors": "Erros",
+ "session_events": "Eventos da sessão"
+ },
+ "errors": {
+ "empty": "Nenhum erro registado."
+ },
+ "metrics": {
+ "think": "Pensar",
+ "speak": "Falar",
+ "tokens_in": "Tokens de entrada",
+ "tokens_out": "Tokens de saída",
+ "interruptions": "Interrupções",
+ "worst_latency": "Pior latência",
+ "cost_by_provider": "Custo por fornecedor",
+ "recorded_events": "Eventos registados",
+ "tool_usage": "Uso de ferramentas"
+ },
+ "environment": "Ambiente da execução",
+ "session_events": "Eventos ao nível da sessão",
+ "no_usage": "uso não medido",
+ "stream": {
+ "empty": "Nenhum evento registado.",
+ "events": "eventos",
+ "filter": "filtrar…",
+ "copy": "Copiar o fluxo filtrado como JSONL",
+ "copied": "eventos copiados como JSONL",
+ "copy_failed": "Falha ao copiar",
+ "truncated": "Este turno registou mais eventos do que os mostrados — o fluxo está limitado a 500 linhas por turno."
+ },
+ "decision": {
+ "empty": "Nenhuma decisão registada para este turno.",
+ "no_rationale": "Nenhuma justificação registada.",
+ "no_source": "nenhuma"
+ },
+ "tools": {
+ "empty": "Nenhuma ferramenta foi executada neste turno.",
+ "command": "Comando",
+ "output": "Resultado",
+ "error": "Erro",
+ "exit_code": "saída {code}",
+ "ok": "ok",
+ "fail": "falha"
+ },
+ "facts": {
+ "endpoint": "endpoint",
+ "cache": "cache do prompt",
+ "cache_hit": "acerto",
+ "cache_miss": "falha",
+ "interrupted": "interrompido",
+ "context": "contexto",
+ "turns": "turnos",
+ "tokens": "tokens",
+ "yes": "sim"
+ },
+ "env": {
+ "mode": "Modo",
+ "surface": "Superfície",
+ "started_by": "Iniciado por",
+ "ended_by": "Terminado por",
+ "language": "Idioma",
+ "providers": "Fornecedores",
+ "models": "Modelos",
+ "tiers": "Níveis",
+ "voices": "Vozes",
+ "audio": "Áudio",
+ "empty": "Nenhum ambiente registado.",
+ "audio_rates": "{input} Hz entrada · {output} Hz saída"
+ },
+ "feature_computer_use": "Uso do computador",
+ "feature_skill": "Skill",
+ "outcome": {
+ "success": "Sucesso",
+ "partial": "Parcial",
+ "failed": "Falhou"
+ },
+ "turn": "Turno",
+ "user": "Utilizador",
+ "thinking": "a pensar",
+ "speaking": "a falar",
+ "slow": "lento",
+ "errors_count": "erros",
+ "role": {
+ "spoken": "falado",
+ "system": "sistema",
+ "tool": "ferramenta",
+ "error": "erro"
+ },
+ "slo": {
+ "breach": "excedida",
+ "warn": "aviso"
+ }
+ },
+ "voice_mode": {
+ "label": "Modo",
+ "realtime": "Tempo real",
+ "pipeline": "Pipeline",
+ "unknown": "Desconhecido"
+ },
+ "transcription": {
+ "archive": "Arquivo de voz",
+ "intro": "Um lugar para cada conversa. Encontra as palavras a que queres voltar.",
+ "search_sessions": "Pesquisar pré-visualizações de conversas",
+ "clear_search": "Limpar pesquisa",
+ "refresh": "Atualizar",
+ "recorder_off": "A transcrição não está disponível",
+ "recorder_help": "O gravador de conversas está desligado. Tenta novamente quando a gravação estiver disponível.",
+ "list_error": "Não foi possível carregar as tuas conversas",
+ "retry_help": "As tuas conversas guardadas não foram alteradas. Verifica a ligação e tenta novamente.",
+ "retry": "Tentar novamente",
+ "loading_library": "A carregar as tuas conversas…",
+ "results": "{count} resultados",
+ "recent_count": "{count} conversas recentes · últimas 100",
+ "untitled": "Conversa sem título",
+ "in_progress": "Em curso",
+ "exchanges": "{count} trocas",
+ "no_matches": "Nenhuma palavra correspondente",
+ "search_help": "Experimenta outra frase do início de uma conversa.",
+ "empty_title": "As tuas conversas ficam aqui",
+ "empty_body": "Depois de uma conversa de voz, volta para ler o que foi dito, encontrar um detalhe ou guardar uma cópia.",
+ "open_chat": "Ir para o chat",
+ "all_conversations": "Todas as conversas",
+ "saved_conversation": "Conversa guardada",
+ "live_help": "Esta conversa ainda está em curso. Atualiza para ver as últimas palavras guardadas.",
+ "find": "Procurar nesta transcrição",
+ "original_wording": "Texto original",
+ "transcript": "Transcrição da conversa",
+ "end": "Fim da conversa",
+ "latest": "Últimas palavras guardadas",
+ "no_speech": "Nenhuma fala gravada",
+ "no_speech_help": "Esta conversa ainda não tem fala guardada.",
+ "find_help": "Experimenta outra frase ou limpa a pesquisa para ler a conversa inteira.",
+ "exchange": "Troca {number}",
+ "spoken_output": "Resposta falada",
+ "pending": "A aguardar confirmação",
+ "copy": "Copiar transcrição",
+ "format": "Formato do ficheiro",
+ "plain_text": "Texto simples",
+ "download": "Transferir",
+ "open_with": "Abrir com…",
+ "open_file": "Abrir ficheiro",
+ "preparing": "A preparar a transcrição…",
+ "copied": "Copiado para a área de transferência",
+ "saved": "Transcrição guardada",
+ "spoken_clarify": "Pergunta de esclarecimento",
+ "spoken_timeout": "Aviso de tempo esgotado",
+ "spoken_unavailable": "Assistente indisponível",
+ "spoken_stt_unavailable": "Fala não reconhecida",
+ "spoken_privacy": "Aviso de privacidade",
+ "spoken_completion": "Resultado em segundo plano",
+ "spoken_subagent": "Resposta do agente",
+ "spoken_action_done": "Ação confirmada",
+ "spoken_backchannel": "Confirmação de escuta",
+ "spoken_announcement": "Anúncio",
+ "spoken_preamble": "Introdução",
+ "spoken_progress": "Atualização de progresso",
+ "spoken_withheld": "Resposta retida",
+ "spoken_other": "Resposta falada"
+ },
+ "sessions_view": {
+ "title": "Transcrição",
+ "subtitle": "Sessões de voz recentes, turno a turno.",
+ "empty_title": "Ainda não há sessões",
+ "empty_subtitle": "Depois de uma conversa de voz com o teu assistente, as transcrições aparecem aqui.",
+ "load_more": "Carregar mais",
+ "user": "Tu",
+ "assistant": "Assistente",
+ "hangup": "Desligou",
+ "duration": "Duração",
+ "unknown_error": "Erro desconhecido",
+ "recorder_disabled": "O gravador de sessões está desativado.",
+ "recorder_hint_a": "Ativa a secção",
+ "recorder_hint_b": "em",
+ "recorder_hint_c": "e reinicia"
+ },
+ "docs_view": {
+ "title": "Documentação",
+ "subtitle": "Documentação do projeto, decisões de arquitetura e registo de bugs.",
+ "search_placeholder": "Pesquisar documentação…",
+ "no_results": "Nenhum documento encontrado."
+ },
+ "mcps_view": {
+ "count": "{running} ligados · {total} servidores",
+ "search_placeholder": "Pesquisar servidores…",
+ "search_no_hits": "Nenhum servidor corresponde.",
+ "add": "Adicionar",
+ "add_edit": "Editar mcp.json",
+ "col_server": "Servidor",
+ "col_transport": "Transporte",
+ "col_status": "Estado",
+ "col_enabled": "Ativado",
+ "tool_one": "1 ferramenta",
+ "tools": "{n} ferramentas",
+ "tools_heading": "Ferramentas",
+ "no_tools": "Ainda não há ferramentas listadas — ativa o servidor para as carregar.",
+ "more_actions": "Mais ações",
+ "check": "Verificar ligação",
+ "check_ok": "ligação OK — {n} ferramentas",
+ "check_failed": "a verificação da ligação falhou",
+ "remove": "Remover servidor",
+ "remove_title": "Remover servidor MCP?",
+ "remove_body": "A entrada é removida do mcp.json. Um servidor integrado volta à predefinição e pode ser ativado novamente.",
+ "remove_confirm": "Remover",
+ "removed": "{name} removido",
+ "command": "Comando",
+ "credentials": "Credenciais",
+ "credentials_missing": "Em falta: {list}",
+ "credentials_ok": "Completas",
+ "platform_notes": "Notas",
+ "origin": "Definido em",
+ "origin_bootstrap": "Predefinição integrada",
+ "origin_config": "mcp.json",
+ "not_found": "Este servidor já não está listado.",
+ "title": "MCPs",
+ "subtitle": "Servidores Model Context Protocol — ferramentas externas que o {name} pode chamar.",
+ "empty": "Nenhum servidor MCP configurado.",
+ "connected": "Ligado",
+ "disconnected": "Desligado",
+ "edit_tooltip": "Editar mcp.json",
+ "reload_tooltip": "Recarregar",
+ "intro": "O {name} gere os servidores MCP automaticamente. Ativa um com o interruptor — a ligação é verificada primeiro. Para edições manuais, abre o mcp.json.",
+ "empty_title": "Ainda não há MCPs",
+ "empty_description": "Os servidores MCP são configurados exclusivamente através do mcp.json (formato Claude Desktop). Edita-o diretamente ou importa a configuração completa do Claude Desktop.",
+ "empty_tip": "Dica: mais tarde, diz ao {name} \"instala o MCP X\" — ele próprio adiciona-o ao mcp.json.",
+ "open_config": "Abrir mcp.json",
+ "import_claude": "Importar configuração do Claude Desktop",
+ "importing": "A importar…",
+ "import_failed": "A importação falhou",
+ "saved_servers": "Guardado · {0} servidor(es)",
+ "copy_path": "Copiar caminho",
+ "path_copied": "Caminho copiado",
+ "copy_failed": "Falha ao copiar",
+ "config_format_hint": "Formato Claude Desktop. Por servidor: command, args e, opcionalmente, env e enabled. Os valores env com prefixo $ são resolvidos a partir do Gestor de Credenciais (ex.: \"$GMAIL_TOKEN\").",
+ "save": "Guardar",
+ "saving": "A guardar…",
+ "cancel": "Cancelar",
+ "credentials_incomplete": "Credenciais incompletas",
+ "status": {
+ "checking": "a verificar…",
+ "connected": "ligado",
+ "disconnected": "desligado",
+ "error": "erro"
+ },
+ "json_syntax": "Sintaxe JSON",
+ "import_note": {
+ "appdata_missing": "A variável APPDATA não está definida.",
+ "config_not_found": "Configuração do Claude Desktop não encontrada em {path}.",
+ "invalid_json": "A configuração não é um JSON válido (linha {line}, coluna {column}).",
+ "not_readable": "Não foi possível ler a configuração. Os detalhes estão no registo do Dodaios.",
+ "no_servers": "Nenhum mcpServers encontrado na configuração do Claude Desktop.",
+ "imported": "Servidores novos importados: {added}.",
+ "imported_with_skipped": "Servidores novos importados: {added}; ignorados (já existem): {skipped}."
+ }
+ },
+ "shortcuts_view": {
+ "title": "Atalhos de teclado",
+ "description": "Todas as combinações de teclas que o Dodaios escuta, num só lugar. Prime qualquer combinação para ver o que faz.",
+ "tester_title": "Experimenta uma combinação",
+ "tester_hint": "Prime quaisquer teclas — aparecem aqui com o que fazem no Dodaios.",
+ "tester_modifiers": "Continua a premir e adiciona uma tecla.",
+ "tester_free": "Livre — nada no Dodaios usa esta combinação.",
+ "list_title": "Todos os atalhos",
+ "list_count": "{count} atalhos",
+ "scope_global": "Em qualquer lugar neste computador",
+ "scope_window": "Na janela do Dodaios",
+ "scope_terminal": "Num terminal de agente",
+ "edit": "Alterar",
+ "new_keys": "Novas teclas",
+ "appshot_window": "Appshot da janela em primeiro plano",
+ "appshot_region": "Appshot de uma área",
+ "appshot_recording": "Iniciar ou parar uma gravação de ecrã",
+ "open_overlay": "Mostrar a vista geral de atalhos",
+ "options_title": "Ativar ou desativar",
+ "remove": "Remover atalho",
+ "record_hint": "Prime as novas teclas. Esc cancela.",
+ "appshot_record_hint": "Clica no campo e prime as novas teclas.",
+ "problem_typing_key": "Esta tecla sozinha seria acionada sempre que a escrevesses. Adiciona Ctrl, Alt ou Command — ou usa uma tecla de função como F9.",
+ "problem_os_reserved": "A tecla Windows pertence ao sistema. Escolhe uma combinação com Ctrl ou Alt.",
+ "problem_duplicate": "Outro atalho já usa exatamente esta combinação."
+ },
+ "shortcut_overlay": {
+ "title": "Atalhos de teclado",
+ "description": "Prime ? em qualquer lugar para abrir esta lista. As teclas de voz são configuráveis nas Definições.",
+ "close": "Fechar",
+ "unassigned": "não atribuído",
+ "off": "desligado",
+ "footer": "Altera-os em Definições → Atalhos de teclado.",
+ "area": {
+ "voice": "Voz",
+ "workspace": "Workspace"
+ },
+ "voice": {
+ "dictate": "Manter premido para falar (push-to-talk)",
+ "dictate_toggle": "Ditado mãos-livres ligado/desligado",
+ "call": "Iniciar uma chamada com o teu assistente",
+ "hangup": "Terminar a chamada",
+ "paste_last": "Colar a última transcrição"
+ },
+ "workspace": {
+ "zoom_in": "Texto do terminal maior",
+ "zoom_out": "Texto do terminal menor",
+ "zoom_reset": "Repor tamanho do texto do terminal",
+ "app_zoom_in": "Ampliar toda a aplicação",
+ "app_zoom_out": "Reduzir toda a aplicação",
+ "app_zoom_reset": "Repor o zoom da aplicação para 100 %",
+ "open_overlay": "Abrir esta lista",
+ "quick_switch": "Mudar rapidamente para qualquer secção",
+ "ide_menu": "Menu de teclas do Agentic IDE (prime duas vezes para o enviar ao painel)"
+ }
+ },
+ "quick_switch": {
+ "title": "Ir para",
+ "placeholder": "Para onde? Agentic IDE, Definições, Skills …",
+ "no_results": "Nada corresponde.",
+ "group_sections": "Secções",
+ "group_settings": "Definições",
+ "current": "Estás aqui",
+ "hint_open": "Abrir",
+ "hint_close": "Fechar",
+ "terminal_grid": "Grelha de terminais",
+ "sidebar_placeholder": "Pesquisar {name}",
+ "sidebar_search": "Pesquisar",
+ "inline_hint": "↑ ↓ para escolher · Enter para abrir · Esc para fechar",
+ "group_chats": "Chats",
+ "group_recent_chats": "Chats recentes",
+ "group_terminals": "Terminais",
+ "group_workspaces": "Workspaces",
+ "untitled_chat": "Chat sem título"
+ },
+ "board_insights": {
+ "description": "Como trabalhas com o {name}, contado neste computador.",
+ "tabs": {
+ "usage": "Utilização",
+ "agents": "Agentes",
+ "rhythm": "Ritmo"
+ },
+ "speed": {
+ "label": "Palavras por minuto",
+ "hint": "A tua velocidade de ditado. O anel marca a escrita a {0} palavras por minuto.",
+ "vs_typing": "velocidade de escrita",
+ "typing_mark": "Escrita a {0} palavras por minuto",
+ "empty": "Dita uma vez e a tua velocidade de fala aparece aqui."
+ },
+ "saved": {
+ "label": "Horas poupadas a falar",
+ "hint": "O tempo que levarias a escrever as palavras ditadas a {0} palavras por minuto, menos o tempo que passaste a ditá-las.",
+ "dictations": "Ditados",
+ "spoken": "Tempo a ditar",
+ "typing_would_take": "Escrever teria levado"
+ },
+ "words": {
+ "label": "Palavras que deste ao {name}",
+ "novel_hint": "Palavras ditadas mais as palavras que disseste em sessões de voz. Um romance médio tem cerca de {0} palavras.",
+ "trend": "{0}% vs. últimos 30 dias",
+ "trend_hint": "Palavras nos últimos 30 dias comparadas com os 30 dias anteriores.",
+ "novels": "Isso equivale a {0} romances em palavras.",
+ "novel_share": "Isso é {0}% de um romance até agora.",
+ "empty": "Dita ou inicia uma sessão de voz e as tuas palavras vão-se somando aqui.",
+ "dictated": "Ditado",
+ "spoken": "Voz"
+ },
+ "mix": {
+ "title": "Como usas o {name}",
+ "active_days": "Dias ativos | {0}",
+ "empty": "Ainda nada registado. Dita, conversa no chat ou inicia um agente para preencher isto.",
+ "dictations": "{0} ditados",
+ "dictations_one": "{0} ditado",
+ "agent_sessions": "{0} sessões de agente",
+ "agent_sessions_one": "{0} sessão de agente",
+ "chat_messages": "{0} mensagens de chat",
+ "chat_messages_one": "{0} mensagem de chat",
+ "voice_sessions": "{0} sessões de voz",
+ "voice_sessions_one": "{0} sessão de voz"
+ },
+ "streak": {
+ "title": "Sequência de {0} dias",
+ "title_one": "Sequência de {0} dia",
+ "none": "Ainda sem sequência",
+ "longest": "Maior sequência | {0} dias",
+ "longest_one": "Maior sequência | {0} dia"
+ },
+ "calendar": {
+ "less": "Menos",
+ "more": "Mais",
+ "older": "Semanas anteriores",
+ "newer": "Semanas seguintes",
+ "nothing": "nada",
+ "started": "{0} iniciados",
+ "words": "{0} palavras"
+ },
+ "agents": {
+ "title": "Agentes de programação",
+ "subtitle": "Sessões das CLIs de programação neste computador, lidas das suas próprias transcrições.",
+ "used": "{0} agentes usados",
+ "used_one": "{0} agente usado",
+ "range_30d": "Últimos 30 dias",
+ "range_all": "Desde sempre",
+ "col_agent": "Agente",
+ "col_share": "Quota",
+ "col_sessions": "Sessões",
+ "col_turns": "Turnos",
+ "col_last": "Última utilização",
+ "empty": "Ainda não foram encontradas sessões de agentes de programação neste computador.",
+ "stat_sessions": "Sessões de agente",
+ "stat_sessions_30d": "Sessões, últimos 30 dias",
+ "stat_tokens": "Tokens processados",
+ "stat_busiest": "Mais sessões num dia"
+ },
+ "chats": {
+ "title": "Chats",
+ "messages": "{0} mensagens",
+ "messages_one": "{0} mensagem",
+ "empty": "Ainda não há mensagens de chat."
+ },
+ "categories": {
+ "title": "O que o {name} fez por ti",
+ "subtitle": "Ferramentas usadas em turnos de voz, por tipo.",
+ "empty": "Ainda não foram usadas ferramentas em turnos de voz."
+ },
+ "rhythm": {
+ "title": "Quando trabalhas",
+ "subtitle": "Turnos de voz, mensagens de chat e turnos de agente, por dia da semana e hora.",
+ "peak": "Mais ativo | {0}, {1}",
+ "empty": "Ainda não há atividade suficiente para mostrar um ritmo."
+ },
+ "weekly": {
+ "title": "Palavras por semana",
+ "subtitle": "Palavras ditadas e faladas, últimas 26 semanas.",
+ "best": "Melhor semana | {0}",
+ "tooltip": "{0} palavras · {1} sessões de agente"
+ },
+ "records": {
+ "title": "Recordes",
+ "best_words": "Mais palavras num dia",
+ "best_agents": "Mais sessões de agente num dia",
+ "longest_streak": "Maior sequência",
+ "active_days": "Dias ativos",
+ "since": "desde {0}",
+ "days": "{0} dias",
+ "days_one": "{0} dia",
+ "next_milestone": "Próximo: {0} palavras",
+ "to_go": "faltam {0}",
+ "today": "{0} palavras hoje."
+ }
+ },
+ "board_view": {
+ "title": "Painel",
+ "subtitle": "Tudo o que tu e o {name} fizeram juntos — totalmente local.",
+ "refresh": "Atualizar",
+ "refresh_tooltip": "Acionar o agregador manualmente",
+ "loading": "A carregar estatísticas do painel…",
+ "load_error": "Não foi possível carregar as estatísticas",
+ "share": {
+ "button": "Partilhar",
+ "button_tooltip": "Partilhar as tuas estatísticas",
+ "title": "Partilhar as tuas estatísticas",
+ "subtitle": "Um resumo da tua atividade no {name}.",
+ "handle_label": "O teu nome de utilizador no X (opcional)",
+ "handle_placeholder": "oteunome",
+ "copy_image": "Copiar imagem",
+ "save_png": "Guardar como PNG",
+ "share_on_x": "Partilhar no X",
+ "status_generating": "A gerar imagem…",
+ "status_copied": "Imagem copiada — cola-a (Ctrl/Cmd+V) na tua publicação.",
+ "status_saved": "jarvis-stats.png guardado.",
+ "status_copy_unsupported": "Copiar não é suportado aqui — o PNG foi guardado em alternativa.",
+ "status_composer": "Imagem copiada — cola-a no editor do X.",
+ "status_composer_without_image": "O X foi aberto, mas não foi possível copiar a imagem. Guarda o PNG e anexa-o manualmente.",
+ "status_error": "Não foi possível gerar a imagem. Tenta novamente.",
+ "status_shared": "Partilhado.",
+ "status_blocked": "Não foi possível abrir o X — a imagem está na área de transferência; abre x.com e cola-a.",
+ "status_blocked_without_image": "Não foi possível abrir o X nem copiar a imagem. Guarda o PNG, abre x.com e anexa-o manualmente.",
+ "card": {
+ "brand": "DODAIOS",
+ "hero_label": "Palavras faladas",
+ "jarvis_suffix": "faladas pelo {name}",
+ "talk_line": "{0} h ativo · {1} chats",
+ "streak": "Melhor sequência: {0} dias"
+ },
+ "tweet_text": "Já disse {words} palavras ao meu {product} em {sessions} conversas — {hours} h de voz. Cria o teu:"
+ },
+ "export": {
+ "button": "Exportar CSV",
+ "button_tooltip": "Transferir estas estatísticas como ficheiro CSV",
+ "empty": "Ainda não há nada para exportar."
+ },
+ "hero": {
+ "you_spoke": "Disseste",
+ "you_spoke_sub": "palavras ditas ao {name}",
+ "jarvis_spoke": "O {name} disse",
+ "jarvis_spoke_sub": "palavras ditas a ti",
+ "streak": "Dias seguidos",
+ "streak_sub": "{0} dias ativos no total",
+ "streak_sub_one": "{0} dia ativo no total",
+ "talk_time": "Tempo ativo",
+ "talk_time_sub": "em {0} conversas",
+ "talk_time_sub_one": "em {0} conversa"
+ },
+ "activity_subtitle": "Quantas palavras tu e o {name} trocaram por dia.",
+ "activity_heatmap_hint": "Cada quadrado é um dia — quanto mais claro, mais ativo.",
+ "chart_title": "Palavras ao longo do tempo",
+ "chart_empty": "Ainda não há dados suficientes para o gráfico.",
+ "longest_streak": "Maior sequência · {0} dias",
+ "longest_streak_one": "Maior sequência · {0} dia",
+ "activity_streak_badge": "Sequência de {0} dias",
+ "activity_streak_badge_one": "Sequência de {0} dia",
+ "categories_title": "Para que usas o {name}",
+ "categories_subtitle": "Todas as ferramentas que o {name} executou por ti, agrupadas por finalidade.",
+ "categories_empty": "Ainda sem uso de ferramentas — vai-se preenchendo à medida que o {name} trabalha.",
+ "category": {
+ "agents": "Agentes",
+ "browser": "Navegador",
+ "mail": "Email",
+ "community": "Comunidade",
+ "knowledge": "Conhecimento",
+ "system": "Sistema"
+ },
+ "micro": {
+ "avg_words": "{0} palavras / conversa",
+ "ratio": "O {name} diz {0}× as tuas palavras",
+ "active_days": "{0} dias ativos",
+ "active_days_one": "{0} dia ativo",
+ "active_since": "Ativo desde {0}"
+ },
+ "heatmap_tooltip": "{0} · {1} atividades · {2} h ativo",
+ "heatmap_less": "Menos",
+ "heatmap_more": "Mais",
+ "stats": {
+ "tasks_completed": "Tarefas concluídas (total)",
+ "tasks_completed_sub": "em {0} dias ativos",
+ "tools_in_window": "Ferramentas nos últimos {0} dias",
+ "tools_in_window_sub": "Distintas, agregadas por dia",
+ "voice_first_try": "Taxa de acerto à primeira (voz)",
+ "voice_first_try_sub": "Base: {0} comandos",
+ "voice_no_data": "Ainda sem dados de voz",
+ "hours_saved": "Horas de trabalho de sub-{name}",
+ "hours_saved_sub": "Somadas em todas as execuções",
+ "conversation_hours": "Horas ativas com o {name}",
+ "conversation_hours_sub": "{0} h nos últimos {1} dias"
+ },
+ "activity_title": "Atividade",
+ "activity_description": "Últimos 365 dias. Voz, chat, ferramentas, tarefas e arranques da aplicação. Cada célula = um dia.",
+ "ai_profile_title": "Perfil de IA",
+ "ai_profile_description": "O que o {name} aprendeu sobre ti. Atualizado de forma evolutiva aos domingos.",
+ "ai_profile_regenerate": "Regenerar agora",
+ "ai_profile_regenerate_tooltip": "Regenerar a biografia agora",
+ "ai_profile_loading": "A carregar biografia…",
+ "ai_profile_collecting": "A recolher observações…",
+ "ai_profile_first_bio_hint": "A primeira biografia curta aparece após o primeiro dia ativo; observações mais profundas aos domingos.",
+ "ai_profile_today": "gerada hoje",
+ "ai_profile_one_day_ago": "há 1 dia",
+ "ai_profile_days_ago": "há {0} dias",
+ "feedback_correct": "Correto",
+ "feedback_incorrect": "Incorreto",
+ "feedback_harder": "Mais exigente",
+ "feedback_noted": "Registado. Vai influenciar a próxima biografia.",
+ "regenerate_failed": "A regeneração falhou",
+ "personal_records_title": "Recordes pessoais",
+ "personal_records_description": "Melhores marcas pessoais de atividade diária.",
+ "tools_chart_title": "Ferramentas — últimos 90 dias",
+ "tools_chart_description": "Ferramentas mais usadas com taxa de sucesso.",
+ "tools_chart_empty": "Sem uso de ferramentas neste período",
+ "tools_chart_days_used_one": "{0} dia",
+ "tools_chart_days_used": "{0} dias",
+ "tools_chart_used_label": "usada",
+ "achievements_title": "Conquistas",
+ "backend_section_title": "Ligação ao backend",
+ "backend_disconnect_tooltip": "Desativar a federação (modo apenas local)",
+ "backend_disconnect": "Desligar",
+ "backend_status_loading": "Estado…",
+ "backend_local_only": "A federação está desativada (modo apenas local). Ativa em jarvis.toml: [board.federation] enabled = true.",
+ "backend_url_label": "URL do backend",
+ "backend_url_unset": "(não configurado)",
+ "backend_url_hint": "Configurável em jarvis.toml [board.federation] backend_url.",
+ "backend_pubkey_label": "A minha chave pública",
+ "backend_pubkey_copy_tooltip": "Copiar chave pública para a área de transferência",
+ "backend_pubkey_copied": "copiada",
+ "no_records_yet": "Ainda sem recordes — aparecem automaticamente quando houver dados.",
+ "no_tools_used": "Ainda não foram usadas ferramentas.",
+ "records": {
+ "most_tasks_in_a_day": {
+ "title": "Dia mais produtivo",
+ "unit": "Tarefas"
+ },
+ "most_unique_tools_in_a_day": {
+ "title": "Caixa de ferramentas mais ampla",
+ "unit": "Ferramentas"
+ },
+ "most_voice_commands_in_a_day": {
+ "title": "Dia com mais voz",
+ "unit": "Comandos"
+ },
+ "most_hours_saved_in_a_day": {
+ "title": "Dia mais intenso de sub-{name}",
+ "unit": "Horas"
+ },
+ "most_active_events_in_a_day": {
+ "title": "Dia mais ativo com o {name}",
+ "unit": "Atividades"
+ },
+ "most_conversation_hours_in_a_day": {
+ "title": "Dia ativo mais longo",
+ "unit": "Horas"
+ }
+ }
+ },
+ "profile_view": {
+ "title": "Perfil",
+ "subtitle": "O que o {name} sabe sobre ti, de onde veio cada detalhe e o que nunca guarda.",
+ "reload_tooltip": "Recarregar",
+ "no_user_hint": "O perfil não está ativo nesta sessão. Inicia com o assistente completo.",
+ "unavailable_title": "Perfil indisponível",
+ "error_title": "Não foi possível carregar o perfil",
+ "section_source": "Ficheiro de perfil",
+ "source_updated": "Atualizado {0}",
+ "source_empty_title": "Ainda nada escrito",
+ "source_empty_body": "Ainda nada foi escrito neste ficheiro. Podes escrever tu as primeiras linhas.",
+ "value_yes": "Sim",
+ "value_no": "Não",
+ "field_edit": "Editar",
+ "field_clear": "Remover",
+ "field_remove_item": "Remover",
+ "field_add": "Adicionar",
+ "field_add_placeholder": "Escreve e prime Enter",
+ "field_value_placeholder": "Escreve um valor",
+ "field_saved": "Guardado",
+ "field_done": "Concluído",
+ "raw_edit": "Editar",
+ "raw_save": "Guardar",
+ "raw_saving": "A guardar…",
+ "raw_cancel": "Cancelar",
+ "raw_saved": "USER.md guardado",
+ "raw_editing_hint": "Estás a editar o ficheiro diretamente. O bloco entre as linhas --- contém os detalhes mostrados na página de perfil.",
+ "raw_frontmatter_warning": "Guardado, mas não foi possível ler o bloco entre as linhas ---. Os detalhes do perfil ficam vazios até ser corrigido.",
+ "just_updated": "atualizado agora",
+ "avatar_alt": "Foto de perfil",
+ "avatar_upload": "Carregar foto",
+ "avatar_change": "Alterar foto",
+ "avatar_remove": "Remover foto",
+ "avatar_uploaded": "Foto de perfil atualizada",
+ "avatar_removed": "Foto de perfil removida",
+ "hero_ask_name": "Como deve o {name} chamar-te?",
+ "hero_called": "chamado “{0}”",
+ "name_placeholder": "O teu nome",
+ "stat_since": "Juntos desde",
+ "stat_days": "{0} dias",
+ "stat_conversations": "Conversas",
+ "stat_known": "Detalhes conhecidos",
+ "stat_known_sub": "no teu perfil",
+ "stat_updated": "Última alteração",
+ "about_placeholder": "Uma ou duas frases sobre ti. O {name} lê-as antes de cada resposta.",
+ "hero_since": "desde {0}",
+ "stat_agent_runs": "Execuções de agentes",
+ "stat_longest_streak": "Maior sequência",
+ "stat_current_streak": "Sequência atual",
+ "streak_running": "em curso",
+ "activity_title": "Atividade",
+ "tab_all": "Tudo",
+ "tab_voice": "Voz",
+ "tab_chats": "Chats",
+ "tab_agents": "Agentes",
+ "unit_all": "ações",
+ "unit_voice": "usos de voz",
+ "unit_chats": "mensagens",
+ "unit_agents": "execuções de agentes",
+ "activity_last7": "Últimos 7 dias",
+ "delta_up": "+{0} % face à semana anterior",
+ "delta_down": "−{0} % face à semana anterior",
+ "delta_same": "igual à semana anterior",
+ "delta_new": "novo esta semana",
+ "activity_avg_week": "Média semanal",
+ "activity_top_day": "Dia mais ativo",
+ "activity_running": "em curso",
+ "activity_chart_label": "{0} por semana desde {1}",
+ "activity_empty": "Ainda sem atividade. O gráfico vai-se preenchendo à medida que usas o {name}.",
+ "door_details_title": "O que o {name} sabe sobre ti",
+ "door_details_sub": "{0} de {1} detalhes",
+ "drawer_close": "Fechar",
+ "stat_agent_tokens": "Tokens de agentes",
+ "top_agents_title": "Agentes favoritos",
+ "top_agents_runs": "{0} execuções",
+ "top_agents_runs_one": "{0} execução",
+ "insights_title": "Estatísticas",
+ "insight_active_days": "Dias ativos",
+ "insight_words": "Palavras faladas",
+ "insight_voice_time": "Tempo em chamadas de voz",
+ "insight_top_coder": "Agente de programação mais usado",
+ "insight_top_chat": "Chat mais usado",
+ "insight_record": "Dia recorde",
+ "insight_record_value": "{0} · {1} execuções",
+ "duration_hm": "{0} h {1} min",
+ "groups": {
+ "about": {
+ "title": "Sobre ti",
+ "description": "O essencial que o {name} usa em cada resposta."
+ },
+ "talk": {
+ "title": "Como o {name} fala contigo",
+ "description": "Tom, extensão e estilo das respostas."
+ },
+ "work": {
+ "title": "Como trabalhas",
+ "description": "Foco, planeamento e como gostas de receber feedback."
+ },
+ "values": {
+ "title": "O que é importante para ti",
+ "description": "Prioridades, motivação e o que te irrita."
+ }
+ },
+ "group_empty": "Ainda nada aqui. O {name} preenche isto a partir das tuas conversas, ou podes adicionar detalhes agora.",
+ "add_label": "Adicionar",
+ "scale_hint": {
+ "directness": "1 diplomático · 5 sem rodeios",
+ "formality": "1 descontraído · 5 formal"
+ },
+ "source_show": "Mostrar de onde veio",
+ "source_no_quote": "Registado sem citação.",
+ "source_learned": "Aprendido {0}",
+ "source_revisions": "Alterado {0} vezes",
+ "portrait_title": "Como o {name} te vê",
+ "portrait_description": "Um breve retrato escrito a partir da tua atividade e de conversas anteriores.",
+ "portrait_fits": "Acerta",
+ "portrait_misses": "Falha",
+ "portrait_harder": "Sê mais duro",
+ "portrait_ask": "Corresponde?",
+ "portrait_thanks": "Registado. O próximo retrato vai ter isto em conta.",
+ "portrait_written": "Retrato escrito.",
+ "portrait_rewrite": "Escrever um novo",
+ "portrait_write": "Escrever o retrato",
+ "portrait_written_on": "Escrito {0}",
+ "portrait_empty_body": "O {name} ainda não escreveu um retrato teu.",
+ "portrait_cut_off": "O último retrato foi interrompido antes de estar concluído.",
+ "memory_title": "Memória e privacidade",
+ "memory_description": "Onde está o resto do que o {name} sabe e o que nunca guarda.",
+ "open": "Abrir",
+ "rules_title": "As tuas regras permanentes",
+ "rules_open": "{0} linhas em {1}",
+ "rules_empty_body": "Ainda sem regras. As regras aplicam-se a todas as respostas.",
+ "rules_write": "Escrever regras",
+ "wiki_title": "Página da wiki sobre ti",
+ "wiki_facts": "{0} factos",
+ "wiki_links": "{0} ligações",
+ "wiki_empty_body": "Ainda sem página. A wiki cria uma quando as tuas conversas lhe derem algo para registar.",
+ "wiki_needs_name": "Adiciona o teu nome e a wiki pode criar uma página sobre ti.",
+ "file_title": "Ficheiro de perfil",
+ "file_hint": "USER.md, o ficheiro por trás desta página",
+ "file_hint_dated": "USER.md · alterado {0}",
+ "file_open": "Ver ficheiro",
+ "never_title": "Nunca registado",
+ "never_body": "O {name} recusa-se a guardar isto, seja qual for o conteúdo de uma conversa.",
+ "back_to_profile": "Voltar ao perfil",
+ "fields": {
+ "name": "Nome",
+ "preferred_address": "Como te chamar",
+ "pronouns": "Pronomes",
+ "primary_language": "Idioma principal",
+ "languages": "Idiomas",
+ "timezone": "Fuso horário",
+ "devices": "Dispositivos",
+ "about": "Sobre ti",
+ "directness": "Franqueza",
+ "formality": "Formalidade",
+ "verbosity": "Extensão das respostas",
+ "humor_types": "Humor",
+ "emoji_ok": "Emojis",
+ "focus_mode": "Foco",
+ "planning_horizon": "Horizonte de planeamento",
+ "top_values": "Valores principais",
+ "pet_peeves": "Irritações",
+ "motivations": "Motivações",
+ "feedback_pref": "Feedback"
+ },
+ "choices": {
+ "verbosity": {
+ "tldr": "Curtas",
+ "normal": "Normais",
+ "deep-dive": "Aprofundadas"
+ },
+ "focus_mode": {
+ "deep-work": "Trabalho profundo",
+ "fragment": "Períodos curtos",
+ "mixed": "Misto"
+ },
+ "planning_horizon": {
+ "now": "Agora mesmo",
+ "today": "Hoje",
+ "week": "Esta semana",
+ "quarter": "Este trimestre"
+ },
+ "feedback_pref": {
+ "direct-correct": "Corrige-me diretamente",
+ "suggest": "Sugere alterações",
+ "ask-then-act": "Pergunta e depois age"
+ },
+ "humor_types": {
+ "dry": "Seco",
+ "nerdy": "Nerd",
+ "sarcastic": "Sarcástico",
+ "warm": "Caloroso",
+ "none": "Nenhum"
+ },
+ "motivations": {
+ "mastery": "Mestria",
+ "autonomy": "Autonomia",
+ "impact": "Impacto"
+ }
+ },
+ "system_not_ready": "O sistema de perfil ainda não está pronto."
+ },
+ "apikeys_view": {
+ "title": "Chaves API e fornecedores",
+ "subtitle": "Configura a voz em tempo real, os teus agentes e o acesso ao {name}.",
+ "shared_key_covered": "Já coberto pela tua chave partilhada desta família de fornecedores — uma chave dedicada é opcional.",
+ "add_dedicated_key": "Adicionar chave dedicada",
+ "local_install_cta": "Instalar neste computador",
+ "local_installing": "A instalar…",
+ "local_install_retry": "Tentar novamente",
+ "local_install_hint": "Isto transfere alguns gigabytes e pode demorar vários minutos. Podes continuar a usar a aplicação entretanto.",
+ "gpu_libraries_install_cta": "Instalar bibliotecas GPU (cerca de 700 MB)",
+ "gpu_libraries_installing": "A instalar bibliotecas GPU…",
+ "gpu_libraries_install_hint": "Isto transfere cerca de 700 MB uma vez. O reconhecedor local passa para a GPU no próximo carregamento — sem reiniciar.",
+ "managed_check_cta": "Verificar este computador e instalar",
+ "managed_install_cta": "Instalar agora",
+ "managed_retry": "Repetir instalação",
+ "managed_hint": "A primeira instalação transfere vários gigabytes (pacotes + modelos de voz) e pode demorar. Podes continuar a usar a aplicação entretanto.",
+ "managed_download_size": "Transferência",
+ "managed_latency": "Latência de resposta esperada",
+ "managed_uninstall": "Remover servidor local",
+ "managed_uninstall_confirm": "Clica novamente para confirmar a remoção",
+ "managed_server_running": "Servidor em execução",
+ "managed_server_stopped": "Servidor parado",
+ "managed_server_starting": "Servidor a iniciar — a carregar modelos de voz…",
+ "managed_server_starting_eta": "faltam cerca de {0} s",
+ "managed_server_crash_loop": "O servidor continua a falhar ao iniciar — verifica o registo do servidor",
+ "managed_server_port_conflict": "Outro processo está a usar esta porta",
+ "managed_server_no_capacity": "O servidor responde, mas não tem pipeline de voz livre",
+ "managed_start_cta": "Iniciar servidor",
+ "managed_stop_cta": "Parar servidor",
+ "managed_brain_setup_note": "Também configura primeiro o cérebro local: instala o Ollama se necessário e transfere o modelo do cérebro (vários GB extra).",
+ "ollama_install_cta": "Instalar Ollama",
+ "ollama_install_confirm": "Clica novamente para instalar o Ollama agora",
+ "ollama_install_hint": "Transfere o runtime oficial do Ollama de ollama.com e inicia-o — não precisas do terminal. Os modelos locais correm inteiramente neste computador.",
+ "ollama_start_cta": "Iniciar Ollama",
+ "ollama_running_line": "O Ollama {0} está em execução.",
+ "local_models_open": "Abrir",
+ "managed_brain_picker_title": "Modelo do cérebro para o servidor de voz",
+ "managed_brain_current": "ativo",
+ "managed_brain_recommended": "recomendado",
+ "managed_brain_no_fit": "não cabe",
+ "managed_brain_use": "Usar",
+ "managed_brain_pull_use": "Transferir e usar",
+ "managed_brain_next_start": "Entra em vigor no próximo arranque do servidor.",
+ "managed_brain_recheck": "Usar o modelo do cérebro atual",
+ "managed_hearing_title": "Ouvir",
+ "managed_hearing_note": "Transcrição de chamadas. O modelo da palavra de ativação é separado.",
+ "managed_thinking_title": "Pensar",
+ "managed_speaking_title": "Falar",
+ "managed_voice_unavailable": "ainda não testado com voz",
+ "managed_voice_install_required": "é necessário instalar o runtime",
+ "managed_apply_test": "Aplicar, testar e usar voz local",
+ "managed_protocol_options": "Opções avançadas de modelo e voz do servidor",
+ "managed_setup_testing": "A preparar os modelos selecionados e a testar a fala. Pode demorar mais no primeiro arranque.",
+ "managed_selected": "Selecionado para voz. Estes modelos iniciam automaticamente com o Dodaios.",
+ "managed_not_selected": "Este servidor ainda não está selecionado para voz. Escolhe dois modelos e aplica-os para usar voz local.",
+ "managed_full_catalog": "Explorar o catálogo completo do Ollama",
+ "managed_voice_catalog_title": "Explorar modelos de fala open source",
+ "managed_voice_catalog_search": "Pesquisar por modelo, backend, idioma ou licença…",
+ "managed_voice_catalog_empty": "Nenhum modelo de fala correspondente.",
+ "managed_voice_frontier": "Topo de gama",
+ "managed_voice_streaming": "Streaming",
+ "managed_voice_compatible": "Compatível com tempo real",
+ "managed_voice_integration_pending": "Integração pendente",
+ "managed_voice_install_test": "Instalar e testar",
+ "managed_voice_source": "Fonte oficial",
+ "managed_download_test": "Transferir e testar",
+ "managed_use_test": "Usar e testar",
+ "managed_setup_complete": "Configuração concluída - o teste de voz passou.",
+ "managed_setup_complete_ms": "Configuração concluída - o primeiro áudio de teste chegou após {0} ms.",
+ "managed_catalog_selected": "Modelo selecionado. Instala o servidor para testar e ativar a stack completa.",
+ "managed_advanced_connection": "Definições de ligação avançadas",
+ "managed_brain_recheck_hint": "Volta a verificar qual o modelo Ollama adequado a este computador e muda o cérebro do servidor para ele — sem reinstalar. Entra em vigor no próximo arranque do servidor.",
+ "local_voice_loading": "A carregar o estado da voz local",
+ "local_voice_phase_not_installed": "Ainda não configurado neste computador",
+ "local_voice_phase_installing": "A configurar",
+ "local_voice_phase_stopped": "Configurado — inicia com a primeira chamada",
+ "local_voice_phase_starting": "A iniciar",
+ "local_voice_phase_ready": "Pronto",
+ "local_voice_phase_failed": "Não está a funcionar",
+ "local_voice_stage_uv": "A obter o instalador de Python",
+ "local_voice_stage_python": "A criar o Python do motor",
+ "local_voice_stage_packages": "A instalar os runtimes de fala",
+ "local_voice_stage_engine": "A copiar o motor de voz",
+ "local_voice_stage_models": "A transferir os modelos de fala",
+ "local_voice_stage_voice": "A preparar a voz",
+ "local_voice_stage_llm": "A preparar o modelo de linguagem",
+ "local_voice_stage_selftest": "A testar a voz",
+ "local_voice_stage_process": "A iniciar o motor",
+ "local_voice_stage_speech": "A carregar o reconhecimento de fala",
+ "local_voice_setup_cta": "Configurar voz local",
+ "local_voice_setup_retry": "Executar a configuração novamente",
+ "local_voice_setup_hint": "Transfere cerca de 1,5 GB mais o modelo de linguagem. Podes continuar a usar o Dodaios entretanto.",
+ "local_voice_machine_label": "Este computador",
+ "local_voice_machine_nvidia": "Placa gráfica NVIDIA",
+ "local_voice_machine_apple": "Apple Silicon",
+ "local_voice_machine_gpu": "Placa gráfica (AMD ou Intel)",
+ "local_voice_machine_cpu": "Sem placa gráfica utilizável (apenas CPU)",
+ "local_voice_latency_label": "Tempo de resposta esperado",
+ "local_voice_latency_selftest": "Conhecido após o autoteste",
+ "local_voice_basis_measured": "medido neste tipo de computador",
+ "local_voice_basis_estimate": "estimativa",
+ "local_voice_basis_selftest": "do autoteste",
+ "local_voice_llm_label": "Modelo de linguagem",
+ "local_voice_llm_auto": "Automático",
+ "local_voice_llm_missing": "Este modelo ainda não foi transferido. A configuração transfere-o.",
+ "local_voice_voice_label": "Voz",
+ "local_voice_voice_pocket": "Natural (Pocket TTS)",
+ "local_voice_voice_piper": "Básica e mais rápida (Piper)",
+ "local_voice_unverified": "Ainda não verificado neste sistema. Pode funcionar, mas não foi testado aqui.",
+ "local_voice_selftest_cta": "Executar autoteste",
+ "local_voice_selftest_running": "A testar…",
+ "local_voice_selftest_none": "Ainda sem autoteste.",
+ "local_voice_selftest_passed": "Autoteste aprovado",
+ "local_voice_selftest_failed": "Autoteste falhou",
+ "local_voice_selftest_voice_ms": "voz {0} ms",
+ "local_voice_selftest_stt_ms": "reconhecimento {0} ms",
+ "local_voice_selftest_llm_ms": "O modelo de linguagem respondeu em {0} ms",
+ "local_voice_selftest_stale": "A configuração mudou desde este teste. Executa-o novamente.",
+ "shared_delete_prefix": "Esta chave também é usada por:",
+ "shared_delete_suffix": "Eliminá-la desativa também esses fornecedores.",
+ "delete_anyway": "Eliminar mesmo assim",
+ "scope_dedicated_question": "O {0} já tem uma chave diferente guardada. Usar esta nova chave só aqui, ou substituí-la em todo o lado onde o {0} é usado?",
+ "scope_family_question": "Algumas áreas do {0} têm a sua própria chave ({1}). Substituí-las também ou mantê-las?",
+ "scope_everywhere": "Em todo o lado para {0}",
+ "scope_here": "Só aqui",
+ "scope_keep_dedicated": "Manter as chaves próprias",
+ "key_saved_label": "Chave guardada",
+ "key_saved_toast": "Chave guardada ({0})",
+ "key_removed_toast": "Chave removida ({0})",
+ "replace": "Substituir",
+ "replace_tooltip": "Introduz uma nova chave — a guardada é substituída quando premires Guardar.",
+ "delete_key_tooltip": "Remover esta chave",
+ "get_key_at": "Obtém a tua chave em {0}",
+ "get_key_here": "Obtém a tua chave aqui",
+ "paste_key_placeholder": "Cola aqui a tua chave…",
+ "format_match_hint": "Parece correto — corresponde ao formato de chave que este campo espera.",
+ "format_mismatch": "Isto parece ser uma {0} — este campo espera outra chave. Podes guardá-la na mesma se tiveres a certeza.",
+ "reveal_key": "Mostrar chave",
+ "hide_key": "Ocultar chave",
+ "save": "Guardar",
+ "saved": "Guardado",
+ "missing": "Em falta",
+ "configured": "Configurado",
+ "loading_providers": "A carregar fornecedores…",
+ "load_error": "Não foi possível carregar a lista de fornecedores",
+ "backend_unavailable": "O serviço local da aplicação não está a responder. Não é um erro da internet nem do fornecedor de cloud. A tentar novamente automaticamente.",
+ "retry": "tentar novamente",
+ "tier_brain": "Fornecedor do cérebro",
+ "tier_tts": "Saída de voz (TTS)",
+ "tier_stt": "Entrada de voz (STT)",
+ "tier_realtime": "Voz em tempo real",
+ "tier_computer_use": "Fornecedor do modelo de ferramentas",
+ "tier_dictation": "Redação do ditado",
+ "tier_subagent": "Agente {name} (tarefas pesadas)",
+ "tier_telephony": "Telefonia",
+ "tab_brain": "Cérebro",
+ "tab_tts": "Saída de voz",
+ "tab_stt": "Entrada de voz",
+ "tab_realtime": "Tempo real",
+ "tab_computer_use": "Modelo de ferramentas",
+ "tab_dictation": "Redação",
+ "tab_subagents": "Agentes {name}",
+ "tab_advanced": "Avançado",
+ "tab_jarvis_key": "Chave {name}",
+ "jarvis_key_title": "Chave {name}",
+ "jarvis_key_desc": "A chave única que protege esta instalação — desbloqueia o {name} no navegador e autentica os agentes locais.",
+ "local_mode_label": "Modo local",
+ "local_mode_on": "Ligado",
+ "local_mode_off": "Desligado",
+ "local_mode_hint": "Apenas fornecedores no teu próprio hardware.",
+ "local_mode_title_on": "O modo local está ligado — só são listados fornecedores que correm no teu próprio hardware. Clica para voltar a mostrar todos os fornecedores.",
+ "local_mode_title_off": "O modo local está desligado — todos os fornecedores são listados. Clica para mostrar apenas os que correm no teu próprio hardware.",
+ "local_mode_notice": "{0} fornecedores alojados estão ocultos.",
+ "local_mode_notice_active": "O fornecedor atualmente em uso continua visível para que vejas sempre onde o {name} está a correr.",
+ "local_mode_show_all": "Mostrar todos os fornecedores",
+ "mode_pipeline": "Pipeline",
+ "mode_realtime": "Tempo real",
+ "mode_active_badge": "Ativo",
+ "mode_recommended": "Recomendado",
+ "voice_engine_label": "Motor de voz",
+ "voice_engine_desc": "Como o {name} ouve e fala — conversa ao vivo com ferramentas ou fala local.",
+ "mode_needs_credentials": "Liga ou configura um fornecedor de tempo real abaixo para mudar.",
+ "mode_desc_pipeline": "Três passos: fala para texto, o cérebro pensa, texto para fala.",
+ "mode_desc_realtime": "Um só modelo ouve e responde no mesmo fluxo de áudio ao vivo.",
+ "mode_pick_one_hint": "Só precisas de configurar um modo de voz.",
+ "mode_keys_hint": "O tempo real precisa de um fornecedor ao vivo, com início de sessão por subscrição ou chave API. O pipeline precisa das suas próprias credenciais de entrada de voz, saída de voz e cérebro. O modelo de ferramentas e os agentes {name} aplicam-se a ambos os modos.",
+ "mode_realtime_preview": "Pré-visualização de investigação — ainda não está concluída. Muitas ferramentas e funcionalidades não funcionam no modo de tempo real.",
+ "mode_realtime_preview_short": "Pré-visualização de investigação",
+ "alt_credential_title": "Alternativa: {0}",
+ "alt_credential_setup": "Configurar {0}",
+ "runtime_switching": "A reiniciar a sessão de voz atual com o motor selecionado…",
+ "runtime_idle": "Nenhuma sessão de voz ativa. Esta seleção aplica-se à próxima.",
+ "runtime_realtime": "Sessão atual: tempo real",
+ "runtime_pipeline": "Sessão atual: pipeline",
+ "runtime_fallback_pipeline": "A sessão atual recorreu ao pipeline; o tempo real não está a servir esta chamada.",
+ "cat_brain_desc": "O modelo que escreve as respostas de chat e voz. O modelo de ferramentas, separado, trata das ações e do Computer Use.",
+ "cat_tts_desc": "A voz com que o {name} fala.",
+ "cat_stt_desc": "Como o {name} converte a tua fala em texto.",
+ "cat_realtime_desc": "Fala para fala full-duplex através de qualquer fornecedor de tempo real configurado, no desktop ou no navegador.",
+ "cat_computer_use_desc": "O modelo de ferramentas executa as tuas ações: encaminha comandos falados, planeia o Computer-Use no teu ecrã, inicia agentes em segundo plano e controla a aplicação — independentemente do cérebro do chat.",
+ "cat_dictation_desc": "O modelo rápido que arruma o texto ditado — pontuação, palavras de preenchimento e quebras de frase. Opcional: sem chave aqui, o ditado é entregue exatamente como foi reconhecido.",
+ "cat_subagents_title": "Agentes {name}",
+ "cat_subagents_desc": "Executa chat, memória e tarefas em segundo plano — não é a tua chave de voz.",
+ "advanced_title": "Acesso e integrações",
+ "advanced_desc": "Extras opcionais: o proxy de chaves da equipa, telefonia e o fornecedor da wiki de conhecimento.",
+ "no_providers_in_tier": "Nenhum fornecedor disponível nesta categoria.",
+ "model_picker_activate_hint": "Ativa este fornecedor para escolher a voz ou o modelo.",
+ "active_tooltip": "Já ativo",
+ "click_to_activate": "Clica para ativar este fornecedor e abrir as definições",
+ "provider_active": "Ativo",
+ "provider_set_active": "Ativar",
+ "provider_activating": "A ativar…",
+ "needs_codex": "Primeiro liga o Codex ou guarda a chave API e depois ativa",
+ "needs_login": "Primeiro inicia sessão com a Google e depois ativa",
+ "needs_key": "Primeiro guarda a chave API e depois ativa",
+ "needs_credentials": "Liga ou configura primeiro este fornecedor",
+ "recommended": "Recomendado",
+ "recommended_tooltip": "Modelo recomendado: {0}",
+ "not_recommended": "Não recomendado",
+ "optional": "Opcional",
+ "optional_tooltip": "Útil, mas não obrigatório. Sem isto, tudo o resto continua a funcionar exatamente como antes.",
+ "experimental": "Beta",
+ "subscription_realtime_description": "Usa o plano ChatGPT ligado através do Codex. Não é necessária chave API.",
+ "experimental_subscription_fallback": "Beta: a voz pela subscrição ainda não está concluída — usa o protocolo Realtime experimental do Codex, por isso conta com algumas falhas. A aplicação não muda silenciosamente para voz API paga por uso. Se não conseguir iniciar, a chamada termina; seleciona um fornecedor Realtime por API se quiseres faturação por uso.",
+ "experimental_subscription_consent": "Antes de ativares: este caminho ainda está em beta. O teu áudio ao vivo e a transcrição passam pelo teu plano ChatGPT através de uma rota experimental do Codex. Isso cobre a sessão de voz em tempo real e as respostas diretas da conversa. Se trabalho for entregue a um fornecedor de cérebro ou de ferramentas configurado à parte, esse fornecedor mantém a sua própria faturação. Usa isto apenas num computador pessoal, não gerido. A rota pode mudar sem aviso. Se falhar, a chamada termina; a aplicação nunca muda sozinha para voz API paga. Continuar?",
+ "health_needs_setup": "Configuração necessária",
+ "health_error": "Não está a funcionar",
+ "health_ok": "A funcionar",
+ "security_notice": "",
+ "trademark_notice": "Os nomes e logótipos de fornecedores e serviços são marcas registadas dos respetivos proprietários, mostrados apenas para identificar as integrações que podes ligar. Não é implícita qualquer afiliação ou aprovação.",
+ "realtime_model_label": "Modelo de tempo real",
+ "realtime_voice_label": "Voz",
+ "realtime_provider_default": "Predefinição do fornecedor (recomendado)",
+ "realtime_options_loading": "A carregar opções de voz…",
+ "realtime_options_error": "Não foi possível carregar as opções de voz.",
+ "realtime_options_retry": "Tentar novamente",
+ "realtime_model_managed": "Gerido",
+ "realtime_model_managed_hint": "Este fornecedor gere o modelo. Usa os controlos de configuração acima para alterar a seleção.",
+ "guide_realtime_title": "Que modelo devo escolher?",
+ "guide_realtime_body": "OpenAI API: o GPT Realtime 2.1 é o topo de gama atual e o 2.1 Mini é a opção económica. Google: o Gemini 3.1 Flash Live é o topo de gama Live atual.",
+ "guide_computer_use_title": "Que fornecedor deve alimentar o modelo de ferramentas?",
+ "guide_computer_use_body": "O modelo de ferramentas trata de todas as ações que o Dodaios executa por ti — incluindo o Computer-Use, que lê capturas do teu ecrã, por isso precisa de um modelo que entenda imagens; o seletor oculta modelos só de texto. Na dúvida, mantém o fornecedor principal do cérebro e o seu modelo predefinido.",
+ "reco_title": "Recomendação pessoal",
+ "reco_realtime_pick": "OpenAI GPT-Live",
+ "reco_realtime_why": "O Gemini Live também serve, qualquer um funciona.",
+ "reco_computer_use_pick": "Gemini 3.5 Flash",
+ "reco_computer_use_why": "a menor latência de ferramentas.",
+ "reco_subagents_pick": "Subscrição ChatGPT ou Claude Max",
+ "reco_subagents_why": "preço fixo para trabalho pesado em segundo plano.",
+ "mode_status_unknown": "O estado do motor ainda não carregou - o interruptor fica disponível assim que o backend responder. Se persistir, reinicia a aplicação.",
+ "runtime_connecting": "A ligar a sessão de tempo real — pode demorar até um minuto com um transporte por subscrição.",
+ "state_active": "ativo",
+ "state_ready": "pronto",
+ "state_checking": "a verificar",
+ "state_unavailable": "indisponível",
+ "state_blocked": "bloqueado",
+ "state_missing": "em falta",
+ "state_not_connected": "não ligado",
+ "state_open": "aberto",
+ "state_key_saved": "chave guardada",
+ "state_no_key": "sem chave",
+ "state_not_working": "não funciona",
+ "state_not_installed": "não instalado",
+ "state_local": "sem chave necessária",
+ "activate_tooltip_active": "Este fornecedor está ativo",
+ "activate_tooltip_activate": "Ativar este fornecedor",
+ "activate_tooltip_blocked": "O fornecedor não pode ser ativado",
+ "auth_mode_api_key": "Autenticação por chave API",
+ "auth_mode_codex": "Início de sessão ChatGPT / Codex",
+ "auth_mode_antigravity": "Início de sessão com subscrição Google",
+ "auth_mode_none": "Local — sem autenticação",
+ "agents_only_short": "Disponível apenas para {0}",
+ "agents_only_toast": "O {0} só está disponível para {1}.",
+ "agents_only_note": "Apenas {0}. Este fornecedor não pode ser usado como cérebro principal nem como planeador de Computer-Use porque não recebe capturas de ecrã.",
+ "local_optional_key_hint": "Fornecedor local — funciona sem credenciais. A chave abaixo é opcional, apenas para servidores que a exijam (ex.: vLLM --api-key).",
+ "local_no_credentials_hint": "Fornecedor local — não são necessárias credenciais.",
+ "polish_verify_failed": "O {0} está selecionado, mas não respondeu: {1}",
+ "switch_note_next_start": " (ativo a partir do próximo arranque de voz)",
+ "switch_done_brain": "Cérebro → {0}",
+ "switch_done_tts": "Saída de voz → {0}",
+ "switch_done_stt": "Entrada de voz → {0}",
+ "switch_done_computer_use": "Computer-Use → {0}",
+ "switch_done_dictation": "Redação do ditado → {0}",
+ "switch_done_realtime": "Tempo real → {0}",
+ "experimental_note": "Beta: este fornecedor ainda não está concluído e usa um protocolo instável que pode mudar sem aviso. Se não conseguir iniciar, a chamada termina.",
+ "experimental_consent": "Antes de ativares: este fornecedor ainda está em beta e usa uma rota experimental e instável que pode mudar sem aviso. Se falhar, a chamada termina em vez de mudar sozinha para outro fornecedor. Continuar?",
+ "key_verified_toast": "O {0} respondeu — a chave funciona.",
+ "key_check_failed_toast": "O {0} não respondeu: {1}",
+ "delete_key_named": "Eliminar {key}",
+ "enter_key_named": "Introduz {key}",
+ "install_failed_fallback": "a instalação falhou",
+ "model_download_failed_fallback": "a transferência do modelo falhou",
+ "key_format_api_key": "Chave de API {provider}",
+ "key_format_vertex_sa": "Conta de serviço do Vertex AI",
+ "key_format_vertex_sa_note": "Isto é um ficheiro de conta de serviço do Vertex AI, não uma chave do AI Studio — é faturado num projeto Google Cloud separado.",
+ "key_format_aistudio": "Chave do Google AI Studio",
+ "key_format_aistudio_note": "Este formato funciona no Google AI Studio. O Vertex AI recusa-o — o Vertex só aceita uma chave de modo expresso (AQ.) ou um projeto Cloud através de [google].vertex_project.",
+ "key_format_google_express": "Chave de API Google (AI Studio ou Vertex expresso)",
+ "key_format_google_express_note": "As chaves do AI Studio e do Vertex AI expresso partilham este formato — o cartão onde a guardas decide o endpoint e, num cartão Gemini, o Dodaios deteta-o automaticamente.",
+ "key_format_unknown": "Formato de chave não reconhecido"
+ },
+ "apikeys_test": {
+ "button": "Testar",
+ "running": "A testar…",
+ "status_ok": "Funciona",
+ "status_not_configured": "Sem chave definida",
+ "status_bad_key": "Chave inválida",
+ "status_no_credits": "Sem créditos",
+ "status_rate_limited": "Limite de pedidos atingido",
+ "status_model_unavailable": "Modelo indisponível",
+ "status_unreachable": "Inacessível",
+ "status_error": "Erro de integração",
+ "integration_ok_note": "O fornecedor foi contactado — o problema é apenas a chave/conta/modelo.",
+ "integration_bad_note": "Não foi possível contactar o fornecedor.",
+ "failed": "O teste falhou",
+ "client_timeout": "Sem resposta da aplicação após 80 s — o backend pode estar ocupado ou bloqueado."
+ },
+ "apikeys_base_url": {
+ "label": "URL do servidor",
+ "placeholder_required": "ex.: http://localhost:8000 — obrigatório",
+ "save": "Guardar",
+ "saving": "A guardar…",
+ "saved": "URL do servidor guardado",
+ "cleared": "URL do servidor reposto para a predefinição",
+ "hint_default": "Deixa vazio para usar o endereço predefinido mostrado acima.",
+ "hint_required": "Este fornecedor precisa de um URL de servidor — indica onde corre o teu servidor local."
+ },
+ "apikeys_model_pull": {
+ "title": "Modelos neste computador",
+ "memory": "{0} GB de RAM",
+ "size": "~{0} GB",
+ "installed": "Instalado",
+ "download": "Transferir",
+ "custom_placeholder": "Pesquisa a biblioteca ou escreve um nome exato…",
+ "library_title": "Todos os modelos da biblioteca Ollama",
+ "library_searching": "A pesquisar a biblioteca…",
+ "library_no_results": "Nenhum modelo encontrado para essa pesquisa.",
+ "library_loading_versions": "A carregar versões…",
+ "library_hosted": "Alojado",
+ "library_context": "contexto de {0}",
+ "library_size_unknown": "tamanho desconhecido",
+ "hardware_gpu": "{0} GB de memória gráfica",
+ "best_for_machine": "Melhor para o teu computador",
+ "role_chat": "Chat e voz",
+ "role_vision": "Vê o teu ecrã",
+ "role_coder": "Programação",
+ "role_embedding": "Embeddings de pesquisa"
+ },
+ "apikeys_model": {
+ "heading": "Modelo",
+ "recommended_tag": "Recomendado",
+ "model_label": "Modelo",
+ "search_placeholder": "Pesquisa modelos ou escreve um ID personalizado…",
+ "apply": "Aplicar",
+ "refresh": "Atualizar",
+ "saved": "Modelo guardado",
+ "live_note": "(ativo agora)",
+ "restart_note": "(ativo a partir do próximo arranque)",
+ "load_failed": "Não foi possível carregar os modelos",
+ "source_static": "lista predefinida",
+ "source_static_note": "Catálogo ao vivo indisponível — a mostrar a seleção predefinida mantida.",
+ "count_hint": "{0} modelos no catálogo",
+ "open_on_provider": "Ver no OpenRouter",
+ "choose_placeholder": "Escolhe um modelo…",
+ "heading_voice": "Voz",
+ "choose_voice": "Escolhe uma voz…",
+ "use_custom": "Usar \"{0}\"",
+ "no_models": "Nenhum modelo encontrado",
+ "loading": "A carregar…",
+ "filter_all": "Todos",
+ "filter_starred": "Top",
+ "filter_free": "Gratuitos",
+ "filter_frontier": "Topo de gama",
+ "filter_value": "Melhor relação",
+ "starred_label": "Escolha de topo",
+ "filter_hint_all": "Todos os modelos do catálogo.",
+ "filter_hint_starred": "Os melhores modelos, escolhidos a dedo.",
+ "filter_hint_free": "Modelos sem custo — não precisas de crédito API.",
+ "filter_hint_frontier": "Quando o preço não importa — os modelos mais capazes.",
+ "filter_hint_value": "O melhor desempenho pelo preço.",
+ "probe_slow_note": "Ainda a verificar — a primeira chamada a um modelo local grande carrega-o na memória e pode demorar minutos."
+ },
+ "apikeys_voice": {
+ "heading": "Voz",
+ "voice_label": "Voz",
+ "choose_voice": "Escolhe uma voz…",
+ "multilingual": "Multilingue",
+ "saved": "Voz guardada",
+ "load_failed": "Não foi possível carregar as vozes",
+ "no_voices": "Sem vozes para este modelo",
+ "count_hint": "{0} vozes",
+ "preview": "Pré-ouvir voz",
+ "preview_failed": "A pré-audição falhou",
+ "preview_language": "Idioma da pré-audição",
+ "preview_in": "Pré-ouvir em"
+ },
+ "apikeys_cu_model": {
+ "heading": "Modelo de ferramentas",
+ "use_main": "Usar o meu modelo principal",
+ "using_main": "A usar o teu modelo principal",
+ "effective": "O modelo de ferramentas executa",
+ "cleared": "Modelo de ferramentas reposto para o teu modelo principal",
+ "vision_note": "Só são listados modelos que conseguem ver imagens - o Computer-Use lê o ecrã a partir de capturas, por isso um modelo só de texto não o consegue executar."
+ },
+ "permissions": {
+ "restart_failed": "Não foi possível reiniciar o Personal Jarvis. Fecha-o e volta a abri-lo manualmente.",
+ "toast": {
+ "microphone": "O Personal Jarvis precisa de acesso ao microfone para te ouvir.",
+ "screen_recording": "O Personal Jarvis precisa de acesso à gravação do ecrã para ver o teu ecrã.",
+ "accessibility": "O Personal Jarvis precisa de acesso de acessibilidade para controlar outras aplicações por ti.",
+ "input_monitoring": "O Personal Jarvis precisa de acesso à monitorização de entrada para que os teus atalhos funcionem noutras aplicações.",
+ "automation": "O Personal Jarvis precisa da tua permissão para controlar outra aplicação.",
+ "generic": "O Personal Jarvis precisa de outra permissão para fazer isso.",
+ "restricted": "O teu Mac não permite que o Personal Jarvis use {what}. Só um administrador pode alterar isso.",
+ "restart": "O acesso a {what} está ativo, mas só funciona depois de o Personal Jarvis reiniciar.",
+ "outside": "O Personal Jarvis precisa de acesso a {what}; como não é uma aplicação instalada, o macOS dá esse acesso à aplicação que o iniciou.",
+ "wake_word": "A palavra de ativação não consegue ouvir: o acesso ao microfone está desligado para o Personal Jarvis.",
+ "action_failed": "Não funcionou. Abre tu as Definições do Sistema.",
+ "name": {
+ "microphone": "o microfone",
+ "screen_recording": "a gravação do ecrã",
+ "accessibility": "a acessibilidade",
+ "input_monitoring": "a monitorização de entrada",
+ "automation": "a automatização",
+ "generic": "esta funcionalidade"
+ },
+ "action": {
+ "open_settings": "Abrir Definições do Sistema",
+ "ask_now": "Perguntar ao macOS agora",
+ "restart": "Fechar e reabrir"
+ }
+ },
+ "group_title": null,
+ "title": null,
+ "description": null,
+ "loading": null,
+ "load_failed": null,
+ "refresh": null,
+ "not_required": null,
+ "identity_warning": null,
+ "restart_required": null,
+ "restart_now": null,
+ "restarting": null,
+ "request": null,
+ "open_settings": null,
+ "status": null,
+ "items": null,
+ "banner": null,
+ "features": null,
+ "restart_deferred": null,
+ "setup_all": null,
+ "setup_all_hint": null,
+ "setup_running": null,
+ "setup_wait_prompt": null,
+ "setup_wait_settings": null,
+ "setup_cancel": null,
+ "setup_restarting": null,
+ "setup_timeout": null,
+ "ask_again": null,
+ "stale_grant_hint": null,
+ "identity_reset": null
+ },
+ "settings_hub": {
+ "subtitle": "Tudo sobre ti, as tuas chaves e esta aplicação — num só lugar.",
+ "search_placeholder": "Pesquisar definições...",
+ "back_to_app": "Voltar à aplicação",
+ "search_results": "Opções das definições",
+ "search_pages": "Páginas das definições",
+ "no_results": "Nenhuma definição encontrada",
+ "clear_search": "Limpar pesquisa",
+ "group_general": "Geral",
+ "group_system": "Sistema",
+ "group_activity": "Atividade",
+ "general": "Geral"
+ },
+ "settings_view": {
+ "silence_window": {
+ "title": "Pausa para pensar",
+ "description": "Quanto tempo o {name} espera em silêncio antes de assumir a tua vez. Em Automático, cada modo de voz mantém o seu tempo de fábrica — a pausa mais curta. Aumenta-o para teres mais tempo para fazer pausas e acabar um pensamento; se continuares a falar dentro da pausa, as palavras são adicionadas ao mesmo pedido. Aplica-se aos dois modos de voz — Pipeline de imediato, Realtime na próxima chamada.",
+ "unit_seconds": "s",
+ "automatic_label": "Automático",
+ "automatic_caption": "O tempo de fábrica do fornecedor — a pausa mais curta.",
+ "saved_toast_automatic": "Pausa para pensar definida como Automático.",
+ "reset": "Repor predefinição (Automático)",
+ "saved_toast": "Pausa para pensar definida como {0}.",
+ "restart_caption": "Guardado — aplica-se no próximo arranque."
+ },
+ "screen_context": {
+ "title": "Contexto do ecrã",
+ "description": "Quando perguntas sobre o teu ecrã, o {name} tira uma captura, responde a essa vez com ela e elimina-a. Primeiro aparece um contorno visível. Nunca controla o teu ambiente de trabalho — isso fica com o Computer-Use, que só é executado quando pedes uma ação.",
+ "available": "Pronto em {0} monitor(es).",
+ "unavailable": "A captura de ecrã não está disponível. Verifica a permissão do sistema e a sessão do ambiente de trabalho; sistemas headless e Wayland degradam-se com segurança.",
+ "saved": "Definições do Contexto do ecrã guardadas.",
+ "capturing": "O Contexto do ecrã está a observar a superfície pedida.",
+ "completed": "Ecrã capturado: {0}×{1}, {2} ocultação(ões)."
+ },
+ "volume": {
+ "title": "Volume",
+ "description": "Com que volume o {name} fala as respostas. 100% é o mais alto — baixa-o se o {name} estiver demasiado alto. A fala é amplificada para soar tão alto como a música, sem distorção.",
+ "reset": "Repor predefinição (100%)",
+ "saved_toast": "Volume definido como {0}.",
+ "restart_caption": "Guardado — aplica-se no próximo arranque."
+ },
+ "bar_size": {
+ "title": "Tamanho da Dodaios Bar",
+ "description": "Redimensiona toda a Dodaios Bar, incluindo o orbe e os controlos. A largura e a altura mudam em conjunto. Arrasta o cursor para ver a alteração no ecrã; a posição guardada mantém-se.",
+ "reset": "Repor predefinição (135%)",
+ "saved_toast": "Tamanho da barra definido como {0}.",
+ "restart_caption": "Guardado — aplica-se quando a barra reiniciar."
+ },
+ "audio_devices": {
+ "title": "Dispositivos de áudio",
+ "description": "Escolhe por onde sai a voz do {name} e com que microfone o {name} ouve. Automático escolhe o teu headset por ti e adapta-se quando os dispositivos entram e saem.",
+ "output_label": "Saída de voz",
+ "input_label": "Microfone",
+ "auto_option": "Automático (recomendado)",
+ "default_suffix": "(predefinição do sistema)",
+ "rescan": "Procurar dispositivos",
+ "none_found": "Nenhum dispositivo de áudio encontrado nesta máquina — o {name} continua a funcionar sem som.",
+ "output_saved_toast": "Dispositivo de saída de voz guardado.",
+ "input_saved_toast": "Microfone guardado.",
+ "restart_caption": "Guardado — aplica-se no próximo arranque."
+ },
+ "title": "Definições",
+ "subtitle": "Palavra de ativação, atalhos, políticas de segurança, arranque automático.",
+ "overlay_taskbar_group_title": "Barra e Overlay",
+ "nav": {
+ "languages": "Idiomas",
+ "app": "Aplicação",
+ "screen_context": "Contexto do ecrã",
+ "realtime_voice": "Voz em tempo real",
+ "system_prompt": "Prompt de sistema",
+ "wake_word": "Palavra de ativação",
+ "silence_window": "Janela de silêncio",
+ "volume": "Volume",
+ "audio_devices": "Dispositivos de áudio",
+ "music": "Música",
+ "keybinds": "Atalhos de teclado",
+ "more": "Mais",
+ "overlay_taskbar": "Overlay e barra de tarefas"
+ },
+ "languages_group_title": "Idiomas",
+ "sections": {
+ "voice": "Voz"
+ },
+ "music_group_title": "Música",
+ "music": {
+ "service_section": "Serviço preferido",
+ "service_hint": "Para onde vai um pedido de música quando não indicas um serviço. Indicar um (\"no Spotify\", \"no YouTube Music\") prevalece sempre.",
+ "service_labels": {
+ "auto": "Automático",
+ "spotify": "Spotify",
+ "youtube_music": "YouTube Music"
+ },
+ "service_options": {
+ "auto": "O único serviço ligado; com ambos ligados, o Spotify.",
+ "spotify": "Pedidos de música sem serviço vão para o Spotify.",
+ "youtube_music": "Pedidos de música sem serviço vão para o YouTube Music."
+ },
+ "connected": "ligado",
+ "not_connected": "não ligado — liga-o em Plugins",
+ "playback_section": "Onde toca o YouTube Music",
+ "playback_hint": "O leitor em segundo plano é uma pequena janela própria que arranca minimizada: sem separador do browser, sem roubar o foco e com controlo de volume por voz. Inicia sessão lá uma vez para usares o teu Premium.",
+ "playback_labels": {
+ "background": "Leitor em segundo plano",
+ "browser": "Browser"
+ },
+ "playback_options": {
+ "background": "Uma janela de leitor minimizada; diz \"abrir YouTube Music\" para a trazer para a frente.",
+ "browser": "Abre um separador do YouTube Music no browser de cada vez."
+ },
+ "player_unavailable": "não disponível nesta máquina (sem ecrã ou sem extras de ambiente de trabalho); é usado o browser",
+ "saved_toast": "Definições de música guardadas."
+ },
+ "team_proxy": {
+ "title": "Modo de equipa (proxy de chaves partilhado)",
+ "hint": "Encaminha os fornecedores através de um proxy de chaves partilhado com um token por utilizador, em vez de guardar chaves reais dos fornecedores nesta máquina. Deixa desligado para a configuração normal com chaves locais.",
+ "enable_label": "Usar um proxy de chaves de equipa",
+ "url_label": "URL do proxy",
+ "token_label": "O teu token de equipa",
+ "token_placeholder": "Cola o teu token de utilizador",
+ "token_set_placeholder": "Token guardado — escreve para substituir",
+ "local_label": "Manter estes fornecedores locais (sem proxy)",
+ "save": "Guardar modo de equipa"
+ },
+ "app_settings_group_title": "Definições da aplicação",
+ "realtime_voice": {
+ "title": "Voz em tempo real",
+ "description": "Conversa de voz full-duplex através do fornecedor Realtime selecionado. Desligado por predefinição.",
+ "unavailable": "Liga ou configura um fornecedor Realtime. A voz padrão continua disponível."
+ },
+ "jarvis_api": {
+ "title": "Chave de controlo",
+ "key_label": "Chave de controlo",
+ "description": "A única chave que protege esta instalação do {name}. Introduze-la para desbloquear o {name} num browser ou noutro dispositivo, e os agentes locais (Codex, Claude Code) usam-na para controlar o {name} através da Control API. Foi gerada automaticamente na instalação — cada instalação tem a sua.",
+ "show": "Mostrar",
+ "hide": "Ocultar",
+ "copy_button": "Copiar",
+ "copied_toast": "Chave de controlo copiada para a área de transferência.",
+ "copy_failed_toast": "Não foi possível copiar a Chave de controlo.",
+ "unlock_hint": "O ecrã de bloqueio no browser pede exatamente esta chave.",
+ "browser_lock_title": "Pedir a chave no browser",
+ "browser_lock_description": "Desligado: os browsers neste computador abrem o {name} sem a chave. Outros dispositivos e o acesso remoto precisam sempre da chave.",
+ "browser_lock_confirm_title": "Exigir a Chave de controlo no browser?",
+ "browser_lock_confirm_body": "A partir de agora, abrir o {name} num browser vai pedir a Chave de controlo acima. Copia-a primeiro para um local seguro — um browser novo não consegue entrar sem ela. Este browser mantém a sessão iniciada.",
+ "browser_lock_confirm_button": "Exigir a chave",
+ "browser_lock_on_toast": "Bloqueio do browser ativo. Novos browsers vão precisar da Chave de controlo.",
+ "browser_lock_off_toast": "Bloqueio do browser desativado. Os browsers neste computador entram sem a chave.",
+ "regenerate_button": "Gerar chave aleatória",
+ "regenerate_confirm_title": "Gerar uma nova Chave de controlo?",
+ "regenerate_confirm_body": "A chave atual deixa de funcionar imediatamente — em todo o lado. Todos os browsers, dispositivos e agentes que ainda a usam vão precisar da nova chave.",
+ "regenerate_confirm_button": "Gerar nova chave",
+ "regenerated_toast": "Foi gerada uma nova Chave de controlo. Entrega-a a todos os dispositivos e agentes que usavam a antiga.",
+ "custom_button": "Escolher a minha chave",
+ "custom_hint": "Escolhe uma chave que consigas lembrar — substitui a atual imediatamente, em todo o lado. Pelo menos 12 caracteres; apenas letras, dígitos e . _ ~ - (sem espaços).",
+ "custom_new_label": "Nova Chave de controlo",
+ "custom_repeat_label": "Repetir nova Chave de controlo",
+ "custom_too_short": "São necessários pelo menos 12 caracteres.",
+ "custom_charset": "Só são permitidos letras, dígitos e . _ ~ - (sem espaços).",
+ "custom_mismatch": "As duas entradas não coincidem.",
+ "custom_submit": "Definir esta chave",
+ "custom_saved_toast": "A tua Chave de controlo está definida. Agora desbloqueia o {name} em todo o lado.",
+ "usage_hint": "Para agentes: envia-a como cabeçalho Authorization: Bearer para o teu {name} local (/api/control). GET /api/control/allowlist lista tudo o que podes alterar."
+ },
+ "save": "Guardar alterações",
+ "saving": "A guardar…",
+ "reset": "Repor predefinições",
+ "rows": {
+ "wake_word_title": "Palavra de ativação",
+ "wake_word_description": "Palavra de ativação do modo de voz.",
+ "privacy_title": "Modo de privacidade",
+ "privacy_description": "Híbrido: STT local (Whisper), TTS/Cérebro na cloud.",
+ "privacy_value": "Híbrido",
+ "scope_title": "Âmbito do projeto",
+ "scope_description": "\"Trabalhar na pasta X\" fixa o contexto até ser libertado.",
+ "scope_value": "Global (sem fixação)",
+ "autostart_title": "Arrancar com o Windows",
+ "autostart_description": "O assistente arranca na bandeja após o início de sessão.",
+ "toasts_title": "Notificações do piloto automático",
+ "toasts_description": "Mostrar a notificação \"{name} abriu X\" quando a voz controla a interface."
+ },
+ "wake_word": {
+ "title": "Palavra de ativação",
+ "description": "Frase de ativação do modo de voz. Escreve a tua.",
+ "activation_title": "Ativar palavra de ativação",
+ "activation_hint": "Ligado: o Dodaios está sempre à escuta da tua palavra (precisa de um modelo local). Desligado: ativa com o atalho de teclado Chamar.",
+ "activation_saved": "Ativação da palavra de ativação atualizada de imediato.",
+ "phrase_label": "Frase de ativação",
+ "phrase_placeholder": "ex.: Jonas",
+ "language_label": "Que idioma falas?",
+ "language_callout_title": "Escolhe o idioma que FALAS — não a origem da palavra.",
+ "language_hint": "O Dodaios compara a tua pronúncia, não a palavra em si. Se falas alemão, escolhe alemão — mesmo para um nome como \"Alex\" ou uma palavra inglesa. Escolhe o idioma errado e o Dodaios nunca te ouve, sem aviso. Esta escolha é independente do idioma de apresentação da aplicação — a aplicação pode ficar em inglês enquanto a tua palavra de ativação é alemã.",
+ "language_placeholder": "Seleciona o idioma que falas…",
+ "self_test_button": "Testar palavra de ativação",
+ "self_test_running": "A verificar…",
+ "engine_label": "Motor de deteção",
+ "custom_model_path_label": "Caminho do modelo ONNX personalizado",
+ "save": "Guardar palavra de ativação",
+ "saved": "Palavra de ativação guardada",
+ "restart_required": "É necessário reiniciar para aplicar.",
+ "degraded_warning": "A frase escolhida não é suportada pelo motor selecionado — será usado outro motor.",
+ "needs_whisper_hint": "Esta frase precisa de um motor local. Instala o pacote de voz local abaixo — até lá, a palavra de ativação fica desligada e ativas com o atalho Chamar.",
+ "derived_name": "O teu assistente vai chamar-se: {0}",
+ "engine_options": {
+ "auto": "Automático (recomendado)",
+ "openwakeword": "openWakeWord (modelo personalizado)",
+ "vosk_kws": "Deteção de palavras-chave (qualquer frase, igual em todos os dispositivos)",
+ "stt_match": "Correspondência STT (qualquer frase, precisa do Whisper local)",
+ "custom_onnx": "Modelo ONNX personalizado"
+ },
+ "enable_local_button": "Ativar qualquer palavra de ativação",
+ "enable_local_installing": "A instalar o pacote de voz local… pode demorar um minuto.",
+ "enable_local_done": "Pacote de voz local instalado. A tua palavra de ativação está pronta sem reiniciar.",
+ "enable_local_error": "A instalação falhou - os detalhes abaixo indicam a causa. Na maioria das vezes ainda não existe um pacote pré-compilado para esta versão de Python ou sistema; só um erro de ligação nos detalhes indica um problema de rede.",
+ "enable_local_retry": "Tentar novamente",
+ "enable_local_restart": "Reiniciar agora",
+ "restarting": "A reiniciar…",
+ "download_model_button": "Transferir modelo de ativação",
+ "download_model_downloading": "A transferir o modelo de ativação…",
+ "download_model_done": "Modelo de ativação transferido — a guardar novamente a tua palavra de ativação…",
+ "download_model_error": "Não foi possível transferir o modelo de ativação. Verifica a tua ligação e tenta novamente.",
+ "download_model_retry": "Tentar novamente",
+ "diag_engine": "motor: {engine}",
+ "diag_language": "idioma: {language}",
+ "diag_not_in_vocab": "não está no vocabulário",
+ "diag_mic_quiet": "microfone silencioso",
+ "msg": {
+ "custom_onnx": "Modelo de ativação ONNX personalizado: {path}",
+ "vosk_kws": "Deteção de palavras-chave Vosk para qualquer palavra para «{phrase}» (modelo: {model}).",
+ "custom_onnx_missing": "ONNX personalizado não encontrado ({path}); em vez disso, é usada a correspondência com a transcrição do Whisper local.",
+ "custom_onnx_other_phrase": "O modelo de ativação personalizado «{model_file}» pertence a outra frase; «{phrase}» usa a correspondência com a transcrição do Whisper local.",
+ "stt_match_unreliable": "A frase personalizada «{phrase}» usa a correspondência com a transcrição do Whisper local — isto é POUCO FIÁVEL para um nome difícil. Transfere o modelo Vosk para {language} para que fique fiável (Definições -> Palavra de ativação -> «Transferir modelo de ativação»).",
+ "stt_match_unreliable_any_language": "A frase personalizada «{phrase}» usa a correspondência com a transcrição do Whisper local — isto é POUCO FIÁVEL para um nome difícil. Transfere o modelo Vosk para o idioma configurado para que fique fiável (Definições -> Palavra de ativação -> «Transferir modelo de ativação»).",
+ "needs_local_model": "A palavra de ativação «{phrase}» precisa de um modelo local. Instala o pacote de voz local (funciona com qualquer palavra) ou indica um .onnx personalizado para a ativar. Até lá, a palavra de ativação fica desligada — usa o atalho Chamar para iniciar uma conversa por voz.",
+ "needs_local_model_no_phrase": "A tua palavra de ativação precisa de um modelo local. Instala o pacote de voz local (funciona com qualquer palavra) ou indica um .onnx personalizado para a ativar. Até lá, a palavra de ativação fica desligada — usa o atalho Chamar para iniciar uma conversa por voz.",
+ "no_phrase": "Não há nenhuma palavra de ativação definida.",
+ "not_in_vocab": "«{phrase}» não está no vocabulário do modelo de {language}.",
+ "no_microphone": "Nenhum microfone detetado.",
+ "mic_quiet": "O sinal do microfone está muito baixo.",
+ "ready": "Pronto: «{phrase}» no motor «{engine}» (idioma «{language}»). Di-la para me ativares.",
+ "activation_not_persisted": "Não foi possível guardar a definição em jarvis.toml. Os detalhes estão no registo do Dodaios.",
+ "model_ready": "Modelo de ativação pronto.",
+ "model_download_failed": "Não foi possível transferir o modelo de ativação agora; vai ser tentado de novo automaticamente. Até lá, a palavra de ativação usa a via alternativa."
+ },
+ "hint": {
+ "type_phrase": "Escreve primeiro uma frase de ativação.",
+ "download_or_hotkey": "Transfere o modelo local ou usa o atalho de teclado.",
+ "pick_real_word": "Escolhe uma palavra real do teu idioma ou usa outra frase.",
+ "connect_mic": "Liga ou ativa um microfone.",
+ "speak_louder": "Fala mais alto ou aumenta o ganho de entrada.",
+ "allow_mic_dialog": "Carrega no botão de teste e escolhe Permitir na caixa de diálogo do macOS.",
+ "allow_mic_settings": "Permite o acesso ao microfone em {path} e tenta outra vez."
+ }
+ },
+ "onboarding": {
+ "wake_word": {
+ "title": "Define a tua palavra de ativação",
+ "body": "Escolhe uma palavra ou frase curta que o {name} vai escutar. Podes escrever qualquer coisa — por exemplo, o teu nome.",
+ "input_label": "Frase de ativação",
+ "placeholder": "ex.: Jonas",
+ "cta": "Começar",
+ "saving": "A guardar…",
+ "degraded_note": "Esta frase não é suportada pelo motor atual — será usada uma alternativa. Podes continuar na mesma."
+ }
+ },
+ "autostart": {
+ "title": "Abrir a aplicação ao iniciar sessão",
+ "description": "Abre o assistente automaticamente quando inicias sessão, para que a palavra de ativação funcione logo após reiniciar. Desliga-o aqui a qualquer momento.",
+ "enabled_toast": "Arranque automático ativado — o {name} vai abrir ao iniciar sessão.",
+ "disabled_toast": "Arranque automático desativado.",
+ "unsupported": "O arranque automático não está disponível neste anfitrião (ex.: um servidor headless sem sessão de ambiente de trabalho).",
+ "enable_instant_start": "Ativar arranque instantâneo",
+ "instant_start_hint": "No Windows, o arranque instantâneo usa uma tarefa agendada e pede permissão uma vez. Sem ele, o Windows pode atrasar o arranque vários minutos em máquinas com muitos programas de arranque.",
+ "instant_start_active": "O arranque instantâneo está ativo — o {name} abre segundos após o início de sessão.",
+ "instant_start_enabled_toast": "Arranque instantâneo ativado — o {name} vai abrir logo após o início de sessão.",
+ "instant_start_declined_toast": "A permissão foi recusada — o {name} continua a arrancar pelo atalho (pode demorar)."
+ },
+ "background_agents": {
+ "server_title": "Servidor de agentes independente",
+ "server_backend_update": "Reinicia a aplicação de ambiente de trabalho uma vez para carregar o suporte ao servidor de agentes.",
+ "server_description": "Executa o Dodaios, o Hermes e o OpenClaw num servidor que continua ativo quando todos os clientes fecham. Aplica-se no próximo arranque da aplicação.",
+ "server_active": "Este servidor independente mantém os agentes ativos. Fechar este cliente não o para.",
+ "server_url_label": "Endereço do servidor (deixa vazio para executar neste computador)",
+ "server_save": "Guardar endereço",
+ "server_hint": "Os servidores remotos usam HTTPS e o seu próprio início de sessão. O cliente usa a voz do browser; palavra de ativação local, overlays e controlo do dispositivo exigem a aplicação integrada ou um dispositivo disponível.",
+ "title": "Manter agentes ativos após fechar",
+ "description": "Quando fechas o {name}, um pequeno serviço em segundo plano mantém as tuas rotinas e canais de chat (Telegram, Discord) ativos. Abrir a aplicação volta a assumir o controlo. Só arranca quando há algo para manter.",
+ "keeps_now": "Fechar agora mantém: {what}.",
+ "keeps_nothing": "De momento não há nada para manter — fechar para tudo.",
+ "routines": "{count} rotina(s)",
+ "login_title": "Ao iniciar sessão, arrancar só os agentes em segundo plano",
+ "login_description": "Executa rotinas e canais de chat após reiniciar, sem abrir a janela. Requer \"Abrir a aplicação ao iniciar sessão\".",
+ "service_active": "Estás a ver o serviço em segundo plano. Abre a aplicação de ambiente de trabalho para assumir o controlo.",
+ "saved_toast": "Guardado."
+ },
+ "overlay_style": {
+ "title": "Estilo de apresentação",
+ "description": "A Dodaios Bar tem um indicador de voz para falar e controlos para um novo chat de texto, silenciar o microfone, áudio do assistente e chamadas. Escolhe Mascote, Orbe de voz ou Animal para outro estilo, ou Nenhum para ocultar o overlay. Arrasta qualquer estilo flutuante para o colocar num monitor.",
+ "label": "Estilo",
+ "save": "Guardar",
+ "saved": "Estilo de apresentação alterado.",
+ "restart_required": "Guardado — reinicia o {name} para aplicar.",
+ "options": {
+ "jarvis_bar": "Dodaios Bar (predefinição)",
+ "mascot": "Mascote",
+ "voice_orb": "Orbe de voz",
+ "pet": "Animal",
+ "none": "Nenhum (oculto)"
+ }
+ },
+ "system_prompt": {
+ "title": "Prompt de sistema",
+ "description": "As instruções que definem como o teu assistente pensa e fala. Edita o Markdown para o personalizar, ou repõe a predefinição a qualquer momento.",
+ "custom_badge": "Personalizado",
+ "default_badge": "Predefinição",
+ "editor_label": "Prompt de sistema (Markdown)",
+ "placeholder": "Escreve o teu próprio prompt de sistema…",
+ "chars": "{0} caracteres",
+ "empty_hint": "Não pode estar vazio — usa Repor para restaurar a predefinição.",
+ "save": "Guardar prompt",
+ "saved": "Prompt de sistema guardado",
+ "reset": "Repor predefinição",
+ "reset_done": "Prompt de sistema reposto para a predefinição",
+ "applies_next_turn": "Aplica-se na próxima mensagem do teu assistente — sem reiniciar."
+ },
+ "quick_switch": {
+ "title": "Navegação rápida",
+ "description": "Uma pesquisa que abre por cima de tudo: escreve o nome de uma secção e prime Enter para lá ires. Funciona enquanto a janela do Dodaios está à frente.",
+ "shortcut_label": "Abrir a navegação rápida",
+ "keys_only": "A navegação rápida abre só com teclas, não com botões do rato.",
+ "mac_note": "Num Mac, Command+Space pertence ao Spotlight e Control+Space à mudança de fonte de entrada — o macOS fica com ambos antes de o Dodaios os ver. Por isso a predefinição aqui é Option+Space.",
+ "problem_one_key": "Usa exatamente uma tecla mais modificadores, por exemplo Ctrl+Space. Combinações só com modificadores, pares de teclas e botões do rato não abrem a navegação rápida.",
+ "problem_typing_key": "Esta tecla abriria a navegação rápida sempre que a escrevesses. Adiciona Ctrl, Alt ou Command — ou usa uma tecla de função como F6.",
+ "problem_os_reserved": "O teu sistema operativo reserva esta combinação, por isso nunca chega ao Dodaios. Escolhe outra.",
+ "problem_app_reserved": "O Dodaios já usa esta combinação (copiar, colar, anular ou a pesquisa da Wiki e Docs). Escolhe outra.",
+ "problem_voice_taken": "Um atalho de voz já usa exatamente esta combinação e dispara antes da navegação rápida. Escolhe outra."
+ },
+ "app_zoom": {
+ "title": "Zoom",
+ "description": "Torna tudo na janela do Dodaios maior ou menor, como o Ctrl + Mais faz zoom num browser. Funciona com teclados alemães e ingleses: Mais e Menos são lidos como os caracteres que escreves, onde quer que estejam.",
+ "level_label": "Tamanho atual",
+ "in_label": "Aumentar zoom",
+ "out_label": "Diminuir zoom",
+ "reset_label": "Voltar a 100 %",
+ "reset_button": "Repor",
+ "problem_typing_key": "Esta tecla sozinha faria zoom sempre que a escrevesses. Adiciona Ctrl, Alt ou Command — ou usa uma tecla de função como F9.",
+ "problem_os_reserved": "A tecla Windows pertence ao sistema (Windows + Mais abre a lupa). Escolhe uma combinação com Ctrl ou Alt.",
+ "problem_duplicate": "Outro passo de zoom já usa exatamente esta combinação.",
+ "problem_quick_switch": "A navegação rápida já usa exatamente esta combinação.",
+ "note_terminal": "No Agentic IDE, Ctrl + Mais e Ctrl + Menos alteram antes o tamanho do texto do terminal.",
+ "note_browser": "Num separador do browser aplica-se o zoom do próprio browser — estas teclas só fazem zoom na janela de ambiente de trabalho do Dodaios.",
+ "note_unsupported": "Esta janela não suporta zoom neste sistema. As teclas não são alteradas."
+ },
+ "keybinds": {
+ "title": "Atalhos de voz",
+ "description": "Define as teclas para iniciar e terminar uma chamada. Clica em Gravar e prime a tua combinação — ou clica nas teclas do teclado no ecrã. Os atalhos de ditado estão na secção de voz, em Atalhos. As alterações aplicam-se de imediato.",
+ "call_label": "Chamar (atender / começar a falar)",
+ "hangup_label": "Desligar",
+ "dictate_label": "Ditado (mantém premido para falar, o texto vai para onde escreves)",
+ "paste_last_label": "Colar novamente o último ditado",
+ "pet_toggle_label": "Mostrar ou ocultar o animal",
+ "record": "Gravar",
+ "stop": "Parar",
+ "recording": "Prime as tuas teclas…",
+ "recording_hint": "Mantém premidas as teclas que queres (depois larga), ou clica nelas no teclado abaixo. Guarda-se sozinho. Esc cancela.",
+ "record_prompt": "Prime a tua combinação…",
+ "record_prompt_hint": "Qualquer combinação funciona — Ctrl, Alt, Shift, a tecla Windows ou Command e os botões do meio ou laterais do rato. Mantém premidas as teclas que queres e depois larga — guarda-se sozinho. Esc cancela.",
+ "record_prompt_holding": "Continua a premir — demora o tempo que precisares para adicionar mais teclas. Nada é guardado até largares todas.",
+ "caution_modifier_only": "Só teclas modificadoras: também dispara sempre que premes outra coisa juntamente com elas, por isso Ctrl+Win dispara também com Ctrl+Win+Esquerda.",
+ "caution_os_shortcut": "Nada é bloqueado: o que esta combinação já faz — um atalho do sistema ou um clique no que estás a apontar — continua a acontecer, por isso obténs as duas coisas ao mesmo tempo.",
+ "unbound": "Nenhuma tecla atribuída",
+ "save": "Guardar",
+ "clear": "Limpar",
+ "saved": "Atalho guardado",
+ "cleared": "Atalho limpo",
+ "reset": "Repor predefinição",
+ "restart_required": "É necessário reiniciar para aplicar.",
+ "validation": {
+ "only_modifiers": "Adiciona uma tecla real — Ctrl/Alt/Shift sozinhos não podem ser um gatilho.",
+ "solo_typing_key": "Esta tecla dispara sempre que escreves — adiciona Ctrl/Alt/Shift ou uma segunda tecla. Teclas de função (F5) e de navegação (↑, Home) também funcionam sozinhas.",
+ "windows_reserved": "A tecla Windows está reservada pelo sistema — usa Ctrl, Alt ou Shift.",
+ "alt_f4": "Alt+F4 fecha a janela ativa — escolhe outra combinação.",
+ "ctrl_c": "Ctrl+C é o atalho de copiar — escolhe outra combinação.",
+ "collision": "Sobrepõe-se a {action} ({combo}) — um toque dispararia ambos. Escolhe outras teclas.",
+ "solo_nav": "Permitido — mas atenção: esta tecla também dispara ao navegar no texto.",
+ "f12_reserved": "F12 está permanentemente reservada pelo sistema — escolhe outra tecla."
+ },
+ "keyboard": {
+ "legend_pressed": "Premida",
+ "legend_selected": "Na combinação",
+ "legend_bound": "Já usada",
+ "hint": "Prime ou clica nas teclas para criar a combinação",
+ "reserved": "Reservada pelo sistema"
+ },
+ "dictate_toggle_label": "Ditado mãos-livres",
+ "caution_overlap": "Isto está contido noutro atalho, por isso premir o mais longo dispara ambos. Limpa um deles se não é isso que queres.",
+ "mouse": {
+ "middle_click": "Clique do meio",
+ "back_combo": "Rato recuar",
+ "forward_combo": "Rato avançar",
+ "middle": "Meio",
+ "back": "Recuar",
+ "forward": "Avançar"
+ },
+ "mouse_reason": {
+ "macos_needs_quartz": "Os atalhos com botões do rato precisam do pacote pyobjc Quartz, que não está instalado — instala o perfil [full]. As combinações de teclas continuam a funcionar.",
+ "wayland": "O Wayland não deixa uma aplicação vigiar os botões do rato globalmente, por isso um atalho com botão do rato não pode funcionar aqui. Usa uma combinação de teclas ou associa um atalho do compositor à CLI do Dodaios.",
+ "linux_needs_pynput": "Os atalhos com botões do rato precisam do pacote pynput, que não está instalado — instala o extra [desktop-linux]. As combinações de teclas continuam a funcionar.",
+ "unsupported_host": "Este sistema não consegue vigiar os botões do rato globalmente — usa antes uma combinação de teclas."
+ }
+ },
+ "codex_title": "OpenAI Codex CLI",
+ "codex_description": "Caminho manual para problemas de PATH no Windows. Vazio usa 'codex' do PATH.",
+ "safety_title": "Lista de permissões de segurança",
+ "safety_description": "Padrões executados sem confirmação, mesmo no nível de risco 'ask'. Evita o cansaço de confirmações.",
+ "appearance": {
+ "title": "Aparência",
+ "description": "Altera as cores da interface. Escuro é a predefinição e a mudança é instantânea.",
+ "dark": "Escuro",
+ "light": "Claro",
+ "system": "Sistema",
+ "system_now_dark": "A seguir o teu sistema, que de momento está escuro.",
+ "system_now_light": "A seguir o teu sistema, que de momento está claro."
+ },
+ "invalid_setting": "Definição inválida"
+ },
+ "telephony_view": {
+ "title": "Telefonia (experimental)",
+ "subtitle": "Liga para o teu assistente através de um número de telefone real. O mesmo STT, Cérebro e voz Charon do modo local com palavra de ativação. Nota: esta integração de telefonia é experimental e ainda não foi testada.",
+ "load_error": "Não foi possível carregar o estado da telefonia",
+ "not_configured_hint": "Define abaixo o Account SID, o Auth Token e o número de telefone da Twilio para concluir a configuração e depois executa \"Testar ligação\".",
+ "unavailable_title": "Extra de telefonia não instalado",
+ "unavailable_body": "A integração opcional com a Twilio não está disponível nesta instalação. Adiciona o grupo de extras de telefonia e reinicia o {name}.",
+ "status": {
+ "title": "Estado",
+ "twilio": "Twilio",
+ "reachable": "Acessível",
+ "unreachable": "Inacessível",
+ "not_configured": "Ainda não configurado",
+ "enabled": "Ativado",
+ "account_sid": "Account SID",
+ "phone_number": "Número de telefone",
+ "public_url": "URL base pública",
+ "webhook_url": "Webhook de voz",
+ "voice": "Voz TTS",
+ "active_calls": "Chamadas ativas",
+ "max_seconds": "Duração máx. da chamada",
+ "not_set": "não definido",
+ "badge_setup": "Configuração necessária",
+ "badge_live": "Ativo",
+ "badge_error": "Erro"
+ },
+ "creds": {
+ "title": "Credenciais e configuração",
+ "enable": "Ativado",
+ "account_sid": "Account SID",
+ "auth_token": "Auth Token",
+ "auth_token_set": "Guardado — deixa vazio para manter",
+ "auth_token_placeholder": "Cola o Auth Token da Twilio",
+ "phone_number": "Número de telefone (E.164)",
+ "public_url": "URL base pública",
+ "language": "Código de idioma",
+ "greeting": "Saudação (opcional)",
+ "greeting_placeholder": "Deixa vazio para a saudação predefinida do {name}",
+ "test_connection": "Testar ligação",
+ "self_test": "Autoteste de voz",
+ "setup_script": "Script de configuração",
+ "saved": "Definições de telefonia guardadas",
+ "test_ok": "Twilio acessível",
+ "test_failed": "Twilio inacessível",
+ "test_reachable": "A conta Twilio está acessível.",
+ "selftest_ok": "A cadeia de voz funciona",
+ "selftest_failed": "O autoteste falhou",
+ "transcript": "Transcrição",
+ "response": "Resposta do {name}",
+ "audio_bytes": "Bytes de áudio"
+ },
+ "scripts": {
+ "title": "Scripts de configuração",
+ "subtitle": "Executa-os para expor o {name} publicamente e configurar o número Twilio. Copia um comando com o botão.",
+ "empty": "O backend ainda não indicou nenhum script de configuração."
+ },
+ "calls": {
+ "title": "Chamadas recentes",
+ "empty": "Ainda não há chamadas. Quando alguém ligar para o teu número, as vezes de fala aparecem aqui.",
+ "from": "De",
+ "to": "Para",
+ "started": "Início",
+ "duration": "Duração",
+ "turns": "Vezes",
+ "status": "Estado"
+ },
+ "call_status": {
+ "ringing": "A tocar",
+ "in_progress": "Em curso",
+ "completed": "Concluída",
+ "failed": "Falhada",
+ "no_audio": "Sem áudio"
+ },
+ "copy_command": "Copiar comando"
+ },
+ "telephony_setup": {
+ "title": "Configuração da telefonia",
+ "subtitle": "Guia passo a passo e scripts de configuração para a telefonia Twilio.",
+ "back": "Voltar às chaves de API",
+ "guide_title": "Configuração",
+ "intro": "Como tornar o {name} acessível por telefone — do número Twilio à primeira chamada.",
+ "step1_title": "Instalar o extra de telefonia",
+ "step1_body": "Executa `pip install \"personal-jarvis[telephony]\"` no servidor e reinicia o {name}. Só é necessário se o estado acima indicar que falta o extra.",
+ "step2_title": "Criar uma conta Twilio",
+ "step2_body": "Regista-te em twilio.com, copia o Account SID e o Auth Token e compra um número de telefone com suporte de voz.",
+ "step3_title": "Expor o {name} publicamente",
+ "step3_body": "A Twilio tem de chegar ao {name} por HTTPS. Executa o script de túnel abaixo e cola o URL apresentado como URL base pública.",
+ "step4_title": "Apontar o webhook da Twilio para o {name}",
+ "step4_body": "Na consola da Twilio, define o Voice webhook do teu número para o URL de webhook apresentado abaixo.",
+ "step5_title": "Introduzir credenciais e testar",
+ "step5_body": "De volta à página de chaves de API, introduz o Account SID, o Auth Token e o número de telefone, ativa a telefonia e depois executa \"Testar ligação\" e \"Autoteste de voz\".",
+ "public_url": "URL base pública",
+ "webhook": "URL do webhook"
+ },
+ "previews_view": {
+ "title": "Pré-visualizações",
+ "subtitle": "Servidores de pré-visualização ao vivo que o {name} criou para ti.",
+ "empty": "Nenhuma pré-visualização ativa."
+ },
+ "outputs_view": {
+ "title": "Resultados",
+ "subtitle": "Ficheiros que o {name} ou os {name}-Agents escreveram para ti.",
+ "empty": "Ainda não há resultados.",
+ "open": "Abrir",
+ "delete": "Eliminar",
+ "abort_label": "Abortar missão",
+ "abort_hold": "Mantém premido para abortar",
+ "aborting": "A abortar…",
+ "continue_label": "Continuar",
+ "restart_label": "Reiniciar",
+ "rerun_starting": "A iniciar…",
+ "rerun_confirm": "Confirmar nova execução",
+ "continuation_running": "Continuada · em execução",
+ "needs_review": "Requer revisão",
+ "needs_review_hint": "Foi guardado um resultado, mas não foi registada nenhuma aprovação do crítico. Revê os ficheiros ou reinicia a missão.",
+ "partial_output_hint": "Alguns ficheiros da missão falhada foram mantidos. A sua presença não é uma aprovação.",
+ "cancellation_reason": "Motivo do cancelamento",
+ "failure_reason": "Motivo da falha",
+ "list_load_error": "Não foi possível carregar os resultados",
+ "empty_sessions": "Ainda não há sessões de {name}-Agent. Inicia uma tarefa de {name}-Agent.",
+ "select_session": "Seleciona uma sessão.",
+ "loading_plan": "A carregar plano…",
+ "plan_load_error": "Não foi possível carregar o plano",
+ "single_shot_no_plan": "Execução única — sem plano estruturado para esta sessão.",
+ "results": "Resultados",
+ "file": "ficheiro",
+ "files": "ficheiros",
+ "loading_artifacts": "A carregar artefactos…",
+ "artifacts_load_error": "Não foi possível carregar os artefactos",
+ "no_files": "Esta sessão não tem ficheiros guardados.",
+ "binary_file_hint": "Ficheiro binário — abre a pasta no ambiente de trabalho para o ver.",
+ "loading_file": "A carregar ficheiro…",
+ "file_truncated": "Ficheiro truncado a 1 MiB — vê o resto no gestor de ficheiros.",
+ "fence_rendered": "Renderizado",
+ "fence_source": "Código-fonte",
+ "open_action": "Abrir",
+ "open_with_title": "Abrir com…",
+ "open_with_remember": "Lembrar como predefinição",
+ "open_with_change": "Alterar como isto abre",
+ "open_with_empty": "Nenhuma aplicação detetada para abrir este ficheiro.",
+ "open_with_loading": "A detetar aplicações…",
+ "opener_default": "Aplicação predefinida do sistema",
+ "opener_browser": "Browser",
+ "view_mode": "Ver",
+ "view_rendered": "Renderizado",
+ "view_source": "Código-fonte",
+ "copy_contents": "Copiar conteúdo",
+ "fullscreen": "Abrir como leitor em janela inteira",
+ "exit_fullscreen": "Fechar leitor",
+ "csv_empty": "Esta tabela está vazia.",
+ "csv_more_rows": "Mais {n} linhas no ficheiro.",
+ "reveal_in_folder": "Mostrar na pasta",
+ "fence_table": "tabela"
+ },
+ "common": {
+ "see_more": "Ver mais",
+ "see_less": "Ver menos",
+ "save": "Guardar",
+ "cancel": "Cancelar",
+ "loading": "A carregar…",
+ "saved": "Guardado",
+ "delete": "Eliminar",
+ "edit": "Editar",
+ "close": "Fechar",
+ "back": "Voltar",
+ "retry": "Tentar novamente",
+ "yes": "Sim",
+ "no": "Não",
+ "error_generic": "Algo correu mal.",
+ "save_failed": "Falha ao guardar",
+ "delete_failed": "Falha ao eliminar",
+ "search": "Pesquisar…",
+ "open_in_explorer": "Abrir no Explorador",
+ "open_in_editor": "Abrir ficheiro Markdown no editor predefinido do sistema",
+ "running": "em execução",
+ "saving": "A guardar…",
+ "error": "Erro",
+ "status": "Estado",
+ "repeated_times": "Repetido {count} vezes",
+ "dismiss": "Dispensar",
+ "apply": "Aplicar",
+ "request_failed": "O pedido falhou ({status})"
+ },
+ "docs": {
+ "search_placeholder": "Filtrar título/etiqueta…",
+ "fulltext_search": "Pesquisa de texto integral (Ctrl+K)",
+ "search_modal_title": "Pesquisar docs",
+ "search_modal_placeholder": "Pesquisar docs…",
+ "search_hint": "Escreve um termo para pesquisar…",
+ "search_loading": "A pesquisar…",
+ "search_failed": "Não foi possível carregar a pesquisa.",
+ "search_retry": "Tentar novamente",
+ "no_results": "Sem resultados para \"{0}\"",
+ "for_fulltext": "para pesquisa de texto integral.",
+ "could_not_load": "Não foi possível carregar o documento.",
+ "recent": "Recentes",
+ "search_button": "Pesquisar docs",
+ "search_hero": "Pesquisar na documentação",
+ "section_other": "Outros",
+ "breadcrumb": "Navegação estrutural"
+ },
+ "sessions": {
+ "select_one": "Seleciona uma sessão à esquerda.",
+ "no_turns": "Esta sessão não tem vezes de fala — provavelmente só uma palavra de ativação.",
+ "running": "em execução"
+ },
+ "provider_switcher": {
+ "loading_hint": "A lista de fornecedores está a carregar — se continuar vazia, verifica o backend.",
+ "no_credential": "sem credencial",
+ "active": "Ativo",
+ "switched_toast": "Cérebro → {provider}",
+ "active_brain": "Cérebro ativo",
+ "switching": "A mudar…",
+ "name_local_realtime": "Realtime alojado localmente",
+ "name_local_voice": "Voz local"
+ },
+ "wiki_provider": {
+ "tier_label": "Wiki (memória de longo prazo)",
+ "description": "A Wiki de conhecimento usa um modelo dedicado para escrever e organizar as tuas notas de longo prazo. Deixa o fornecedor em \"Igual ao cérebro\" e o modelo vazio para usar uma predefinição barata e rápida — ou fixa aqui um fornecedor e modelo específicos.",
+ "provider_label": "Fornecedor da Wiki",
+ "follow_primary": "Igual ao cérebro (predefinição barata)",
+ "model_label": "Modelo (opcional)",
+ "model_follow_primary": "Igual ao cérebro (predefinição barata)",
+ "model_hint": "Vazio significa o modelo barato/rápido do fornecedor escolhido. Escolhe um ID de modelo só para o substituir.",
+ "apply": "Aplicar",
+ "applying": "A aplicar…",
+ "loading": "A carregar definições da Wiki…",
+ "load_error": "Não foi possível carregar as definições do fornecedor da Wiki.",
+ "how_title": "Como funciona?",
+ "how_intro": "O Dodaios mantém a sua memória de longo prazo automaticamente. Cada execução de manutenção tem três passos:",
+ "how_step1": "Acompanhar: durante cada conversa, um modelo barato lê em silêncio e anota factos candidatos que vale a pena lembrar (preferências, nomes, projetos, datas).",
+ "how_step2": "Conciliar: uma passagem de avaliação compara cada candidato com as páginas existentes da wiki e decide: criar uma página nova, atualizar uma existente ou descartar.",
+ "how_step3": "Varrer: quando uma sessão de voz ao vivo termina, a transcrição completa é revista mais uma vez para que nada escape.",
+ "how_model_note": "Cada passo é executado no fornecedor e modelo que escolhes aqui — escolhe Codex e é mesmo o Codex que faz a execução. Se ficar vazio, o fornecedor do cérebro assume com o seu modelo barato e rápido. Se o fornecedor escolhido estiver inacessível, outro fornecedor configurado entra automaticamente para que a memória continue a funcionar.",
+ "option_agent_suffix": "{name}-Agent",
+ "option_no_key": "nenhuma chave configurada",
+ "model_reset": "Voltar à predefinição barata",
+ "resolved_label": "A próxima execução usa:",
+ "provider_default_model": "predefinição do fornecedor",
+ "resolved_fallback_warning": "Não há credenciais configuradas para este fornecedor — a execução recorre automaticamente a outro fornecedor configurado."
+ },
+ "subagent_model": {
+ "description": "Os {name}-Agents (trabalhadores pesados em segundo plano) podem usar o seu próprio modelo, separado do cérebro do chat. Deixa o campo vazio para usar o modelo mais forte do fornecedor de {name}-Agent ativo.",
+ "model_label": "Modelo do {name}-Agent (opcional)",
+ "model_placeholder": "Deixa vazio para o modelo predefinido do fornecedor",
+ "model_hint": "Vazio significa o modelo profundo do fornecedor de {name}-Agent ativo.",
+ "apply": "Aplicar",
+ "applying": "A aplicar…",
+ "saved": "Modelo do {name}-Agent guardado.",
+ "saved_restart": "Modelo do {name}-Agent guardado — aplica-se na próxima missão."
+ },
+ "cli_connect": {
+ "is_connected": "{0} está ligado",
+ "login_aborted": "{0}: a verificação do início de sessão falhou após 5 min. Reinicia manualmente se necessário."
+ },
+ "mascot": {
+ "brain_switched": "mudei para {0}. ok!"
+ },
+ "board": {
+ "heatmap_tooltip": "{0} - {1} atividades, {2} tarefas, {3} h de conversa"
+ },
+ "story_composer": {
+ "close": "fechar",
+ "title": "Escrever uma história",
+ "placeholder": "O que fizeste hoje?",
+ "expiry_hint": "Desaparece após 24 horas.",
+ "characters": "caracteres",
+ "post": "Publicar",
+ "error_prefix": "Erro:",
+ "visibility_private": "Privado",
+ "visibility_private_hint": "Só tu",
+ "visibility_friends": "Amigos",
+ "visibility_friends_hint": "Amigos emparelhados",
+ "visibility_public": "Público",
+ "visibility_public_hint": "Qualquer pessoa que conheça o teu backend"
+ },
+ "reactions": {
+ "others_reacted": "Outros reagiram"
+ },
+ "add_friend": {
+ "display_name": "Nome a apresentar"
+ },
+ "apikeys_codex": {
+ "login_started": "codex login iniciado no terminal",
+ "disconnected": "Codex desligado",
+ "status_loading": "A carregar estado do Codex",
+ "status_ready": "O teu início de sessão de voz da subscrição ChatGPT dedicada está pronto.",
+ "status_login_required": "Liga a tua subscrição ChatGPT para usar este fornecedor de voz.",
+ "status_not_installed": "Instala a versão suportada do Codex antes de ligares o ChatGPT.",
+ "status_lifecycle_unavailable": "A voz por subscrição ainda não está disponível neste sistema operativo. O API Realtime e a voz padrão continuam a funcionar.",
+ "status_setup_invalid": "O perfil de voz protegido do Codex já não é válido. Ligar com o ChatGPT recria-o de raiz.",
+ "status_busy": "A verificar o estado da voz do ChatGPT — um momento.",
+ "status_login_in_progress": "O início de sessão do ChatGPT está a decorrer — conclui-o na janela do browser.",
+ "status_plan_unsupported": "Este plano ChatGPT não suporta voz por subscrição.",
+ "setup_detail_label": "Detalhes:",
+ "install_command_copied": "Comando de instalação copiado",
+ "connected_chatgpt": "Ligado através da tua subscrição ChatGPT.",
+ "disconnect": "Desligar",
+ "copy_command": "Copiar comando",
+ "connect_chatgpt": "Ligar com o ChatGPT",
+ "install_codex": "Instalar Codex",
+ "subscription_login_required": "Este fornecedor de voz precisa de um início de sessão com subscrição ChatGPT. Liga com o ChatGPT abaixo.",
+ "needs_codex_full": "{0}: primeiro liga o Codex ou guarda a chave de API, depois ativa.",
+ "needs_key_full": "{0}: primeiro guarda a chave de API, depois ativa.",
+ "runs_as_subagent_hint": "O Codex funciona como {name}-Agent (trabalhador em segundo plano) com o teu início de sessão ChatGPT. Depois de ligar, ativa-o na lista de {name}-Agent abaixo. Um cérebro de raciocínio precisa do fornecedor OpenAI separado, com chave de API.",
+ "brain_needs_openai_key": "O Codex como cérebro precisa de uma chave de API da OpenAI — o início de sessão ChatGPT só alimenta o trabalhador Codex. Adiciona uma chave OpenAI (ex.: no fornecedor OpenAI) e depois seleciona o Codex aqui.",
+ "brain_key_hint": "Para usares também o Codex como cérebro, adiciona uma chave de API da OpenAI (paga, separada do teu início de sessão ChatGPT — que só alimenta o trabalhador). Guardá-la desbloqueia o interruptor do cérebro acima.",
+ "status_msg": {
+ "not_installed": "O Codex CLI não está instalado (executa: {command}).",
+ "not_logged_in": "O Codex está instalado, mas sem sessão iniciada — executa «codex login».",
+ "connected_chatgpt": "Ligado através do ChatGPT.",
+ "connected_chatgpt_email": "Ligado através do ChatGPT ({email}).",
+ "connected_api_key": "Ligado através de uma chave de API da OpenAI."
+ }
+ },
+ "apikeys_antigravity": {
+ "login_started": "O início de sessão Google foi iniciado no terminal",
+ "disconnected": "Antigravity (Google) desligado",
+ "status_loading": "A carregar estado do início de sessão Google",
+ "connected": "Ligado através da tua subscrição Google.",
+ "connected_as": "Ligado através do Google ({0}).",
+ "needs_login_full": "{0}: primeiro inicia sessão com o Google, depois ativa.",
+ "connect_google": "Ligar com a Google",
+ "install_antigravity": "Instalar o Antigravity",
+ "status_msg": {
+ "not_installed": "Nenhuma CLI da Google encontrada. Instala o Antigravity com: {command} (alternativa Gemini CLI: npm i -g @google/gemini-cli).",
+ "not_logged_in": "{cli} instalado, mas sem sessão iniciada — inicia sessão com a Google.",
+ "connected_subscription": "Ligado através da subscrição Google.",
+ "connected_subscription_email": "Ligado através da subscrição Google ({email}).",
+ "connected_api_key": "Ligado através de uma chave de API da Google."
+ }
+ },
+ "mcps_toast": {
+ "connected": "{0} ligado",
+ "disconnected": "{0} desligado",
+ "removed": "{server} removido"
+ },
+ "profile_toast": {
+ "fact_applied": "{0} facto(s) aplicado(s)"
+ },
+ "skills_toast": {
+ "error": "Erro",
+ "back_to_list": "Voltar à lista",
+ "stale_refreshing": " (desatualizado, a atualizar)"
+ },
+ "terminal_xterm": {
+ "session_ended": "\r\n\u001b[33m[Sessão terminada — saída {0}]\u001b[0m\r\n",
+ "install_no_binary": "{0}: instalação concluída (saída 0), mas o binário não foi encontrado. O PATH pode não estar atualizado.",
+ "install_failed": "{0}: a instalação falhou (saída {1}). Experimenta outro método."
+ },
+ "language_select": {
+ "search": "Pesquisar idiomas",
+ "empty": "Nenhum idioma corresponde à tua pesquisa.",
+ "group_common": "Idiomas comuns",
+ "group_all": "Todos os idiomas"
+ },
+ "languages_view": {
+ "title": "Idiomas",
+ "subtitle": "Escolhe o idioma da interface e o idioma em que o {name} responde.",
+ "ui_section": "Idioma da interface",
+ "ui_hint": "Afeta todas as etiquetas, botões e mensagens da aplicação.",
+ "reply_section": "Idioma de resposta",
+ "reply_hint": "Em que idioma o {name} fala quando te responde. Nomes próprios, identificadores de código e termos técnicos ficam na forma original.",
+ "stt_section": "Idioma de reconhecimento de voz",
+ "stt_hint": "Em que idioma a tua voz é reconhecida e convertida em texto. Automático deteta-o por ti. Depois de alterar, termina qualquer chamada Realtime e reinicia o Dodaios para o modo Pipeline.",
+ "options": {
+ "auto": {
+ "label": "Automático",
+ "description": "Acompanha o idioma que usares."
+ },
+ "en": {
+ "label": "English (Inglês)",
+ "description": "Usa inglês em todas as etiquetas e botões."
+ },
+ "de": {
+ "label": "Deutsch (Alemão)",
+ "description": "Usa alemão em todas as etiquetas e botões."
+ },
+ "es": {
+ "label": "Español (Espanhol)",
+ "description": "Usa espanhol em todas as etiquetas e botões."
+ },
+ "zh": {
+ "label": "中文 (Chinês)",
+ "description": "Usa chinês simplificado em todas as etiquetas e botões."
+ },
+ "pt": {
+ "label": "Português (Portugal)",
+ "description": "Português europeu em todas as etiquetas e botões."
+ }
+ },
+ "reply_options": {
+ "auto": "O {name} acompanha o idioma em que falas ou escreves.",
+ "en": "{name} answers in English.",
+ "de": "{name} antwortet auf Deutsch.",
+ "es": "{name} responde en español.",
+ "pt": "{name} responde em português."
+ },
+ "stt_options": {
+ "auto": "Deteta automaticamente o idioma que falas.",
+ "en": "Reconhecer sempre a tua voz como inglês.",
+ "de": "Reconhecer sempre a tua voz como alemão.",
+ "es": "Reconhecer sempre a tua voz como espanhol."
+ }
+ },
+ "cli_connect_poller": {
+ "connected": "ligado",
+ "login_incomplete": "início de sessão não concluído"
+ },
+ "cli_connect_coach": {
+ "connect": "ligar",
+ "connected": "ligado",
+ "waiting_for_login": "a aguardar início de sessão…",
+ "login_command": "Comando de início de sessão",
+ "instructions": "Segue as instruções no terminal à esquerda. Verifico a cada 3 segundos se o início de sessão foi concluído.",
+ "done": "Concluído",
+ "close": "Fechar"
+ },
+ "view_error_boundary": {
+ "title": "Não foi possível carregar a vista",
+ "crashed_prefix": "falhou.",
+ "crashed_suffix": "continua utilizável.",
+ "back_to_chats": "Voltar aos chats",
+ "group_title": "Não foi possível carregar esta secção",
+ "group_hint": "Todas as outras definições desta página continuam a funcionar.",
+ "stale_title": "A interface foi recompilada",
+ "stale_hint": "Esta janela ainda está a executar a versão anterior. Recarregar carrega a atual.",
+ "stale_action": "Recarregar",
+ "group_retry": "Tentar novamente"
+ },
+ "view_loading": {
+ "loading": "A carregar a secção…",
+ "slow": "Está a demorar mais do que o habitual — a aplicação continua a trabalhar nisto."
+ },
+ "plan_step_list": {
+ "no_plan": "Sem plano estruturado — execução única.",
+ "show_output": "Mostrar resultado"
+ },
+ "frontier_switch_modal": {
+ "title_one": "Modelo de fronteira atualizado",
+ "title_many": "Modelos de fronteira atualizados",
+ "description": "detetou um modelo mais recente no fornecedor ao arrancar e mudou automaticamente. Confirma, por favor.",
+ "acking": "A confirmar…"
+ },
+ "achievement_grid": {
+ "unlocked_of": "de",
+ "unlocked_count": "desbloqueadas. Sem classificação."
+ },
+ "activity_feed": {
+ "title": "Feed de atividade",
+ "refresh_tooltip": "Atualizar manualmente",
+ "loading": "A carregar feed…",
+ "empty": "Ainda não há nada aqui. Emparelha o teu primeiro amigo ou escreve uma história."
+ },
+ "friends_list": {
+ "empty": "Ainda não tens amigos. Clica em “Emparelhar” no canto superior direito para gerar uma ligação.",
+ "since": "desde",
+ "last_pull": "última sincronização",
+ "pull_every": "Sincronizar a cada",
+ "time_just_now": "agora mesmo",
+ "time_ago_prefix": "há",
+ "no_source": "sem origem",
+ "jarvis_federation": "Federação Dodaios"
+ },
+ "pair_dialog": {
+ "title": "Emparelhar um amigo",
+ "mode_invite": "Eu convido",
+ "mode_follow": "Sigo uma ligação",
+ "generate_hint": "Gera uma ligação de emparelhamento de 10 minutos e envia-a ao teu amigo por Signal/Threema/SMS — qualquer canal privado.",
+ "generate_button": "Gerar ligação",
+ "copied": "copiado",
+ "copy": "copiar",
+ "valid_until": "Válida até:",
+ "error_prefix": "Erro:",
+ "accept_hint": "Cola aqui a ligação de emparelhamento que o teu amigo te enviou.",
+ "accept_button": "Emparelhar",
+ "paired_with": "Emparelhado com"
+ },
+ "session_list": {
+ "loading": "A carregar transcrições…",
+ "empty_title": "Ainda não há sessões de voz",
+ "empty_hint": "Diz a tua palavra de ativação — quando desligares, a sessão aparece aqui.",
+ "no_user_text": "(nenhum texto do utilizador registado)",
+ "turns": "vezes",
+ "just_now": "agora mesmo",
+ "ago_prefix": "há",
+ "hangup_voice_pattern": "Desligou",
+ "hangup_error": "Erro",
+ "hangup_turn_complete": "Resposta concluída",
+ "ago_suffix": "",
+ "unit_sec": "s",
+ "unit_min": "min",
+ "unit_hour": "h",
+ "duration_running": "em curso",
+ "hangup_hotkey": "Atalho",
+ "hangup_client_stop": "Parado",
+ "hangup_ws_closed": "Browser fechado",
+ "hangup_realtime_fallback": "Mudou para clássico",
+ "hangup_desktop_fallback": "Mudou para clássico",
+ "hangup_idle_timeout": "Tempo esgotado",
+ "hangup_shutdown": "Encerramento"
+ },
+ "session_detail": {
+ "export_label": "Exportar",
+ "copied_as": "Sessão copiada como",
+ "copy_failed_clipboard": "Falha ao copiar — acesso à área de transferência bloqueado?",
+ "copy_failed": "Falha ao copiar",
+ "downloaded_as": "Transferido como",
+ "saved_to_downloads": "Guardado em Transferências:",
+ "download_failed": "Falha na transferência",
+ "loading": "A carregar sessão…",
+ "load_error": "Falha ao carregar",
+ "title": "Sessão de voz",
+ "turns": "vezes",
+ "no_turns_suffix": "sem uma intervenção seguinte.",
+ "copy_action": "Copiar",
+ "download_file_action": "Transferir como ficheiro:",
+ "open_editor_action": "Abrir no editor:",
+ "opened_in_editor": "Aberto no editor",
+ "open_failed": "Não foi possível abrir no editor",
+ "back_to_sessions": "Voltar às sessões",
+ "you": "Tu",
+ "format_text": "Texto"
+ },
+ "turn_card": {
+ "turn": "Vez",
+ "copied": "copiado",
+ "copy_failed": "Falha ao copiar",
+ "downloaded_as": "Transferido como",
+ "saved_to_downloads": "Guardado em Transferências:",
+ "copy_turn": "Copiar esta vez",
+ "copy": "Copiar",
+ "download_turn": "Transferir esta vez como ficheiro",
+ "thought": "Pensou:",
+ "spoke": "Disse:",
+ "kind_reply": "Resposta",
+ "kind_clarify": "Pergunta de esclarecimento",
+ "kind_timeout": "Aviso de tempo esgotado",
+ "kind_unavailable": "Brain indisponível",
+ "kind_stt_unavailable": "Não te consegui ouvir",
+ "kind_privacy": "Privacidade",
+ "kind_completion": "Resultado em segundo plano",
+ "kind_subagent": "{agent} / Saída",
+ "kind_action_done": "Ação confirmada",
+ "kind_backchannel": "Sinal de escuta",
+ "kind_announcement": "Anúncio",
+ "kind_preamble": "Preâmbulo",
+ "kind_progress": "Atualização de progresso",
+ "kind_withheld": "Resposta retida (segurança)",
+ "kind_other": "Falado",
+ "tools_label": "Ferramentas:",
+ "voice_requested_title": "Voz pedida (o áudio nativo não é um orador verificado): {voice}",
+ "voice_title": "Voz: {voice}",
+ "voice_requested": "pedida",
+ "awaiting_confirmation": "A aguardar confirmação",
+ "awaiting_confirmation_prefix": "(a aguardar confirmação)",
+ "spoken_output": "Saída falada"
+ },
+ "wiki_search": {
+ "dialog_label": "Pesquisa na wiki",
+ "dialog_description": "Pesquisa de texto integral no vault. Escreve um termo ou navega com as setas.",
+ "input_placeholder": "Pesquisa de texto integral no vault…",
+ "recent_heading": "Alterados recentemente",
+ "no_pages": "Ainda não há páginas no vault.",
+ "searching": "A pesquisar…",
+ "unavailable": "A pesquisa não está disponível de momento.",
+ "no_hits_prefix": "Sem resultados para ",
+ "no_hits_suffix": ". Experimenta outras palavras-chave ou procura no grafo.",
+ "hits_heading": "Resultados"
+ },
+ "wiki_graph": {
+ "empty_prefix": "O teu grafo de memória ainda está vazio. Assim que o ",
+ "empty_suffix": " criar notas, os nós ligam-se aqui automaticamente.",
+ "loading": "A carregar grafo…",
+ "load_error": "Não foi possível carregar o grafo.",
+ "reset_view_title": "Repor zoom para todos os nós",
+ "center": "Centrar",
+ "expand": "Expandir",
+ "restore": "Restaurar",
+ "expand_view_title": "Expandir o Mapa de memória",
+ "restore_view_title": "Restaurar o layout padrão da wiki",
+ "relationship_graph": "Grafo de relações da wiki",
+ "node_details": "{0} ({1}) · {2} {3}",
+ "backlink_one": "backlink",
+ "backlink_many": "backlinks",
+ "unresolved": "não resolvido",
+ "dimension_label": "Vista do mapa",
+ "dimension_2d": "2D",
+ "dimension_3d": "3D",
+ "dimension_2d_title": "Mostrar o mapa plano",
+ "dimension_3d_title": "Mostrar o mapa no espaço, roda-o arrastando",
+ "dimension_unavailable": "Esta máquina não consegue renderizar gráficos 3D, por isso o mapa fica plano.",
+ "loading_3d": "A carregar o mapa 3D…",
+ "dimension_lost": "O mapa 3D perdeu o contexto gráfico, por isso o mapa plano assumiu. Recarregar a página trá-lo de volta."
+ },
+ "tree_sidebar": {
+ "load_error": "Não foi possível carregar a wiki.",
+ "last_change": "Última alteração"
+ },
+ "page_renderer": {
+ "load_error": "Não foi possível carregar a página.",
+ "not_found": "Página não encontrada."
+ },
+ "page_header": {
+ "placeholder_title": "Fornecido pelo Agente D",
+ "open_in_obsidian": "Abrir no Obsidian",
+ "field_type": "tipo",
+ "field_kind": "género",
+ "field_status": "estado",
+ "field_created": "criado",
+ "field_updated": "atualizado",
+ "field_started": "iniciado",
+ "field_last_activity": "última atividade"
+ },
+ "obsidian_button": {
+ "trigger_failed": "Não foi possível acionar a ligação do Obsidian",
+ "handed_over": "Entregue ao Obsidian",
+ "not_installed_hint": "— se o Obsidian não abrir, não está instalado.",
+ "vault_handed_over": "Vault entregue ao Obsidian",
+ "open_in_obsidian": "Abrir no Obsidian",
+ "open_vault_in_obsidian": "Abrir vault no Obsidian"
+ },
+ "backlinks_panel": {
+ "load_error": "Não foi possível carregar os backlinks.",
+ "empty": "Sem backlinks."
+ },
+ "obsidian_status": {
+ "loading": "Obsidian: …",
+ "connected": "Obsidian: ligado",
+ "not_registered": "Obsidian: não registado",
+ "not_installed": "Obsidian: não instalado",
+ "unclear": "Obsidian: estado incerto",
+ "loading_tooltip": "A carregar estado…",
+ "click_for_setup": "Clica para configurar",
+ "load_failed_note": "Não foi possível carregar o estado."
+ },
+ "obsidian_setup_dialog": {
+ "step_install": "Instalar",
+ "step_connect": "Ligar",
+ "step_live_test": "Teste ao vivo",
+ "not_detected_hint": "Ainda não detetado. O instalador pode ainda estar em execução — tenta novamente.",
+ "status_check_failed": "Não foi possível verificar o estado. Tenta novamente.",
+ "register_failed": "Não foi possível registar",
+ "unknown_status": "estado desconhecido",
+ "restart_obsidian_hint": "Abre o Obsidian uma vez e fecha-o novamente — depois clica outra vez.",
+ "close_dialog": "Fechar diálogo",
+ "title": "Configurar o Obsidian",
+ "subtitle": "Três pequenos passos e a tua wiki fica disponível no Obsidian.",
+ "install_heading": "Instalar o Obsidian",
+ "install_body_1": "O {name} escreve a wiki como ficheiros Markdown no disco.",
+ "install_body_2": "Para os navegares e editares como uma verdadeira base de conhecimento, precisas do editor gratuito",
+ "download_link": "Abrir obsidian.md/download",
+ "checking": "A verificar…",
+ "installed_continue": "Já instalei — continuar",
+ "connect_heading": "Ligar vault",
+ "connect_body_1": "Agora o {name} regista a sua wiki na tua configuração do Obsidian.",
+ "connect_body_2": "Assim aparece no seletor de vaults e o protocolo",
+ "connect_body_3": "funciona.",
+ "vault_path_label": "Caminho do vault",
+ "open_help": "Abrir ajuda",
+ "registering": "A registar…",
+ "register_now": "Registar agora",
+ "live_test_body": "Clica no botão — o teu browser abre o vault diretamente no Obsidian.",
+ "open_in_obsidian": "Abrir no Obsidian",
+ "did_not_work": "Não funcionou",
+ "it_worked": "Funcionou — concluído",
+ "vault_choice_heading": "Onde deve o {name} guardar a sua wiki?",
+ "mode_separate_label": "Criar um vault separado do {name}",
+ "mode_separate_hint": "A predefinição — o {name} mantém o seu próprio vault, isolado das tuas outras notas.",
+ "mode_existing_label": "Usar o meu vault existente",
+ "mode_existing_hint": "O {name} escreve numa subpasta \"Jarvis\" dentro do vault que escolheres.",
+ "mode_existing_disabled_hint": "Nenhum vault existente encontrado — regista primeiro um no Obsidian.",
+ "vault_select_label": "Vault existente",
+ "active_vault_label": "O {name} escreve em",
+ "restart_required_hint": "Reinicia o {name} para começar a escrever na nova localização.",
+ "restart_now": "Reiniciar agora",
+ "restarting": "A reiniciar…"
+ },
+ "docs_sidebar": {
+ "title": "Documentação",
+ "error": "Erro",
+ "indexing": "A criar índice local…",
+ "retry": "Tentar novamente",
+ "documents": "documentos",
+ "no_results": "Nenhum documento correspondente",
+ "overview": "Visão geral",
+ "github": "Docs no GitHub"
+ },
+ "docs_content": {
+ "prev": "Anterior",
+ "next": "Seguinte",
+ "breadcrumb": "Documentação",
+ "related_guides": "Guias relacionados",
+ "last_reviewed": "Última revisão:",
+ "review_unavailable": "Data de revisão indisponível",
+ "on_this_page": "Nesta página",
+ "copy_code": "Copiar código",
+ "code_copied": "Código copiado",
+ "skip_to_content": "Saltar para o conteúdo da documentação",
+ "reading_time": "{0} min de leitura",
+ "reviewed": "Revisto em {0}",
+ "copy_page": "Copiar página",
+ "page_copied": "Copiado",
+ "view_source": "Ver código-fonte",
+ "copy": "Copiar",
+ "pagination": "Guia anterior e seguinte",
+ "callout_note": "Nota",
+ "callout_info": "Info",
+ "callout_tip": "Dica",
+ "callout_warning": "Aviso"
+ },
+ "docs_overview": {
+ "eyebrow": "Documentação",
+ "title": "Documentação do Dodaios",
+ "description": "Guias, conceitos e referência para configurar, usar e expandir o teu assistente.",
+ "online_docs": "Ver no GitHub",
+ "load_failed_title": "Não foi possível carregar a documentação",
+ "load_failed_description": "O índice local não ficou pronto a tempo. Tenta novamente sem reiniciar a aplicação.",
+ "retry": "Tentar novamente",
+ "empty_title": "Nenhum documento local encontrado",
+ "empty_description": "A documentação também está disponível no GitHub.",
+ "local_library": "Começar pela biblioteca local",
+ "local_library_description": "Acesso rápido e offline à documentação incluída nesta instalação.",
+ "indexing_title": "A preparar a tua documentação",
+ "indexing_description": "A analisar a biblioteca Markdown local e a criar a pesquisa de texto integral. Normalmente demora só um momento.",
+ "loading_page": "A carregar documento…",
+ "browse_by_topic": "Explorar por tema",
+ "browse_description": "Todos os guias incluídos nesta instalação, agrupados pelo que queres fazer.",
+ "guide": "guia",
+ "guides": "guias",
+ "start_title": "Começar",
+ "start_description": "És novo aqui? Lê estes guias por ordem, desde instalar a aplicação até à tua primeira conversa de voz.",
+ "start_reading": "Começar a ler",
+ "recent_title": "Continuar onde ficaste",
+ "show_all": "Mostrar todos os {0}",
+ "show_less": "Mostrar menos",
+ "help_title": "Não encontras o que precisas?",
+ "help_description": "Pesquisa todos os guias por palavra-chave ou explora as fontes no GitHub."
+ },
+ "docs_search_modal": {
+ "navigate": "navegar",
+ "open": "abrir"
+ },
+ "global_kill_button": {
+ "cancel_all_running": "Cancelar todas as missões em curso",
+ "cancel_all_title": "Cancelar todas as missões?",
+ "cancel_all_body": "missão(ões) em curso serão paradas à força. Os subprocessos dos trabalhadores são terminados através do Job Object; os diffs já escritos ficam nas worktrees.",
+ "error_prefix": "Erro",
+ "stopping": "A parar…",
+ "confirm_stop_all": "Sim, parar todas",
+ "kill_all": "Terminar tudo ({count})"
+ },
+ "mission_tree": {
+ "no_prompt": "(sem prompt)",
+ "empty": "Ainda não há missões. O assistente principal vai lançar uma em breve…",
+ "unknown_prompt": "(desconhecido)"
+ },
+ "pty_terminal": {
+ "stream_unreachable": "Stream PTY inacessível.",
+ "stream_disconnected": "Stream desligado",
+ "connect_failed": "Falha na ligação PTY",
+ "connecting": "a ligar…",
+ "worker_label": "worker {id}",
+ "status_offline": "offline",
+ "status_live": "em direto",
+ "close_code": "(código {code})"
+ },
+ "event_timeline": {
+ "empty": "Ainda não há eventos para esta missão."
+ },
+ "verdict_panel": {
+ "empty": "Ainda não há veredictos do crítico para esta missão.",
+ "verdict_approve": "aprovar",
+ "verdict_revise": "rever",
+ "verdict_reject": "rejeitar",
+ "iteration": "iter. #{n}",
+ "axis_correctness": "correção",
+ "axis_completeness": "completude",
+ "axis_side_effects": "efeitos secundários",
+ "axis_security": "segurança",
+ "axis_pass": "aprovado",
+ "axis_fail": "reprovado",
+ "confidence": "Confiança"
+ },
+ "jarvis_agent_panel": {
+ "select_mission": "Seleciona uma missão para ver os trabalhadores {name}-Agent.",
+ "no_workers": "Nenhum trabalhador {name}-Agent nesta missão.",
+ "not_available": "(não disponível)",
+ "copy_path": "Copiar caminho",
+ "file_link_copies_path": "ligação file:// (o caminho é copiado)",
+ "ended_label": "Terminado",
+ "unknown_model": "(modelo desconhecido)",
+ "cost": "Custo",
+ "state_dir": "Pasta de estado",
+ "log_file": "Ficheiro de registo"
+ },
+ "clis_view": {
+ "status_connected": "ligado",
+ "status_disconnected": "desligado",
+ "status_not_installed": "não instalado",
+ "status_error": "erro",
+ "status_checking": "a verificar…",
+ "subtitle_connected": "ligado",
+ "subtitle_installed": "instalado",
+ "subtitle_in_catalog": "no catálogo",
+ "add_custom_cli_title": "Adicionar CLI personalizada",
+ "reload": "Recarregar",
+ "filter_all": "Todas",
+ "filter_connected": "Ligadas",
+ "filter_installed": "Instaladas",
+ "category_label": "Categoria:",
+ "category_all": "todas",
+ "intro_can_call": "pode chamar estas CLI como ferramentas. Só as CLI",
+ "intro_connected_word": "ligadas",
+ "intro_appear": "aparecem no catálogo de ferramentas do cérebro.",
+ "open_usage_history": "Abrir histórico de utilização",
+ "status_check_failed": "Falha na verificação de estado",
+ "recheck_status": "Verificar estado novamente",
+ "close_detail_panel": "Fechar painel de detalhes",
+ "loading_details": "A carregar detalhes…",
+ "install": "Instalar",
+ "set_api_key": "Definir chave de API",
+ "disconnected_suffix": "desligada",
+ "disconnect_failed": "Falha ao desligar",
+ "disconnect": "Desligar",
+ "remove_custom_cli_prefix": "Remover CLI personalizada",
+ "remove_custom_cli_suffix": "",
+ "remove_custom_cli": "Remover CLI personalizada",
+ "confirm_remove_custom_prefix": "Remover mesmo a CLI personalizada",
+ "confirm_remove_custom_suffix": "?",
+ "removed_suffix": "removida",
+ "kv_path": "Caminho",
+ "not_found": "não encontrado",
+ "section_secrets": "Segredos (autenticação por chave de API)",
+ "secret_set": "definido",
+ "secret_unset": "(não definido)",
+ "section_tool_examples": "Exemplos de chamadas",
+ "documentation": "Documentação",
+ "terminal_opened": "Terminal aberto",
+ "follow_browser_login": "segue o início de sessão no browser. O estado é verificado automaticamente.",
+ "terminal_spawn_failed": "Falha ao abrir o terminal",
+ "browser_login": "Início de sessão no browser",
+ "api_key_help": "As chaves são guardadas no Gestor de Credenciais do Windows e injetadas como variável ENV em cada chamada.",
+ "api_key_already_set": "(já definida — substituir)",
+ "api_key_enter": "Introduzir chave de API",
+ "validation_failed": "A validação falhou",
+ "connected_suffix": "ligada",
+ "validating": "A validar…",
+ "save_and_validate": "Guardar e validar",
+ "install_lowercase": "— instalar",
+ "install_help": "Abre uma janela de terminal, instala e inicia logo sessão. O estado é verificado automaticamente quando o terminal terminar.",
+ "choose_method": "Escolher método",
+ "recommended": "recomendado",
+ "command_label": "Comando",
+ "external_terminal_opened": "Terminal externo aberto",
+ "install_running": "a instalação está a decorrer. O estado atualiza-se automaticamente.",
+ "install_running_in_app": "Esta máquina não tem ecrã — a instalação decorre dentro da aplicação e é mostrada aqui.",
+ "spawning": "A iniciar…",
+ "open": "Abrir",
+ "install_in_terminal": "Instalar no terminal",
+ "registered_suffix": "registada",
+ "step": "Passo",
+ "wizard_step1_identity": "Identidade da CLI",
+ "wizard_step2_check": "Verificação + versão",
+ "wizard_step3_auth": "Configuração de autenticação",
+ "wizard_step4_risk": "Nível de risco + padrões",
+ "eg_mytool": "ex.: mytool",
+ "eg_my_tool_cli": "ex.: My Tool CLI",
+ "field_binary_name": "Nome do binário (o que está no PATH)",
+ "field_description": "Descrição",
+ "what_does_cli_do": "O que faz a CLI?",
+ "field_category": "Categoria",
+ "field_homepage_url": "URL da página inicial",
+ "field_check_command": "Comando de verificação",
+ "field_version_regex": "Regex da versão (um grupo de captura)",
+ "auth_mode_label": "Modo de autenticação",
+ "auth_none": "none (sem autenticação)",
+ "auth_oauth_cli": "oauth_cli (início de sessão próprio da CLI)",
+ "auth_api_key": "api_key (keyring + injeção ENV)",
+ "auth_config_file": "config_file (gerido externamente)",
+ "field_login_command": "Comando de início de sessão",
+ "field_status_command": "Comando de estado",
+ "field_secret_keys": "Chaves secretas (separadas por vírgulas)",
+ "field_env_vars": "Variáveis ENV (separadas por vírgulas, ordem 1:1)",
+ "risk_safe": "safe (executa sem perguntar)",
+ "risk_ask": "ask (confirmação por chamada)",
+ "risk_block": "block (totalmente bloqueado)",
+ "field_allow_patterns": "Padrões permitidos (um por linha)",
+ "field_deny_patterns": "Padrões negados (um por linha)",
+ "steps_skippable": "Os passos podem ser saltados com 'Guardar'",
+ "done": "Concluído!",
+ "next": "Seguinte",
+ "no_entries": "Sem entradas",
+ "search_word": "pesquisar",
+ "confirm_clear_history_prefix": "Limpar todo o histórico de",
+ "confirm_clear_history_suffix": "?",
+ "entries_deleted": "entradas eliminadas",
+ "empty_no_clis": "Nenhuma CLI no catálogo",
+ "empty_all": "Nenhuma CLI corresponde ao filtro.",
+ "empty_connected": "Nenhuma CLI está ligada de momento.",
+ "empty_installed": "Nenhuma CLI está instalada.",
+ "empty_custom": "Ainda não há CLI personalizadas registadas — clica em 'Adicionar personalizada' no canto superior direito.",
+ "loading_short": "A carregar…",
+ "field_name_id": "Nome (id, minúsculas)",
+ "field_display_name": "Nome a apresentar",
+ "risk_tier_label": "Nível de risco",
+ "risk_monitor": "monitor (executar + registar)",
+ "top_commands": "Comandos principais",
+ "just_now": "agora mesmo",
+ "ago_prefix": "há",
+ "ago_suffix": "",
+ "group_label": "Linha de comandos",
+ "col_name": "CLI",
+ "col_status": "Estado",
+ "col_activity": "Atividade",
+ "filter_label": "Filtrar CLI",
+ "filter_custom": "Personalizadas",
+ "search_placeholder": "Pesquisar CLI…",
+ "search_no_hits": "Nenhuma CLI corresponde a esta pesquisa.",
+ "add_custom": "Adicionar personalizada",
+ "custom_word": "personalizada",
+ "usage_7d": "{count}× em 7 dias",
+ "never_used": "ainda não usada",
+ "back_to_list": "CLI",
+ "category_all_categories": "Todas as categorias",
+ "section_binary": "Binário",
+ "section_commands": "Comandos",
+ "auth_mode_short": "Modo de autenticação",
+ "auth_status_label": "Estado da autenticação",
+ "default_tier": "Nível predefinido",
+ "blocked_patterns": "Bloqueados",
+ "allowed_patterns": "Permitidos",
+ "history": "Histórico",
+ "required_word": "obrigatório",
+ "clear": "Limpar",
+ "search_command": "Pesquisar comando…",
+ "success_only": "Só bem-sucedidas",
+ "usage_stats": "{total} chamadas · {rate}% bem-sucedidas · ⌀ {avg} ms",
+ "col_version": "Versão",
+ "fact_binary": "Binário",
+ "cmd_check": "Verificar",
+ "cmd_login": "Iniciar sessão",
+ "cmd_logout": "Terminar sessão",
+ "category_placeholder": "cloud / git / pagamentos / outros"
+ },
+ "cli_test_hub_view": {
+ "subtitle_tell": "Diz ao",
+ "subtitle_rest": "em linguagem simples o que fazer com as tuas CLI",
+ "no_risk_tier": "sem nível de risco",
+ "connected_clis": "CLI ligadas",
+ "available": "disponíveis",
+ "loading_connected": "A carregar CLI ligadas…",
+ "list_load_failed": "Não foi possível carregar a lista de CLI",
+ "no_cli_connected": "Nenhuma CLI ligada",
+ "no_cli_help": "só pode chamar uma ferramenta quando houver pelo menos uma CLI ligada (ex.: gcloud, gh, docker). Liga uma CLI na secção CLI — depois aparece aqui automaticamente.",
+ "go_to_clis": "Ir para as CLI",
+ "instruction_label": "Instrução",
+ "instruction_to": "Instrução para",
+ "placeholder_rest": "o que fazer com as tuas CLI…",
+ "cli_hint_label": "Sugestão de CLI (opcional)",
+ "cli_hint_aria": "Sugestão de CLI",
+ "let_decide": "decide",
+ "ctrl_cmd_enter": "Ctrl/Cmd + Enter",
+ "run_instruction": "Executar instrução",
+ "running": "A executar…",
+ "run": "Executar",
+ "picking_tool": "está a escolher uma ferramenta e a executar o comando…",
+ "request_failed": "O pedido falhou",
+ "backend_check_prefix": "O servidor backend está em execução e o endpoint",
+ "backend_check_suffix": "está disponível?",
+ "says": "diz",
+ "command_failed": "O comando falhou.",
+ "duration": "Duração",
+ "command_label": "Comando",
+ "steps": "Passos",
+ "no_tool_found": "não encontrou nenhuma ferramenta CLI adequada. Formula a instrução de forma mais concreta ou dá uma sugestão de CLI.",
+ "title": "CLI Test Hub",
+ "try_one": "Experimenta uma destas",
+ "runs": "Execuções",
+ "clear_runs": "Limpar",
+ "no_command": "sem comando",
+ "copy": "Copiar",
+ "copied": "Copiado",
+ "starters": {
+ "aws": "Lista os meus buckets S3",
+ "az": "Lista os meus grupos de recursos Azure",
+ "docker": "Lista os contentores em execução",
+ "firebase": "Lista os meus projetos Firebase",
+ "flyctl": "Lista as minhas aplicações Fly.io",
+ "gcloud": "Lista os meus projetos Google Cloud",
+ "gh": "Mostra os meus pull requests abertos",
+ "glab": "Mostra os meus merge requests abertos",
+ "gws": "Mostra o meu correio não lido",
+ "heroku": "Lista as minhas aplicações Heroku",
+ "kubectl": "Mostra os pods no namespace atual",
+ "neonctl": "Lista os meus projetos Neon",
+ "netlify": "Lista os meus sites Netlify",
+ "pscale": "Lista as minhas bases de dados PlanetScale",
+ "railway": "Mostra os meus projetos Railway",
+ "render": "Lista os meus serviços Render",
+ "stripe": "Mostra os últimos cinco pagamentos",
+ "supabase": "Lista os meus projetos Supabase",
+ "twilio": "Lista os meus números de telefone Twilio",
+ "vercel": "Lista as minhas implementações Vercel mais recentes",
+ "wrangler": "Lista os meus Cloudflare Workers"
+ },
+ "meta_tool": "Ferramenta",
+ "exit_label": "Saída",
+ "step_exit": "saída {code}"
+ },
+ "workflows_view": {
+ "subtitle": "Os teus pipelines de agentes de IA alojados — acionados por cron ou com um clique.",
+ "loading": "A carregar workflows…",
+ "load_failed": "Não foi possível carregar os workflows",
+ "integrations_need_setup": "As integrações precisam de configuração",
+ "chat_id_missing": "Falta o Chat ID",
+ "token_missing": "Falta o token",
+ "dismiss_banner": "Dispensar faixa",
+ "stat_active": "Ativos",
+ "stat_next_run": "Próxima execução",
+ "url_to_summarize": "URL a resumir:",
+ "run_failed": "A execução falhou",
+ "collapse": "Recolher",
+ "expand": "Expandir",
+ "no_description": "Sem descrição.",
+ "disable": "Desativar",
+ "enable": "Ativar",
+ "run_now": "Executar agora",
+ "delete_confirm_prefix": "Eliminar mesmo o workflow",
+ "delete_confirm_suffix": "?",
+ "loading_details": "A carregar detalhes…",
+ "error_label": "Erro",
+ "recent_runs": "Execuções recentes",
+ "never_run": "Ainda nunca executado.",
+ "loading_run_details": "A carregar detalhes da execução…",
+ "empty_title": "Ainda não há workflows — são criados 3 exemplos no primeiro arranque.",
+ "empty_hint_pre": "O backend é novo? Verifica",
+ "load_error": "Não foi possível carregar os workflows",
+ "partial_token_ok": "Token ✓",
+ "partial_chat_id_missing": "Falta o Chat ID",
+ "partial_chat_id_ok": "Chat ID ✓",
+ "partial_token_missing": "Falta o token",
+ "prompt_url_to_summarize": "URL a resumir:",
+ "deactivate": "Desativar",
+ "activate": "Ativar",
+ "empty_hint_prefix": "O backend é novo? Verifica",
+ "step_speak": "Falar",
+ "now": "agora",
+ "ago_suffix": "atrás",
+ "run_missed": "falhada",
+ "run_missed_hint": "A aplicação não estava em execução à hora agendada — passou para a próxima ocorrência.",
+ "title": "Fluxos de trabalho",
+ "step_tool": "Ferramenta",
+ "seed_badge": "Exemplo",
+ "step_count_one": "{count} passo",
+ "step_count_other": "{count} passos",
+ "steps_heading": "Passos ({count})",
+ "trigger_manual": "Manual",
+ "next_in": "Próxima em {delta}",
+ "run_state_completed": "concluída",
+ "run_state_failed": "falhou",
+ "run_state_running": "em curso",
+ "run_state_pending": "pendente",
+ "trigger_cron": "Agendado",
+ "trigger_event": "Evento",
+ "trigger_interval": "Intervalo",
+ "trigger_webhook": "Webhook"
+ },
+ "conductor_view": {
+ "new_job": "Nova tarefa",
+ "loading_jobs": "A carregar tarefas…",
+ "api_unreachable": "A API do Conductor não está a responder",
+ "stat_active": "Ativas",
+ "runs_last_30": "execuções (últimas 30)",
+ "delete_confirm_prefix": "Eliminar mesmo a tarefa",
+ "delete_confirm_suffix": "?",
+ "editor_intro": "As tarefas são JSON — copiáveis, comparáveis, compatíveis com git. Três tipos:",
+ "create": "Criar",
+ "empty_jobs": "Ainda não há tarefas. Clica em \"Nova tarefa\" no canto superior direito.",
+ "empty_jobs_hint": "São criadas 3 tarefas de demonstração no primeiro arranque.",
+ "empty_timeline": "Ainda não há execuções — clica em Reproduzir numa tarefa.",
+ "json_syntax_error": "Erro de sintaxe JSON",
+ "now": "agora",
+ "title": "Conductor",
+ "subtitle": "Tarefas agendadas + fluxos de trabalho com agentes — código aberto, alojado por ti, code-first.",
+ "jobs": "Tarefas",
+ "timeline": "Cronologia",
+ "type_shell": "Shell",
+ "type_http": "HTTP",
+ "type_agent": "Agente",
+ "exit_code": "saída {code}",
+ "output": "Saída",
+ "metrics": "Métricas",
+ "schedule_label": "Agendamento:",
+ "example_description": "Faz ping a um endpoint da API a cada 5 minutos."
+ },
+ "chat_tab": {
+ "loading_friends": "A carregar amigos …",
+ "load_failed": "Não foi possível carregar os amigos:",
+ "empty_hint": "Ainda não tens amigos. Clica no canto superior direito em",
+ "add_friend": "+ Adicionar amigo",
+ "select_hint": "Escolhe um amigo da lista à esquerda."
+ },
+ "status_tab": {
+ "heading": "Partilha de estado",
+ "intro_part1": "Decides por amigo quanto do teu estado do",
+ "intro_part2": "é partilhado. Privacidade primeiro: a predefinição é",
+ "intro_part3": "(só online/offline); as alterações aplicam-se de imediato.",
+ "empty_hint": "Ainda não tens amigos. Muda para o separador Chat e clica em",
+ "hard_blacklist_title": "Lista negra rígida (sempre bloqueado)",
+ "hard_blacklist_body": "Falas em bruto, argumentos de ferramentas, stack traces, atualizações de memória, títulos de janelas. Estes NUNCA saem da tua máquina — seja qual for o perfil ativo e diga o que disser uma lista de permissões personalizada.",
+ "error_prefix": "Erro",
+ "loading_permission": "A carregar permissão …",
+ "profile_minimal_subline": "Só online/offline",
+ "profile_minimal_desc": "O amigo vê: sessão de voz ativa sim/não, duração. Sem conteúdo.",
+ "profile_standard_subline": "+ Título da missão",
+ "profile_standard_desc": "O amigo também vê: que missões/tarefas estão em curso, sucesso, duração.",
+ "profile_detailed_subline": "+ Resumo do {name}-Agent",
+ "profile_detailed_desc": "O amigo também vê: resumos assinados do {name}-Agent (SEM falas).",
+ "default_badge": "predefinição"
+ },
+ "tools_canvas": {
+ "back_tooltip": "Voltar à vista geral dos agentes",
+ "tool_calls": "chamadas de ferramentas",
+ "active": "ativo",
+ "duration": "Duração",
+ "empty": "(vazio)",
+ "no_tools_yet": "ainda não chamou nenhuma ferramenta.",
+ "no_tools_explainer": "Assim que o trabalhador {name}-Agent acionar uma ferramenta (ex.: dispatch_to_harness, run_shell, screenshot), ela aparece aqui como nó com ícone.",
+ "arguments": "Argumentos",
+ "output": "Saída"
+ },
+ "use_web_socket": {
+ "jarvis_opened": "{name} abriu",
+ "prompt_sent": "Prompt enviado para",
+ "prompt_not_submitted": "o prompt está na caixa de entrada, não foi enviado",
+ "prompt_unconfirmed": "o prompt foi escrito, mas o painel nunca mostrou que chegou — verifica esse painel",
+ "dictation_nowhere": "Nenhum campo de texto tinha o foco, por isso o ditado não foi inserido. Está no histórico de ditados.",
+ "realtime_provider_issue": "O fornecedor realtime comunicou um problema.",
+ "achievement_toast": "Conquista: {title}",
+ "achievement_title": {
+ "first_mcp": "Primeira ligação MCP",
+ "openclaw_summoner": "Invocador de agentes",
+ "tool_dabbler": "Curioso das ferramentas",
+ "tool_journeyman": "Oficial das ferramentas",
+ "tool_master": "Mestre das ferramentas",
+ "triple_combo": "Combo triplo",
+ "ten_x_engineer": "Engenheiro 10x",
+ "centennial": "Centenário",
+ "kilo_club": "Clube do milhar",
+ "one_year_with_jarvis": "Um ano com o Dodaios"
+ }
+ },
+ "chat_thread": {
+ "message_to": "Mensagem para",
+ "no_channel_placeholder": "Nenhum canal associado — envio impossível",
+ "send": "Enviar",
+ "send_failed": "Falha no envio",
+ "no_messages": "Ainda não há mensagens",
+ "link_channel_hint": "Associa um canal (Telegram/Dodaios) para começares a escrever",
+ "profile": "Perfil"
+ },
+ "add_friend_menu": {
+ "error_name_required": "Introduz um nome.",
+ "error_telegram_id_missing": "Falta o chat ID do Telegram.",
+ "error_pubkey_missing": "Falta a chave pública do Dodaios.",
+ "title": "Adicionar amigo",
+ "link_mode_hint": "A ligação de emparelhamento usa o fluxo existente de emparelhamento por chave pública através do backend do board. Troca o token + URL com o teu amigo.",
+ "open_pair_dialog": "Abrir diálogo de emparelhamento",
+ "name_placeholder": "ex.: Daniel",
+ "label_telegram_id": "Chat ID do Telegram",
+ "label_pubkey": "Chave pública do Dodaios (hex)",
+ "telegram_id_placeholder": "ex.: 123456789",
+ "pubkey_placeholder": "ex.: 4f3c2b…",
+ "submit": "Adicionar",
+ "mode_pair_link": "Ligação de emparelhamento",
+ "label_display_name": "Nome a mostrar"
+ },
+ "permission_matrix": {
+ "subline_minimal": "Só online/offline",
+ "subline_standard": "+ Título da missão",
+ "subline_detailed": "+ Resumo do {name}-Agent",
+ "aria_label": "Perfil de partilha",
+ "profile_minimal": "mínimo",
+ "profile_standard": "padrão",
+ "profile_detailed": "detalhado",
+ "subline_detailed_agent": "+ resumo do {agent}"
+ },
+ "self_mod_view": {
+ "all_actors": "Todos os atores",
+ "actor_main": "Assistente principal",
+ "successful_only": "Só bem-sucedidas",
+ "sensitive_path_notice": "Caminho sensível — valores ocultados no servidor (Plano §AP-2).",
+ "intro_a": "Vista só de leitura do registo de auditoria, definições alteráveis e cópias de segurança.",
+ "intro_b": "As alterações acontecem só por voz/chat — esta vista mostra apenas o que",
+ "intro_c": "alterou em si mesmo.",
+ "value_redacted": "Valor ocultado (Plano §AP-2, defesa em profundidade)",
+ "actor_user": "Utilizador",
+ "actor_system": "Sistema",
+ "col_timestamp": "Data/hora",
+ "col_actor": "Ator",
+ "col_path": "Caminho",
+ "col_old_new": "Antigo → Novo",
+ "col_outcome": "Resultado",
+ "outcome_ok": "OK",
+ "outcome_rolled_back": "REVERTIDO",
+ "outcome_fail": "FALHA",
+ "audit_event": "Evento de auditoria",
+ "risk_safe": "seguro",
+ "risk_ask": "perguntar",
+ "needs_restart": "Reinício",
+ "col_filename": "Nome do ficheiro",
+ "col_size": "Tamanho",
+ "col_age": "Idade",
+ "title": "Automodificação",
+ "tab_history": "Histórico",
+ "tab_mutable": "Definições",
+ "tab_backups": "Cópias de segurança"
+ },
+ "wiki_view": {
+ "page_not_found": "Página não encontrada",
+ "loading_vault": "A carregar o vault…",
+ "vault_empty": "O vault está vazio",
+ "pages": "páginas",
+ "wikilinks": "wikilinks",
+ "load_error": "Não foi possível carregar os dados da wiki. O servidor backend está em execução?",
+ "no_selection_hint": "Escolhe uma página à esquerda ou clica num nó do Mapa de Memória.",
+ "backlinks_hint": "As backlinks aparecem aqui quando uma página estiver selecionada.",
+ "empty_title": "A tua wiki ainda está vazia.",
+ "empty_body_a": "Sempre que",
+ "empty_body_b": "deteta algo importante numa conversa, isso vem parar aqui — pessoas, projetos, preferências, compromissos.",
+ "manual_a": "Também podes colocar um ficheiro",
+ "manual_b": "em",
+ "manual_c": "tu mesmo, a qualquer momento."
+ },
+ "wiki_health": {
+ "capture_aria": "Funil de captura da wiki nas últimas {0} horas",
+ "capture_window": "Captura das últimas {0}h",
+ "capture_reviewed": "Revistos",
+ "capture_candidate_reviews": "Revisões produtivas",
+ "capture_candidate_facts": "Candidatos",
+ "capture_writes": "Escritas",
+ "capture_noop": "Sem alteração",
+ "capture_rejected": "Rejeitados",
+ "capture_skipped": "Ignorados",
+ "capture_pending": "Pendentes",
+ "capture_filtered": "Filtrados",
+ "capture_empty": "Vazios",
+ "capture_failed": "Falhados",
+ "capture_in_progress": "Em curso",
+ "capture_session_sweeps": "Varrimentos de sessão",
+ "capture_store_unavailable": "Armazenamento de captura indisponível",
+ "capture_store_error": "Armazenamento de captura indisponível: {0}",
+ "capture_failed_detail": "{0} operações de captura falharam neste período.",
+ "checking": "A verificar o estado da wiki…",
+ "unavailable": "Verificação do estado da wiki indisponível",
+ "vault_prefix": "Vault: {0}",
+ "vault_unknown": "Caminho do vault desconhecido",
+ "last_write_ok": "Última escrita: {0} · ok",
+ "last_write_failed": "A última escrita falhou: {0}",
+ "last_write_failed_unknown": "A última escrita falhou",
+ "no_writes_yet": "Ainda não há escritas registadas",
+ "pending_writes": "{0} factos à espera de serem escritos",
+ "index_stale": "Índice de pesquisa: {0}/{1} páginas",
+ "reindex": "Reconstruir índice",
+ "reindexing": "A reconstruir...",
+ "reindex_failed": "Não foi possível reconstruir o índice de pesquisa da wiki.",
+ "reindex_failed_detail": "A reconstrução do índice falhou: {0}",
+ "bootstrap_failed": "O arranque inicial falhou: {0}",
+ "bootstrap_failed_unknown": "O arranque inicial falhou",
+ "chain_failure": "Falha na cadeia: {0}",
+ "backlog_count": "Pendentes no diário: {0}",
+ "legacy_conflict": "Detetado conflito com vault antigo"
+ },
+ "wiki_ui": {
+ "title": "Wiki",
+ "library_label": "Páginas da wiki",
+ "filter_placeholder": "Filtrar páginas",
+ "filter_clear": "Limpar filtro",
+ "filter_no_match": "Nenhum título corresponde. Prime Ctrl K para pesquisar dentro das páginas.",
+ "recent": "Alteradas recentemente",
+ "group_entity": "Pessoas e coisas",
+ "group_project": "Projetos",
+ "group_concept": "Conceitos",
+ "group_session": "Sessões",
+ "group_agent": "Cadernos de agentes",
+ "group_system": "Páginas de sistema",
+ "group_other": "Outras",
+ "inspector_label": "Detalhes da página e estado da memória",
+ "health_title": "Estado da memória",
+ "health_green": "Saudável",
+ "health_amber": "Requer atenção",
+ "health_red": "Não funciona",
+ "health_unknown": "Ainda não verificado",
+ "health_chip_title": "Mostrar estado da memória",
+ "capture_title": "Captura",
+ "capture_window": "últimas {0} h",
+ "capture_quiet": "Nada foi capturado neste período.",
+ "hubs_title": "Mais ligadas",
+ "linked_from": "Ligações de",
+ "linked_from_empty": "Ainda nenhuma outra página liga para aqui.",
+ "links_to": "Liga para",
+ "links_to_empty": "Esta página não liga para nenhuma outra.",
+ "link_missing": "Esta página ainda não existe",
+ "facts_title": "Sobre esta página",
+ "fact_kind": "Tipo",
+ "fact_folder": "Pasta",
+ "fact_words": "Palavras",
+ "fact_changed": "Alterada",
+ "legend_label": "Tipos de página no mapa",
+ "legend_show": "Mostrar no mapa",
+ "legend_hide": "Ocultar do mapa",
+ "legend_connections": "{0} ligações",
+ "map_hint": "Desliza para ampliar · arrasta para mover · duplo clique para recentrar",
+ "map_all_hidden": "Todos os tipos de página estão ocultos. Volta a ativar um na legenda.",
+ "crumb_label": "Localização no vault",
+ "page_changed": "Alterada {0}",
+ "page_words": "{0} palavras",
+ "as_of": "A partir de",
+ "search_placeholder": "Pesquisar memória",
+ "subtitle_pages": "{0} páginas",
+ "subtitle_links": "{0} ligações",
+ "subtitle_curated": "curada {0}",
+ "stage_label": "Mapa de memória e página",
+ "tab_map": "Mapa de memória",
+ "close_page": "Fechar página",
+ "inspector_collapse": "Ocultar o painel lateral",
+ "inspector_expand": "Mostrar o painel lateral",
+ "inspector_overview": "Visão geral",
+ "inspector_page": "Esta página"
+ },
+ "skill_create_dialog": {
+ "title": "Criar skill",
+ "subtitle": "Descreve o que a skill deve fazer — gera um rascunho com IA ou preenche tu o formulário.",
+ "intent_label": "O que deve fazer esta skill?",
+ "intent_placeholder": "p. ex. \"Resumir os meus separadores abertos\", \"Iniciar a minha rotina matinal\"…",
+ "draft_with_ai": "Rascunho com IA",
+ "brain_used": "Rascunho de IA aplicado — revê e edita abaixo.",
+ "brain_unavailable": "IA indisponível — foi preenchido um modelo inicial que podes editar.",
+ "name_label": "Nome",
+ "name_placeholder": "Nome da skill",
+ "category_label": "Categoria",
+ "description_label": "Descrição",
+ "description_placeholder": "Uma frase sobre o que faz",
+ "body_label": "Instruções (Markdown)",
+ "body_placeholder": "## A minha skill\n\nO que o assistente deve fazer…",
+ "trigger_label": "Ativação por voz (opcional)",
+ "trigger_placeholder": "p. ex. iniciar a rotina matinal",
+ "create": "Criar skill",
+ "create_error": "Não foi possível criar a skill",
+ "name_required": "Introduz um nome com pelo menos 3 caracteres.",
+ "needs_instructions": "Descreve o que a skill deve fazer — escreve no campo do topo ou escreve as instruções abaixo.",
+ "write_with_ai": "Escrever a skill inteira com IA",
+ "writing": "A IA está a escrever a tua skill…",
+ "ai_done_review": "Pronto — a IA escreveu a skill inteira abaixo. Revê-a e clica em Criar skill.",
+ "or_review_edit": "ou rever e editar"
+ },
+ "missions_view": {
+ "active": "ativas",
+ "select_worker_hint": "Seleciona um worker na árvore à esquerda para ver o stream em direto.",
+ "select_mission_hint": "Seleciona uma missão para carregar os detalhes.",
+ "loading_terminal": "A carregar o terminal…",
+ "no_reasoning_notes": "Sem notas de raciocínio disponíveis.",
+ "no_plan_published": "Ainda não foi publicado nenhum plano.",
+ "expected_output": "Resultado esperado",
+ "not_specified": "(não especificado)",
+ "steps": "Passos",
+ "workers": "workers",
+ "title": "Missões",
+ "subtitle": "Fase 6 — Ciclo Worker/Crítico. Bus em direto, streams PTY, veredictos.",
+ "tree_label": "Árvore de missões",
+ "timeline_label": "Cronologia de eventos",
+ "no_events": "Ainda não há eventos para esta missão.",
+ "no_critic_verdicts": "Ainda não há veredictos do crítico para esta missão.",
+ "no_missions_yet": "Ainda não há missões. O assistente principal vai lançar uma em breve…",
+ "capacity_wait": {
+ "provider_quota": "A capacidade de {provider} está esgotada por agora.",
+ "provider_auth": "A sessão de {provider} expirou.",
+ "provider_unavailable": "{provider} não pode ser usado neste momento.",
+ "provider_fallback": "Fornecedor de IA",
+ "saved": "O progresso até agora foi guardado.",
+ "progress": "{done} de {total} passos concluídos, {open} por fazer.",
+ "progress_single": "A tarefa em si ainda está por fazer.",
+ "files": "Ficheiros guardados: {files}.",
+ "wait": "A missão está à espera que haja capacidade de novo.",
+ "wait_auth": "A missão está à espera que inicies sessão de novo.",
+ "paid": "Uso pago da API só com a tua aprovação em Artefactos, ou se o permitires em Definições → Chaves de API.",
+ "paid_cap_reached": "O limite de custo aprovado para {provider} foi atingido.",
+ "paid_daily_cap_reached": "O uso pago automático em {provider} atingiu o limite diário.",
+ "paid_consent_revoked": "O uso pago automático em {provider} foi desativado."
+ },
+ "total_count": "{count} no total",
+ "tab_verdicts": "Veredictos",
+ "tab_reasoning": "Raciocínio",
+ "tab_plan": "Plano",
+ "step_n": "Passo {n}"
+ },
+ "mission_tool_approvals": {
+ "tab_label": "Aprovações",
+ "pending": "pendentes",
+ "select_mission": "Seleciona uma missão para rever os pedidos de ferramentas do supervisor.",
+ "loading": "A carregar aprovações…",
+ "toast_pending": "É necessária aprovação para {tool} na missão {mission}. Abre Missões para rever.",
+ "load_error": "Não foi possível carregar as aprovações.",
+ "retry": "Tentar de novo",
+ "empty_title": "Nenhuma ação pendente",
+ "empty_body": "Esta missão não tem nenhuma chamada de ferramenta do supervisor à espera da tua decisão.",
+ "scope_notice": "Cada aprovação aplica-se apenas a esta chamada em pausa. Chamadas futuras são revistas separadamente.",
+ "pending_title": "Ação requer aprovação",
+ "risk": "Risco",
+ "reason": "Motivo",
+ "worker": "Worker",
+ "arguments": "Argumentos",
+ "no_arguments": "(Sem pré-visualização dos argumentos)",
+ "expires": "Expira",
+ "expired": "Expirado",
+ "expired_body": "Este pedido já não pode ser decidido. A lista vai atualizar automaticamente.",
+ "reason_risk_tier": "A política de risco da ferramenta exige confirmação.",
+ "reason_plausibility": "A ação não correspondeu ao pedido com confiança suficiente.",
+ "reason_unspecified": "Confirmação necessária.",
+ "decision_failed": "A decisão falhou",
+ "deny": "Recusar",
+ "denying": "A recusar…",
+ "approve": "Rever aprovação",
+ "confirm_title": "Executar esta ferramenta agora?",
+ "confirm_body": "Isto autoriza exatamente uma execução com os argumentos mostrados acima.",
+ "confirm": "Aprovar e executar",
+ "approving": "A aprovar…"
+ },
+ "skill_finder_dialog": {
+ "install_failed": "A instalação falhou",
+ "title": "Localizador de skills",
+ "subtitle": "Descreve o que precisas — o mini-agente pesquisa o catálogo e ordena com IA.",
+ "brain_ranking_active": "Ordenação pelo cérebro ativa",
+ "query_placeholder": "p. ex. \"resumir PDFs\", \"automatizar fluxo Git\", \"notas de reuniões\"...",
+ "search": "Pesquisar",
+ "filter_trust": "Nível de confiança",
+ "opt_all": "Todos",
+ "hint_no_filter": "sem filtro",
+ "opt_official_only": "Só oficiais",
+ "opt_verified_plus": "Verificados+",
+ "hint_verified_plus": "oficiais + 3k+ estrelas",
+ "opt_community_plus": "Comunidade+",
+ "hint_actively_maintained": "mantidos ativamente",
+ "opt_everything": "Tudo, incluindo protótipos",
+ "hint_risk_ok": "risco ok",
+ "filter_stars": "Estrelas no GitHub",
+ "opt_any": "Qualquer",
+ "filter_category": "Categoria",
+ "filter_risk": "Limite de risco",
+ "opt_safe_only": "Só seguros",
+ "opt_up_to_monitor": "Até monitorizar",
+ "opt_up_to_ask": "Até perguntar (confirmação ok)",
+ "filter_language": "Idioma",
+ "lang_de": "Alemão",
+ "lang_en": "Inglês",
+ "skills_in_catalog": "skills no catálogo",
+ "loading_catalog": "A carregar o catálogo…",
+ "trust_official": "oficial",
+ "trust_verified": "verificado",
+ "trust_community": "comunidade",
+ "trust_experimental": "experimental",
+ "installed": "instalada",
+ "no_direct_download": "Sem transferência direta disponível — instala manualmente",
+ "install_to_skills_dir": "Instalar em %LOCALAPPDATA%/Jarvis/skills",
+ "manual": "Manual",
+ "install": "Instalar",
+ "source": "Origem",
+ "no_hits": "Sem resultados. Experimentar outros filtros?",
+ "empty_prompt": "Descreve o que precisas — a pesquisa ordena com IA.",
+ "example_1": "“cria uma skill que priorize os meus emails”",
+ "example_2": "“simplificar o fluxo Git”",
+ "example_3": "“PDF para Markdown estruturado”",
+ "score": "Pontuação"
+ },
+ "missions": {
+ "state_critiquing": "crítico a rever",
+ "state_looping": "a corrigir"
+ },
+ "mission_state": {
+ "pending": "à espera",
+ "running": "em execução",
+ "critiquing": "crítico a rever",
+ "looping": "a corrigir",
+ "approved": "concluída",
+ "failed": "erro",
+ "cancelled": "cancelada",
+ "timed_out": "tempo esgotado",
+ "waiting_capacity": "à espera de capacidade"
+ },
+ "mascot_gigi": {
+ "aria_label": "Gigi, a mascote de {name}",
+ "back_online": "de volta online!",
+ "connection_lost": "ligação perdida …",
+ "idle": {
+ "hm": "hum …",
+ "all_quiet": "tudo calmo.",
+ "still_there": "ainda aí?",
+ "whats_up": "então, que se passa?",
+ "watching": "estou a observar-te.",
+ "focused": "concentrado, hein?",
+ "take_break": "faz lá uma pausa.",
+ "cool_work": "estás a trabalhar em algo fixe hoje?",
+ "bit_boring": "um bocado aborrecido agora.",
+ "good_ears": "tenho bom ouvido. se precisares de alguma coisa."
+ },
+ "section": {
+ "chats_ready": "pronto quando tu estiveres.",
+ "chats_listening": "estou a ouvir.",
+ "chats_say_something": "diz qualquer coisa.",
+ "chats_type_or_talk": "escreve ou fala — tanto faz.",
+ "agents_colleagues": "os agentes são os meus colegas.",
+ "agents_favourite": "qual é o teu favorito?",
+ "skills_favourite": "as skills são a minha funcionalidade preferida.",
+ "skills_learn": "o que vamos aprender?",
+ "mcps_power": "mais MCPs = mais poder.",
+ "mcps_add": "o que vamos acrescentar?",
+ "languages_speak": "falo a tua língua.",
+ "languages_switch": "mudar de língua? é só dizer.",
+ "apikeys_careful": "guarda bem as chaves.",
+ "apikeys_no_git": "não as metas no git!",
+ "settings_bother": "o que te incomoda?",
+ "settings_tweak": "vamos afinar alguma coisa?"
+ },
+ "voice": {
+ "listening_1": "estou a ouvir!",
+ "listening_2": "desembucha.",
+ "listening_3": "sim?",
+ "thinking_1": "deixa ver …",
+ "thinking_2": "um momento.",
+ "thinking_3": "hmm …",
+ "speaking_1": "agora falo eu.",
+ "speaking_2": "ouve só um instante.",
+ "error_1": "eh lá.",
+ "error_2": "ups.",
+ "error_3": "não fui eu!"
+ },
+ "time": {
+ "morning_1": "bom dia!",
+ "morning_2": "vamos lá, de pé.",
+ "night_1": "ainda acordado?",
+ "night_2": "já é tarde.",
+ "night_3": "tens dormido o suficiente?"
+ }
+ },
+ "agents_view": {
+ "subtitle": "Agentes {name} em execução — função, estado, resultado.",
+ "empty_title": "Nenhum agente ativo",
+ "empty_body_a": "Quando",
+ "empty_body_b": "inicia um agente {name}, este aparece aqui como um mosaico em direto, com o resultado em streaming e um botão para terminar.",
+ "phase4_notice": "Ativado com a Fase 4 (integração do harness)."
+ },
+ "friends_view": {
+ "subtitle": "Bot do Telegram + registo local de amigos. Tu decides o que os amigos veem.",
+ "title": "Amigos",
+ "tab_chat": "Chat",
+ "tab_status": "Estado"
+ },
+ "feedback": {
+ "subtitle": "Reporta um erro ou sugere uma funcionalidade — ambos vão diretamente para o GitHub.",
+ "type_label": "O que é?",
+ "type_bug": "Erro",
+ "type_idea": "Funcionalidade",
+ "type_question": "Pergunta",
+ "title_label": "Título",
+ "title_placeholder": "Uma linha, em palavras simples",
+ "bug_what_label": "O que aconteceu?",
+ "bug_what_placeholder": "Descreve o erro e o que esperavas que acontecesse.",
+ "bug_steps_label": "Passos para reproduzir",
+ "bug_steps_placeholder": "1. …\n2. …\n3. O erro aparece",
+ "idea_problem_label": "Que problema resolve isto?",
+ "idea_problem_placeholder": "O que estás a tentar fazer que o Dodaios ainda não consegue?",
+ "idea_solution_label": "Como deveria funcionar?",
+ "idea_solution_placeholder": "Um comando de voz, uma definição, uma nova vista?",
+ "github_submit_bug": "Reportar o erro no GitHub",
+ "github_submit_idea": "Sugerir a funcionalidade no GitHub",
+ "send_without_github": "Enviar sem conta GitHub",
+ "github_login_note": "Abre o GitHub com o teu relatório preenchido. Precisas de uma conta GitHub gratuita — se não tiveres sessão iniciada, o GitHub pede-ta primeiro e traz-te diretamente de volta ao teu texto.",
+ "sending": "A enviar…",
+ "screenshot_label": "Captura de ecrã (opcional)",
+ "screenshot_pick": "Clica para anexar uma captura de ecrã",
+ "screenshot_preview_alt": "Pré-visualização da captura de ecrã",
+ "screenshot_remove": "Remover captura de ecrã",
+ "screenshot_too_large": "A captura de ecrã tem mais de 8 MB — escolhe uma imagem mais pequena.",
+ "result_sent": "Obrigado — chegou!",
+ "result_not_configured": "O canal direto já não existe — usa o botão do GitHub.",
+ "result_error": "Não foi possível enviar. Tenta de novo mais tarde.",
+ "result_github_opened": "Aberto no teu browser — revê e submete o issue no GitHub.",
+ "result_github_trimmed": "Aberto no teu browser. O teu texto era demasiado longo para a barra de endereço e está completo na área de transferência — cola-o no GitHub.",
+ "board_ideas_title": "O que outros estão a pedir",
+ "board_bugs_title": "Erros conhecidos",
+ "board_see_all": "Ver tudo no GitHub",
+ "board_upvotes": "votos",
+ "question_title": "As perguntas são respondidas no Discord",
+ "question_hint": "Normalmente no mesmo dia — mais rápido do que o issue tracker.",
+ "question_discord_button": "Abrir Discord",
+ "community_hint": "Preferes falar sobre isto no Discord?",
+ "community_open": "Abrir"
+ },
+ "edit_menu": {
+ "label": "Editar",
+ "cut": "Cortar",
+ "copy": "Copiar",
+ "paste": "Colar",
+ "select_all": "Selecionar tudo",
+ "copy_failed": "Não foi possível copiar para a área de transferência.",
+ "paste_unavailable": "Não foi possível ler a área de transferência.",
+ "paste_failed": "Não é possível colar aqui."
+ },
+ "workspace_bar": {
+ "open_workspaces": "Workspaces abertos",
+ "workspace_summary_one": "{workspace}, workspace {index}, 1 terminal",
+ "workspace_summary_many": "{workspace}, workspace {index}, {count} terminais",
+ "new_workspace": "Novo workspace",
+ "drop_title": "{folder} — larga aqui uma captura de ecrã ou um documento para o enviar para este workspace",
+ "reorder_title": "{folder} — arrasta para reordenar",
+ "rename": "Mudar o nome de {workspace}",
+ "rename_save": "Guardar o nome de {workspace}",
+ "rename_cancel": "Cancelar a mudança de nome",
+ "close_confirm_aria": "Confirmar o fecho de {workspace}",
+ "close_stop": "Fechar e parar {count}",
+ "keep_aria": "Manter este workspace aberto",
+ "keep": "Manter",
+ "close": "Fechar {workspace}",
+ "close_title": "Fechar {workspace} e parar os agentes",
+ "full": "Já estão abertos {count} workspaces — fecha um primeiro.",
+ "add_title": "Abrir outra pasta no seu próprio workspace",
+ "terminals_open_one": "{count} terminal aberto",
+ "terminals_open_other": "{count} terminais abertos"
+ },
+ "custom_cli": {
+ "title_add": "Adicionar uma CLI tua",
+ "title_edit": "Editar esta CLI",
+ "description": "Qualquer CLI de terminal interativa pode correr num painel aqui. Dá-lhe um nome e o comando que a inicia, e ela aparece em todo o lado onde aparecem as integradas.",
+ "close": "Fechar",
+ "cancel": "Cancelar",
+ "save": "Guardar",
+ "save_add": "Adicionar CLI",
+ "saving": "A guardar…",
+ "name": "Nome",
+ "name_placeholder": "p. ex. Aider",
+ "name_hint": "O que vais ver nos seletores e dizer em voz alta.",
+ "command": "Comando",
+ "command_placeholder": "aider",
+ "command_hint": "Exatamente o que escreverias num terminal para a iniciar.",
+ "command_shell_hint": "Isto corre através de uma shell, porque o comando tem mais do que um programa. O painel fecha quando a linha inteira terminar.",
+ "description_label": "Descrição",
+ "optional": "Opcional",
+ "description_placeholder": "Uma linha a explicar o que é esta CLI.",
+ "at_reference": "Escrever ficheiros largados como @caminho",
+ "at_reference_hint": "A maioria das CLIs de programação modernas lê @caminho como um ficheiro a abrir. Desativa isto e os caminhos são colados entre aspas.",
+ "pick_logo": "Escolher um logótipo",
+ "remove_logo": "Remover o logótipo",
+ "remove_logo_short": "Remover",
+ "logo_label": "Logótipo",
+ "edit_named": "Editar {0}",
+ "remove_named": "Remover {0}",
+ "gone": "Essa CLI já não está na lista.",
+ "add_title": "A tua própria CLI",
+ "add_hint": "Não está na lista? Adiciona qualquer CLI de terminal com o comando que a inicia.",
+ "add_button": "Adicionar uma CLI"
+ },
+ "workspace_launcher": {
+ "wizard": {
+ "new_workspace": "Novo workspace",
+ "additional_workspace": "Workspace adicional",
+ "step_progress": "Passo {0} de {1}",
+ "running_notice": "Os teus workspaces abertos continuam a correr.",
+ "terminal_unavailable_before": "Esta máquina não tem um backend de terminal utilizável. Necessário:",
+ "terminal_unavailable_after": "Ambos vêm com o extra desktop.",
+ "no_cli": "Não foi encontrada nenhuma CLI de agente de programação no PATH desta máquina. Instala uma e será detetada automaticamente.",
+ "open_clis": "Abrir CLIs",
+ "terminal_panes": "Painéis de terminal",
+ "back": "Voltar",
+ "continue_layout": "Continuar para o layout",
+ "continue_agents": "Continuar para os agentes",
+ "choose_view": "Escolher a vista",
+ "review_workspace": "Rever workspace",
+ "opening": "A abrir…",
+ "open_workspace": "Abrir workspace",
+ "not_chosen": "Não escolhido",
+ "one_terminal": "1 terminal",
+ "many_terminals": "{0} terminais",
+ "check_and_open": "Verificar e abrir",
+ "setup_label": "Configuração do workspace",
+ "reading_mode": "Modo de leitura",
+ "reading_mode_label": "Como o workspace abre",
+ "view_hint": "Não perdes nada em nenhum dos casos: os terminais continuam a trabalhar por trás do chat, e o interruptor na barra do workspace alterna entre os dois a qualquer momento.",
+ "selected": "Selecionado",
+ "workspace": "Workspace",
+ "opens_as": "Abre como",
+ "coding_mode": "Modo de programação",
+ "coding_mode_on_open": "Ativa-se ao abrir",
+ "terminal_plan": "Plano de terminais",
+ "steps": {
+ "folder": {
+ "label": "Pasta",
+ "title": "Escolhe a pasta do projeto",
+ "hint": "Tudo o que os agentes fazem fica dentro desta pasta."
+ },
+ "layout": {
+ "label": "Layout",
+ "title": "Dá forma ao workspace",
+ "hint": "Escolhe quantos painéis de terminal independentes devem abrir."
+ },
+ "agents": {
+ "label": "Agentes"
+ },
+ "view": {
+ "label": "Vista",
+ "title": "Escolhe como ler o workspace",
+ "hint": "Depois, ambos ficam à distância de um clique — o interruptor está na barra do workspace."
+ },
+ "review": {
+ "label": "Rever",
+ "title": "Rever antes de abrir",
+ "hint": "Nada arranca até abrires o workspace."
+ }
+ },
+ "views": {
+ "grid": {
+ "title": "Grelha de terminais",
+ "description": "Todos os painéis no ecrã ao mesmo tempo, lado a lado — a parede completa de terminais."
+ },
+ "chat": {
+ "title": "Chat",
+ "description": "O chat do agente, a correr na pasta deste workspace — escreve em vez de observar terminais."
+ }
+ }
+ },
+ "crowded": {
+ "warning": "{0} terminais é muito para um ecrã — cada um fica com pouco espaço. Num ecrã grande está bem; num portátil, menos são mais fáceis de acompanhar. Podes sempre maximizar um painel para o ler.",
+ "measured": "{0} terminais ficam com cerca de {1} colunas cada nesta janela — estreito para o resultado de um agente. Esta janela comporta {2} lado a lado confortavelmente com o teu tamanho de texto. Maximiza um painel sempre que o quiseres ler em tamanho completo."
+ },
+ "resume": {
+ "eyebrow": "Conjunto de trabalho anterior",
+ "title": "Restaura a sala, não só as janelas",
+ "last_saved": "Guardado {time}",
+ "saved_terminal_fleet": "terminais na frota guardada",
+ "just_now": "agora mesmo",
+ "minutes_ago": "há {count} min",
+ "hours_ago": "há {count} h",
+ "days_ago": "há {count} d",
+ "folder": "{count} pasta",
+ "folders": "{count} pastas",
+ "terminal": "{count} terminal",
+ "terminals": "{count} terminais",
+ "summary_unavailable_clis": "As pastas estão aqui, mas nenhuma das suas CLIs de programação pode correr nesta máquina.",
+ "summary_unavailable_folders": "As pastas guardadas já não estão nesta máquina.",
+ "summary_none": "{folders}, {terminals} — o layout e os nomes voltam; todas as conversas disponíveis começam do zero.",
+ "summary_all": "{folders}, {terminals} — todas as conversas continuam onde pararam.",
+ "summary_some": "{folders}, {terminals} — {resumable} conversas continuam; {fresh} começam do zero.",
+ "summary_unavailable_suffix": "{count} não podem reabrir nesta máquina.",
+ "legend_continues": "a conversa continua",
+ "legend_fresh": "abre com contexto novo",
+ "legend_unavailable": "não pode reabrir aqui",
+ "resuming": "A restaurar…",
+ "restore_one": "Restaurar 1 workspace",
+ "restore_many": "Restaurar {count} workspaces",
+ "start_fresh": "Descartar e começar do zero",
+ "discard_title": "Esquecer este ponto de restauro e configurar um novo workspace",
+ "metric_workspaces": "workspaces",
+ "metric_terminals": "terminais",
+ "metric_continuing": "conversas mantidas",
+ "metric_fresh": "a começar do zero",
+ "unavailable_warning": "{count} terminal(is) não podem reabrir até a sua CLI de programação voltar a ser instalada.",
+ "workspace_manifest": "Manifesto do workspace",
+ "workspace_manifest_hint": "Cada painel volta à posição registada.",
+ "available_workspaces": "{available} de {total} disponíveis",
+ "folder_missing": "Esta pasta foi movida ou eliminada, por isso não pode voltar.",
+ "terminal_count": "{count} terminais",
+ "continuing_count": "{count} continuam",
+ "fresh_count": "{count} do zero",
+ "unavailable_count": "{count} indisponíveis",
+ "recovery_bar": "{continuing} continuam, {fresh} do zero, {unavailable} indisponíveis",
+ "continues": "continua",
+ "starts_fresh": "do zero",
+ "not_installed": "indisponível",
+ "prompt_one": "{count} prompt",
+ "prompt_many": "{count} prompts",
+ "position": "C{column} · L{row}",
+ "terminal_description": "{name}, {agent}, {status}, {prompts} prompts, {position}",
+ "show_all": "Mostrar todos os {count} terminais (+{hidden})",
+ "show_less": "Mostrar menos terminais",
+ "agent_fleet": "Frota de agentes",
+ "agent_fleet_hint": "A combinação exata de CLIs registada neste conjunto de trabalho.",
+ "fleet_detail": "{continuing} continuam · {fresh} do zero · {prompts} prompts",
+ "fleet_unavailable": "{count} indisponíveis",
+ "restore_plan": "O que volta",
+ "layout_fact": "A ordem dos workspaces, os nomes dos painéis e as posições na grelha são restaurados.",
+ "conversation_fact": "Só os painéis marcados com “continua” mantêm a conversa da CLI.",
+ "availability_fact": "Pastas ou CLIs em falta são ignoradas e reportadas, em vez de fazerem falhar todo o restauro.",
+ "earlier_title": "Lembrados de sessões anteriores ({count})",
+ "earlier_hint": "Estes ficam no histórico de pastas, mas não são reabertos por este restauro."
+ },
+ "agents": {
+ "step_title": "Escolhe os agentes de programação",
+ "step_hint": "Distribui todos os lugares de terminal de uma vez em vez de editar cada painel.",
+ "nav_summary": "{0} de {1} atribuídos",
+ "allocation": "Atribuição de terminais",
+ "hint": "Escolhe quantos lugares de terminal recebe cada agente instalado. Os nomes são atribuídos automaticamente.",
+ "assigned": "Terminais atribuídos",
+ "unassigned": "Lugares de terminal livres: {0}",
+ "all_assigned": "Todos os terminais atribuídos",
+ "quick_fill": "Preenchimento rápido",
+ "one_each": "Um de cada",
+ "split_evenly": "Dividir igualmente",
+ "clear": "Limpar",
+ "select": "Selecionar {0}",
+ "installed": "Instalado",
+ "not_installed": "Não instalado",
+ "account": "Subscrição",
+ "account_for": "Subscrição para {0}",
+ "active_account": "Conta ativa",
+ "not_signed_in": "sem sessão iniciada",
+ "all": "Todos",
+ "decrease": "Usar menos um terminal {0}",
+ "count_for": "Número de terminais para {0}",
+ "increase": "Usar mais um terminal {0}",
+ "auto_names": "Os nomes dos terminais são atribuídos automaticamente. Depois de abrir, podes renomeá-los no cabeçalho de cada terminal."
+ },
+ "agent_setup": {
+ "agents_aria": "Agentes de programação",
+ "agent": "Agente",
+ "choose_all": "Escolher para todas as sessões",
+ "editing": "A editar a sessão {number}",
+ "all_sessions": "Todas as sessões",
+ "none": "Não há agentes de programação disponíveis. Liga um agente de programação em CLIs para continuar.",
+ "count_aria": "Número de sessões",
+ "how_many": "Quantas sessões?",
+ "sessions_one": "{count} sessão",
+ "sessions_other": "{count} sessões",
+ "more": "Mais",
+ "add_more": "Podes adicionar mais a qualquer momento",
+ "opens_as": "abre como {columns} × {rows}",
+ "lineup_aria": "Alinhamento das sessões",
+ "will_launch": "Vai iniciar",
+ "click_hint": "Clica numa sessão para escolher outro agente",
+ "choose_agent": "Escolhe um agente",
+ "edit_session": "Editar a sessão {number}: {agent}"
+ },
+ "run_on": {
+ "online": "Continua a correr com este PC desligado",
+ "unknown": "Ainda não verificado",
+ "offline": "Inacessível de momento",
+ "auto": "Automático",
+ "auto_detail": "Escolhe este PC ou um computador conforme as respetivas quotas",
+ "local": "Este computador",
+ "local_detail": "Para quando este PC suspende ou se desliga",
+ "label": "Corre em",
+ "copy_note": "Primeiro, a pasta é copiada para {computer}, incluindo as alterações sem commit. Ficheiros como .env e chaves privadas ficam neste PC. A CLI de programação tem de estar instalada lá.",
+ "none_hint": "Queres agentes que continuem a trabalhar com este PC desligado?",
+ "connect_server": "Ligar um servidor"
+ },
+ "shape": {
+ "exact_count": "Número exato · escreve um número",
+ "one_fewer": "Usar menos um terminal",
+ "one_more": "Usar mais um terminal",
+ "count_aria": "Número de terminais",
+ "use_n": "Usar {count} terminais",
+ "all_on_screen": "Todos num só ecrã.",
+ "columns_narrow": "Todos num só ecrã, com cerca de {columns} colunas cada — estreito para a saída de um agente. Esta janela comporta confortavelmente {affordable} lado a lado com o tamanho de texto {size}; maximiza um painel para o ler em tamanho completo.",
+ "columns_each": "Todos num só ecrã, com cerca de {columns} colunas cada.",
+ "px_each": "Todos num só ecrã, com cerca de {px} px cada.",
+ "px_narrow": "Todos num só ecrã, com cerca de {px} px cada — estreito para a saída de um agente. Maximiza um painel para o ler em tamanho completo.",
+ "across": "{columns} lado a lado"
+ }
+ },
+ "agent_accounts": {
+ "not_signed_in": "sem sessão iniciada",
+ "single_google_login": "Usa a subscrição Google ligada em Chaves de API. Ainda não é possível alternar aqui entre outras contas Google.",
+ "title": "As tuas subscrições",
+ "hint": "várias contas por CLI",
+ "description": "Tens mais do que um plano para a mesma CLI de programação? Regista cada um aqui e alterna sem terminar sessão — todas as contas continuam válidas lado a lado. O visto marca a conta em que os NOVOS terminais abrem; os terminais que já estão a correr mantêm a conta com que foram iniciados.",
+ "accounts": "registadas",
+ "loading": "A carregar…",
+ "add": "Adicionar conta",
+ "add_confirm": "Adicionar",
+ "cancel": "Cancelar",
+ "name_placeholder": "Nome, p. ex. Conta do trabalho",
+ "use_account": "Usar para novos terminais",
+ "in_use": "em uso",
+ "sign_in": "Iniciar sessão",
+ "rename": "Renomear",
+ "remove": "Remover",
+ "usage": {
+ "title": "Utilização do plano",
+ "used": "usado",
+ "remaining": "restante",
+ "refresh": "Atualizar",
+ "live": "em direto",
+ "cached": "da cache",
+ "as_of": "a",
+ "resets_in": "reinicia em",
+ "kind": {
+ "session": "Limite de 5 horas",
+ "weekly": "Limite semanal",
+ "monthly": "Limite mensal",
+ "rolling": "limite",
+ "other": "Limite"
+ },
+ "state": {
+ "unsupported": "A utilização do plano não está disponível aqui para este fornecedor.",
+ "unavailable": "A utilização não pode ser lida neste momento — volta sozinha."
+ }
+ },
+ "flow": {
+ "starting": "A iniciar a sessão…",
+ "waiting_browser": "À espera que o início de sessão termine no browser…",
+ "link_hint": "Abre esta ligação no browser onde a conta CERTA tem sessão iniciada — para uma segunda subscrição usa uma janela privada ou outro perfil do browser, senão o browser reutiliza silenciosamente a conta com que já tens sessão iniciada.",
+ "copy": "Copiar ligação",
+ "copied": "Ligação copiada.",
+ "copy_failed": "A cópia falhou — seleciona a ligação e copia-a à mão.",
+ "open": "Abrir",
+ "code_placeholder": "Cola aqui o código do browser",
+ "paste": "Colar da área de transferência",
+ "submit": "Confirmar código",
+ "success": "Sessão iniciada.",
+ "retry": "Tentar de novo",
+ "fallback": "Usar antes uma janela de terminal",
+ "cancel": "Cancelar início de sessão",
+ "show_cli": "Mostrar o que a CLI apresenta"
+ },
+ "workspace": {
+ "toast_switched": "Os novos terminais {agent} vão usar {account}.",
+ "chip_title": "Os novos terminais {agent} abrem com {account}. Os painéis já em execução mantêm o seu. Clica para mudar.",
+ "chip_aria": "Mudar a subscrição {agent} que os novos terminais usam",
+ "open_title": "Definições do workspace — escolhe a subscrição que os novos terminais usam",
+ "title": "Definições do workspace",
+ "description": "Liga várias subscrições da mesma CLI de programação e escolhe qual alimenta os novos terminais de agente.",
+ "close": "Fechar definições",
+ "new_terminals": "novos terminais",
+ "note": "A mudança aplica-se a todos os terminais abertos a partir de agora, divisões incluídas — os painéis que já tens mantêm a conta com que começaram, para que nenhum agente em execução perca a conversa. Só um painel cuja subscrição foi escolhida de propósito (no assistente do workspace) passa essa escolha quando o divides."
+ }
+ },
+ "ide_chats": {
+ "workspace_band": "Workspace {n}",
+ "heading": "Workspaces abertos",
+ "active": "Ativo",
+ "no_folder": "Sem pasta",
+ "no_workspaces": "Nenhum workspace aberto.",
+ "no_sessions": "Ainda não há sessões de programação aqui",
+ "new_chat": "Novo chat — escolhe o agente e o modelo no chat",
+ "new_terminal": "Novo terminal aqui",
+ "pick_cli_title": "Abrir um terminal — com quê?",
+ "new_session": "Nova sessão — um workspace sem pasta de projeto",
+ "new_workspace": "Novo workspace — escolhe uma pasta de projeto",
+ "pick_cli_aria": "O que deve correr no novo terminal?",
+ "menu_aria": "O que fazer com esta sessão de programação",
+ "archive": "Arquivar chat",
+ "archive_hint": "Oculta este chat da lista. O terminal continua a correr até o fechares.",
+ "restore": "Restaurar chat",
+ "restore_hint": "Mostrar este chat na lista outra vez.",
+ "close_terminal": "Fechar terminal",
+ "close_hint": "Para este agente e remove o terminal. Não é possível anular.",
+ "archived_section": "Chats arquivados",
+ "archived_count": "Chats arquivados ({n})",
+ "archived_search": "Procurar um chat arquivado",
+ "close_title": "Fechar {name}?",
+ "close_body": "O agente de programação neste terminal é parado e esta sessão desaparece. Tudo o que já escreveu em disco fica.",
+ "close_keep": "Manter aberto",
+ "close_confirm": "Fechar {name}"
+ },
+ "agentic_grid": {
+ "view_switch": {
+ "hint": "Mostrar este workspace como uma conversa ou como a grelha de terminais",
+ "chat": "Chat",
+ "grid": "Grelha",
+ "chat_hint": "Chat — uma das sessões de programação deste workspace, lida como uma conversa.",
+ "grid_hint": "Grelha de terminais — todas as sessões no ecrã ao mesmo tempo."
+ },
+ "toolbar": {
+ "more_controls": "Mais controlos do workspace",
+ "close_controls": "Fechar controlos do workspace"
+ },
+ "even": {
+ "short": "Igualar",
+ "label": "Igualar o tamanho dos terminais",
+ "hint": "Dá a todos os terminais o mesmo tamanho. Nada é movido — os limites igualam-se onde já estão.",
+ "already": "Todos os terminais já têm o mesmo tamanho.",
+ "grid_only": "Os tamanhos igualam-se na grelha de terminais — aqui não há limites para igualar."
+ },
+ "explorer": {
+ "title": "Explorador",
+ "toggle": "Mostrar ou ocultar o explorador do workspace",
+ "resize": "Arrasta para redimensionar o explorador — duplo clique para repor",
+ "refresh": "Atualizar a árvore de ficheiros",
+ "close": "Fechar o explorador",
+ "loading": "A carregar…",
+ "empty": "Pasta vazia",
+ "load_failed": "Não foi possível carregar a pasta.",
+ "open_failed": "Não foi possível abrir o ficheiro.",
+ "open_file": "Abrir na aplicação",
+ "open_unavailable": "Abrir ficheiros está disponível na aplicação de desktop.",
+ "file": "Ficheiro",
+ "folder": "Pasta",
+ "symlink": "Ligação simbólica",
+ "open_hint": "Clica num ficheiro para o abrir aqui no workspace.",
+ "drag_hint": "Clica num ficheiro para o abrir aqui. Arrasta-o para um terminal para o entregar a esse agente.",
+ "truncated": "Esta pasta tem mais entradas do que é possível mostrar de uma vez."
+ },
+ "viewer": {
+ "title": "Pré-visualização do ficheiro",
+ "close": "Fechar pré-visualização do ficheiro",
+ "loading": "A abrir o ficheiro…",
+ "failed": "Não foi possível apresentar este ficheiro.",
+ "empty": "Este ficheiro não tem conteúdo pré-visualizável.",
+ "binary": "Este formato é mostrado como pré-visualização binária.",
+ "remote_image": "Imagem externa bloqueada: {0}",
+ "truncated": "A pré-visualização está truncada porque o ficheiro é grande."
+ },
+ "arrange": {
+ "carrying": "larga-o num terminal",
+ "swap": "Trocar com {0}",
+ "left": "À esquerda de {0}",
+ "right": "À direita de {0}",
+ "above": "Acima de {0}",
+ "below": "Abaixo de {0}",
+ "swap_hint": "· Shift para trocar",
+ "already_there": "{0} já está exatamente aí — nada foi movido."
+ },
+ "history": {
+ "open": "Ver o histórico de prompts de {0}",
+ "title": "Histórico de prompts",
+ "description": "Todos os prompts que {name} enviou para {0}, preservados exatamente como o agente os recebeu.",
+ "close": "Fechar histórico de prompts",
+ "load_failed": "Não foi possível carregar o histórico de prompts.",
+ "retry": "Tentar de novo",
+ "empty_title": "Ainda sem prompts",
+ "empty_detail": "Os prompts enviados para este painel por voz, chat ou pela barra de prompts aparecem aqui.",
+ "count_one": "1 prompt",
+ "count_many": "{0} prompts",
+ "partial": "Prompts anteriores indisponíveis",
+ "prompt_number": "Prompt n.º {0}",
+ "characters": "{0} caracteres",
+ "copy": "Copiar prompt",
+ "copied": "Copiado",
+ "copy_failed": "A cópia falhou",
+ "sent": "Enviado ao agente",
+ "waiting": "À espera de Enter",
+ "unconfirmed": "Entrega não confirmada"
+ },
+ "conversation": {
+ "title": "Histórico de {0}",
+ "description": "A conversa tal como este agente a registou — com uma barra de deslocamento a sério.",
+ "open": "Abrir o histórico de {0}",
+ "close": "Fechar histórico",
+ "refresh": "Recarregar histórico",
+ "load_failed": "Não foi possível carregar o histórico.",
+ "retry": "Tentar de novo",
+ "empty_title": "Ainda sem histórico",
+ "empty_detail": "Quando este agente tiver trocado mensagens, a conversa completa aparece aqui.",
+ "you": "Tu",
+ "agent": "Agente",
+ "steps_one": "1 passo de ferramenta",
+ "steps_many": "{0} passos de ferramenta",
+ "grip_hint": "Clicar: abrir histórico · arrastar: deslocar"
+ },
+ "new_chat": {
+ "title": "Novo chat",
+ "cancel": "Cancelar",
+ "pick_an_agent": "Escolhe primeiro um agente de programação.",
+ "no_pane": "O workspace não comunicou a nova sessão.",
+ "never_started": "{pane} não arrancou — nada foi enviado.",
+ "not_taken": "{pane} não aceitou a mensagem; está à espera na linha de entrada."
+ },
+ "pane_chat": {
+ "open": "Ler {0} como chat",
+ "show_terminal": "Mostrar terminal",
+ "asking_title": "O agente está a perguntar-te algo",
+ "asking_detail": "Perguntas e pedidos de permissão são respondidos no próprio terminal.",
+ "not_readable_title": "Sem registo legível",
+ "not_readable_detail": "Esta CLI não guarda nenhum ficheiro de conversa, por isso só pode ser observada como terminal.",
+ "load_failed": "Não foi possível carregar a conversa.",
+ "reload": "Recarregar a conversa",
+ "not_taken": "{0} não aceitou a mensagem: {1}",
+ "pick_in_terminal": "{0}: quem decide isto é a CLI no painel — altera-o no terminal.",
+ "lock_provider": "Este chat corre em {0}. É num novo chat que se escolhe outro agente de programação.",
+ "lock_pick": "{0} só aceita o seu {1} ao arrancar — é num novo chat que isso muda.",
+ "pick_not_taken": "{0} não foi alterado: {1}",
+ "for_seconds": "há {n}s",
+ "for_minutes": "há {n} min",
+ "for_hours": "há {n} h",
+ "state": {
+ "stopped": "Parado",
+ "unknown": "Estado desconhecido",
+ "working": "A trabalhar",
+ "starting": "A arrancar",
+ "asking": "Precisa de ti",
+ "done": "Concluído",
+ "idle": "Inativo",
+ "live": "Ligado",
+ "exited": "Terminado",
+ "failed": "Falhou",
+ "error": "Inacessível"
+ }
+ },
+ "selection": {
+ "start": "Selecionar terminais",
+ "finish": "Concluir seleção",
+ "hint": "Seleciona painéis de terminal. Ativa isto primeiro e depois clica nos painéis que queres.",
+ "selected_count": "Selecionados: {0}",
+ "select_all": "Selecionar tudo",
+ "clear_all": "Limpar seleção",
+ "close_selected": "Fechar selecionados",
+ "select_terminal": "Selecionar terminal {0}",
+ "deselect_terminal": "Desmarcar terminal {0}",
+ "confirm_title": "Fechar os terminais selecionados?",
+ "confirm_description": "Todos os agentes de programação selecionados são parados e as respetivas sessões de terminal são fechadas. Tudo o que já foi escrito em disco fica.",
+ "will_close": "Vai fechar ({0}):",
+ "cancel": "Manter abertos",
+ "confirm": "Fechar selecionados",
+ "close_failed": "Não foi possível fechar estes terminais: {0}"
+ },
+ "display": {
+ "appearance": "Aspeto do terminal",
+ "light": "Terminais claros",
+ "dark": "Terminais escuros",
+ "text_size": "Tamanho do texto do terminal",
+ "smaller": "Texto do terminal mais pequeno",
+ "larger": "Texto do terminal maior"
+ },
+ "notifications": {
+ "title": "Notificações",
+ "hint": "Terminais que terminaram, perguntaram algo ou pararam.",
+ "hint_unread": "{0} atualização(ões) de terminal que ainda não viste.",
+ "empty": "Nada a reportar — todos os terminais estão a trabalhar ou estão assim desde a última vez que olhaste.",
+ "disabled": "A recolha de novas notificações está desativada nas tuas definições ([agentic_ide].pane_notifications).",
+ "jump": "Ir para o painel",
+ "discard": "Descartar esta notificação",
+ "clear_all": "Descartar todas as notificações",
+ "close": "Fechar",
+ "last_task": "Último pedido: {0}",
+ "kind_completed": "CONCLUÍDO",
+ "kind_needs_input": "PRECISA DE RESPOSTA",
+ "kind_stopped": "PARADO",
+ "kind_exited": "PARADO",
+ "kind_failed": "FALHOU",
+ "gone": "{0} já não está neste workspace — esse terminal foi fechado depois de a notificação chegar."
+ },
+ "voice_bubble": {
+ "assistant_fallback": "Assistente",
+ "button_label": "Bolha de voz",
+ "button_open": "Abrir a bolha de voz — falar com {0}",
+ "button_close": "Fechar a bolha de voz",
+ "ready": "Pronto",
+ "listening": "A ouvir…",
+ "thinking": "A pensar…",
+ "speaking": "A falar",
+ "paused": "Em pausa",
+ "error": "Problema de voz",
+ "hang_up": "Desligar",
+ "hang_up_title": "Terminar a conversa",
+ "talk": "Falar com {0}",
+ "talk_title": "Falar com {0} — ou diz simplesmente a palavra de ativação",
+ "mic_start": "Iniciar uma conversa com {0}",
+ "mic_stop": "Terminar a conversa",
+ "close": "Fechar a bolha de voz",
+ "mute": "Silenciar a voz de {0} nesta sessão",
+ "unmute": "Reativar a voz de {0}",
+ "start_failed": "Não foi possível começar a ouvir — talvez já esteja uma conversa a decorrer.",
+ "notice_jump": "Ir para {0}",
+ "notice_dismiss": "Ocultar esta atualização"
+ },
+ "voice_drop": {
+ "hover": "Larga aqui para o próximo prompt de {0}",
+ "reading": "A ler ficheiros para o próximo prompt de {0}…",
+ "ready_one": "1 ficheiro pronto para o próximo prompt de {1}.",
+ "ready_many": "{0} ficheiros prontos para o próximo prompt de {1}.",
+ "using": "A adicionar {0} ficheiro(s) ao prompt de {1}…",
+ "target_fallback": "um agente",
+ "empty": "O que largaste não continha nenhum ficheiro utilizável.",
+ "no_target": "Abre ou seleciona um terminal de agente antes de anexar um ficheiro.",
+ "choose": "Escolher ficheiros",
+ "remove": "Remover este contexto pendente"
+ },
+ "view_buttons": {
+ "grid_title": "Grelha de terminais — todos os painéis no ecrã ao mesmo tempo.",
+ "chat_title": "Vista de chat — lê um agente de cada vez, como uma conversa."
+ },
+ "focus_mode": {
+ "on_title": "O modo de programação focado está ativo — o teu assistente responde dentro deste workspace. Clica para sair.",
+ "off_title": "Ativa o modo de programação focado — o teu assistente responde dentro deste workspace até voltares a mudar."
+ },
+ "close_workspace": {
+ "aria": "Fechar workspace",
+ "title": "Fechar o workspace e parar todos os agentes nele",
+ "confirm_title": "Fechar este workspace?",
+ "confirm_body_one": "Isto para {count} agente de programação e fecha todas as sessões de terminal. Tudo o que já foi escrito em disco fica.",
+ "confirm_body_other": "Isto para todos os {count} agentes de programação e fecha todas as sessões de terminal. Tudo o que já foi escrito em disco fica.",
+ "keep": "Manter o workspace aberto",
+ "confirm": "Fechar workspace"
+ },
+ "empty_workspace": {
+ "all_closed": "Todos os terminais deste workspace estão fechados.",
+ "open_terminal": "Abrir um terminal",
+ "picker_title": "Abrir um terminal — com quê?",
+ "picker_aria": "O que deve correr no novo terminal?"
+ },
+ "close_pane": {
+ "aria": "Fechar {pane}",
+ "title": "Fechar {pane}?",
+ "body": "O agente de programação que corre neste terminal é parado e a sessão perde-se. Tudo o que já escreveu em disco fica.",
+ "keep": "Manter aberto",
+ "confirm": "Fechar {pane}"
+ },
+ "pane": {
+ "copy_unavailable": "Não foi possível copiar a seleção do terminal neste computador.",
+ "paste_unavailable": "Não foi possível ler a área de transferência neste computador.",
+ "ready_reattached": "continua a correr — retomado onde o deixaste",
+ "ready_resumed": "continuou a conversa anterior",
+ "ready_fresh": "começou uma conversa nova",
+ "drop_empty": "O que largaste não trazia nenhum ficheiro que este painel possa usar.",
+ "starting": "A iniciar {agent}…",
+ "attaching": "A anexar a {pane}…",
+ "drop_hint_before": "Larga para o entregar a ",
+ "drop_hint_after": "",
+ "tip_drag": "Arrasta {pane} por esta barra para o mover.",
+ "tip_restore": "Faz duplo clique para o repor.",
+ "tip_fill": "Faz duplo clique para ocupar todo o workspace.",
+ "tip_restore_named": "Faz duplo clique para repor {pane} na grelha.",
+ "tip_fill_named": "Faz duplo clique para que {pane} ocupe todo o workspace.",
+ "move": "Mover {pane}",
+ "rename": "Mudar o nome de {pane}",
+ "rename_save": "Guardar o nome de {pane}",
+ "rename_cancel": "Cancelar a mudança de nome de {pane}",
+ "running_on_account": "A correr em {account}",
+ "review_changes": "Rever as alterações de {pane}",
+ "restore": "Restaurar {pane}",
+ "maximize": "Maximizar {pane}",
+ "split_right": "Abrir outro terminal ao lado de {pane}",
+ "split_down": "Dividir {pane} e abrir um terminal por baixo",
+ "split_right_picker": "Abrir ao lado — com quê?",
+ "split_down_picker": "Dividir por baixo — com quê?",
+ "split_right_picker_aria": "O que deve correr ao lado de {pane}?",
+ "split_down_picker_aria": "O que deve correr por baixo de {pane}?",
+ "unreachable": "Não foi possível contactar {pane}.",
+ "exited_detail": "{agent} {detail}",
+ "exited": "{agent} já não está a correr em {pane}.",
+ "restart_aria": "Reiniciar {pane}",
+ "restart_title": "Iniciar um {agent} novo em {pane}",
+ "restart": "Reiniciar"
+ }
+ },
+ "prompt_writer": {
+ "title": "Quem escreve as instruções das tarefas",
+ "description": "Quando dizes uma instrução a um painel, um modelo transforma-a primeiro numa instrução escrita. Escolhe qual: o teu Modelo de Ferramentas, faturado por token na respetiva chave de API, ou uma CLI de programação que já subscreves.",
+ "connected_clis": "CLIs de programação ligadas",
+ "not_connected": "Sem sessão iniciada nesta máquina",
+ "tool_model_unset": "Ainda não foi selecionado nenhum Modelo de Ferramentas",
+ "loading": "A ler a definição atual...",
+ "unavailable": "Não foi possível ler a definição atual.",
+ "save_failed": "Não foi possível guardar essa escolha."
+ },
+ "session_turn": {
+ "polished": "arrumado",
+ "show_original": "Mostrar o que foi realmente dito",
+ "hide_original": "Ocultar o original"
+ },
+ "visualization": {
+ "title": "Artefactos",
+ "subtitle": "Tudo o que as tuas execuções produziram, desenhado tal como é — abre um para o ver em tamanho completo, com a fonte, os ficheiros e a execução a um separador de distância",
+ "refresh": "Atualizar",
+ "rail": "Artefactos e execuções",
+ "building": "A construir…",
+ "building_title": "A construir “{0}”",
+ "building_body": "Um agente em segundo plano está a escrever a página. Aparece aqui assim que estiver pronta — normalmente em um ou dois minutos.",
+ "older_not_scanned": "Só as {0} execuções mais recentes foram analisadas à procura de páginas e imagens — as mais antigas aparecem como execuções e são lidas quando as abres.",
+ "tab_preview": "Pré-visualização",
+ "tab_code": "Código",
+ "tab_files": "Ficheiros",
+ "tab_run": "Execução",
+ "rail_filter": "Mostrar",
+ "filter_all": "Tudo",
+ "filter_artifacts": "Artefactos",
+ "filter_outputs": "Resultados",
+ "nav_library": "Biblioteca",
+ "filter_pages": "Páginas",
+ "filter_images": "Imagens",
+ "filter_documents": "Documentos",
+ "filter_suggested": "Sugeridos",
+ "filter_favorites": "Favoritos",
+ "view_label": "Disposição",
+ "view_wall": "Mural",
+ "view_list": "Lista",
+ "display_options": "Opções de visualização",
+ "tile_size": "Tamanho dos mosaicos",
+ "size_s": "Pequeno",
+ "size_m": "Médio",
+ "size_l": "Grande",
+ "labels_title": "Títulos",
+ "labels_hover": "Ao passar o rato",
+ "labels_always": "Sempre",
+ "favorite_add": "Adicionar aos favoritos",
+ "favorite_remove": "Remover dos favoritos",
+ "favorites_empty_title": "Ainda sem favoritos",
+ "favorites_empty_body": "Marca um artefacto com a estrela e ele fica aqui, venha o que vier depois.",
+ "search_placeholder": "Pesquisar artefactos",
+ "sort_label": "Ordenar",
+ "sort_newest": "Mais recentes primeiro",
+ "sort_oldest": "Mais antigos primeiro",
+ "sort_name": "Nome A–Z",
+ "group_active": "Em curso",
+ "group_today": "Hoje",
+ "group_yesterday": "Ontem",
+ "group_week": "No início desta semana",
+ "group_month": "No início deste mês",
+ "group_earlier": "Mais antigos",
+ "group_all": "Todos os artefactos",
+ "kind_page": "Página",
+ "kind_image": "Imagem",
+ "kind_vector": "Gráfico vetorial",
+ "kind_document": "PDF",
+ "back": "Todos os artefactos",
+ "previous": "Anterior",
+ "next": "Seguinte",
+ "position": "{0} de {1}",
+ "no_matches_title": "Nada corresponde",
+ "no_matches_body": "Experimenta outra palavra ou procura noutra categoria.",
+ "category_empty_title": "Ainda nada nesta categoria",
+ "category_empty_body": "Pede um dashboard, um diagrama ou um relatório e ele aparece aqui.",
+ "files_count": "{0} ficheiros",
+ "file_one": "1 ficheiro",
+ "output_kind": "Resultado",
+ "preview_answer": "Resposta",
+ "preview_deliverables": "Ficheiros",
+ "preview_nothing": "Esta execução não deixou nem resposta nem ficheiros.",
+ "preview_open_in_files": "Abrir em Ficheiros",
+ "preview_open_in_files_hint": "Este ficheiro não é desenhado na página — abre-o em Ficheiros.",
+ "preview_too_large": "Demasiado grande para desenhar na página — abre-o em Ficheiros.",
+ "preview_show_source": "Mostrar fonte",
+ "preview_hide_source": "Ocultar fonte",
+ "preview_lines": "{0} linhas",
+ "preview_line_one": "1 linha",
+ "preview_defines": "Define",
+ "preview_files_changed": "{0} ficheiros alterados",
+ "preview_file_changed_one": "1 ficheiro alterado",
+ "preview_json_object": "Objeto · {0} chaves",
+ "preview_json_array": "Lista · {0} entradas",
+ "preview_more_files": "Mais {0} ficheiros em Ficheiros.",
+ "status_word_success": "Concluído",
+ "status_word_error": "Falhou",
+ "status_word_running": "Em execução",
+ "status_word_cancelled": "Cancelado",
+ "status_word_unknown": "Desconhecido",
+ "stage_tabs": "Como ver este artefacto",
+ "open_external_hint": "Abrir este artefacto no browser — janela completa, partilhável, imprimível.",
+ "page_sandbox_note": "Corre numa sandbox: os scripts da própria página funcionam, a rede está desligada.",
+ "source_failed": "Não foi possível ler a fonte deste artefacto.",
+ "empty_title": "Ainda nada aqui",
+ "empty_body": "Tudo o que o teu assistente e os seus agentes produzem vem parar aqui — pede um artefacto (“visualiza isto”, “faz um dashboard disto”) ou lança qualquer tarefa, e aparece assim que a execução começar.",
+ "error_title": "Não foi possível ler o arquivo de execuções",
+ "error_body": "A lista de execuções está indisponível neste momento. Tenta de novo daqui a pouco.",
+ "legend": "Faixa de cima: a execução passo a passo — pensamentos, ações, subagentes, resultado. Faixa de baixo: os ficheiros que deixou. Clica num nó para o inspecionar.",
+ "no_steps": "Não sobreviveu nenhum registo de passos desta execução — a mostrar o pedido e os entregáveis.",
+ "steps_dropped": "Execução longa: mais {0} passos não são desenhados.",
+ "node_start": "Pedido",
+ "node_result": "Resultado",
+ "cat_trigger": "Gatilho",
+ "cat_reasoning": "Raciocínio",
+ "cat_terminal": "Comando",
+ "cat_file": "Ficheiro",
+ "cat_search": "Pesquisa",
+ "cat_web": "Web",
+ "cat_integration": "Integração",
+ "cat_agent": "Agente",
+ "cat_tool": "Ferramenta",
+ "cat_result": "Resultado",
+ "cat_deliverable": "Entregável",
+ "field_thought": "Pensamento",
+ "status_done": "Concluído",
+ "status_failed": "Falhou",
+ "status_running": "Em execução",
+ "status_skipped": "Sem resultado confirmado",
+ "field_tool": "Ferramenta",
+ "field_detail": "Chamada",
+ "field_output": "Resultado",
+ "field_error": "Erro",
+ "field_status": "Estado",
+ "field_duration": "Duração",
+ "field_attempts": "Tentativas",
+ "field_request": "Pedido",
+ "field_answer": "Resposta",
+ "field_file": "Ficheiro",
+ "field_size": "Tamanho",
+ "close": "Fechar",
+ "open_map_page": "Abrir como página",
+ "open_map_page_hint": "Abrir o mapa da missão desta execução como página autónoma no browser — partilhável e imprimível.",
+ "render_failed": "Não foi possível apresentar este ficheiro. Abre-o antes no browser ou no ambiente de trabalho.",
+ "sandbox_note": "Apenas pré-visualização: scripts e conteúdo externo estão bloqueados. Abre-o no browser para ver a página completa.",
+ "zoom_in": "Ampliar",
+ "zoom_out": "Reduzir",
+ "zoom_reset": "Repor zoom a 100%",
+ "zoom_fit": "Ajustar toda a execução à vista",
+ "open_external": "Abrir no browser",
+ "download": "Guardar uma cópia",
+ "reveal": "Mostrar na pasta",
+ "reveal_failed": "Não foi possível mostrar esse ficheiro na pasta.",
+ "menu_aria": "Ações do artefacto",
+ "menu_open": "Abrir",
+ "delete": "Eliminar",
+ "delete_title": "Eliminar “{name}”?",
+ "delete_body_file": "Este artefacto é removido do teu computador de vez. Não é possível anular.",
+ "delete_body_run": "Esta execução e tudo o que produziu são removidos do teu computador de vez. Não é possível anular.",
+ "delete_cancel": "Manter",
+ "delete_confirm": "Eliminar",
+ "deleted": "Eliminado.",
+ "delete_failed": "Não foi possível eliminar.",
+ "delete_running": "Esta execução ainda está a trabalhar. Para-a primeiro e depois elimina-a.",
+ "open_from_agent": "Artefactos",
+ "open_from_agent_hint": "Mostrar as páginas e imagens que as últimas execuções produziram.",
+ "summary": "Resumo"
+ },
+ "marketplace_origin": {
+ "badge": "Marketplace",
+ "tooltip": "Instalado a partir do marketplace",
+ "view_source": "ver anúncio"
+ },
+ "skill_upload": {
+ "blocked": "Não pode ser instalada tal como está.",
+ "button": "Carregar",
+ "title": "Adicionar uma skill",
+ "subtitle": "Carrega uma skill tua ou obtém uma a partir de uma ligação.",
+ "source_files_title": "Carregar ficheiros",
+ "source_files_desc": "Uma pasta de skill com SKILL.md, ou um arquivo .zip desta máquina.",
+ "source_files_action": "Escolher pasta",
+ "source_link_title": "Obter a partir de uma ligação",
+ "source_link_desc": "Carrega um único SKILL.md a partir de um endereço, por exemplo de um repositório GitHub.",
+ "source_link_action": "Colar uma ligação",
+ "back": "Voltar às opções",
+ "drop_title": "Larga aqui uma pasta de skill",
+ "drop_hint": "Uma pasta com SKILL.md, ou um arquivo .zip / .tar.gz.",
+ "choose_folder": "Escolher pasta",
+ "choose_archive": "Escolher arquivo",
+ "link_label": "Endereço do SKILL.md",
+ "link_hint": "Só é lido o primeiro endereço do texto — por isso um comando colado também funciona.",
+ "install": "Instalar",
+ "inspecting": "A ler o carregamento",
+ "files": "ficheiros",
+ "replace": "Substituir",
+ "clear": "Descartar",
+ "no_skill_detected": "Este carregamento não contém nenhum SKILL.md legível.",
+ "lint_title": "A verificação de segurança encontrou algo.",
+ "lint_body": "A skill fica como rascunho e só corre quando a ativares.",
+ "ignored": "Excluídos",
+ "blocker_no_files": "Ainda nada escolhido.",
+ "will_land_as_draft": "Vai ficar como rascunho.",
+ "ready": "Pronta para instalar."
+ },
+ "plugin_upload": {
+ "blocked": "Não pode ser instalado tal como está.",
+ "button": "Carregar",
+ "title": "Adicionar um plugin",
+ "subtitle": "Carrega um manifesto de plugin teu — um plugin.json, opcionalmente com um mcp.json.",
+ "drop_title": "Larga aqui uma pasta de plugin",
+ "drop_hint": "Uma pasta com plugin.json, ou um arquivo .zip / .tar.gz.",
+ "choose_folder": "Escolher pasta",
+ "choose_archive": "Escolher arquivo",
+ "install": "Instalar",
+ "inspecting": "A ler o carregamento",
+ "files": "ficheiros",
+ "replace": "Substituir",
+ "clear": "Descartar",
+ "auth_mode": "Início de sessão",
+ "with_mcp": "com um servidor MCP",
+ "no_plugin_detected": "Este carregamento não contém nenhum plugin.json legível.",
+ "self_badge": "Adicionado por ti",
+ "unreviewed": "Carregado por ti: ninguém reviu este plugin e não tem editor.",
+ "blocker_no_files": "Ainda nada escolhido.",
+ "ready": "Pronto para instalar."
+ },
+ "deck": {
+ "sections": "Secções",
+ "running": "Em execução agora",
+ "thinking_now": "A pensar",
+ "thinking_starting": "A arrancar…",
+ "idle_headline": "Diz “{0}” — ou clica na mascote.",
+ "orb_call": "Começa a falar — o mesmo que dizer “{0}”.",
+ "orb_hangup": "Terminar a conversa.",
+ "warming": "A arrancar. Poderás falar daqui a pouco.",
+ "mood_ready": "pronto",
+ "mood_busy": "a trabalhar",
+ "mood_listening": "a ouvir",
+ "mood_fail": "problema",
+ "mood_offline": "offline",
+ "stat_brain": "Cérebro",
+ "stat_realtime": "Tempo real",
+ "stat_model": "Modelo",
+ "stat_running": "Em execução",
+ "switch_to_classic": "Chat clássico",
+ "switch_to_deck": "Deck",
+ "open_section": "Abrir secção",
+ "unavailable": "Indisponível de momento",
+ "card_runs": "Execuções",
+ "runs_empty": "Ainda sem execuções.",
+ "outputs_empty": "Ainda sem resultados.",
+ "card_ide": "Workspace de programação",
+ "ide_empty": "Nenhum workspace aberto.",
+ "card_terminals": "Terminais",
+ "terminals_empty": "Ainda sem comandos.",
+ "card_wiki": "Wiki",
+ "card_shot": "Captura de ecrã",
+ "shot_empty": "Sem captura de momento.",
+ "shot_redacted": "{0} ocultados",
+ "card_api": "API nesta sessão",
+ "api_empty": "Ainda sem turnos do cérebro.",
+ "api_in": "Entrada",
+ "api_out": "Saída",
+ "api_cost": "Custo",
+ "turns": "turnos",
+ "api_cache_hit": "acerto na cache",
+ "words_live": "palavras · em direto",
+ "words_session": "palavras · sessão",
+ "words_today": "{0} hoje",
+ "mood_speaking": "a falar",
+ "wiki_expand": "Expandir mapa",
+ "wiki_collapse": "Reduzir mapa",
+ "close": "Fechar",
+ "wiki_expanded_note": "O mapa está expandido",
+ "wiki_pages": "páginas",
+ "wiki_links": "ligações",
+ "wiki_recent": "Alterada agora",
+ "lamp_link": "ligação",
+ "lamp_voice": "voz",
+ "lamp_brain": "cérebro",
+ "lamp_cu": "controlo",
+ "orb_steps": "passos",
+ "orb_words": "palavras",
+ "card_log": "Registo",
+ "log_kind_boot": "arranque",
+ "log_kind_wake": "ativação",
+ "log_kind_hear": "ouvir",
+ "log_kind_think": "pensar",
+ "log_kind_done": "feito",
+ "log_kind_tool": "ferramenta",
+ "log_kind_say": "dizer",
+ "log_kind_worker": "agente",
+ "log_kind_control": "ecrã",
+ "log_kind_look": "olhar",
+ "log_kind_memory": "memória",
+ "log_kind_error": "erro",
+ "log_kind_note": "nota",
+ "log_voice_ready": "voz pronta",
+ "log_brain_switched": "cérebro alterado",
+ "log_wake": "palavra de ativação",
+ "log_hotkey": "atalho",
+ "log_session_ended": "sessão terminada · {turns} turnos",
+ "log_hear_more": "…e",
+ "log_typed": "escrito",
+ "log_first_token": "primeiro token",
+ "log_done": "{in} entrada · {out} saída · {cost}",
+ "log_denied": "recusado",
+ "log_ack": "resposta rápida",
+ "log_first_audio": "primeiro áudio",
+ "log_ack_audio": "resposta rápida audível",
+ "log_progress": "atualização",
+ "log_worker": "agente em segundo plano",
+ "log_control": "assumiu o ecrã",
+ "log_control_ended": "devolveu o ecrã",
+ "log_look": "olhou para o ecrã",
+ "log_look_redacted": "olhou para o ecrã · {n} ocultados",
+ "log_memory": "escreveu na memória",
+ "log_now_offline": "sem ligação ao assistente",
+ "log_now_warming": "a voz está a arrancar",
+ "log_now_idle": "à escuta da palavra de ativação",
+ "log_now_hear": "a ouvir",
+ "log_now_think": "a pensar",
+ "log_now_act": "a agir",
+ "log_now_speak": "a falar",
+ "log_quiet_for": "em silêncio há {0}",
+ "log_open_section": "Abrir sessões",
+ "card_turn": "Resposta",
+ "turn_empty": "Ainda sem resposta.",
+ "turn_phase_hear": "ouvir",
+ "turn_phase_think": "pensar",
+ "turn_phase_act": "agir",
+ "turn_phase_speak": "falar",
+ "turn_stt": "transcrição",
+ "turn_ack": "resposta rápida",
+ "turn_first_token": "primeiro token",
+ "turn_first_audio": "primeiro áudio",
+ "turn_brain": "cérebro",
+ "turn_tools": "ferramentas",
+ "turn_words": "palavras",
+ "turn_attempts": "tentativas",
+ "turn_screen": "ecrã",
+ "turn_last": "último",
+ "turn_live": "em direto",
+ "turn_quiet": "silêncio",
+ "turn_since_anchor": "depois de acabares de falar",
+ "shot_earlier": "Antes nesta sessão",
+ "shot_fades": "desaparece em {0}",
+ "ide_running": "Em execução",
+ "ide_idle": "Inativo",
+ "ide_open_pane": "Abrir este terminal",
+ "ide_state_working": "a trabalhar",
+ "ide_state_starting": "a arrancar",
+ "ide_state_waiting": "à espera",
+ "ide_state_asking": "a perguntar-te",
+ "ide_state_failed": "falhou",
+ "ide_state_exited": "terminou",
+ "ide_state_idle": "inativo",
+ "boot_phase": "sequência de arranque",
+ "boot_title": "{name} a arrancar",
+ "boot_gate_link": "ligação",
+ "boot_gate_voice": "voz",
+ "boot_gate_brain": "cérebro",
+ "boot_gate_wake": "ativação",
+ "boot_link_pending": "a ligar ao assistente",
+ "boot_link_ok": "ligado",
+ "boot_voice_pending": "a iniciar o sistema de voz",
+ "boot_voice_ok": "voz pronta",
+ "boot_brain_pending": "a ler o cérebro",
+ "boot_brain_off": "nenhum cérebro configurado — abre Chaves de API",
+ "boot_wake_pending": "a preparar a palavra de ativação",
+ "boot_wake_ok": "à escuta de “{0}”",
+ "boot_wake_off": "palavra de ativação desligada — a mascote ou o atalho iniciam uma conversa",
+ "standby_since": "desde {0}",
+ "open_board": "Abrir o painel"
+ },
+ "marketplace": {
+ "title": "Marketplace",
+ "loading": "A carregar o índice do marketplace…",
+ "refresh": "Obter o índice de novo",
+ "open_web": "Loja",
+ "search_placeholder": "Pesquisar plugins, skills e agentes…",
+ "subtitle_count": "{count} entradas publicadas",
+ "subtitle_revision": "índice {revision}",
+ "filter_all": "Tudo",
+ "filter_plugins": "Plugins",
+ "filter_skills": "Skills",
+ "status_stale": "A mostrar o último índice transferido — não foi possível contactar o registo agora.",
+ "status_unavailable": "Não foi possível contactar o registo e ainda não há nada em cache. Tenta de novo quando estiveres online.",
+ "status_disabled": "O índice da comunidade está desativado nesta instalação.",
+ "shelf_plugins": "Plugins",
+ "shelf_plugins_hint": "Liga um serviço externo e as suas ferramentas",
+ "shelf_skills": "Skills",
+ "shelf_skills_hint": "Instruções que ensinam uma nova forma de trabalhar",
+ "installed": "Instalado",
+ "entry_unreadable": "O manifesto desta entrada não pode ser lido por esta versão.",
+ "empty": "Ainda não há nada publicado nesta categoria.",
+ "empty_search": "Nada corresponde a “{query}”.",
+ "empty_clear": "Limpar a pesquisa",
+ "publish_hint": "Criaste algo que vale a pena partilhar? Publica-o a partir da aplicação com o teu nome do GitHub — ou partilha um agente a partir do seu cartão.",
+ "publish_cta": "Publicar o teu",
+ "close": "Fechar",
+ "kind_plugin": "Plugin",
+ "kind_skill": "Skill",
+ "unreviewed_note": "Publicado por um membro da comunidade e integrado por verificações automáticas — ninguém o reviu à mão. Os ficheiros abaixo são exatamente o que é instalado.",
+ "view_source": "Abrir o repositório de origem",
+ "files": "Ficheiros publicados",
+ "files_loading": "A ler o pacote publicado…",
+ "files_none": "Esta entrada não publica ficheiros de texto legíveis.",
+ "files_truncated": "… truncado",
+ "install": "Instalar",
+ "already_installed": "Já instalado — encontras na sua própria secção.",
+ "landed_title": "{title} instalado",
+ "landed_plugin": "Já está em Plugins. Liga-o para começares a usá-lo.",
+ "landed_skill": "Já está em Skills e pode ser usada de imediato.",
+ "landed_needs_connect": "Instalado, mas ainda não utilizável: falta ligá-lo.",
+ "sends_data_to": "Depois de ligado, os pedidos e o teu token de acesso vão para:",
+ "runs_command": "Depois de ligado, este comando corre no teu computador:",
+ "metadata_only": "Só metadados — não adiciona nenhum servidor nem executa nenhum comando.",
+ "sign_in_method": "Método de início de sessão",
+ "portable_skill": "Skill portátil — também corre em",
+ "portable_any": "outros agentes que leem SKILL.md",
+ "seed_conflict": "Já existe um plugin com este nome incluído na aplicação. Instalar este substitui-o.",
+ "landed_open": "Mostrar",
+ "filter_agents": "Agentes",
+ "shelf_agents": "Agentes",
+ "shelf_agents_hint": "Colegas prontos a usar, com uma função e instruções próprias",
+ "kind_agent": "Agente",
+ "landed_agent": "Já faz parte da tua equipa e corre no teu próprio modelo. Abre Agentes para falares com ele.",
+ "agent_model": "Corre no teu próprio modelo — não traz nada das contas ou definições do editor.",
+ "agent_focus": "Recorre primeiro a",
+ "agent_asks": "Pergunta sempre antes de",
+ "agent_asks_default": "Pergunta-te antes de agir até alterares isso.",
+ "agent_instructions": "As suas instruções permanentes",
+ "import_agent": "Importar um ficheiro de agente",
+ "import_failed": "Não foi possível importar esse ficheiro: {error}",
+ "request_failed": "O pedido ao marketplace falhou ({status})",
+ "refresh_failed": "A atualização falhou ({status})",
+ "install_failed": "A instalação falhou ({status})",
+ "contents_failed": "Não foi possível ler essa entrada ({status})",
+ "err_identity_start": "Não foi possível iniciar o início de sessão ({status})",
+ "err_identity_failed": "o início de sessão falhou"
+ },
+ "costs_view": {
+ "title": "Gastos e Tokens",
+ "subtitle": "{entries} chamadas · {models} modelos · {providers} fornecedores",
+ "subtitle_loading": "A ler quanto custou cada fornecedor, modelo e função",
+ "range_label": "Intervalo de tempo",
+ "area": {
+ "all": "Geral",
+ "jarvis": "{name}",
+ "agentic_ide": "Agentic IDE",
+ "jarvis_voice": "{name} Voz"
+ },
+ "area_label": "Que parte da aplicação mostrar",
+ "role_filter_label": "Filtrar pelo que o modelo estava a fazer",
+ "range_days": "{days}d",
+ "range_all": "Tudo",
+ "currency_label": "Moeda",
+ "search": "Pesquisar",
+ "search_placeholder": "Modelo, fornecedor ou sessão…",
+ "refresh": "Atualizar",
+ "clear_filters": "Limpar filtros",
+ "load_error": "Não foi possível ler os gastos. Esta secção lê as bases de dados da própria aplicação — se continuar a falhar, a pasta de dados está inacessível.",
+ "index_catching_up": "Ainda a contabilizar as CLIs de programação: {indexed} de {known} transcrições lidas, faltam {pendingMb} MB. Todos os números desta página continuam a subir até isso terminar.",
+ "stat_total": "Gasto total",
+ "stat_total_hint": "{perDay} por dia em média",
+ "stat_total_hint_seat": "{billed} faturado em chaves de API · {seat} coberto por subscrições",
+ "stat_tokens": "Tokens",
+ "stat_tokens_hint": "{in} entrada · {out} saída",
+ "stat_tokens_hint_cached": "{in} entrada · {cached} em cache · {out} saída",
+ "stat_top_provider": "Maior gasto",
+ "stat_top_provider_hint": "{amount} · {share} do total",
+ "stat_none": "Ainda nada registado",
+ "stat_gap": "Tokens sem preço",
+ "stat_gap_hint": "{entries} chamadas a uma tarifa que ninguém publica",
+ "stat_gap_none": "Todos os tokens têm preço",
+ "trend_title": "Ao longo do tempo",
+ "trend_subtitle": "{from} → {to}",
+ "chart_include_ide": "Incluir Agentic IDE",
+ "metric_label": "Métrica",
+ "metric_cost": "Custo",
+ "metric_tokens": "Tokens",
+ "chart_empty": "Nada gasto neste intervalo.",
+ "chart_loading": "A ler o registo…",
+ "total": "Total",
+ "tokens_in": "Entrada",
+ "tokens_out": "Saída",
+ "tokens_cached": "Em cache",
+ "breakdown_title": "Detalhe",
+ "breakdown_subtitle": "Clica numa linha para filtrar toda a secção por ela.",
+ "breakdown_empty": "Nenhum gasto corresponde a estes filtros.",
+ "dimension_label": "Agrupar por",
+ "dim_provider": "Fornecedor",
+ "dim_model": "Modelo",
+ "dim_role": "Função",
+ "dim_surface": "Superfície",
+ "col_share": "Quota",
+ "col_cost": "Custo",
+ "col_calls": "Chamadas",
+ "billing_label": "Que gastos mostrar",
+ "top_refs_subtitle_counted": "As {shown} mais caras de {total} conversas, chats e missões — {share} do total. Clica numa para filtrar por ela.",
+ "billing": {
+ "all": "Tudo",
+ "billed": "Faturado em chaves",
+ "subscription": "Em subscrições"
+ },
+ "speech_area_note": "Ouvir e falar são faturados em segundos de áudio e caracteres — nunca em tokens. Um modelo speech-to-speech não tem ouvido nem boca separados, por isso os seus turnos ficam em {name} → Voz em tempo real. Uma linha a $0.00 é um motor local (gratuito) ou um fornecedor que não publica tarifa — a coluna Tarifa indica qual.",
+ "col_rate": "Tarifa",
+ "stat_total_hint_seat_only": "Equivalente em API — totalmente coberto por subscrições, nada faturado numa chave",
+ "empty_filtered": "Nada corresponde nesta área com os filtros ativos.",
+ "empty_filtered_action": "Manter a área, remover os filtros",
+ "speech_models_title": "Modelos de voz",
+ "speech_models_subtitle": "O que cada ouvido e boca consumiu, ao preço da API on-demand do fornecedor — como se cada chamada fosse faturada separadamente.",
+ "speech_models_empty": "Nenhum modelo de voz correu neste período. Modelos speech-to-speech não têm ouvido nem boca separados e nunca aparecem aqui.",
+ "col_heard": "Ouvido",
+ "col_spoken": "Falado",
+ "col_api_cost": "Custo de API",
+ "col_per_call": "Por chamada",
+ "col_when": "Quando",
+ "col_what": "O quê",
+ "col_price_source": "Preço",
+ "col_tokens": "Entrada / Saída",
+ "top_refs_title": "Para onde foi",
+ "top_refs_subtitle": "As conversas, chats e missões mais caras. Clica numa para filtrar por ela.",
+ "top_refs_empty": "Ainda nada neste intervalo.",
+ "col_session": "Conversa",
+ "dim_ref": "Conversa",
+ "entries_title": "Itens",
+ "entries_subtitle": "A mostrar {shown} de {total}",
+ "entries_empty": "Nenhuma chamada corresponde a estes filtros.",
+ "sort_label": "Ordenar",
+ "sort_recent": "Mais recentes",
+ "sort_cost": "Mais caras",
+ "sort_tokens": "Mais tokens",
+ "load_more": "Mostrar mais {count}",
+ "daily_title": "Relatório diário",
+ "daily_subtitle": "Uma entrada por dia. Abre um dia para ver para onde foram o dinheiro e os tokens.",
+ "daily_empty": "Nenhum dia neste intervalo teve gastos.",
+ "daily_today": "Hoje",
+ "daily_yesterday": "Ontem",
+ "daily_more_models": "+{count}",
+ "col_day": "Dia",
+ "col_models": "Modelos usados",
+ "day_open": "Abrir {day}",
+ "day_back": "Todos os dias",
+ "day_byline": "{calls} chamadas · {models} modelos · {providers} fornecedores",
+ "day_byline_window": "{from} a {to}",
+ "day_share_of_range": "{share} do intervalo",
+ "day_stat_worth": "Quanto valeu o dia",
+ "day_stat_worth_hint": "Todas as chamadas ao preço de tabela do fornecedor",
+ "day_stat_billed": "Faturado em chaves de API",
+ "day_stat_billed_hint": "Dinheiro que saiu mesmo de uma conta",
+ "day_stat_seat": "Coberto por um lugar",
+ "day_stat_seat_hint": "Aritmética real sobre tokens reais — nenhuma fatura o inclui",
+ "day_stat_seat_none": "Nada em subscrição hoje",
+ "day_hours_title": "Ao longo do dia",
+ "day_hours_subtitle": "Hora a hora, empilhado pelo que o modelo estava a fazer",
+ "day_models_title": "Que modelos fizeram o trabalho",
+ "day_models_subtitle": "Todos os modelos usados no dia, do maior para o menor — seja qual for o fornecedor",
+ "day_tokens_title": "Como foram gastos os tokens",
+ "day_tokens_subtitle": "Entrada nova, leituras da cache e tudo o que os modelos escreveram de volta",
+ "day_split_title": "Onde na aplicação",
+ "day_split_subtitle": "O mesmo dia dividido por área e pelo que o modelo estava a fazer",
+ "day_calls_title": "Todas as chamadas do dia",
+ "rates_title": "Tabela de tarifas",
+ "rates_subtitle": "por milhão de tokens",
+ "rates_empty": "Nenhum modelo visto neste intervalo.",
+ "rate_in": "Entrada",
+ "rate_out": "Saída",
+ "rate_audio": "Áudio entrada / saída",
+ "rate_unknown": "sem tarifa",
+ "rate_from_config": "a tua tarifa configurada",
+ "rate_default": "tarifa predefinida",
+ "footnote": "Lido de {sources}. {estimated} do total foi calculado aqui a partir das tabelas de tarifas em vez de reportado pelo fornecedor. EUR convertido a {rate} ({rateSource}).",
+ "role": {
+ "background": "Tarefa em segundo plano",
+ "realtime": "Voz em tempo real",
+ "tool": "Modelo de ferramentas",
+ "pipeline": "Cérebro do pipeline",
+ "agent": "Agente de programação",
+ "worker": "Worker de missão",
+ "stt": "Voz para texto",
+ "tts": "Texto para voz"
+ },
+ "surface": {
+ "background": "Nos bastidores",
+ "voice": "Voz",
+ "agent_chat": "Chat de agente",
+ "mission": "Missão",
+ "agentic_ide": "Agentic IDE",
+ "jarvis_voice": "{name} Voz"
+ },
+ "price_source": {
+ "recorded": "Faturado",
+ "derived": "Estimado",
+ "free": "Gratuito",
+ "unknown": "Sem preço",
+ "subscription": "Subscrição"
+ },
+ "tokens_in_out": "{input} entrada / {output} saída"
+ },
+ "all_chats": {
+ "title": "Todos os chats",
+ "description": "Todas as conversas — faladas e escritas. Pesquisa-as ou continua onde ficaste.",
+ "close": "Fechar",
+ "search_placeholder": "Pesquisar chats…",
+ "filter_all": "Tudo",
+ "filter_chats": "Chats",
+ "filter_voice": "Voz",
+ "empty": "Ainda sem conversas. Diz algo ou inicia um chat.",
+ "no_match": "Nada corresponde a essa pesquisa.",
+ "group_today": "Hoje",
+ "group_yesterday": "Ontem",
+ "group_week": "Últimos 7 dias",
+ "group_month": "Últimos 30 dias",
+ "group_older": "Mais antigos"
+ },
+ "voice_thread": {
+ "untitled": "Sessão de voz",
+ "subtitle": "Conversa falada · {count} turnos",
+ "empty": "Nada foi registado nesta sessão.",
+ "read_only": "Uma conversa falada. Continua-a a falar.",
+ "continue": "Continuar por voz",
+ "continue_busy": "Não foi possível iniciar a chamada. Termina a chamada em curso ou traz a aplicação para a frente e tenta de novo."
+ },
+ "ready_note": {
+ "title": "Tudo pronto.",
+ "body": "Raciocínio, ferramentas, agentes e {0} estão configurados. Diz a tua palavra de ativação — ou começa simplesmente a escrever.",
+ "go": "Vamos lá",
+ "mode_realtime": "voz em direto",
+ "mode_pipeline": "voz de entrada e saída"
+ },
+ "society": {
+ "lead": {
+ "tab": "Líder",
+ "loading": "A carregar a equipa…",
+ "none_title": "Esta equipa ainda não tem líder",
+ "none_body": "Um líder é um agente que gere a equipa por ti. Dás um objetivo à equipa; o líder divide-o em tarefas, entrega-as aos membros, verifica o que regressa e informa-te quando estiver concluído.",
+ "create": "Criar um líder",
+ "pick": "Ou torna um membro líder",
+ "pick_placeholder": "Escolhe um membro",
+ "make": "Tornar líder",
+ "role": "Líder da equipa",
+ "rail": "Líder: {0}",
+ "open_chat": "Abrir chat",
+ "change": "Alterar",
+ "remove": "Remover líder",
+ "unavailable": "Este líder está em pausa ou foi eliminado. Escolhe outro.",
+ "working": "{0} está a tratar disso…",
+ "goal_label": "Novo objetivo para a equipa",
+ "goal_placeholder": "O que deve a equipa alcançar?",
+ "goal_hint": "{0} planeia, distribui as tarefas e dá-te o ponto da situação.",
+ "goal_send": "Dar objetivo",
+ "goals": "Objetivos",
+ "goals_empty": "Nenhum objetivo em aberto. Dá um à equipa e {0} trata do resto.",
+ "finished": "Concluídos ({0})",
+ "tasks_none": "{0} está a planear o trabalho.",
+ "report": "Relatório de {0}",
+ "question": "{0} pergunta",
+ "answer_placeholder": "A tua resposta para {0}",
+ "message_placeholder": "Diz algo a {0} sobre este objetivo",
+ "send": "Enviar",
+ "stop": "Parar objetivo",
+ "resume": "Continuar",
+ "retry": "Tentar novamente",
+ "start_now": "Começar agora",
+ "remove_goal": "Remover",
+ "show_result": "Mostrar resultado",
+ "hide_result": "Ocultar resultado",
+ "mission": "Missão da equipa",
+ "mission_placeholder": "Para que serve esta equipa? O líder lê isto em cada turno.",
+ "mission_save": "Guardar missão",
+ "checkin": "Verificações",
+ "checkin_hint": "{0} olha pela equipa por iniciativa própria e age quando algo o exige. Cada verificação é um turno no modelo do líder.",
+ "checkin_0": "Desligado",
+ "checkin_60": "De hora a hora",
+ "checkin_240": "De 4 em 4 horas",
+ "checkin_1440": "Uma vez por dia",
+ "source_jarvis": "Entregue por {0}",
+ "source_lead": "Iniciado por {0}",
+ "source_assignment": "Do quadro",
+ "state_queued": "Em fila",
+ "state_running": "Em curso",
+ "state_needs_input": "Precisa da tua resposta",
+ "state_paused": "Em pausa",
+ "state_done": "Concluído",
+ "state_failed": "Falhou",
+ "state_cancelled": "Parado",
+ "task_state_waiting": "A aguardar",
+ "task_state_assigned": "Atribuída",
+ "task_state_running": "Em execução",
+ "task_state_done": "Concluída",
+ "task_state_blocked": "Bloqueada",
+ "task_state_cancelled": "Parada",
+ "note_society_paused": "Em pausa porque todos os agentes foram parados.",
+ "note_interrupted": "Interrompido quando a aplicação fechou. Continua para o retomar.",
+ "note_turn_budget": "O líder gastou todos os turnos para este objetivo. Continua para lhe dares mais.",
+ "note_lead_busy": "O líder esteve ocupado noutra conversa durante demasiado tempo.",
+ "note_lead_unavailable": "O líder não está disponível neste momento.",
+ "note_stalled": "Já nada avançava neste objetivo.",
+ "note_error": "O turno do líder falhou: {0}"
+ },
+ "groups": {
+ "create": "Nova equipa de agentes",
+ "edit": "Editar equipa de agentes",
+ "description": "Junta agentes numa única entrada da barra lateral. Cada agente mantém a sua própria conversa.",
+ "name": "Nome da equipa",
+ "members": "Membros",
+ "cancel": "Cancelar",
+ "save": "Guardar equipa",
+ "delete": "Desagrupar",
+ "delete_confirm": "Desagrupar estes agentes? Os chats individuais mantêm-se.",
+ "left_chat": "Chat da esquerda",
+ "right_chat": "Chat da direita",
+ "open": "Abrir",
+ "open_individual": "Abrir o chat individual de {0}",
+ "missing_member": "Seleciona um agente disponível para ver este chat.",
+ "hold_to_group": "Manter premido para agrupar",
+ "release_to_group": "Soltar para agrupar"
+ },
+ "chat": {
+ "placeholder": "Mensagem para {0}",
+ "more": "Mais",
+ "attach": "Anexar um ficheiro",
+ "record": "Gravar uma mensagem de voz",
+ "stop_recording": "Parar a gravação",
+ "send": "Enviar",
+ "stop": "Parar",
+ "new_chat": "Nova conversa",
+ "mode_voice": "Voz",
+ "mode_chat": "Chat",
+ "mode_hint": "Voz ou chat escrito com o teu assistente",
+ "voice_note": "A voz usa o cérebro de voz do Dodaios, não o modelo escolhido para o chat escrito.",
+ "model": "Modelo",
+ "model_default": "Cérebro do Dodaios",
+ "model_provider_default": "predefinição do fornecedor",
+ "models_loading": "A carregar modelos…",
+ "effort": "Esforço de raciocínio",
+ "effort_default": "auto",
+ "today": "Hoje",
+ "empty_title": "Fala com {0}",
+ "empty_hint": "Escreve, fala ou menciona um agente, plugin ou ferramenta com @ — p. ex. @gmail.",
+ "thinking": "A pensar…",
+ "thought_for": "Pensou durante {0}",
+ "thinking_for": "A pensar há {0}",
+ "thought": "Raciocínio",
+ "thought_hidden": "O modelo mantém o raciocínio privado; mas pensou aqui.",
+ "tool_running": "em execução",
+ "tool_done": "concluído",
+ "tool_failed": "falhou",
+ "tool_waiting": "à espera da tua aprovação",
+ "approve": "Permitir",
+ "deny": "Recusar",
+ "mention_hint": "Agentes, plugins e ferramentas",
+ "mention_loading": "A procurar…",
+ "mention_empty": "Nenhuma correspondência",
+ "mention_disconnected": "Não ligado",
+ "mention_group_agents": "Agentes",
+ "mention_group_plugins": "Plugins",
+ "mention_group_mcp": "Servidores MCP",
+ "mention_group_cli": "Linha de comandos",
+ "mention_group_skills": "Skills",
+ "mention_group_tools": "Ferramentas do Dodaios",
+ "mention_group_coding": "Agentes de programação",
+ "coding_selected": "Tarefa para",
+ "coding_not_installed": "Não instalado",
+ "coding_unsupported": "Controlo por chat indisponível",
+ "coding_project": "Pasta do projeto (opcional)",
+ "coding_project_hint": "Indica um caminho ou menciona-o na mensagem",
+ "coding_choose_folder": "Escolher pasta",
+ "coding_project_optional": "Também podes indicar a pasta do projeto diretamente na mensagem.",
+ "coding_close": "Fechar",
+ "coding_use_folder": "Usar pasta",
+ "coding_retry": "Não foi possível carregar os agentes de programação. Tentar novamente.",
+ "result_done": "{0} terminou",
+ "result_blocked": "{0} ficou bloqueado",
+ "result_agent": "Um agente",
+ "delegate_line": "Entrega isto ao agente '{0}' (id {1}) com delegate-to-agent e informa aqui quando estiver concluído.",
+ "proposal_title": "{0} propõe uma alteração",
+ "proposal_reason": "Porquê",
+ "proposal_confirm": "Confirmar",
+ "proposal_reject": "Rejeitar",
+ "proposal_pending": "À espera da tua decisão",
+ "proposal_applied": "Aplicada",
+ "proposal_rejected": "Rejeitada",
+ "proposal_failed": "Não foi possível aplicar",
+ "proposal_kind_rule": "Regra permanente",
+ "proposal_kind_skill": "Guardar como skill",
+ "proposal_kind_routine": "Rotina",
+ "proposal_kind_approval_rule": "Regras de aprovação",
+ "proposal_kind_focus": "Ferramentas a usar primeiro",
+ "proposal_kind_team": "Colegas de equipa",
+ "proposal_kind_identity": "Nome e função",
+ "identity_now": "Agora {0}",
+ "identity_undo": "Anular",
+ "identity_undone": "De volta a {0}",
+ "assignment_from": "Tarefa de {0}",
+ "message_waiting": "Aguarda até a tarefa atual terminar",
+ "coding_thread_started": "Iniciou um thread de {0}",
+ "coding_thread_open": "Abrir thread",
+ "coding_thread_author": "Escrito por {0}",
+ "message_not_sent": "Não enviada: {0}",
+ "context_rollover": "Novo contexto de trabalho — memória e mensagens recentes transitadas",
+ "stop_reason_max_tokens": "A resposta parou no limite de saída do modelo; pode estar incompleta.",
+ "stop_reason_max_turn_requests": "O agente atingiu o limite de passos de um turno; o trabalho pode estar inacabado.",
+ "stop_reason_cancelled": "O turno foi cancelado antes de terminar.",
+ "allow_always": "Permitir sempre",
+ "history_chats": "Chats",
+ "history_voice": "Voz",
+ "history_empty": "Ainda não há nada aqui",
+ "history_delete": "Eliminar",
+ "proposal_ask_first": "perguntar primeiro: {tools}",
+ "proposal_always_allow": "permitir sempre: {tools}"
+ },
+ "world": {
+ "minimap_label": "Mapa da ilha",
+ "mode_world": "A ilha",
+ "hud_agents": "{0} agentes",
+ "hud_active": "{0} ativos",
+ "sample_badge": "Dados de exemplo",
+ "reduced_motion_note": "Movimento reduzido: a ilha fica parada.",
+ "controls_hint": "Arrasta para deslocar · Arrasta com o botão direito para rodar a vista · Desliza para fazer zoom · Setas para mover · Clica num edifício para o rodar",
+ "rotate_hint": "Arrasta o manípulo à volta do edifício para o rodar. Shift ajusta a passos de 15°.",
+ "rotate_reset": "Voltar à orientação original",
+ "rotate_reset_short": "Repor",
+ "rotate_reset_all": "Rodar todos os edifícios de volta à orientação original",
+ "rotate_reset_all_count": "Repor {count} rodados",
+ "zoom_label": "Zoom",
+ "zoom_in": "Aumentar zoom",
+ "zoom_out": "Diminuir zoom",
+ "compass_label": "Direção da vista",
+ "turn_left": "Rodar a vista para a esquerda (Q)",
+ "turn_right": "Rodar a vista para a direita (E)",
+ "view_reset": "Voltar à vista original (R)",
+ "webgl_missing_title": "A ilha precisa de WebGL",
+ "webgl_missing_body": "Esta janela não consegue desenhar 3D de momento. O registo mostra os mesmos agentes numa tabela.",
+ "open_ledger": "Abrir o registo",
+ "place_quests": "Quadro de missões",
+ "hud_quests": "Missões",
+ "quest_add_placeholder": "Nova missão… p. ex. os cinco e-mails mais importantes de hoje",
+ "quest_wait_approval": "{agent} está à espera da tua aprovação no seu chat — a missão começa logo a seguir",
+ "quest_wait_busy": "{agent} está ocupado — a missão começa assim que estiver livre",
+ "quest_open_agent": "Abrir {agent}",
+ "quest_group_history": "Histórico",
+ "drawer_quests_title": "Quadro de missões",
+ "drawer_quests_hint": "Publica um trabalho. O agente adequado aceita-o — se nenhum for adequado, a Forja cria um.",
+ "quest_compose_placeholder": "O que deve ser feito? Por exemplo: os cinco e-mails mais importantes de hoje",
+ "quest_compose_hint": "Ctrl+Enter publica",
+ "quest_post": "Publicar missão",
+ "quest_posting": "A publicar…",
+ "quest_group_active": "No quadro",
+ "quest_group_done": "Concluídas",
+ "quest_group_failed": "Falhadas",
+ "quest_group_cancelled": "Canceladas",
+ "quest_empty": "Ainda não há missões. Publica a primeira.",
+ "quest_state": {
+ "open": "à espera de alguém",
+ "assigned": "atribuída",
+ "running": "em curso",
+ "done": "concluída",
+ "failed": "falhada",
+ "cancelled": "cancelada"
+ },
+ "quest_taken_by": "{agent} aceitou-a",
+ "quest_forged": "{agent} foi forjado para ela",
+ "quest_no_taker": "Ainda ninguém a pôde aceitar",
+ "quest_cancel": "Cancelar",
+ "quest_retry": "Tentar novamente",
+ "quest_result_label": "Entrega",
+ "quest_open_label": "Ainda em aberto",
+ "quest_refused": "Recusada: {reason}",
+ "quest_age_now": "agora mesmo",
+ "quest_age_min": "há {n} min",
+ "quest_age_h": "há {n} h",
+ "quest_age_d": "há {n} d",
+ "quest_close": "Fechar",
+ "quest_loading": "A ler o quadro…",
+ "quest_open_ledger": "Abrir o registo de agentes"
+ },
+ "style": {
+ "modern": "Moderno",
+ "fantasy": "Fantasia",
+ "cartoon": "Cartoon",
+ "animal": "Animal",
+ "scifi": "Ficção científica",
+ "spirit": "Espírito",
+ "custom": "Importado"
+ },
+ "slot": {
+ "hair": "Cabelo",
+ "headgear": "Chapéu",
+ "collar": "Gola",
+ "tail_extra": "Cauda",
+ "face_extra": "Rosto",
+ "torso_over": "Por cima",
+ "belt": "Cinto",
+ "back": "Costas",
+ "hand_l": "Mão esquerda",
+ "hand_r": "Mão direita",
+ "feet": "Pés"
+ },
+ "sample_badge": "Dados de exemplo",
+ "roster": {
+ "title": "Agentes",
+ "create": "Novo",
+ "search": "Procurar agentes",
+ "loading": "A carregar agentes…",
+ "empty": "Nenhum agente corresponde.",
+ "thinking": "A pensar…",
+ "unread": "Novos resultados — abre para ler",
+ "menu": "Ações do agente",
+ "rename": "Mudar o nome do agente",
+ "rename_hint": "Escolhe um novo nome para este agente. O chat e os ficheiros continuam associados.",
+ "name": "Nome do agente",
+ "rename_error": "Não foi possível mudar o nome deste agente. Verifica o nome ou experimenta outro.",
+ "hide": "Ocultar da barra lateral",
+ "show": "Mostrar na barra lateral",
+ "show_hidden": "Mostrar agentes ocultos ({0})",
+ "hide_hidden": "Ocultar agentes ocultos ({0})",
+ "delete": "Eliminar",
+ "delete_confirm": "Eliminar {0}? Isto remove o agente da tua equipa ativa.",
+ "delete_error": "Não foi possível eliminar este agente. Tenta novamente.",
+ "cancel": "Cancelar",
+ "save": "Guardar",
+ "reorder": "Arrastar para reordenar",
+ "reorder_keys": "Alt + Seta para cima / baixo move o agente"
+ },
+ "tier": {
+ "lead": "Líder",
+ "orchestrator": "Orquestrador",
+ "specialist": "Especialista"
+ },
+ "state": {
+ "idle": "Inativo",
+ "working": "A trabalhar",
+ "waiting": "À espera",
+ "paused": "Em pausa"
+ },
+ "ceiling": {
+ "safe": "Seguro",
+ "monitor": "Monitorizar",
+ "ask": "Perguntar primeiro"
+ },
+ "create_agent": {
+ "title": "Novo agente",
+ "subtitle": "Dá-lhe um nome, escolhe onde corre e escolhe o seu pequeno companheiro.",
+ "name_label": "Nome",
+ "name_placeholder": "Deixa vazio e o agente escolhe o seu nome",
+ "type_label": "Tipo de agente",
+ "type_fixed": "O tipo não pode ser alterado depois de o agente existir.",
+ "provider_label": "Fornecedor do modelo",
+ "no_provider": "Ainda não há subscrição ChatGPT, chave de API ou modelo local ligado. Liga um em Definições → Chaves de API.",
+ "no_provider_jarvis": "Ainda não há nada ligado, por isso o agente começa com o modelo do teu Dodaios Chat. Liga uma subscrição ou uma chave de API em Definições → Chaves de API para escolher aqui.",
+ "access_label": "Acesso",
+ "access_hint_subscription": "Corre na tua subscrição — sem custo extra por mensagem.",
+ "access_hint_api": "Faturado por utilização na tua chave de API.",
+ "access_hint_local": "Corre num modelo neste computador — sem custo por mensagem.",
+ "access_extra_usage": "Corre com a tua sessão do Claude Code. A Anthropic fatura isto como utilização extra, fora dos limites do teu plano.",
+ "access_blocked": "O fornecedor recusa esta forma de pagamento de momento. Escolhe outra.",
+ "access_blocked_extra_usage_off": "Indisponível: a Extra Usage está desligada nesta conta Claude, e a Anthropic fatura Hermes e OpenClaw apenas como Extra Usage. Ativa-a em claude.ai em Settings → Usage, ou usa uma chave de API.",
+ "access_blocked_extra_usage_spent": "Indisponível: o limite mensal de Extra Usage desta conta Claude foi gasto. Aumenta-o em claude.ai em Settings → Usage, ou usa uma chave de API.",
+ "account_label": "Conta",
+ "active_account": "Conta ativa",
+ "model_label": "Modelo",
+ "model_search": "Procurar modelos",
+ "model_hint": "Podes mudar o modelo mais tarde no chat do agente.",
+ "companion_label": "Companheiro",
+ "cancel": "Cancelar",
+ "create": "Criar agente",
+ "creating": "A criar…",
+ "name_taken": "Já existe um agente com este nome."
+ },
+ "runtime": {
+ "built_in": "Integrado",
+ "ready": "Pronto",
+ "auto_setup": "Configura-se sozinho",
+ "setting_up": "A configurar…",
+ "runs_on": "Corre em {0}",
+ "title": "Runtime",
+ "jarvis": "Agente Dodaios",
+ "hermes": "Hermes",
+ "openclaw": "OpenClaw",
+ "jarvis_hint": "O ciclo de agente próprio do Dodaios, com a memória, as skills e as ferramentas deste agente.",
+ "hermes_hint": "O agente Hermes com as suas próprias ferramentas — mais a memória, as skills e as ferramentas Dodaios deste agente.",
+ "openclaw_hint": "O agente OpenClaw com as suas próprias ferramentas — mais a memória, as skills e as ferramentas Dodaios deste agente.",
+ "setting_up_hint": "{0} está a ser configurado neste computador. Podes criar o agente já; ele responde assim que a configuração terminar.",
+ "auto_setup_hint": "O Dodaios instala {0} sozinho e mantém-no atualizado.",
+ "setup_failed": "A configuração não terminou: {0}",
+ "provider_unsupported": "Hermes e OpenClaw correm com uma chave de API, um servidor de modelos local ou a subscrição ChatGPT. Escolhe um destes para este agente.",
+ "setting_up_chat": "A configurar {0} neste computador. Da primeira vez demora alguns minutos; a tua mensagem é respondida assim que estiver pronto.",
+ "routine_fallback": "Esta execução usa o runtime próprio do Dodaios, não {0}: o modelo escolhido para a rotina não pode ser usado por {0}.",
+ "ready_untested": "Pronto · mais recente do que o testado",
+ "untested_hint": "{0} é mais recente do que a versão que o Dodaios testou. Continua a funcionar.",
+ "retry": "Tentar novamente"
+ },
+ "approval_mode": {
+ "title": "Permissões do agente",
+ "bypass": "Ignorar permissões",
+ "ask": "Perguntar",
+ "always_ask": "Perguntar sempre",
+ "bypass_hint": "As ferramentas do Dodaios correm sem pedidos; os bloqueios do Dodaios e as ferramentas recusadas continuam a aplicar-se. As ferramentas nativas de uma CLI de subscrição seguem os controlos desse executor.",
+ "ask_hint": "Lê livremente; pergunta neste chat antes de alterações ou outras ações.",
+ "always_ask_hint": "Pergunta neste chat antes de cada chamada a uma ferramenta do Dodaios, incluindo leituras.",
+ "legacy_hint": "Este agente mantém as permissões de chat atuais até escolheres um modo.",
+ "legacy_ceiling": "Limite de permissões atual",
+ "unavailable": "Este executor não consegue mostrar um cartão de aprovação utilizável neste modo."
+ },
+ "grant": {
+ "all": "Todas as ferramentas ligadas",
+ "allowlist": "Apenas lista de permitidos"
+ },
+ "checkpoint": {
+ "desk": "Bancada da oficina",
+ "meeting": "Pavilhão de reuniões",
+ "archive": "Arquivo",
+ "gate": "Porta do porto",
+ "idle": "A passear",
+ "gallery": "Galeria",
+ "hub:plugins": "Docas dos Plugins",
+ "hub:skills": "Forja de Skills",
+ "hub:mcp": "Torre de Retransmissão",
+ "hub:cli": "Cantina do Terminal",
+ "hub:comms": "Posto de Sinais",
+ "hub:desktop": "Sala de Controlo",
+ "hub:web": "O Miradouro",
+ "hub:models": "Casa das Caldeiras"
+ },
+ "card": {
+ "runs_on_saving": "A mover…",
+ "runs_on_badge": "Corre em {computer}",
+ "brain_shared_hint": "O cérebro do chat escrito, escolhido no seletor de modelo do chat. A voz usa o cérebro em tempo real das definições de voz.",
+ "instructions_file": "Instruções permanentes ({0})",
+ "instructions_empty": "Ainda sem instruções permanentes — o modelo está à distância de um clique.",
+ "instructions_hint": "Lidas antes de cada turno, escrito ou falado. Guardadas no turno seguinte, sem reiniciar.",
+ "edit": "Editar",
+ "save": "Guardar",
+ "saving": "A guardar…",
+ "default_brain": "Cérebro predefinido do Dodaios",
+ "no_description": "Ainda sem instruções permanentes.",
+ "focus": "Usa primeiro",
+ "no_focus": "Sem ferramentas de foco — derivadas da descrição quando existir.",
+ "not_connected": "não ligado",
+ "tools_all": "Todas as ferramentas que os níveis globais permitem.",
+ "tools_allowlist": "Apenas a lista de permitidos abaixo.",
+ "denied": "Nunca oferecidas",
+ "state": "Estado",
+ "approval_rules": "Regras de aprovação",
+ "require_approval": "Perguntar sempre antes de",
+ "always_allow": "Sempre permitidas",
+ "due_now": "agora",
+ "due_in": "em {0}",
+ "chat_soon": "O chat abre aqui assim que a sessão estiver associada.",
+ "action_chat": "Chat",
+ "action_pause": "Pausar",
+ "action_resume": "Retomar",
+ "specs": "Especificações",
+ "figure": "Figura",
+ "chat": "Chat",
+ "hands": "Mãos",
+ "learned": "Aprendido",
+ "limits": "Limites",
+ "budget_hint": "O agendador recusa um trabalho quando o gasto do dia atinge este valor.",
+ "budget_cap": "Limite de orçamento diário",
+ "budget_off_hint": "Sem limite diário. O agendador não para este agente pelo gasto de hoje.",
+ "recent": "Recente",
+ "no_recent": "Ainda nada no quadro deste agente.",
+ "active_runs": "{0} em execução",
+ "meter_today": "Hoje",
+ "no_cap": "sem limite",
+ "spent_of": "${0} de ${1}",
+ "jobs_at_once": "Trabalhos em simultâneo",
+ "created": "Criado",
+ "where": "Onde trabalha",
+ "workspace": "Workspace",
+ "wiki": "Notas da wiki",
+ "just_now": "agora mesmo",
+ "ago": "há {0}",
+ "log_to": "para {0}",
+ "log_from": "de {0}",
+ "log_board": "para o quadro",
+ "hands_empty": "Ainda não especializado — diz na descrição o que deve fazer, e recebe as mãos para isso.",
+ "hands_rest": "Tudo o resto que os níveis permitem continua ao alcance — {0} ferramentas.",
+ "hands_rest_plain": "Tudo o resto que os níveis permitem continua ao alcance.",
+ "hands_rest_allowlist": "São todas — a lista de permitidos é todo o alcance deste agente.",
+ "meter_reach": "Alcance",
+ "reach_all": "Todas as ferramentas que os níveis permitem",
+ "reach_allowlist": "{0} de {1} ferramentas",
+ "record": "Registo",
+ "profile": "Perfil",
+ "open_profile": "Abrir o perfil deste agente",
+ "options": "Opções",
+ "options_hint": "O que podes fazer a este agente.",
+ "retire": "Reformar agente",
+ "retire_confirm": "Confirmar — é definitivo",
+ "retire_hint": "Arquiva este agente. A ilha mostra o que acontece com ele.",
+ "retire_armed_hint": "Prime novamente para reformar. Isto não pode ser anulado.",
+ "retire_lead_blocked": "O líder dirige a sociedade e não pode ser reformado.",
+ "close": "Fechar",
+ "brain": "Cérebro",
+ "description": "Instruções permanentes",
+ "permission": "Limite de permissões",
+ "budget": "Orçamento diário",
+ "grant_mode": "Ferramentas",
+ "place": "No mundo",
+ "tools": "Ferramentas concedidas",
+ "no_tools": "Ainda sem ferramentas concedidas.",
+ "routines": "Rotinas",
+ "no_routines": "Ainda sem rotinas.",
+ "screen_of": "Ecrã de {0}",
+ "browser_not_setup": "Navegador não configurado nesta máquina.",
+ "browser_idle": "Inativo",
+ "browser_connecting": "A ligar",
+ "browser_setup": "Configurar",
+ "browser_setting_up": "A configurar…",
+ "browser_sign_in": "Iniciar sessão",
+ "browser_sign_in_hint": "Abre uma janela do Chrome neste computador.",
+ "browser_error": "Não foi possível aceder ao navegador.",
+ "routines_add": "Adicionar uma rotina",
+ "routines_title": "Título",
+ "next_run": "Próxima execução",
+ "routines_prompt": "O que fazer",
+ "routines_kind": "Quando",
+ "routines_every": "A cada poucas horas",
+ "routines_daily": "Todos os dias a uma hora",
+ "routines_on_event": "Quando algo acontece",
+ "routines_hours": "Horas",
+ "routines_minutes": "Minutos",
+ "routines_event_name": "Nome do evento",
+ "routines_save": "Adicionar",
+ "routines_unit": "Unidade",
+ "sched_every_day": "Todos os dias",
+ "sched_every_day_at": "Todos os dias às {0}",
+ "sched_every_days": "A cada {0} dias",
+ "sched_every_hour": "A cada hora",
+ "sched_every_hours": "A cada {0} horas",
+ "sched_every_minute": "A cada minuto",
+ "sched_every_minutes": "A cada {0} minutos",
+ "sched_every_seconds": "A cada {0} segundos",
+ "sched_once_in": "Uma vez, daqui a {0}",
+ "sched_on": "Em {0}",
+ "sched_at": "Às {0}",
+ "sched_at_fixed": "A uma hora fixa",
+ "options_more": "Mais ações",
+ "runs": "Execuções",
+ "cost": "Gasto",
+ "last_active": "Última atividade",
+ "never": "nunca",
+ "chat_empty_title": "Ainda sem conversa",
+ "chat_empty_hint": "O chat do agente abre aqui assim que o backend da sociedade associar a sessão.",
+ "chat_bind_failed": "Não foi possível associar o chat.",
+ "cancel": "Cancelar"
+ },
+ "figure": {
+ "drag_hint": "Arrasta para rodar e inclinar · roda do rato para zoom · duplo clique para repor",
+ "reduced_motion": "Movimento reduzido: a figura mantém a pose. Arrastar continua a rodá-la.",
+ "unavailable": "O 3D não está disponível aqui — as cores do agente substituem-no.",
+ "no_figure": "Este agente ainda não tem figura."
+ },
+ "strip": {
+ "title": "Sociedade",
+ "active": "{0} ativos",
+ "world_pending": "A ilha chega com o próximo marco; o quadro fica até lá."
+ },
+ "presets": {
+ "executive": "Executivo",
+ "ranger": "Guarda",
+ "archivist": "Arquivista",
+ "scout": "Batedor",
+ "mage": "Mago"
+ },
+ "base": {
+ "small": "Pequeno",
+ "medium": "Médio",
+ "large": "Grande"
+ },
+ "cell": {
+ "skin": "Pele",
+ "hair": "Cabelo",
+ "primary": "Roupa",
+ "secondary": "Acabamento",
+ "accent": "Destaque",
+ "shoes": "Sapatos"
+ },
+ "create": {
+ "runs_on": "Corre em",
+ "runs_on_here": "Este computador",
+ "runs_on_here_hint": "O agente trabalha neste computador.",
+ "runs_on_remote_hint": "Os comandos e a CLI de programação do agente correm nesse computador por SSH; {name} mantém o chat aqui.",
+ "runs_on_offline_hint": "Esse computador não está acessível de momento; as execuções do agente falham até voltar a estar online.",
+ "runs_on_connect": "Ligar um computador",
+ "import": "Importar .glb",
+ "importing": "A verificar…",
+ "import_hint": "Traz a tua própria figura — um glTF binário que respeite o contrato de personagens (docs/agent-society/character-pipeline.md).",
+ "import_rejected": "A figura ainda não respeita o contrato:",
+ "import_failed": "Não foi possível importar a figura.",
+ "import_ok": "{0} importado — as partes e a paleta vêm do catálogo; o modelo é teu.",
+ "import_reset": "Voltar ao catálogo",
+ "tools_title": "Ferramentas",
+ "focus_hint": "Escolhe o que este agente deve usar primeiro; mantém todas as outras ferramentas que os níveis permitem.",
+ "allowlist_hint": "Escolhe as únicas ferramentas que este agente pode usar.",
+ "tools_search": "Procurar ferramentas",
+ "tools_loading": "A carregar o catálogo de capacidades…",
+ "tools_unavailable": "Catálogo de capacidades inacessível — as ferramentas são definidas no cartão mais tarde.",
+ "style": "Estilo",
+ "style_import_hint": "Traz a tua própria figura com Importar .glb",
+ "style_soon": "Ainda sem figuras neste estilo — o pipeline aceita qualquer estilo que passe a validação",
+ "none": "Nenhum",
+ "title": "Criar um agente",
+ "subtitle": "Nome, função e regras — a personagem à direita é como a equipa o vai ver.",
+ "name": "Nome",
+ "name_placeholder": "p. ex. Batedor",
+ "title_field": "Título",
+ "title_placeholder": "p. ex. Pesquisa, marketing, administração",
+ "title_fallback": "Especialista",
+ "description": "Descrição",
+ "description_placeholder": "Para que serve este agente.",
+ "description_hint": "Instruções permanentes — as regras próprias do agente. Tudo o resto diz-lho no chat.",
+ "brain": "Corre em",
+ "brain_hint": "Só aparece o que está ligado nesta máquina. Liga mais subscrições ou chaves de API no quadro de Agentes por trás desta janela.",
+ "nothing_connected": "Ainda não há nada ligado. Liga uma subscrição ou uma chave de API no quadro de Agentes por trás desta janela — até lá, o agente usa o cérebro predefinido do Dodaios.",
+ "kind_subscription": "Subscrição",
+ "kind_api": "Chave de API",
+ "kind_local": "Local",
+ "account": "Sessão",
+ "account_active": "A sessão ativa",
+ "effort": "Esforço",
+ "focus_title": "Foco",
+ "grant_mode_hint": "Tudo o que o Dodaios tem ligado — skills, plugins, servidores MCP, memória — continua disponível; o foco só diz o que vem primeiro.",
+ "advanced": "Limites e permissões",
+ "provider": "Fornecedor",
+ "provider_unknown": "Catálogo de fornecedores inacessível — o agente mantém o cérebro predefinido do Dodaios.",
+ "catalog_loading": "A carregar o catálogo de fornecedores…",
+ "model": "Modelo",
+ "model_placeholder": "predefinição do fornecedor",
+ "ceiling": "Limite de permissões",
+ "grant_mode": "Ferramentas",
+ "budget": "Orçamento diário (USD)",
+ "look": "Aspeto",
+ "base": "Corpo",
+ "base_soon": "Chega com a próxima versão das figuras",
+ "presets": "Predefinições",
+ "colours": "Cores",
+ "shuffle": "Baralhar",
+ "height": "Altura",
+ "cancel": "Cancelar",
+ "submit": "Criar agente",
+ "name_required": "Dá primeiro um nome ao agente.",
+ "error": "Não foi possível criar o agente."
+ },
+ "meeting": {
+ "title": "Reunião partilhada",
+ "individual": "Chats individuais",
+ "you": "Tu",
+ "description": "Cada mensagem dá a cada membro um turno, por ordem. Podem reagir a respostas anteriores ou ficar em silêncio. Nenhuma discussão automática continua depois dessa ronda.",
+ "empty": "Envia um tema para iniciar a discussão. Para incluir {name}, adiciona-o em Editar grupo.",
+ "answering": "{0} está a contribuir…",
+ "failed": "Não foi possível terminar a ronda. Abre o chat individual do agente para ver detalhes. As contribuições anteriores estão guardadas.",
+ "limit": "As reuniões suportam de dois a seis agentes. Edita este grupo para reduzir os membros.",
+ "message": "A tua mensagem para o grupo",
+ "stop": "Parar ronda",
+ "send": "Perguntar ao grupo"
+ },
+ "floor": {
+ "department_other": "Outros",
+ "agent_fallback": "Agente",
+ "workspace_fallback": "Espaço de trabalho"
+ },
+ "provider_label": {
+ "ollama": "Ollama (local)",
+ "local_server": "Servidor local"
+ },
+ "sample": {
+ "daily_at": "diariamente às {time}",
+ "lead": {
+ "title": "Diretor executivo — lidera e delega em toda a equipa",
+ "description": "És o líder desta sociedade de agentes: o seu diretor executivo. Os objetivos são teus, não as tarefas. Cada pedido que te chega é triado, transformado numa atribuição clara e entregue ao orquestrador ou especialista cujo cargo se adequa; nunca fazes tu o trabalho de um especialista. Manténs a equipa pequena, as passagens de testemunho por escrito (o que foi feito, provas, o que falta, quem fica com o passo seguinte) e os gastos dentro do orçamento diário. As ações do nível «perguntar» esperam sempre pela pessoa; nunca contornas uma aprovação. Falas pela equipa no idioma da pessoa e relatas resultados, não atividade.",
+ "routine": "Resumo da reunião matinal"
+ },
+ "scout": {
+ "name": "Batedor",
+ "title": "Orquestrador de pesquisa",
+ "description": "A pesquisa é tua. Divides uma pergunta em fontes, lês amplamente, guardas as ligações para as provas e devolves um resumo com o que fica em aberto.",
+ "routine": "Resumo de pesquisa matinal"
+ },
+ "archivist": {
+ "name": "Arquivista",
+ "title": "Curador de conhecimento",
+ "description": "A memória partilhada é tua. Transformas o trabalho concluído em notas wiki curtas e com fontes no teu espaço de nomes e propões o que merece ser promovido a conhecimento partilhado.",
+ "routine": "Ronda de curadoria noturna"
+ }
+ }
+ },
+ "chat_tools": {
+ "add": "Adicionar",
+ "search": "Procurar por nome…",
+ "remove": "Remover",
+ "close": "Fechar",
+ "filter": "Filtrar ferramentas",
+ "all": "Todas as ferramentas",
+ "plugins": "Plugins",
+ "skills": "Skills",
+ "mcp": "Servidores MCP",
+ "memory": "Memória e conhecimento",
+ "web": "Web e pesquisa",
+ "files": "Ficheiros",
+ "automation": "Automações",
+ "system": "Sistema e ferramentas",
+ "cli": "CLIs",
+ "browse": "Todas as capacidades",
+ "semantic": "Pesquisa semântica",
+ "text": "Pesquisa por nome",
+ "loading": "A procurar…",
+ "attach": "Adicionar ficheiros",
+ "folder": "Escolher pasta de trabalho",
+ "error": "A pesquisa de ferramentas não está disponível.",
+ "retry": "Tentar novamente",
+ "empty": "Nenhuma ferramenta corresponde. Experimenta outro nome ou categoria.",
+ "connect": "Configurar",
+ "next_message": "Selecionado para a próxima mensagem",
+ "hint": "Escolhe ferramentas para a próxima mensagem. As permissões continuam a aplicar-se.",
+ "done": "Concluído"
+ },
+ "credential_card": {
+ "aria": "Campo de credencial seguro",
+ "fallback_agent": "o teu agente",
+ "subtitle": "Guardado de forma segura e disponível para {agent} como a variável de ambiente {env}.",
+ "placeholder": "Cola {label} aqui",
+ "save": "Guardar em segurança",
+ "saving": "A guardar…",
+ "decline": "Cancelar",
+ "footer": "Guardado de forma segura, nunca mostrado ao teu agente",
+ "stays_open": "Este campo fica aberto até guardares ou cancelares. Podes continuar a conversar.",
+ "replace_note": "{agent} diz que o valor guardado já não funciona.",
+ "saved": "{label} guardado · disponível como {env}",
+ "declined": "{label} não fornecido",
+ "timeout": "{label} não foi introduzido a tempo",
+ "cancelled": "{label} não fornecido, o turno terminou",
+ "invalid": "Este valor não pode ser guardado. Cola a credencial numa única linha.",
+ "expired": "Este pedido já não está disponível. Pede ao agente um novo campo seguro.",
+ "invalid_token": "O serviço rejeitou este token. Verifica se está correto e tenta novamente.",
+ "network_error": "Não foi possível contactar o serviço. Verifica a tua ligação e tenta novamente.",
+ "validation_timeout": "O pedido expirou. O campo continua aberto; tenta novamente.",
+ "storage_failed": "Não foi possível guardar o token de forma segura. Tenta novamente.",
+ "request_busy": "Este token já está a ser verificado. Aguarda e tenta novamente.",
+ "failed": "Não foi possível guardar a credencial."
+ },
+ "question_card": {
+ "aria": "Pergunta do agente",
+ "title_one": "{agent} tem uma pergunta",
+ "title_many": "{agent} tem {count} perguntas",
+ "fallback_agent": "O teu agente",
+ "step": "Pergunta {current} de {total}",
+ "recommended": "Recomendado",
+ "why": "Recomendado porque: {reason}",
+ "own_answer": "Escreve a tua própria resposta…",
+ "own_placeholder": "A tua resposta",
+ "send": "Enviar",
+ "close": "Fechar e deixar o agente decidir",
+ "countdown": "Sem resposta em {time}, as opções recomendadas são escolhidas automaticamente.",
+ "choosing": "A escolher as opções recomendadas…",
+ "auto_picked": "escolhido automaticamente (sem resposta em 5 minutos)",
+ "left_to_agent": "deixado ao agente",
+ "own_words": "a tua própria resposta",
+ "unanswered": "Sem resposta — o turno terminou."
+ },
+ "bot_stage": {
+ "ponder": "A pensar…",
+ "glance": "A olhar à volta…",
+ "squint": "A focar…",
+ "spark": "Tive uma ideia…",
+ "wink": "A preparar algo…",
+ "roll": "A dar voltas ao assunto…",
+ "drowsy": "A ponderar…",
+ "beam": "Quase lá…",
+ "skyread": "A considerar…",
+ "doubt": "A verificar outra vez…",
+ "note": "A tomar nota…",
+ "jot": "A apontar…",
+ "scan": "A pesquisar…",
+ "flip": "A folhear…",
+ "recall": "A recordar…",
+ "browser": "No navegador…",
+ "setup": "A configurar…",
+ "tune": "A ajustar…",
+ "command": "A executar um comando…",
+ "juggle": "A tratar disso…",
+ "build": "A construir…",
+ "typing": "A escrever…",
+ "reading": "A ler a tua mensagem…",
+ "done": "Concluído"
+ },
+ "messenger_turn": {
+ "routine_created": "Criada: Rotina",
+ "routine_updated": "Atualizada: Rotina",
+ "routine_paused": "Pausada: Rotina",
+ "routine_resumed": "Retomada: Rotina",
+ "routine_deleted": "Eliminada: Rotina",
+ "rule_saved": "Anotado: nova regra",
+ "skill_saved": "Guardada: Skill",
+ "settings_updated": "Atualizadas: Definições",
+ "note_saved": "Anotado"
+ },
+ "thread_turn": {
+ "worked": "Trabalhou",
+ "worked_for": "Trabalhou durante {duration}",
+ "working_for": "A trabalhar há {duration}",
+ "stopped": "Parado",
+ "stopped_after": "Parado após {duration}",
+ "failed": "Falhou",
+ "failed_after": "Falhou após {duration}",
+ "no_answer": "Terminou sem resposta",
+ "no_answer_after": "Terminou sem resposta após {duration}",
+ "thinking": "A pensar",
+ "copy_answer": "Copiar resposta",
+ "waiting_answer": "À espera da tua resposta abaixo",
+ "waiting_approval": "À espera de aprovação — {summary}",
+ "approval_waiting": "À espera da tua aprovação",
+ "no_output": "Sem saída.",
+ "interrupted": "interrompido",
+ "call_failed": "{call}, falhou",
+ "steps": "Passos",
+ "steps_so_far": "{summary}, {count} passos até agora",
+ "subagents_working_one": "{count} subagente a trabalhar",
+ "subagents_working_other": "{count} subagentes a trabalhar",
+ "files_changed_one": "{count} ficheiro alterado",
+ "files_changed_other": "{count} ficheiros alterados",
+ "changed_files": "Ficheiros alterados",
+ "show_changes": "Mostrar alterações",
+ "hide_changes": "Ocultar alterações",
+ "more_files_one": "Mostrar mais {count} ficheiro",
+ "more_files_other": "Mostrar mais {count} ficheiros",
+ "collapse_files": "Recolher ficheiros"
+ },
+ "work_trace": {
+ "tool_failed": "Uma ação de ferramenta falhou",
+ "question": "À espera da tua resposta",
+ "integration_used": "Usou {service}",
+ "activity_command": "Executou comandos",
+ "activity_edit": "Editou ficheiros",
+ "activity_write": "Criou ficheiros",
+ "activity_read": "Leu ficheiros",
+ "activity_list": "Listou ficheiros",
+ "activity_search": "Pesquisou ficheiros",
+ "activity_memory": "Atualizou a memória",
+ "activity_tools": "Usou ferramentas",
+ "live_integration_used": "A usar {service}",
+ "live_activity_command": "A executar comandos",
+ "live_activity_edit": "A editar ficheiros",
+ "live_activity_write": "A criar ficheiros",
+ "live_activity_read": "A ler ficheiros",
+ "live_activity_list": "A listar ficheiros",
+ "live_activity_search": "A pesquisar ficheiros",
+ "live_activity_memory": "A atualizar a memória",
+ "live_activity_tools": "A usar ferramentas",
+ "thought": "Raciocínio",
+ "thinking_for": "A pensar há {duration}",
+ "thought_for": "Pensou durante {duration}",
+ "tool": "Ferramenta",
+ "input": "Entrada",
+ "output": "Saída",
+ "error": "Erro",
+ "diff": "Alterações",
+ "empty_output": "Concluído sem saída",
+ "truncated": "Mais {count} linhas na entrada",
+ "read": "Ler ficheiro",
+ "list": "Listar ficheiros",
+ "search": "Pesquisar ficheiros",
+ "group_read": "Leu {count} ficheiros",
+ "group_list": "Listou ficheiros em {count} locais",
+ "group_search": "Pesquisou ficheiros {count} vezes",
+ "approval": "Aprovação necessária",
+ "denied": "Não aprovado",
+ "failed": "Falhou",
+ "running": "Em execução",
+ "interrupted": "Interrompido sem resultado",
+ "completed": "Concluído",
+ "allow": "Aprovar",
+ "allow_always": "Permitir sempre",
+ "deny": "Recusar",
+ "approval_elsewhere": "Revê este pedido no chat ativo.",
+ "working": "A trabalhar",
+ "stopped": "Parado",
+ "done": "Concluído",
+ "command": "Executar comando",
+ "edit": "Editar ficheiro",
+ "write": "Escrever ficheiro",
+ "memory": "A atualizar a memória"
+ },
+ "trace_report": {
+ "locale": "pt-PT",
+ "show_more": "Mostrar mais",
+ "show_less": "Mostrar menos",
+ "took": "Demorou {duration}",
+ "failed_count_one": "{count} falhou",
+ "failed_count_other": "{count} falharam",
+ "act": {
+ "command_one": "executou um comando",
+ "command_other": "executou comandos",
+ "read_one": "leu um ficheiro",
+ "read_other": "leu ficheiros",
+ "list_one": "listou uma pasta",
+ "list_other": "listou pastas",
+ "search_one": "pesquisou os ficheiros",
+ "search_other": "pesquisou os ficheiros",
+ "edit_one": "editou um ficheiro",
+ "edit_other": "editou ficheiros",
+ "write_one": "criou um ficheiro",
+ "write_other": "criou ficheiros",
+ "image_one": "viu uma imagem",
+ "image_other": "viu imagens",
+ "used": "usou {what}"
+ },
+ "call": {
+ "read": "Leu {target}",
+ "list": "Listou {target}",
+ "search": "Pesquisou {pattern}",
+ "search_in": "Pesquisou {pattern} em {path}",
+ "edit": "Editou {target}",
+ "write": "Criou {target}"
+ },
+ "state": {
+ "running": "Em execução",
+ "failed": "Falhou",
+ "blocked": "Bloqueado",
+ "declined": "Recusado",
+ "interrupted": "Parado"
+ },
+ "result": {
+ "items_one": "1 resultado",
+ "items_other": "{count} resultados",
+ "none": "Sem resultados"
+ },
+ "reason": {
+ "rule": "uma regra de segurança bloqueia esta ação",
+ "plan_mode": "o modo de plano só permite leitura",
+ "cancelled": "foi cancelado",
+ "timeout": "ninguém o aprovou a tempo",
+ "no_approver": "precisava de aprovação e não estava ninguém para a dar"
+ },
+ "family": {
+ "wiki": "pesquisou a wiki",
+ "wiki_write": "escreveu na wiki",
+ "artifact": "criou um artefacto",
+ "skill": "executou uma skill",
+ "skill_create": "criou uma skill",
+ "web": "pesquisou na web",
+ "screen": "olhou para o ecrã",
+ "screen_recall": "recordou o ecrã",
+ "control": "controlou o ecrã",
+ "navigate": "abriu uma página",
+ "app": "abriu uma aplicação",
+ "memory": "consultou a memória",
+ "memory_update": "atualizou a memória",
+ "profile": "atualizou o perfil",
+ "contact": "procurou um contacto",
+ "call": "fez uma chamada",
+ "worker": "passou a um worker",
+ "model": "mudou o modelo",
+ "mcp_admin": "geriu um servidor MCP",
+ "settings": "leu as definições",
+ "verify": "executou uma verificação"
+ }
+ },
+ "chat_media": {
+ "unavailable": "Este conteúdo multimédia não pode ser carregado nem reproduzido. Ainda podes abrir o ficheiro.",
+ "expand": "Ampliar {file}",
+ "open_file": "Abrir ficheiro",
+ "download": "Transferir",
+ "retry": "Tentar novamente",
+ "image_fallback": "imagem"
+ },
+ "slash": {
+ "locale": "pt",
+ "commands": {
+ "help": "Abrir a ajuda de comandos",
+ "clear": "Limpar a vista; manter o contexto",
+ "history": "Mostrar mensagens anteriores",
+ "plan": "Ler e planear sem alterações",
+ "build": "Implementar o plano acordado",
+ "goal": "Trabalhar para um objetivo verificável",
+ "status": "Mostrar a tarefa e o objetivo atuais",
+ "stop": "Parar o trabalho e pausar o objetivo",
+ "continue": "Continuar o trabalho interrompido",
+ "recap": "Resumir o estado atual",
+ "find": "Pesquisar neste chat",
+ "model": "Escolher um modelo",
+ "remember": "Guardar uma memória",
+ "message": "Enviar uma mensagem interna",
+ "review": "Rever o último resultado",
+ "routines": "Gerir as rotinas deste agente"
+ },
+ "help": "Comandos do chat",
+ "plan_active": "Modo de plano · só leitura",
+ "goal_active": "Objetivo em curso",
+ "goal_paused": "Objetivo em pausa",
+ "goal_blocked": "Objetivo bloqueado",
+ "goal_complete": "Objetivo concluído",
+ "goal_cleared": "Objetivo removido",
+ "steps": "passos",
+ "stop": "Parar",
+ "continue": "Continuar",
+ "clear_goal": "Remover objetivo",
+ "working": "A trabalhar",
+ "status": "Estado",
+ "find": "Resultados da pesquisa",
+ "routines": "Rotinas",
+ "close": "Fechar",
+ "mode": "Modo",
+ "task": "Tarefa",
+ "no_task": "Sem tarefa atual",
+ "goal": "Objetivo",
+ "no_matches": "Nenhuma mensagem corresponde",
+ "command_done": "Comando concluído",
+ "backend_unavailable": "Estes comandos precisam da ligação ao backend atualizada",
+ "session_loading": "O chat ainda está a carregar",
+ "session_changed": "O chat ativo mudou",
+ "no_arguments": "Este comando não aceita argumentos",
+ "attachments_loading": "Aguarda até os anexos terminarem de ser processados.",
+ "build_active": "Modo de construção",
+ "control_turn": "Trabalho do agente",
+ "verifying": "Execução terminada; a verificar o resultado."
+ },
+ "code_editor": {
+ "loading": "A abrir…",
+ "starting": "A iniciar o editor…",
+ "binary": "Este ficheiro não é texto, por isso não pode ser editado aqui.",
+ "too_large": "Este ficheiro tem mais de 5 MB, é demasiado grande para editar aqui.",
+ "load_failed": "Não foi possível abrir o ficheiro ({error}).",
+ "open_externally": "Abrir neste computador",
+ "tabs": "Ficheiros abertos",
+ "close_tab": "Fechar {file}",
+ "close_tab_hint": "Fechar (Ctrl+W)",
+ "close_side": "Fechar o editor lateral",
+ "side_label": "Editor lateral",
+ "resize_split": "Redimensionar os dois editores",
+ "side_tab_hint": "Mostrado no editor lateral",
+ "show_terminals": "Terminais",
+ "show_terminals_hint": "Mostrar os terminais; os ficheiros continuam abertos",
+ "breadcrumbs": "Caminho do ficheiro",
+ "diff_badge": "Alterações desde o último commit",
+ "open_file": "Abrir ficheiro",
+ "open_changes": "Mostrar alterações",
+ "reference_in": "Referenciar em {pane}",
+ "conflict": "Um agente alterou este ficheiro no disco enquanto tinhas edições por guardar.",
+ "conflict_load_disk": "Carregar a versão deles",
+ "conflict_keep_mine": "Manter a minha",
+ "deleted": "Este ficheiro foi eliminado do disco. Guardar volta a criá-lo.",
+ "preview": "Pré-visualizar",
+ "show_source": "Mostrar código-fonte",
+ "media_failed": "Este ficheiro não pode ser mostrado aqui.",
+ "document_note": "Texto extraído deste documento. Abre-o neste computador para o editar.",
+ "truncated": "Só é mostrado o início do ficheiro.",
+ "empty": "Este ficheiro não tem conteúdo legível.",
+ "mixed_eol": "Este ficheiro mistura finais de linha. Ao guardar, escreve {eol} em todo o ficheiro.",
+ "tab_menu": "Ações do separador",
+ "menu": {
+ "close": "Fechar",
+ "close_others": "Fechar os outros",
+ "close_saved": "Fechar os guardados",
+ "close_all": "Fechar todos",
+ "copy_path": "Copiar caminho",
+ "copy_relative_path": "Copiar caminho relativo",
+ "open_side": "Abrir ao lado",
+ "reveal": "Mostrar na pasta"
+ },
+ "status": {
+ "reopen_with": "Reabrir com codificação",
+ "save_with": "Guardar com codificação",
+ "line_endings": "Finais de linha",
+ "change_encoding": "Alterar a codificação",
+ "saving": "A guardar…",
+ "unsaved": "Alterações por guardar",
+ "saved": "Guardado",
+ "position": "Ln {line}, Col {column}",
+ "selected": "({count} selecionados)",
+ "spaces": "Espaços: {size}",
+ "tabs": "Tamanho da tabulação: {size}",
+ "utf8_bom": "UTF-8 com BOM"
+ },
+ "unsaved": {
+ "title_one": "Guardar as alterações a {file}?",
+ "title_many": "Guardar as alterações a {count} ficheiros?",
+ "body": "As tuas alterações perdem-se se não as guardares.",
+ "save": "Guardar",
+ "discard": "Não guardar",
+ "cancel": "Cancelar"
+ },
+ "quick_open": {
+ "title": "Ir para ficheiro",
+ "placeholder": "Escreve o nome de um ficheiro; acrescenta :42 para saltar para a linha 42",
+ "no_match": "Nenhum ficheiro corresponde."
+ },
+ "errors": {
+ "not_editable": "O ficheiro no disco já não pode ser editado aqui.",
+ "reopen_dirty": "Guarda ou descarta as alterações antes de reabrir o ficheiro noutra codificação."
+ },
+ "encoding_scripts": {
+ "labelled": "{script} ({encoding})",
+ "utf8_bom": "UTF-8 com BOM",
+ "western": "Ocidental",
+ "central_european": "Europa Central",
+ "cyrillic": "Cirílico",
+ "greek": "Grego",
+ "turkish": "Turco",
+ "japanese": "Japonês",
+ "chinese_simplified": "Chinês simplificado",
+ "chinese_traditional": "Chinês tradicional",
+ "korean": "Coreano"
+ }
+ },
+ "ide_side_panel": {
+ "aria": "Painel lateral",
+ "tabs_aria": "Separadores do painel lateral",
+ "expand": "Abrir painel lateral",
+ "collapse": "Fechar painel lateral",
+ "resize": "Redimensionar painel lateral",
+ "maximize": "Ocupar toda a vista",
+ "restore": "Voltar ao painel lateral",
+ "add_tab": "Adicionar um separador",
+ "add_terminal": "Terminal simples",
+ "terminal_label": "Terminal",
+ "terminal_workspace_required": "Seleciona um workspace para abrir um terminal.",
+ "terminal_limit": "Todos os separadores de terminal deste workspace já estão abertos.",
+ "launcher": {
+ "title": "Abrir uma superfície"
+ },
+ "browser": {
+ "reload": "Recarregar",
+ "placeholder": "Endereço, p. ex. localhost:5173",
+ "address": "Endereço",
+ "open_external": "Abrir no teu navegador",
+ "empty_title": "Introduz um endereço acima",
+ "empty_hint": "Feito para pré-visualizações locais, como um servidor de desenvolvimento. Muitos sites públicos não permitem ser mostrados dentro de outra aplicação; abre-os no teu navegador."
+ },
+ "all_open": "Todos os separadores já estão abertos",
+ "close_tab": "Fechar separador",
+ "rail_aria": "Separadores do painel lateral",
+ "rail_waiting": "{n} à tua espera",
+ "explorer": {
+ "aria": "Ficheiros e alterações do workspace",
+ "no_workspace": "Seleciona um workspace para ver os ficheiros.",
+ "refresh": "Atualizar",
+ "views": "Vistas do explorador",
+ "view_changes": "Alterações",
+ "view_files": "Ficheiros",
+ "changed_by": "Alterado por {who}",
+ "filter": "Filtrar ficheiros",
+ "clear_filter": "Limpar filtro",
+ "loading": "A carregar…",
+ "no_git": "Esta pasta não é um repositório git, por isso não é possível mostrar alterações.",
+ "no_match": "Nenhum ficheiro corresponde ao filtro.",
+ "clean": "Sem alterações desde o último commit.",
+ "changes_error": "Não foi possível carregar as alterações ({error}). Pode ser necessário reiniciar a aplicação após uma atualização.",
+ "drag_hint": "Arrasta para um terminal para o referenciar",
+ "truncated": "A lista foi encurtada; abre a pasta para ver o resto.",
+ "reference_in": "Referenciar em {pane}",
+ "open_externally": "Abrir neste computador",
+ "new_file": "Novo ficheiro",
+ "new_folder": "Nova pasta",
+ "collapse_all": "Recolher todas as pastas",
+ "quick_open_hint": "Ir para ficheiro (Ctrl+P)",
+ "show_editor": "Mostrar editor ({count} abertos)",
+ "menu_label": "Ações do ficheiro",
+ "open_editor": "Abrir no editor",
+ "copy_path": "Copiar caminho",
+ "copy_relative_path": "Copiar caminho relativo",
+ "rename": "Mudar o nome",
+ "delete": "Eliminar",
+ "delete_file_title": "Eliminar {file}?",
+ "delete_folder_title": "Eliminar a pasta {file} e todo o seu conteúdo?",
+ "delete_permanent_title": "Eliminar {file} permanentemente?",
+ "delete_body": "Vai para o lixo, por isso ainda o podes restaurar.",
+ "delete_permanent_body": "Este computador não tem lixo para onde o mover. Uma eliminação permanente não pode ser anulada.",
+ "delete_permanent": "Eliminar permanentemente",
+ "cut": "Cortar",
+ "copy": "Copiar",
+ "paste": "Colar",
+ "delete_many_title": "Eliminar {count} itens?",
+ "busy_saving": "Um ficheiro lá dentro ainda está a ser guardado. Tenta novamente daqui a pouco.",
+ "open_side": "Abrir ao lado",
+ "reveal_windows": "Mostrar no Explorador de Ficheiros",
+ "reveal_mac": "Mostrar no Finder",
+ "reveal_linux": "Abrir a pasta que o contém",
+ "open_terminal": "Abrir no terminal",
+ "find_in_folder": "Procurar na pasta…",
+ "select_compare": "Selecionar para comparar",
+ "compare_with": "Comparar com {file}",
+ "cancel": "Cancelar"
+ },
+ "search": {
+ "placeholder": "Pesquisar em todos os ficheiros",
+ "replace_placeholder": "Substituir por",
+ "match_case": "Respeitar maiúsculas",
+ "whole_word": "Palavra inteira",
+ "regex": "Expressão regular",
+ "toggle_replace": "Mostrar ou ocultar substituição",
+ "replace_all": "Substituir tudo",
+ "replace_confirm": "Substituir {count} em {files} ficheiros?",
+ "replace_truncated": "Só é mostrada parte dos resultados; restringe a pesquisa até estarem todos listados para os substituir.",
+ "filters": "Ficheiros a incluir ou excluir",
+ "include": "Ficheiros a incluir, p. ex. *.py, src",
+ "exclude": "Ficheiros a excluir, p. ex. tests, *.min.js",
+ "summary": "{count} resultados em {files} ficheiros",
+ "no_results": "Sem resultados.",
+ "searching": "A pesquisar…",
+ "truncated": "Só são mostrados os primeiros resultados; restringe a pesquisa.",
+ "replaced": "Substituídas {count} em {files} ficheiros.",
+ "skipped_dirty": "{count} ficheiros com alterações por guardar foram ignorados; guarda-os primeiro.",
+ "skipped_other": "Não foi possível alterar {count} ficheiros."
+ },
+ "tabs": {
+ "browser": "Navegador",
+ "git": "Git",
+ "skills": "Skills",
+ "agents": "Agentes",
+ "files": "Pasta",
+ "changes": "Alterações",
+ "search": "Pesquisa",
+ "subscriptions": "Subscrições",
+ "office": "Dodaios Verse"
+ },
+ "subscriptions": {
+ "bank": {
+ "account_changed": "A sessão desta conta mudou. Atualiza e confirma novamente a conta pretendida.",
+ "signed_out": "Inicia sessão nesta subscrição e depois atualiza.",
+ "title": "Resets acumulados",
+ "refresh": "Atualizar resets",
+ "loading": "A verificar os resets disponíveis…",
+ "count": "{count} disponíveis",
+ "use": "Usar reset",
+ "reset": "Reset aplicado. A utilização foi atualizada onde disponível.",
+ "expires": "Expira {when}",
+ "expiry_unknown": "Sem data de expiração indicada",
+ "count_only": "O fornecedor só indica uma contagem. Escolherá o próximo reset disponível.",
+ "browser": "Este fornecedor gere os resets na sua página de utilização. A disponibilidade não pode ser lida aqui.",
+ "unsupported": "Este fornecedor não disponibiliza resets acumulados através da subscrição ligada.",
+ "unavailable": "Não foi possível ler os resets. Atualiza, atualiza a CLI ou verifica a página de utilização do fornecedor.",
+ "confirm_title": "Confirmar reset",
+ "confirm_text": "Usar “{reset}” para {account}?",
+ "irreversible": "Isto gasta um reset guardado e não pode ser anulado. Os limites de utilização elegíveis são repostos de imediato; as próximas horas de reposição podem mudar.",
+ "confirm": "Confirmar e usar reset",
+ "cancel": "Cancelar",
+ "pending": "Há um pedido de reset pendente. Verifica o mesmo pedido antes de iniciar outro.",
+ "retry": "Verificar / repetir o mesmo pedido",
+ "using": "A usar reset…",
+ "uncertain": "Sem resposta confirmada. Repetir este pedido não pode gastar um segundo reset.",
+ "storage_failed": "Não foi possível guardar o pedido em segurança. Nenhum reset foi enviado.",
+ "alreadyRedeemed": "Este pedido já aplicou o reset. Não foi gasto um segundo reset.",
+ "nothingToReset": "Nenhum limite de utilização elegível precisa de reset. Nada foi gasto.",
+ "noCredit": "Não há resets acumulados disponíveis para esta conta.",
+ "manage": "Abrir utilização do fornecedor",
+ "browser_account": "No navegador, confirma que tens sessão iniciada como {account}.",
+ "open_failed": "Não foi possível abrir o navegador.",
+ "reset_name": "Reset de utilização"
+ },
+ "hint": "Subscrições com sessão iniciada, por ferramenta",
+ "refresh": "Atualizar utilização",
+ "empty": "Ainda não há nenhuma subscrição com sessão iniciada. Adiciona uma nas definições do workspace.",
+ "error": "Não foi possível carregar as subscrições ({error}).",
+ "active": "Ativa",
+ "active_tip": "Os novos terminais desta ferramenta começam nesta subscrição.",
+ "used": "{percent}% usado",
+ "usage_pending": "A ler a utilização…",
+ "usage_unsupported": "Esta ferramenta não indica a utilização do plano.",
+ "usage_signed_out": "Sem sessão iniciada, por isso não há utilização a mostrar.",
+ "usage_unavailable": "Não foi possível ler a utilização de momento.",
+ "cached": "Último registo {when}",
+ "reset_soon": "Repõe agora",
+ "reset_in_minutes": "Repõe daqui a {m} min",
+ "reset_in_hours": "Repõe daqui a {h} h {m} min",
+ "reset_on": "Repõe {when}",
+ "window": {
+ "session": "Sessão atual",
+ "session_length": "Sessão atual ({length})",
+ "weekly": "Limite semanal",
+ "weekly_scoped": "Limite semanal · {scope}",
+ "monthly": "Limite mensal",
+ "other": "Outro limite"
+ },
+ "switch": {
+ "use": "Mudar",
+ "use_tip": "Executar {tool} nesta subscrição: os novos terminais começam aqui e todos os agentes em execução passam para ela, continuando a sua própria conversa.",
+ "switching": "A mudar…",
+ "done": "Agora a correr em {label}.",
+ "moved": "{n} agente(s) mudado(s) com a sua conversa.",
+ "queued": "{n} agente(s) a trabalhar seguem quando o passo atual terminar.",
+ "failed": "A mudança não foi concluída ({error}).",
+ "empty_until": "Esgotada até {when}",
+ "auto": "Mudar automaticamente",
+ "auto_tip": "Quando uma subscrição está a acabar ou atinge o limite, os agentes em execução passam para a subscrição com mais orçamento restante e continuam a trabalhar.",
+ "threshold": "Quando mudar",
+ "at_left": "com {left}% restante",
+ "at_limit": "só no limite",
+ "event_manual": "{time} · {tool} mudou para {to}",
+ "event_limit": "{time} · {tool}: {from} atingiu o limite, o trabalho continuou em {to}",
+ "event_threshold": "{time} · {tool}: {from} quase esgotada, o trabalho passou para {to}",
+ "event_no_seat": "{time} · {tool}: {from} está esgotada e nenhuma outra subscrição tem orçamento restante",
+ "event_refilled": "{time} · {tool}: {from} foi reposta, o trabalho interrompido continuou"
+ }
+ },
+ "git": {
+ "aria": "Branches, pull requests e CI",
+ "needs_restart": "O Dodaios precisa de reiniciar uma vez para ativar isto. Depois escolhes o repositório desta pasta uma única vez.",
+ "connect_repo_title": "Ligar um repositório GitHub",
+ "restart_button": "Reiniciar o Dodaios",
+ "connect_title": "Liga o GitHub para ver pull requests e CI",
+ "connect_body": "Os branches desta pasta aparecem sem isso. Ligar requer uma aprovação no navegador.",
+ "connect_button": "Ligar o GitHub",
+ "pick_title": "Qual é o repositório GitHub desta pasta?",
+ "pick_body": "Escolhes isto uma vez por pasta.",
+ "pick_body_login": "Os teus repositórios como {login}. Escolhes isto uma vez por pasta.",
+ "pick_search": "Procurar repositórios…",
+ "pick_loading": "A carregar os teus repositórios…",
+ "pick_empty": "Nenhum repositório corresponde.",
+ "pick_private": "Privado",
+ "pick_recommended": "Recomendado",
+ "pick_recommended_why": "O remote git desta pasta aponta para aqui.",
+ "pick_cancel": "Manter o repositório atual",
+ "change_repo": "Escolher outro repositório GitHub para esta pasta",
+ "no_workspace": "Seleciona um workspace para ver os branches.",
+ "loading": "A ler branches do git e do GitHub…",
+ "refresh": "Atualizar agora a partir do git e do GitHub",
+ "branches": "Branches",
+ "legend": "O que significam os símbolos",
+ "legend_merged": "Branch integrado num destino",
+ "open_repo": "Abrir o repositório no GitHub",
+ "remote_only": "Só no GitHub ({n})",
+ "truncated": "A mostrar os {n} branches alterados mais recentemente.",
+ "current": "Em checkout neste workspace",
+ "default": "O branch predefinido do repositório",
+ "default_badge": "predefinido",
+ "in_worktree": "Em checkout noutra worktree: {path}",
+ "worktree_badge": "outra worktree",
+ "tracks": "Segue {upstream}: {ahead} à frente, {behind} atrás",
+ "ahead_behind": "↑{ahead} ↓{behind}",
+ "not_pushed": "Ainda não enviado para o GitHub",
+ "local_only": "só local",
+ "local_only_tip": "Só neste computador. Ainda não enviado para o GitHub.",
+ "both": "local + GitHub",
+ "both_tip": "Neste computador e no GitHub.",
+ "github_only": "só GitHub",
+ "github_only_tip": "Só no GitHub, não neste computador.",
+ "last_commit": "Último commit: {date}",
+ "details": {
+ "local_absent": "Só no GitHub, não neste computador.",
+ "local_worktree": "Em checkout em",
+ "local_branch_only": "Neste computador, sem checkout em nenhuma pasta.",
+ "open_folder": "Abrir pasta",
+ "open_in": "Abrir em {editor}",
+ "open_github": "Abrir no GitHub",
+ "open_failed": "Não foi possível abrir a pasta.",
+ "loading": "A ler o branch…",
+ "binary": "binário",
+ "commits_vs": "{n} commits que não estão em {base}",
+ "commits_latest": "Últimos {n} commits",
+ "no_commits": "Sem commits além de {base}.",
+ "more_commits": "Os commits mais antigos não são listados.",
+ "files": "{n} ficheiros alterados",
+ "more_files": "Foram alterados mais ficheiros do que os listados."
+ },
+ "merged_short": "em {target}",
+ "merged_git": "Integrado em {target}: todos os commits deste branch estão em {target}.",
+ "merged_pr": "Integrado em {target} através do pull request #{number}.",
+ "pr": {
+ "draft": "Pull request em rascunho",
+ "open": "Pull request aberto",
+ "queued": "Na fila de merge",
+ "queued_position": "Na fila de merge, posição {n}",
+ "merged": "Pull request integrado",
+ "closed": "Fechado sem integrar"
+ },
+ "pr_tooltip": "{state} #{number} para {base}\n{title}",
+ "click_pr": "Clica para abrir o pull request no GitHub.",
+ "ci": {
+ "pending": "CI à espera de começar",
+ "running": "CI em execução",
+ "success": "CI aprovada",
+ "failure": "CI falhou"
+ },
+ "ci_counts": "{passed} de {total} verificações aprovadas · {failed} falharam · {running} em execução · {pending} em espera",
+ "ci_failed_names": "Falharam: {names}",
+ "ci_running_names": "Em execução: {names}",
+ "ci_stale": "Estas verificações correram em {commit}; os commits locais mais recentes ainda não foram enviados.",
+ "click_ci": "Clica para abrir a execução da CI.",
+ "github_updated": "Estado do GitHub de {when}",
+ "github_reading": "A ler pull requests e CI do GitHub…",
+ "github_off": "Sem estado do GitHub: {reason}",
+ "seconds_ago": "há {n} s",
+ "minutes_ago": "há {n} min",
+ "open_branch": "Abrir {branch} no GitHub",
+ "more": "Mais opções",
+ "search": "Procurar branches ou #PR…",
+ "search_clear": "Limpar pesquisa",
+ "filter_aria": "Mostrar branches",
+ "filter": {
+ "all": "Todos",
+ "pr": "PR aberto",
+ "failing": "CI falhou",
+ "unmerged": "Não integrados",
+ "local": "Só locais"
+ },
+ "filter_empty": "Nenhum branch corresponde.",
+ "menu": {
+ "aria": "Opções de {branch}",
+ "open_branch": "Abrir branch no GitHub",
+ "commits": "Histórico de commits no GitHub",
+ "compare": "Comparar com {target}",
+ "open_pr": "Abrir pull request #{number}",
+ "create_pr": "Criar pull request",
+ "create_pr_hint": "Para {target}",
+ "open_ci": "Abrir execução da CI",
+ "open_commit": "Abrir último commit",
+ "copy_name": "Copiar nome do branch",
+ "copy_switch": "Copiar comando de mudança",
+ "copy_sha": "Copiar SHA do commit",
+ "copy_link": "Copiar link do GitHub",
+ "copy_worktree": "Copiar caminho da worktree",
+ "copied": "Copiado: {text}",
+ "copy_failed": "Não foi possível copiar para a área de transferência.",
+ "no_repo": "Ainda não foi escolhido nenhum repositório GitHub"
+ }
+ },
+ "skills": {
+ "subtitle": "Arrasta uma para um terminal para a colar",
+ "new": "Nova skill",
+ "new_short": "Nova",
+ "paste_short": "Colar texto",
+ "import_short": "Importar .md",
+ "add_examples": "Adicionar três skills de exemplo",
+ "drop_files_hint": "Ou larga ficheiros Markdown em qualquer sítio aqui.",
+ "empty_title": "Os teus prompts, à distância de um arrasto",
+ "empty_body": "Uma skill é um texto Markdown com um título. Arrasta-a para qualquer terminal e vai parar ao prompt do agente — colada, não enviada.",
+ "search_placeholder": "Procurar skills…",
+ "search_label": "Procurar skills",
+ "search_clear": "Limpar pesquisa",
+ "sort_menu": "Ordenar skills",
+ "sort_label": "Ordem: {order}",
+ "sort_manual": "A tua ordem",
+ "sort_used": "Mais usadas",
+ "sort_recent": "Usadas recentemente",
+ "sort_name": "A a Z",
+ "loading": "A carregar skills",
+ "load_failed": "Não foi possível carregar as skills ({error}).",
+ "retry": "Tentar novamente",
+ "no_match": "Nenhuma skill corresponde a “{query}”.",
+ "list_label": "Skills",
+ "hint_dragging": "Larga em qualquer terminal — o texto é colado, não enviado.",
+ "hint_target": "⏎ cola em {pane}",
+ "hint_no_target": "Clica num terminal para escolher onde ⏎ cola.",
+ "drop_files_title": "Larga para importar",
+ "drop_files_body": "Um ficheiro abre no editor; vários são guardados de uma vez.",
+ "drop_file_editor": "Larga para substituir o texto por este ficheiro",
+ "drop_eyebrow": "Colar skill",
+ "drop_unknown": "Skill",
+ "drop_into": "em {pane} · não enviado",
+ "drop_blocked": "{pane} executaria cada linha como um comando — abre lá um agente de programação",
+ "paste_refused": "Não colado: {pane} executaria cada linha como um comando. Larga antes a skill num agente de programação.",
+ "card_aria": "Skill {title}. Arrasta para um terminal, Enter cola, Espaço abre.",
+ "no_description": "Sem descrição",
+ "landed": "Colado em {pane}",
+ "meta_lines": "Linhas",
+ "meta_tokens": "Tokens aproximados",
+ "meta_used": "Vezes colada",
+ "tokens_short": "~{n} tok",
+ "used_short": "{n}×",
+ "ghost_meta": "{lines} linhas · larga num terminal",
+ "paste_into": "Colar em {pane}",
+ "paste_no_target": "Seleciona primeiro um terminal",
+ "more": "Mais ações para {title}",
+ "more_short": "Mais",
+ "key_space": "Espaço",
+ "action_preview": "Abrir",
+ "action_edit": "Editar",
+ "action_duplicate": "Duplicar",
+ "action_copy": "Copiar texto",
+ "action_export": "Guardar como ficheiro .md",
+ "action_delete": "Eliminar",
+ "action_delete_confirm": "Clica novamente para eliminar",
+ "copy_title": "{title} (cópia)",
+ "deleted": "“{title}” eliminada.",
+ "copied": "“{title}” copiada.",
+ "copy_failed": "Não foi possível copiar o texto.",
+ "import_not_markdown": "Só ficheiros Markdown ou de texto podem tornar-se skills.",
+ "imported": "{n} skills importadas.",
+ "clipboard_empty": "A área de transferência não contém texto.",
+ "editor_new_aria": "Nova skill",
+ "editor_edit_aria": "Editar skill {title}",
+ "editor_eyebrow_new": "Nova skill",
+ "editor_eyebrow_edit": "Skill",
+ "title_placeholder": "Dá-lhe um título",
+ "description_label": "Descrição curta",
+ "description_placeholder": "Uma linha sobre o que faz (opcional)",
+ "close": "Fechar",
+ "colour_label": "Cor",
+ "icon_label": "Ícone",
+ "icon_auto_short": "Auto",
+ "view_label": "Vista",
+ "view_write": "Escrever",
+ "view_preview": "Pré-visualizar",
+ "view_split": "Lado a lado",
+ "paste_clipboard": "Colar da área de transferência",
+ "import_file": "Importar ficheiro Markdown",
+ "content_placeholder": "Cola ou escreve Markdown aqui — uma checklist, um guia de estilo, um SKILL.md…",
+ "preview_empty": "Ainda nada para pré-visualizar.",
+ "stat_lines": "{n} linhas",
+ "stat_words": "{n} palavras",
+ "stat_tokens": "~{n} tokens",
+ "discard_question": "Descartar as alterações?",
+ "discard_yes": "Descartar",
+ "discard_keep": "Continuar a editar",
+ "cancel": "Cancelar",
+ "save_new": "Guardar skill",
+ "save_changes": "Guardar alterações",
+ "save_and_paste": "Guardar e colar em {pane}",
+ "hue": {
+ "blue": "Azul",
+ "violet": "Violeta",
+ "teal": "Verde-azulado",
+ "amber": "Âmbar",
+ "rose": "Rosa",
+ "green": "Verde",
+ "magenta": "Magenta",
+ "slate": "Ardósia"
+ },
+ "icon": {
+ "auto": "Automático: escolhido a partir do título",
+ "doc": "Documento",
+ "plan": "Plano",
+ "code": "Código",
+ "bug": "Correção de bug",
+ "flask": "Testes",
+ "review": "Revisão",
+ "shield": "Segurança",
+ "refactor": "Refatoração",
+ "book": "Documentação",
+ "list": "Checklist",
+ "git": "Git",
+ "terminal": "Shell",
+ "palette": "Design",
+ "data": "Dados",
+ "perf": "Desempenho",
+ "rocket": "Lançamento"
+ },
+ "import_errors": {
+ "unreadable": "{file}: não foi possível ler.",
+ "not_markdown": "{file}: não é um ficheiro Markdown nem de texto.",
+ "too_large": "{file}: maior do que {size} KB.",
+ "not_text": "{file}: não é um ficheiro de texto."
+ }
+ },
+ "office": {
+ "failed": "Não foi possível carregar o Dodaios Verse.",
+ "retry": "Tentar novamente"
+ },
+ "agents": {
+ "search": {
+ "label": "Procurar terminais",
+ "placeholder": "Procura terminais ou descreve uma tarefa…",
+ "hint": "Encontra nomes, palavras-chave ou tarefas relacionadas. Corre neste dispositivo.",
+ "clear": "Limpar pesquisa",
+ "loading": "A procurar tarefas relacionadas — a transferir o modelo local na primeira utilização…",
+ "searching": "A procurar tarefas relacionadas…",
+ "error": "As tarefas relacionadas não estão disponíveis de momento. A pesquisa por palavras continua a funcionar. Tenta novamente para incluir tarefas relacionadas.",
+ "empty": "Nenhum terminal corresponde.",
+ "results": "{count} terminais correspondentes · melhor correspondência primeiro",
+ "retry": "Tentar novamente"
+ },
+ "aria": "Agentes neste workspace",
+ "count_one": "{n} agente",
+ "count_other": "{n} agentes",
+ "no_workspace": "Seleciona um workspace para ver os agentes.",
+ "empty": "Nenhum agente em execução neste workspace.",
+ "empty_folder": "Nenhum agente em execução nesta pasta.",
+ "scope": {
+ "aria": "Mostrar agentes de",
+ "workspace": "Este espaço",
+ "folder": "Pasta inteira"
+ },
+ "columns": {
+ "done": "Concluídos",
+ "working": "A trabalhar",
+ "reviewed": "Revistos"
+ },
+ "column_empty": {
+ "done": "Nada de novo terminou.",
+ "working": "Nenhum agente está a trabalhar de momento.",
+ "reviewed": "Clica num agente concluído para o mover para aqui."
+ },
+ "last_output": "Última saída há {time}",
+ "runtime_note": "Os agentes continuam a correr quando fechas a aplicação.",
+ "stop_all": "Parar todos os agentes",
+ "stop_confirm": "Parar todos os agentes em todos os workspaces? As conversas ficam guardadas.",
+ "stop_confirm_yes": "Parar todos",
+ "stop_cancel": "Cancelar",
+ "summary": {
+ "waiting": "{n} precisam de resposta",
+ "working": "{n} a trabalhar",
+ "error": "{n} falharam",
+ "idle": "{n} inativos ou concluídos"
+ },
+ "state": {
+ "stopped": "Parado",
+ "unknown": "Estado desconhecido",
+ "starting": "A iniciar",
+ "working": "A trabalhar",
+ "needs_input": "Precisa de resposta",
+ "failed": "Falhou",
+ "error": "Erro",
+ "exited": "Terminou",
+ "done": "Concluído",
+ "idle": "Inativo"
+ }
+ }
+ },
+ "appshots": {
+ "recording_title": "Gravação do ecrã",
+ "recording_hint": "Seleciona uma área ou o ecrã inteiro. Guarda o vídeo localmente com áudio do sistema opcional. Usa o mesmo atalho para parar.",
+ "recording_quality": "Qualidade da gravação",
+ "recording_resolution": "Resolução",
+ "recording_native": "Nativa · máximo do monitor",
+ "recording_fps": "Taxa de fotogramas",
+ "recording_bitrate": "Taxa de bits do vídeo (Mbps)",
+ "recording_bitrate_hint": "Taxa de bits alvo de 1–100 Mbps. Valores mais altos aumentam o tamanho do ficheiro; cenas simples podem usar menos.",
+ "recording_system_audio": "Incluir áudio do sistema",
+ "recording_audio_hint": "Grava o dispositivo de saída predefinido, incluindo aplicações noutros monitores. O teu microfone não é gravado. Mudar de dispositivo requer uma nova gravação.",
+ "recording_monitor_hint": "Escolhe a área do monitor que queres gravar. A resolução e os FPS são limitados por esse monitor; áreas mais pequenas não são ampliadas. Taxas de atualização desconhecidas são limitadas a 60 FPS. Os valores reais aparecem quando a gravação começa.",
+ "recording_apply": "Guardar definições de gravação",
+ "recording_dropped_hint": "Alguns fotogramas foram ignorados devido à carga. Experimenta uma taxa de fotogramas ou resolução mais baixa.",
+ "recording_start": "Selecionar área de gravação",
+ "recording_stop": "Parar e guardar",
+ "recording_cancel": "Cancelar",
+ "recording_shortcut": "Iniciar / parar gravação",
+ "recording_permission": "Permitir gravação do ecrã",
+ "recording_selecting": "Escolhe uma área ou o ecrã inteiro na janela de seleção.",
+ "recording_recording": "A gravar",
+ "recording_stopping": "A guardar a gravação…",
+ "recording_saved": "Guardado localmente",
+ "recording_cancelled": "Gravação cancelada",
+ "recording_download": "Transferir vídeo",
+ "title": "Appshots",
+ "subtitle": "Mostra a {name} a janela em que estás a trabalhar.",
+ "hero_title": "Faz um appshot para mostrar a {name} a tua janela da frente",
+ "hero_body": "Um appshot capta a janela da frente, a imagem e o texto no ecrã, e entrega-a à conversa. As tuas regras de privacidade continuam a aplicar-se. Só o histórico abaixo fica neste computador, e podes eliminá-lo a qualquer momento.",
+ "enabled_label": "Permitir appshots",
+ "enabled_hint": "Abrange também perguntas como \"o que vês?\". Desligado significa que {name} nunca olha para o teu ecrã.",
+ "shortcut_label": "Atalho de teclado",
+ "shortcut_both_alt_hint": "Prime as duas teclas Alt ao mesmo tempo",
+ "shortcut_both_option_hint": "Prime as duas teclas Option ao mesmo tempo",
+ "shortcut_combo_hint": "Prime {0}",
+ "shortcut_hint_off": "Sem atalho. Pede por voz ou usa o botão abaixo.",
+ "shortcut_off": "Desligado",
+ "shortcut_unavailable": "Inativo: {0}",
+ "region_shortcut_label": "Atalho de área",
+ "region_shortcut_hint": "Prime {0} e depois arrasta sobre a parte do ecrã que queres mostrar.",
+ "region_shortcut_hint_off": "Sem atalho. Usa antes \"Selecionar área\" abaixo.",
+ "recording_shortcut_label": "Atalho de gravação de vídeo",
+ "recording_shortcut_hint": "Prime {0} e escolhe uma área para começar a gravar. Prime {0} novamente para parar e guardar.",
+ "recording_shortcut_hint_off": "Sem atalho. Usa “Selecionar área de gravação” abaixo.",
+ "shortcut_change": "Alterar",
+ "shortcut_cancel": "Cancelar",
+ "shortcut_clear": "Desligar este atalho",
+ "shortcut_recording": "Prime as novas teclas…",
+ "shortcut_recording_hint": "Mantém as teclas premidas e depois solta. As duas Alt, as duas Shift ou as duas Ctrl em conjunto também funcionam. Esc cancela.",
+ "shortcut_modifier_only": "Uma tecla modificadora sozinha não é um atalho. Adiciona uma letra ou prime a mesma tecla nos dois lados do teclado.",
+ "shortcut_unmapped": "Essa tecla não pode ser um atalho. Usa uma letra, um número ou uma tecla de função.",
+ "shortcut_both_keys_hint": "Prime as duas teclas {0} ao mesmo tempo",
+ "region_shortcut_both_keys_hint": "Prime as duas teclas {0} em conjunto e depois arrasta sobre a parte do ecrã que queres mostrar.",
+ "target_label": "Destino do appshot",
+ "target_auto": "Automático",
+ "target_message": "Próxima mensagem",
+ "target_voice": "Só chamada de voz",
+ "target_auto_hint": "Para uma chamada de voz em curso; caso contrário, na tua próxima mensagem.",
+ "target_message_hint": "Sempre na tua próxima mensagem falada ou escrita.",
+ "target_voice_hint": "Só para uma chamada de voz em curso. Sem chamada, não é enviado.",
+ "sound_label": "Tocar efeito sonoro",
+ "sound_master_off": "Os efeitos sonoros estão desligados para toda a aplicação nas Definições.",
+ "effect_label": "Mostrar o flash",
+ "effect_hint": "Um breve flash e uma miniatura no canto do ecrã.",
+ "effect_unavailable": "Não disponível aqui: {0}",
+ "try_label": "Experimentar",
+ "try_hint": "Seleciona já uma área, ou capta a janela da frente após 3 segundos.",
+ "try_counting": "Muda para a tua janela: {0}",
+ "try_button": "Fazer appshot em 3 s",
+ "try_region_button": "Selecionar área",
+ "try_picking": "Arrasta sobre uma área, ou prime Esc para cancelar.",
+ "try_done": "Appshot feito",
+ "preview_title": "Último appshot",
+ "preview_empty": "O teu último appshot aparece aqui durante dois minutos e depois desaparece.",
+ "preview_front_window": "Janela da frente",
+ "preview_alt": "Appshot de {0}",
+ "preview_sent_voice": "Enviado para a chamada de voz",
+ "preview_sent_message": "À espera da tua próxima mensagem",
+ "preview_sent_turn": "Usado na conversa",
+ "preview_sent_none": "Não enviado, não havia chamada de voz em curso",
+ "forget": "Esquecer",
+ "voice_hint": "Também podes simplesmente dizer \"faz um appshot\".",
+ "save_error": "Não foi possível guardar: {0}",
+ "toast_refused": "Sem appshot: {0}",
+ "chip_label": "Appshot adicionado à tua mensagem",
+ "editor": {
+ "title": "Editar appshot",
+ "open": "Editar",
+ "tool_arrow": "Seta",
+ "tool_rect": "Retângulo",
+ "tool_ellipse": "Elipse",
+ "tool_pen": "Caneta",
+ "tool_highlight": "Marcador",
+ "tool_text": "Texto",
+ "tool_pixelate": "Pixelizar",
+ "tool_crop": "Recortar",
+ "color": "Cor",
+ "size": "Tamanho",
+ "undo": "Anular",
+ "redo": "Refazer",
+ "copy": "Copiar",
+ "copied": "Copiado para a área de transferência",
+ "copy_failed": "Não foi possível copiar: {0}",
+ "copy_timeout": "a área de transferência não respondeu",
+ "save": "Guardar",
+ "apply": "Usar esta versão",
+ "applied": "Appshot editado guardado. A tua próxima mensagem vai usá-lo.",
+ "close": "Fechar",
+ "gone": "Este appshot já não está guardado, por isso não pode ser editado.",
+ "text_placeholder": "Escreve…"
+ },
+ "editor_title": "Editor de Appshot"
+ },
+ "jarvisx": {
+ "title": "Dodaios X",
+ "subtitle": "Capturas de ecrã e gravações do ecrã, com um editor rápido para as anotar.",
+ "tab_library": "Biblioteca",
+ "tab_settings": "Definições",
+ "time_now": "Agora mesmo",
+ "time_minutes": "Há {0} min",
+ "action_failed": "Isso não funcionou.",
+ "deleted": "Eliminado",
+ "copied": "Copiado para a área de transferência",
+ "copy_failed": "Não foi possível copiar.",
+ "capture_region": "Região",
+ "capture_window": "Janela",
+ "capture_fullscreen": "Ecrã inteiro",
+ "recording": "A gravar",
+ "record_stop": "Parar",
+ "record_region": "Gravar região",
+ "record_fullscreen": "Gravar ecrã",
+ "recording_unavailable": "A gravação do ecrã não está disponível neste computador.",
+ "disabled_hint": "O Dodaios X está desligado. Ativa-o nas Definições.",
+ "load_failed": "Não foi possível carregar as tuas capturas: {0}",
+ "empty_title": "Ainda sem capturas",
+ "empty_body": "Faz uma captura de ecrã com um atalho ou com os botões acima. Aparece aqui, pronta a editar.",
+ "delete_title": "Eliminar esta captura?",
+ "delete_body": "O ficheiro é removido do teu disco. Isto não pode ser anulado.",
+ "delete": "Eliminar",
+ "open_video": "Reproduzir {0}",
+ "open_editor": "Editar {0}",
+ "mode_region": "Região",
+ "mode_window": "Janela",
+ "mode_fullscreen": "Ecrã inteiro",
+ "edited": "Editada",
+ "kind_video": "Vídeo",
+ "kind_image": "Captura de ecrã",
+ "edit": "Editar",
+ "open_window": "Abrir numa janela própria",
+ "copy": "Copiar",
+ "reveal": "Mostrar na pasta",
+ "editor": {
+ "title": "Editor do Dodaios X",
+ "no_item": "Nenhuma captura indicada. Abre o editor a partir da biblioteca do Dodaios X.",
+ "image_failed": "Não foi possível carregar a imagem.",
+ "tools": "Ferramentas",
+ "tool_select": "Selecionar e mover",
+ "tool_rect": "Retângulo",
+ "tool_highlight": "Caixa de destaque",
+ "tool_ellipse": "Elipse",
+ "tool_arrow": "Seta",
+ "tool_line": "Linha",
+ "tool_pen": "Caneta",
+ "tool_marker": "Marcador",
+ "tool_text": "Texto",
+ "tool_counter": "Passo numerado",
+ "tool_blur": "Pixelizar",
+ "tool_crop": "Recortar",
+ "undo": "Anular",
+ "redo": "Refazer",
+ "save": "Guardar",
+ "done": "Guardar e fechar",
+ "save_failed": "Não foi possível guardar: {0}",
+ "saved": "Guardado",
+ "color": "Cor",
+ "stroke": "Espessura da linha",
+ "font_size": "Tamanho do texto",
+ "shadow": "Sombra",
+ "crop_hint": "Arrasta sobre a parte que queres manter.",
+ "crop_reset": "Repor recorte",
+ "crop_apply": "Concluído",
+ "select_hint": "Clica numa marca para a mover. Faz duplo clique no texto para o editar.",
+ "delete_shape": "Eliminar marca",
+ "base": "Começar a partir de",
+ "base_edited": "Editada",
+ "base_original": "Original",
+ "zoom_out": "Diminuir zoom",
+ "zoom_in": "Aumentar zoom",
+ "zoom_fit": "Ajustar à janela",
+ "load_failed": "Não foi possível abrir esta captura.",
+ "dev_hint": "Modo de pré-visualização: esta imagem não é uma captura guardada, por isso não pode ser guardada.",
+ "discard_title": "Descartar as alterações?",
+ "discard_body": "As marcas feitas desde a última gravação serão perdidas.",
+ "discard_confirm": "Descartar",
+ "switch_title": "Mudar a imagem de partida?",
+ "switch_body": "As marcas não guardadas serão perdidas. As edições guardadas ficam na versão editada."
+ },
+ "settings": {
+ "load_failed": "Não foi possível carregar as definições do Dodaios X.",
+ "section_general": "Geral",
+ "enabled_label": "Usar o Dodaios X",
+ "enabled_hint": "Ativa os atalhos de captura. Desligado, os atalhos não fazem nada.",
+ "section_shortcuts": "Atalhos de teclado",
+ "shortcuts_off": "Os atalhos só funcionam enquanto o Dodaios X estiver ligado.",
+ "hotkey_region": "Capturar uma região",
+ "hotkey_window": "Capturar uma janela",
+ "hotkey_fullscreen": "Capturar o ecrã inteiro",
+ "hotkey_record_region": "Gravar uma região",
+ "hotkey_record_fullscreen": "Gravar o ecrã inteiro",
+ "hotkey_stop_recording": "Parar a gravação",
+ "hotkey_armed": "Ativo",
+ "hotkey_unarmed": "Inativo: {0}",
+ "hotkey_unarmed_plain": "Inativo de momento",
+ "save_error": "Não foi possível guardar: {0}",
+ "section_thumbnail": "Miniatura",
+ "persist_label": "Manter a miniatura até eu a fechar",
+ "persist_hint": "Após uma captura, uma pequena pré-visualização fica no canto do ecrã.",
+ "dismiss_label": "Ocultar a miniatura após",
+ "dismiss_hint": "Desaparece sozinha após {0} segundos.",
+ "dismiss_seconds": "Segundos",
+ "seconds_unit": "s",
+ "section_after": "Após uma captura",
+ "save_dir_label": "Pasta de destino",
+ "save_dir_hint": "Onde ficam guardadas as novas capturas e gravações.",
+ "clipboard_label": "Copiar para a área de transferência",
+ "clipboard_hint": "Cada nova captura fica logo pronta a colar.",
+ "sound_label": "Tocar o som do obturador",
+ "effect_label": "Mostrar a animação",
+ "effect_hint": "Um breve flash e depois a miniatura voa para o canto.",
+ "keep_label": "Eliminar capturas antigas",
+ "keep_hint": "Mantém apenas as capturas e as gravações mais recentes. As mais antigas são eliminadas automaticamente da pasta de destino.",
+ "keep_all": "Nunca",
+ "keep_option": "Manter as {0} mais recentes",
+ "recording_unavailable": "A gravação do ecrã não está disponível aqui: {0}"
+ }
+ },
+ "pets": {
+ "title": "Os meus Pets",
+ "subtitle": "Um pequeno companheiro pixelizado que flutua no teu ambiente de trabalho e reage enquanto {name} ouve, pensa e fala. Prime {0} para o ocultar ou mostrar.",
+ "subtitle_no_shortcut": "Um pequeno companheiro pixelizado que flutua no teu ambiente de trabalho e reage enquanto {name} ouve, pensa e fala. Define um atalho em Personalizar para o ocultar ou mostrar.",
+ "hide": "Ocultar pet",
+ "show": "Mostrar pet",
+ "open_settings": "Escolher o teu pet",
+ "style_notice_title": "O pet ainda não está no ambiente de trabalho",
+ "style_notice_body": "O teu estilo de apresentação é “{0}”. Muda para o pet para o veres no ambiente de trabalho. O pet que escolheres abaixo é mantido em qualquer caso.",
+ "use_pet": "Usar pet no ambiente de trabalho",
+ "style_saved": "O pet está agora no teu ambiente de trabalho.",
+ "enabled_label": "Pet no ambiente de trabalho",
+ "style_off_saved": "O pet está desligado. A Dodaios Bar voltou ao teu ambiente de trabalho.",
+ "restart_hint": "Guardado. Reinicia {name} para levar o pet para o ambiente de trabalho.",
+ "load_error": "Não foi possível carregar os teus pets: {0}",
+ "save_error": "Não foi guardado: {0}",
+ "preview_title": "Pet ativo",
+ "customize": "Personalizar",
+ "size_label": "Tamanho",
+ "size_hint": "O tamanho do pet no ambiente de trabalho.",
+ "bubble_label": "Balão de estado",
+ "bubble_hint": "Frases curtas por baixo do pet que dizem o que {name} está a fazer.",
+ "strip_label": "Mostrar sempre os botões",
+ "strip_hint": "Desligado: os botões por baixo do pet só aparecem enquanto {name} ouve, pensa ou fala, ou quando apontas para o pet.",
+ "shortcut_hint": "Oculta o pet ou volta a trazê-lo para a frente.",
+ "my_pets": "Os meus pets",
+ "create": "Criar pet",
+ "created": "{0} está pronto.",
+ "none_name": "Nenhum",
+ "none_description": "Apenas a barra de controlo",
+ "selected": "Selecionado",
+ "delete": "Eliminar pet",
+ "delete_named": "Eliminar {0}",
+ "delete_title": "Eliminar {0}?",
+ "delete_body": "O pet e a respetiva sprite sheet são removidos deste computador. Isto não pode ser anulado.",
+ "deleted": "{0} foi eliminado.",
+ "states": {
+ "idle": "Inativo",
+ "listening": "A ouvir",
+ "thinking": "A pensar",
+ "talking": "A falar",
+ "success": "Sucesso",
+ "error": "Erro",
+ "sleeping": "A dormir",
+ "working": "A trabalhar",
+ "searching": "A procurar",
+ "held": "A ser transportado"
+ },
+ "builtin": {
+ "gigi": {
+ "description": "O fantasma de {name}, com oito bits de altura."
+ },
+ "miso": {
+ "description": "Um gato: orelhas em pé quando ouve, enrola-se para dormir."
+ },
+ "brew": {
+ "description": "Um bule: deita vapor quando pensa, apita quando fala."
+ },
+ "bolt": {
+ "description": "Uma bateria: carrega quando pensa, solta faíscas no sucesso, descarrega quando dorme."
+ },
+ "mochi": {
+ "description": "Uma bolha de gelatina que abana quando ouve."
+ },
+ "shelly": {
+ "description": "Um caracol: a concha gira quando pensa, recolhe-se para dormir."
+ },
+ "ember": {
+ "description": "Um dragão bebé: faz anéis de fumo quando pensa, cospe fogo no sucesso."
+ },
+ "cocoa": {
+ "description": "Um cachorro Labrador chocolate: inclina a cabeça para ouvir, escava quando trabalha, corre às voltas no sucesso."
+ }
+ },
+ "create_dialog": {
+ "title": "Criar pet",
+ "description": "Carrega uma sprite sheet, dá um nome ao teu pet e ele junta-se aos teus pets.",
+ "name_label": "Nome",
+ "name_placeholder": "Por exemplo: Pixel",
+ "description_label": "Descrição",
+ "description_placeholder": "Uma frase sobre o teu pet",
+ "sheet_label": "Sprite sheet (PNG)",
+ "sheet_preview_alt": "Pré-visualização da sprite sheet escolhida",
+ "sheet_hint": "Um PNG com fundo transparente, até 2 MB e 512 × 512 píxeis.",
+ "sheet_choose": "Escolher PNG",
+ "sheet_change": "Escolher outro",
+ "frame_size_label": "Tamanho do frame",
+ "frame_size_option": "{0} × {0} px",
+ "layout_title": "Como a sheet está organizada",
+ "layout_body": "A sheet é uma grelha de frames quadrados. Cada linha é um estado, de cima para baixo por esta ordem, com até {0} frames da esquerda para a direita:",
+ "template_download": "Transferir modelo",
+ "manifest_label": "Manifesto (opcional)",
+ "manifest_hint": "Um pet.json define os frames, a velocidade e o ciclo de cada linha. Sem ele, as linhas são lidas pela ordem acima e os frames de cada linha são contados.",
+ "manifest_choose": "Adicionar pet.json",
+ "manifest_remove": "Remover",
+ "error_name": "Dá um nome ao teu pet.",
+ "error_no_sheet": "Escolhe uma sprite sheet.",
+ "error_not_png": "Escolhe uma imagem PNG.",
+ "error_too_big": "Esta imagem tem mais de 2 MB.",
+ "error_manifest": "O manifesto tem de ser um ficheiro .json.",
+ "create": "Criar pet",
+ "creating": "A criar…"
+ }
+ },
+ "capacity_decision": {
+ "title": "Missão à espera de capacidade – a decisão é tua",
+ "loading": "A procurar uma alternativa paga …",
+ "provider": "Fornecedor",
+ "model": "Modelo",
+ "estimate": "Custo estimado",
+ "estimate_value": "cerca de {cost} para {steps} passos em aberto",
+ "cap": "Limite máximo de custo",
+ "spent": "Já gasto",
+ "reason": "Motivo",
+ "reasons": {
+ "provider_quota": "Capacidade da subscrição esgotada",
+ "provider_auth": "Sessão da subscrição expirada",
+ "provider_unavailable": "A subscrição não pode ser usada de momento",
+ "paid_cap_reached": "Limite de custo aprovado atingido",
+ "paid_daily_cap_reached": "Limite diário de uso pago automático atingido",
+ "paid_consent_revoked": "O uso pago automático foi desligado"
+ },
+ "no_offer": "Não há acesso pago à API com preço conhecido disponível. A missão aguarda pela subscrição.",
+ "over_cap": "A estimativa ultrapassa o limite de custo. A missão pausa quando o limite for atingido; o progresso fica guardado.",
+ "scope": "Uma aprovação cobre apenas esta missão e esta execução, nunca missões futuras.",
+ "covers_review": "A aprovação também paga as verificações que revêem o resultado.",
+ "settings_hint": "Permitir sempre em Definições → Chaves de API",
+ "wait": "Aguardar",
+ "approve": "Aprovar API paga para esta missão",
+ "cancel": "Cancelar missão",
+ "confirm_approve": "Usar {provider} / {model} para esta missão, no máximo {cap}?",
+ "confirm_cancel": "Cancelar a missão? O progresso guardado é mantido.",
+ "confirm": "Confirmar",
+ "back": "Voltar",
+ "error": "Decisão não aplicada: {detail}",
+ "waiting_ack": "A missão continua à espera da subscrição.",
+ "logged": {
+ "wait": "Decisão: aguardar.",
+ "approve_paid": "Decisão: API paga aprovada.",
+ "cancel": "Decisão: cancelada."
+ },
+ "logged_offer": "{provider} / {model}, estimado {cost}, limite {cap}.",
+ "paid_usage": "Execução paga em {provider} / {model}: real {cost} (estimado {estimate}, limite {cap}).",
+ "paid_usage_automatic": "Execução paga automática em {provider} / {model}: real {cost} (estimado {estimate}, limite {cap})."
+ },
+ "ide_projects": {
+ "connect_failed": "Não foi possível ligar esta pasta. Tenta outra vez.",
+ "choose_folder_error": "Escolhe uma pasta para continuar.",
+ "back_to_project": "Voltar ao projeto",
+ "choose_folder_title": "Escolhe uma pasta",
+ "connect_title": "Ligar projeto",
+ "connect_description": "Escolhe uma pasta de origem e, opcionalmente, um nome de projeto.",
+ "choose_folder_hint": "Escolhe uma pasta para continuar",
+ "use_folder": "Usar esta pasta",
+ "project_name": "Nome do projeto",
+ "project_name_optional": "Nome do projeto (opcional)",
+ "source_folder": "Pasta de origem",
+ "change": "Alterar",
+ "add_folder_hint": "Adiciona uma pasta deste computador",
+ "choose_folder": "Escolher pasta",
+ "connecting": "A ligar…",
+ "reorder_needs_restart": "Esta vista é mais recente do que o backend — reinicia a aplicação e tenta outra vez.",
+ "reveal_desktop_only": "Abrir pastas só funciona na aplicação de ambiente de trabalho.",
+ "sessions_one": "{count} sessão de agente",
+ "sessions_other": "{count} sessões de agente",
+ "path_copied": "Caminho da pasta copiado",
+ "path_copy_failed": "Não foi possível copiar o caminho da pasta",
+ "opening": "A abrir {label}…",
+ "open_failed": "Não foi possível iniciar {label}",
+ "workspace_copy": "{workspace} cópia",
+ "interrupt_failed": "Não foi possível interromper {failed} de {total} agentes.",
+ "interrupted_one": "{count} agente interrompido.",
+ "interrupted_other": "{count} agentes interrompidos.",
+ "the_computer": "o computador",
+ "this_computer": "este computador",
+ "moving": "A mover {workspace} para {target}. Isto pode demorar um minuto.",
+ "moved": "{workspace} corre agora em {target}.",
+ "rename_named": "Mudar o nome de {target}",
+ "save_named": "Guardar {target}",
+ "cancel_rename_named": "Cancelar a mudança de nome de {target}",
+ "open_named": "Abrir {target}",
+ "collapse_named": "Fechar {target}",
+ "expand_named": "Expandir {target}",
+ "not_restorable": "Este workspace não pode ser restaurado neste computador",
+ "drag_hint": "{target} — arrasta para reordenar ou prime Alt com as setas para mover",
+ "switching": "A mudar de workspace",
+ "project_actions_for": "Ações do projeto {target}",
+ "project_actions": "Ações do projeto",
+ "new_workspace_in": "Novo workspace em {project}",
+ "new_workspace": "Novo workspace",
+ "workspace_actions_for": "Ações do workspace {target}",
+ "workspace_actions": "Ações do workspace",
+ "create_workspace": "Criar workspace",
+ "open_in": "Abrir no {editor}",
+ "not_installed": "Não instalado",
+ "open_on": "Abrir em {target}",
+ "the_web": "web",
+ "the_web_page": "a página web",
+ "new_worktree": "Novo workspace numa worktree",
+ "new_worktree_hint": "Pasta e branch próprios para os agentes",
+ "rename_project": "Mudar o nome do projeto",
+ "unpin_project": "Desafixar projeto",
+ "pin_project": "Afixar projeto",
+ "delete_project": "Eliminar projeto",
+ "add_agent": "Adicionar outro agente",
+ "duplicate": "Duplicar workspace",
+ "duplicate_hint_one": "Inicia {count} agente novo",
+ "duplicate_hint_other": "Inicia {count} agentes novos",
+ "interrupt_one": "Interromper {count} agente a trabalhar",
+ "interrupt_other": "Interromper {count} agentes a trabalhar",
+ "interrupt_hint": "Para a tarefa atual e mantém o chat",
+ "reopen": "Reabrir workspace",
+ "reopen_unreachable": "A pasta não está acessível",
+ "copy_path": "Copiar caminho da pasta",
+ "move_to": "Mover workspace para {computer}",
+ "move_hint": "Continua a correr enquanto este PC está desligado",
+ "bring_back": "Trazer o workspace de volta para aqui",
+ "git_hint": "Commit, push, pull request, worktrees",
+ "rename_workspace": "Mudar o nome do workspace",
+ "remove_workspace": "Remover workspace",
+ "workspaces": "Workspaces",
+ "connect_folder_title": "Ligar pasta do projeto",
+ "pinned": "Afixados",
+ "other_projects": "Outros projetos",
+ "empty": "Liga uma pasta para começar um projeto.",
+ "remove_title": "Remover {workspace}?",
+ "remove_body_one": "O seu {count} agente de programação vai parar e o workspace sai da barra lateral. A pasta no disco e os chats ficam intactos.",
+ "remove_body_other": "Os seus {count} agentes de programação vão parar e o workspace sai da barra lateral. A pasta no disco e os chats ficam intactos.",
+ "remove_body_closed": "O workspace sai da barra lateral. A pasta no disco e os chats ficam intactos.",
+ "removing": "A remover…",
+ "remove_named": "Remover {workspace}",
+ "delete_title": "Eliminar {project}?",
+ "delete_body_idle": "Isto esquece o projeto e os chats. As pastas no disco ficam intactas.",
+ "delete_body": "Isto para {agents} em {workspaces} e esquece o projeto e os chats. As pastas no disco ficam intactas.",
+ "running_agents_one": "{count} agente em execução",
+ "running_agents_other": "{count} agentes em execução",
+ "open_workspaces_one": "{count} workspace aberto",
+ "open_workspaces_other": "{count} workspaces abertos",
+ "deleting": "A eliminar…",
+ "delete_named": "Eliminar {project}",
+ "show_in_explorer": "Mostrar no Explorador",
+ "show_in_finder": "Mostrar no Finder",
+ "show_in_file_manager": "Mostrar no gestor de ficheiros",
+ "keep": "Manter"
+ },
+ "ide_folder_picker": {
+ "create_failed": "Não foi possível criar essa pasta.",
+ "drop_not_folder": "Isso não era uma pasta. Larga aqui uma pasta ou escolhe uma da lista.",
+ "drop_finding": "A procurar a pasta que largaste…",
+ "drop_not_found": "Não foi possível encontrar essa pasta.",
+ "this_machine": "Este computador",
+ "starting_with": "Pastas que começam por “{leaf}”",
+ "folders_in": "Pastas em {folder}",
+ "places": "Locais",
+ "drop_overlay": "Larga para escolher esta pasta",
+ "search_placeholder": "Pesquisa por nome ou cola um caminho",
+ "search_aria": "Pesquisa pastas por nome ou cola um caminho",
+ "clear_search": "Limpar pesquisa",
+ "browse_title": "Escolhe a pasta na janela de pastas do próprio computador",
+ "window_open": "Janela aberta…",
+ "browse": "Procurar…",
+ "new_folder_title": "Criar uma pasta nova em {path}",
+ "your_home_folder": "a tua pasta pessoal",
+ "new_folder": "Nova pasta",
+ "native_open_note": "Abriu-se uma janela de pastas. Escolhe lá a tua pasta. Se não a vires, está por trás desta janela ou na barra de tarefas.",
+ "go_up": "Subir uma pasta",
+ "nothing_called": "Nada em {machine} se chama “{query}”",
+ "called_anywhere": "Pastas chamadas “{query}” em qualquer parte de {machine}",
+ "folder_path": "Caminho da pasta",
+ "start_title": "Início: pastas recentes e locais em {machine}",
+ "click_to_edit_path": "Clica para ver e editar o caminho completo",
+ "show_whole_path": "Mostrar o caminho completo",
+ "type_path": "Escrever um caminho",
+ "type_path_title": "Escreve ou cola um caminho — Tab completa os nomes das pastas",
+ "hide_hidden": "Ocultar pastas ocultas",
+ "show_hidden": "Mostrar pastas ocultas",
+ "hidden_shown_title": "As pastas ocultas (nomes que começam por um ponto) estão visíveis",
+ "hidden_list_title": "Listar também as pastas ocultas — nomes que começam por um ponto",
+ "reload": "Recarregar esta pasta",
+ "new_folder_name": "Nome da nova pasta",
+ "create": "Criar",
+ "cancel_new_folder": "Cancelar nova pasta",
+ "created_in": "Criada em",
+ "recent_folders": "Pastas recentes",
+ "terminals_one": "{count} terminal",
+ "terminals_other": "{count} terminais",
+ "forget": "Esquecer {folder}",
+ "forget_title": "Remover desta lista (a pasta em si fica)",
+ "create_folder_named": "Criar a pasta “{folder}”",
+ "in_parent": "em {path}",
+ "empty_search": "Não foi encontrada nenhuma pasta com esse nome.",
+ "empty_search_hint": "Para abrir uma pela localização, escreve o caminho completo — por exemplo {example}.",
+ "empty_leaf": "Aqui nenhuma pasta começa por “{leaf}”.",
+ "empty_needle": "Aqui nenhuma pasta corresponde a “{query}”. Continua a escrever para pesquisar o computador inteiro.",
+ "empty_folder": "Esta pasta não tem pastas lá dentro. Podes escolhê-la tal como está ou criar nela uma pasta nova.",
+ "empty_start": "Nada para listar aqui — pesquisa acima, larga uma pasta ou escreve o caminho.",
+ "path_example_before": "Um caminho completo neste computador tem este aspeto:",
+ "path_example_after": ".",
+ "tip_drag": "Dica: também podes arrastar uma pasta para aqui a partir do teu gestor de ficheiros.",
+ "chosen_folder": "Pasta escolhida:",
+ "no_folder_chosen": "Ainda não escolheste nenhuma pasta. Abre uma pasta da lista para a escolher.",
+ "today": "Hoje",
+ "yesterday": "Ontem",
+ "days_ago": "há {count} dias",
+ "last_week": "Na semana passada",
+ "weeks_ago": "há {count} semanas",
+ "path_input_placeholder": "Escreve um caminho — Tab completa os nomes das pastas",
+ "go_to_path": "Ir para este caminho"
+ },
+ "shell_events": {
+ "empty": "Ainda não há eventos. Emite um evento de teste no separador Debug.",
+ "hide_payload": "ocultar",
+ "show_payload": "payload"
+ },
+ "ide_panes": {
+ "exit": {
+ "stopped": "parou",
+ "ctrl_c": "foi parado com Ctrl-C (0xC000013A)",
+ "access_violation": "falhou — violação de acesso à memória (0xC0000005)",
+ "stack_overrun": "falhou — overflow do buffer da pilha (0xC0000409)",
+ "heap_corruption": "falhou — corrupção da heap (0xC0000374)",
+ "unhandled_exception": "falhou — exceção não tratada (0xC000041D)",
+ "dll_missing": "não conseguiu arrancar — faltava uma DLL necessária (0xC0000142)",
+ "unexpected": "parou inesperadamente — usa Reiniciar para o recuperar",
+ "unexpected_code": "parou inesperadamente (código de saída {code}) — usa Reiniciar para o recuperar"
+ },
+ "socket": {
+ "authorizing": "A autorizar o terminal…",
+ "auth_failed": "A autorização do terminal falhou — a tentar de novo.",
+ "workspace_closed": "Este workspace foi fechado — a recarregar…",
+ "start_failed_this": "Não foi possível iniciar este terminal.",
+ "start_failed": "Não foi possível iniciar o terminal.",
+ "no_such_pane": "Este terminal já não faz parte do workspace aberto.",
+ "waiting_workspace": "À espera de que o workspace volte…",
+ "unreachable": "Não foi possível contactar o terminal — a tentar de novo.",
+ "connection_lost": "Ligação ao terminal perdida (código {code}) — a voltar a ligar."
+ },
+ "common": {
+ "done": "Concluído"
+ },
+ "install": {
+ "title": "Instalar {agent}",
+ "installing": "A instalar {agent}",
+ "starting": "A iniciar o instalador de {agent}…",
+ "installed": "{agent} está instalado",
+ "watching": "À espera de que {agent} apareça…"
+ },
+ "picker": {
+ "no_shell": "sem shell aqui",
+ "not_installed": "não instalado",
+ "install": "Instalar"
+ },
+ "close_dialog": {
+ "workspace_title": "Fechar {workspace}?",
+ "workspace_title_unnamed": "Fechar o workspace?",
+ "pane_body": "O agente de programação deste painel para de imediato, incluindo qualquer tarefa em que ainda esteja a trabalhar.",
+ "workspace_body_empty": "O workspace fecha. Podes restaurá-lo a partir de Projetos a qualquer momento.",
+ "workspace_body_one": "O respetivo agente de programação para de imediato. Podes restaurar o workspace a partir de Projetos a qualquer momento.",
+ "workspace_body_other": "Todos os {count} agentes de programação param de imediato. Podes restaurar o workspace a partir de Projetos a qualquer momento.",
+ "keep": "Manter a correr",
+ "close_agent": "Fechar agente"
+ },
+ "fork": {
+ "title": "Bifurcar {pane}",
+ "description": "Inicia um segundo agente a partir do ponto em que este está. O original continua a correr sem alterações.",
+ "chat_title": "Bifurcar chat",
+ "chat_body": "Abre-se um novo agente ao lado deste, que continua uma cópia da conversa na mesma pasta.",
+ "worktree_title": "Bifurcar para uma worktree",
+ "worktree_needs_repo": "Precisa de um repositório git — esta pasta não é um.",
+ "worktree_body": "A mesma cópia da conversa, mas na sua própria worktree e ramo git, para que os dois agentes possam alterar ficheiros sem se atrapalharem.",
+ "how": "Como bifurcar",
+ "branch_label": "Nome da worktree e do ramo",
+ "finding_name": "A procurar um nome…",
+ "branch_hint": "Criada a partir do último commit. As alterações ainda sem commit ficam na pasta atual.",
+ "cannot_copy": "{agent} não consegue copiar a conversa, por isso a bifurcação começa com um chat novo.",
+ "confirm_worktree": "Bifurcar para worktree"
+ },
+ "move": {
+ "no_room": "Sem espaço",
+ "summary_empty": "{workspace} está vazio, por isso {pane} ocupa-o todo.",
+ "summary_even": "{pane} junta-se a {workspace} e todos os painéis ficam com o mesmo espaço.",
+ "summary_left": "À esquerda de {anchor}: {pane} fica com metade do espaço.",
+ "summary_right": "À direita de {anchor}: {pane} fica com metade do espaço.",
+ "summary_above": "Por cima de {anchor}: {pane} fica com metade do espaço.",
+ "summary_below": "Por baixo de {anchor}: {pane} fica com metade do espaço.",
+ "place_left": "Colocar {pane} à esquerda de {anchor}",
+ "place_right": "Colocar {pane} à direita de {anchor}",
+ "place_above": "Colocar {pane} por cima de {anchor}",
+ "place_below": "Colocar {pane} por baixo de {anchor}",
+ "title": "Mover {pane} para {workspace}",
+ "description": "Aponta para um painel e clica no lado onde deve ficar. O agente continua a correr.",
+ "loading": "A carregar {workspace}…",
+ "fills_empty": "Ocupa o workspace vazio",
+ "tile_aria": "{anchor}. As teclas de seta escolhem o lado onde {pane} fica.",
+ "confirm": "Mover para {workspace}"
+ },
+ "activity": {
+ "label": {
+ "stopped": "parado",
+ "status_unknown": "estado desconhecido",
+ "working": "a trabalhar",
+ "starting": "a iniciar",
+ "needs_you": "precisa de ti",
+ "exited": "terminou",
+ "failed": "falhou",
+ "done": "concluído",
+ "idle": "inativo",
+ "error": "erro",
+ "live": "ligado"
+ },
+ "hint": {
+ "interrupted": "A tarefa foi interrompida.",
+ "unknown": "Não há nenhum estado de tarefa verificado.",
+ "working": "A trabalhar — a tarefa ainda está em curso.",
+ "starting": "A arrancar. O agente ainda não assumiu o painel.",
+ "asking": "Parou com uma pergunta no ecrã. Está à espera da tua resposta.",
+ "exited": "O processo já não existe.",
+ "failed": "Não foi possível iniciar o agente.",
+ "done": "Terminou e está à espera no prompt. Quer dizer que parou, não que o trabalho esteja certo.",
+ "idle": "À espera no prompt. Ainda não lhe foi enviado nada.",
+ "connecting": "A ligar ao painel.",
+ "error": "Não foi possível contactar este painel.",
+ "connected": "Ligado."
+ },
+ "duration_seconds": "{count} s",
+ "duration_minutes": "{count} min",
+ "duration_hour_one": "1 hora",
+ "duration_hours_other": "{count} horas",
+ "for_elapsed": "Há {elapsed}."
+ },
+ "recap": {
+ "why": {
+ "pinned": "Foste tu que escreveste isto. Fica até o repores.",
+ "cli_title": "O agente deste painel deu nome à própria sessão.",
+ "disabled": "Os resumos por modelo estão desativados, por isso isto é lido da própria saída do painel.",
+ "not_started": "Ainda não está nada a correr neste painel, por isso não há nada para resumir.",
+ "warming": "Ainda há pouca saída para resumir — esta linha é lida da própria saída do painel.",
+ "working": "Está a ser escrito um resumo. Esta linha é lida da própria saída do painel.",
+ "queued": "À espera da sua vez para ser resumido. Esta linha é lida da própria saída do painel.",
+ "unavailable": "Nenhum modelo conseguiu resumir este painel, por isso esta linha é lida da própria saída."
+ },
+ "credit": {
+ "user": "Escrito por ti",
+ "cli_named": "Nomeado por {writer}",
+ "cli": "Nomeado pelo agente",
+ "model_named": "Resumido por {writer}",
+ "model": "Resumido por um modelo",
+ "heuristic": "Lido da saída"
+ },
+ "ago_seconds": "há {count} s",
+ "ago_minutes": "há {count} min",
+ "ago_hours": "há {count} h",
+ "what_doing": "O que {pane} está a fazer",
+ "write_yourself": "Escreve tu",
+ "back_to_auto": "Voltar ao resumo automático",
+ "summarize_again": "Resumir este painel de novo",
+ "header_line": "Linha de título",
+ "header_placeholder": "Para que serve este painel",
+ "longer": "A versão longa",
+ "optional": "— opcional",
+ "detail_placeholder": "Em que ponto está o trabalho, o que falta…",
+ "save_hint": "⌘/Ctrl + Enter para guardar",
+ "save_empty_hint": "Guarda com a linha vazia para voltar ao resumo automático"
+ },
+ "receipt": {
+ "just_now": "agora mesmo",
+ "ago_hour_one": "há 1 hora",
+ "ago_hours_other": "há {count} horas",
+ "load_failed": "Não foi possível ler o prompt completo.",
+ "sent": "Prompt enviado",
+ "sent_note": "o agente recebeu-o e começou",
+ "typed": "Prompt escrito, não iniciado",
+ "typed_note": "está na caixa de entrada deste painel — prime Enter aqui para o executar",
+ "unconfirmed": "Prompt enviado — não foi possível confirmar o início",
+ "unconfirmed_note": "chegou ao painel; não foi possível confirmar que o agente começou",
+ "read_title": "Ler exatamente o que foi enviado para {pane}",
+ "dismiss": "Dispensar o recibo de entrega de {pane}",
+ "click_to_read": "clica para ler o que foi enviado",
+ "loading_rest": "Início de {count} caracteres — a ler o resto…",
+ "opening_only": "Só é mostrado o início — {error}",
+ "delivered": "{count} caracteres, entregues a {pane}.",
+ "delivered_at": "{count} caracteres, entregues a {pane} às {clock}."
+ },
+ "options": {
+ "title": "Opções do workspace",
+ "close": "Fechar as opções do workspace",
+ "arrangement": "Disposição dos terminais",
+ "balance": "Equilibrar disposição",
+ "arrangement_hint": "Arrasta o título de um terminal para uma margem para o colocar ao lado, por cima ou por baixo de outro terminal. Larga-o no centro para trocar as posições.",
+ "style": "Estilo do terminal",
+ "style_minimal": "Mínimo",
+ "style_minimal_hint": "Molduras quadradas, linha de título fina",
+ "style_classic": "Clássico",
+ "style_classic_hint": "Cartões arredondados, barra de título mais alta",
+ "appearance": "Aspeto do terminal",
+ "appearance_auto_aria": "Igual ao aspeto da aplicação",
+ "appearance_dark_aria": "terminais escuros",
+ "appearance_light_aria": "terminais claros",
+ "appearance_auto": "Igual à app",
+ "appearance_dark": "Escuro",
+ "appearance_light": "Claro",
+ "add_agent": "Adicionar agente de programação",
+ "git": "Git: ramos, commits, worktrees"
+ },
+ "github": {
+ "state_branch": "Ramo publicado",
+ "state_draft": "Pull request em rascunho",
+ "state_open": "Pull request aberto",
+ "state_queued": "Na fila de merge",
+ "state_merged": "Pull request integrado",
+ "state_closed": "Fechado sem merge",
+ "unavailable": "Estado do GitHub indisponível",
+ "branch_generic": "Ramo do GitHub",
+ "dest_pr": "pull request #{number}",
+ "dest_branch": "ramo",
+ "open_aria": "Abrir {destination} do GitHub: {identity}",
+ "open_title": "Abrir {destination}",
+ "refresh_failed": "Não foi possível atualizar o estado do GitHub.",
+ "refreshing": "A atualizar o estado do GitHub…"
+ },
+ "dock": {
+ "swap": "Trocar posições",
+ "left": "Colocar à esquerda",
+ "right": "Colocar à direita",
+ "above": "Colocar por cima",
+ "below": "Colocar por baixo"
+ },
+ "grid": {
+ "placed_swap": "{pane} e {target} trocaram de posição.",
+ "placed_left": "{pane} colocado à esquerda de {target}.",
+ "placed_right": "{pane} colocado à direita de {target}.",
+ "placed_above": "{pane} colocado por cima de {target}.",
+ "placed_below": "{pane} colocado por baixo de {target}.",
+ "arrange_failed": "Não foi possível guardar a disposição. A ordem anterior foi reposta.",
+ "moved_toast": "{pane} foi movido para {workspace}. O agente continua a correr.",
+ "moved_renamed_toast": "{pane} foi movido para {workspace} como {renamed}. O agente continua a correr.",
+ "moved": "{pane} foi movido para {workspace}.",
+ "moved_renamed": "{pane} foi movido para {workspace} como {renamed}.",
+ "forked_branch": "{pane} foi bifurcado para {fork} no ramo {branch}.",
+ "forked": "{pane} foi bifurcado para {fork}.",
+ "the_computer": "o computador",
+ "this_computer": "este computador",
+ "placing": "A mover {pane} para {computer}. A pasta e a conversa vão com ele.",
+ "placed_on": "{pane} corre agora em {computer}.",
+ "bring_back": "Trazer de volta para este computador",
+ "run_on": "Correr em {computer}",
+ "another_computer": "outro computador",
+ "no_pane_up": "Não há nenhum painel por cima de {pane}.",
+ "no_pane_down": "Não há nenhum painel por baixo de {pane}.",
+ "no_pane_left": "Não há nenhum painel à esquerda de {pane}.",
+ "no_pane_right": "Não há nenhum painel à direita de {pane}.",
+ "tile_aria": "{pane}. Arrasta para uma margem para acoplar ou para o centro para trocar. Alt+seta troca com um vizinho.",
+ "move_to_menu": "Mover para {workspace}…",
+ "not_into": "Não para {workspace}: outra pasta",
+ "that_workspace": "esse workspace"
+ },
+ "header": {
+ "split_right": "Dividir à direita",
+ "split_down": "Dividir para baixo",
+ "split_left": "Dividir à esquerda",
+ "split_up": "Dividir para cima",
+ "rename_failed": "Não foi possível guardar o nome.",
+ "name_for": "Nome de {pane}",
+ "save_name": "Guardar nome",
+ "actions_for": "Ações de {pane}",
+ "swap_focused": "Trocar com o painel focado",
+ "fork_menu": "Bifurcar…",
+ "unzoom": "Anular zoom",
+ "zoom": "Ampliar",
+ "conversation_history": "Histórico da conversa",
+ "open_as_chat": "Abrir como chat",
+ "review_changes": "Rever alterações",
+ "restart_agent": "Reiniciar agente",
+ "right_click_title": "Shift+clique direito abre o menu do painel enquanto o reencaminhamento estiver ativo.",
+ "right_click": "Enviar cliques direitos para o painel",
+ "right_click_hint": "Shift + clique direito: menu do painel",
+ "more_actions": "Mais ações de {pane}",
+ "status_connecting": "a ligar",
+ "status_live": "ligado",
+ "status_exited": "terminou",
+ "status_error": "erro",
+ "runs_on": "Corre em {computer}. Continua a trabalhar com esta app fechada.",
+ "worktree_branch": "Corre na sua própria worktree git no ramo {branch}",
+ "drag_hint": "Arrasta para reordenar, ou foca este título e prime Alt com uma tecla de seta.",
+ "add_beside": "Adicionar agente ao lado de {pane}"
+ },
+ "request_failed": "O pedido falhou ({status}).",
+ "seam": {
+ "resize_pair": "Arrasta para redimensionar {before} e {after}",
+ "resize_columns": "Arrasta para redimensionar estas duas colunas de terminais",
+ "pane_before": "o painel anterior",
+ "pane_after": "o painel seguinte"
+ }
+ },
+ "ide_git": {
+ "detached_at": "Desanexado em {head}",
+ "current_branch": "Branch atual",
+ "worktree_badge": "worktree",
+ "uncommitted": "{count} por fazer commit",
+ "nothing_uncommitted": "Nada por fazer commit",
+ "changes_one": "{count} alteração",
+ "changes_other": "{count} alterações",
+ "clean": "limpo",
+ "compared_with": "Comparado com {upstream}",
+ "ahead": "à frente",
+ "behind": "atrás",
+ "not_pushed_title": "Este branch ainda não foi enviado",
+ "not_pushed": "não enviado",
+ "without_git": "Sem git",
+ "without_git_hint": "Abrir a pasta tal como está",
+ "init": "Inicializar git",
+ "init_hint": "Novo repositório em main, pronto para branches",
+ "share_checkout": "Partilhar este checkout",
+ "share_checkout_hint": "A mesma pasta que os outros agentes",
+ "current_checkout": "Checkout atual",
+ "work_on_branch": "Trabalhar em {branch} na pasta do projeto",
+ "work_in_folder": "Trabalhar na pasta do projeto",
+ "new_worktree": "Nova worktree",
+ "new_worktree_hint_agent": "Pasta e branch próprios, abre no seu próprio separador",
+ "new_worktree_hint": "Pasta e branch próprios, os agentes nunca colidem",
+ "new_branch": "Novo branch",
+ "new_branch_hint": "Criar um branch aqui, na pasta do projeto",
+ "existing_branch": "Branch existente",
+ "existing_branch_hint": "Fazer checkout de outro branch aqui",
+ "existing_worktree": "Worktree existente",
+ "existing_worktree_hint": "Abrir uma worktree que já existe",
+ "works_on": "Trabalha em {branch}",
+ "works_in_folder": "Trabalha na pasta do projeto",
+ "opens_as_is": "Abre a pasta tal como está",
+ "opens_as_is_hint": "Aqui não há git. Podes configurá-lo se quiseres.",
+ "summary_agent_hint": "A mesma pasta que os teus outros agentes. Nada para configurar.",
+ "summary_workspace_hint": "Na pasta do projeto, tal como está agora. Nada para configurar.",
+ "reading_repo": "A ler o repositório…",
+ "git_options": "Opções de git",
+ "hide_options": "Ocultar opções",
+ "not_installed": "O Git não está instalado neste computador. Instala-o a partir de git-scm.com para usar branches e worktrees.",
+ "checkout_aria": "Checkout de git",
+ "recommended": "Recomendado",
+ "branch_name": "Nome do branch",
+ "suggest_name": "Sugerir outro nome",
+ "based_on": "Baseado em",
+ "base_branch": "Branch base",
+ "hint_current": "atual",
+ "hint_default": "predefinido",
+ "unborn": "Este repositório ainda não tem commits — faz um primeiro commit antes de criar branches.",
+ "creates_worktree": "Cria {path}. Só o trabalho com commit é copiado; um branch existente é reutilizado.",
+ "dirty_moves": "As tuas alterações sem commit passam para o novo branch.",
+ "folder_switches": "A pasta do projeto muda para o novo branch para todos os agentes nela.",
+ "branch": "Branch",
+ "worktree": "Worktree",
+ "detached": "desanexado",
+ "init_note": "Cria um repositório em {branch} com um primeiro commit vazio. Os teus ficheiros não entram no commit — decides tu o que entra.",
+ "tag_modified": "modificado",
+ "tag_added": "adicionado",
+ "tag_deleted": "eliminado",
+ "tag_renamed": "renomeado",
+ "tag_copied": "copiado",
+ "tag_conflict": "conflito",
+ "tag_new": "novo",
+ "committed": "Commit {sha} feito.",
+ "pushed_to": "Enviado para {upstream}.",
+ "fetched": "Todos os remotos foram obtidos.",
+ "draft_pr_opened": "Pull request em rascunho aberto.",
+ "pr_opened": "Pull request aberto.",
+ "merged": "{branch} integrado em {target} ({sha}).",
+ "pruned": "As worktrees cujas pastas desapareceram foram esquecidas.",
+ "initialized": "Repositório inicializado em main.",
+ "refresh": "Atualizar",
+ "close_panel": "Fechar o painel Git",
+ "open_link": "Abrir ligação",
+ "open": "Abrir",
+ "not_installed_refresh": "O Git não está instalado neste computador. Instala-o a partir de git-scm.com e depois atualiza.",
+ "not_a_repo": "Esta pasta ainda não é um repositório git. Inicializa um para dar branches e worktrees aos agentes.",
+ "worktree_of": "Uma worktree de {folder}. Os seus agentes trabalham no próprio branch sem mexer na pasta principal.",
+ "changes": "Alterações",
+ "nothing_uncommitted_full": "Nada por fazer commit.",
+ "commit_message": "Mensagem do commit",
+ "commit_placeholder": "Mensagem do commit, p. ex. feat: add login form",
+ "no_changes": "Sem alterações para fazer commit",
+ "commit_all": "Fazer commit de tudo",
+ "share": "Partilhar",
+ "no_remote": "Este repositório não tem remoto",
+ "push": "Enviar",
+ "publish_branch": "Publicar branch",
+ "fetch": "Obter",
+ "install_gh": "Instala a CLI do GitHub (gh) para abrir pull requests",
+ "switch_feature_branch": "Muda primeiro para um branch de funcionalidade",
+ "pull_request": "Pull request",
+ "drafts": "Abrir pull requests como rascunho",
+ "commit_first": "Faz primeiro commit das alterações",
+ "merge_into": "Integrar {branch} em {target}",
+ "worktrees": "Worktrees",
+ "pruning": "A limpar…",
+ "prune_missing": "Limpar em falta",
+ "no_worktrees": "Ainda não há worktrees. Uma worktree dá aos agentes a sua própria pasta e branch, para que vários possam alterar código ao mesmo tempo.",
+ "detached_head": "desanexado {head}",
+ "this_workspace": "este workspace",
+ "folder_missing": "pasta em falta",
+ "locked": "bloqueada",
+ "remove_named": "Remover {folder}",
+ "confirm_removal": "Confirmar remoção",
+ "remove_note": "A pasta é eliminada. O trabalho com commit fica no seu branch.",
+ "also_delete_branch": "Eliminar também o branch {branch} se estiver integrado",
+ "removing": "A remover…",
+ "remove_anyway": "Remover mesmo assim",
+ "remove_worktree": "Remover worktree"
+ },
+ "ide_hotkeys": {
+ "menu": {
+ "aria": "Atalhos do IDE",
+ "all_keys": "Todas as teclas",
+ "cancel": "cancelar",
+ "exit": "sair"
+ },
+ "badge": {
+ "rename": "MUDAR NOME",
+ "workspace": "WORKSPACE",
+ "keys": "TECLAS",
+ "prefix": "PREFIXO"
+ },
+ "bar": {
+ "right": "direita",
+ "left": "esquerda",
+ "above": "acima",
+ "below": "abaixo",
+ "even_grid": "grelha uniforme",
+ "back": "voltar",
+ "new": "novo",
+ "worktree": "worktree",
+ "rename": "mudar nome",
+ "close": "fechar",
+ "git": "git",
+ "options": "opções",
+ "connect_folder": "ligar pasta",
+ "switch": "mudar",
+ "any_key": "qualquer tecla",
+ "split": "dividir",
+ "move": "mover",
+ "zoom": "zoom",
+ "workspaces": "workspaces",
+ "all_keys": "todas as teclas",
+ "send_leader": "enviar {keys}"
+ },
+ "help": {
+ "open_agent": "Abrir {agent}",
+ "to_right": "À direita",
+ "to_left": "À esquerda",
+ "above": "Acima",
+ "below": "Abaixo",
+ "even_grid": "Grelha uniforme",
+ "group_workspace": "Workspace",
+ "new_workspace": "Novo workspace",
+ "new_worktree_workspace": "Novo workspace em worktree",
+ "rename_workspace": "Mudar o nome do workspace",
+ "close_workspace": "Fechar workspace",
+ "git_panel": "Painel Git",
+ "workspace_options": "Opções do workspace",
+ "connect_folder": "Ligar uma pasta de projeto",
+ "prev_next_workspace": "Workspace anterior / seguinte",
+ "go_to_workspace_n": "Ir para o workspace 1–9",
+ "group_new_pane": "Novo painel",
+ "agent_then_arrow": "{agent} e depois uma seta",
+ "split_right_same": "Dividir à direita, mesmo agente",
+ "split_below_same": "Dividir por baixo, mesmo agente",
+ "choose_agent": "Escolher agente…",
+ "group_panes": "Painéis",
+ "focus_neighbor": "Focar o vizinho",
+ "swap_neighbor": "Trocar com o vizinho",
+ "maximize_restore": "Maximizar / restaurar",
+ "rename_pane": "Mudar o nome do painel",
+ "fork_pane": "Bifurcar painel",
+ "close_pane": "Fechar painel",
+ "even_layout": "Igualar a disposição",
+ "group_workspaces": "Workspaces",
+ "workspace_menu": "Menu do workspace…",
+ "go_to_workspace": "Ir para o workspace",
+ "next_prev_workspace": "Workspace seguinte / anterior",
+ "send_leader": "Enviar {keys} para o painel"
+ }
+ },
+ "workspace_terminal": {
+ "connection_failed": "A ligação ao terminal falhou.",
+ "process_exited": "processo terminado: {code}",
+ "terminal_error": "erro do terminal",
+ "auth_failed": "A autorização do terminal falhou — volta a abrir para tentar novamente.",
+ "connection_closed": "Ligação do terminal fechada (código {code}).",
+ "status_live": "em direto",
+ "status_error": "erro",
+ "status_exited": "terminado",
+ "status_connecting": "a ligar…"
+ },
+ "shell_sections": {
+ "telephony_setup": "Configuração da telefonia",
+ "agent_instructions": "Assistente",
+ "voice_shortcuts": "Atalhos de voz",
+ "voice_language": "Idioma do ditado",
+ "voice_api_keys": "Chaves de entrada de voz",
+ "visualization": "Visualização"
+ },
+ "shell_errors": {
+ "open_terminal_path_failed": "Não foi possível abrir esse caminho do terminal.",
+ "git_after_restart": "As opções do Git são carregadas no próximo reinício da aplicação.",
+ "git_request_failed": "O pedido Git falhou ({status})",
+ "no_clipboard": "não há área de transferência disponível aqui",
+ "open_path_failed": "Não foi possível abrir esse ficheiro ou pasta neste computador.",
+ "workspace_closed_adding": "O workspace fechou enquanto era adicionado um terminal.",
+ "workspace_closed_sizes": "O workspace fechou enquanto eram guardados os tamanhos dos painéis.",
+ "workspace_closed_moving": "O workspace fechou enquanto era movido um terminal.",
+ "view_newer_than_backend": "Esta vista é mais recente do que o backend — reinicia a aplicação e tenta novamente.",
+ "workspace_closed_renaming": "O workspace fechou enquanto era renomeado um terminal.",
+ "workspace_closed_forking": "O workspace fechou enquanto era bifurcado um terminal.",
+ "workspace_not_open": "O workspace já não está aberto.",
+ "request_failed_status": "o pedido falhou: {status}"
+ },
+ "shell_labels": {
+ "mission": "Missão"
+ },
+ "plugins_category": {
+ "home_devices": "Casa e dispositivos",
+ "lists_tasks": "Listas e tarefas",
+ "calendar_mail": "Calendário e correio",
+ "messaging": "Mensagens",
+ "knowledge_reading": "Conhecimento e leitura",
+ "media_creativity": "Multimédia e criatividade",
+ "files_photos": "Ficheiros e fotos",
+ "developer": "Programação",
+ "custom": "Personalizados"
+ },
+ "plugins_community": {
+ "portable_note_agents": "Skill portátil · também corre em {agents}",
+ "portable_note_other": "Skill portátil · também corre noutros agentes",
+ "auth_pat": "Token de acesso pessoal",
+ "auth_device": "Início de sessão com código de dispositivo",
+ "auth_oauth": "Início de sessão OAuth",
+ "auth_allowlist": "Lista de contas autorizadas",
+ "install_failed": "A instalação falhou ({status})",
+ "title": "Marketplace da comunidade",
+ "intro": "Plugins e skills publicados por qualquer pessoa. Nada aqui é revisto pela equipa do {product} — lê a que se ligaria um cartão antes de o instalar.",
+ "marketplace_section_hint": "Todo o marketplace — plugins e skills — na sua própria secção",
+ "marketplace_section": "Secção Marketplace",
+ "publish_hint": "Publica o teu próprio plugin ou skill no site do marketplace",
+ "publish": "Publicar o teu",
+ "refresh": "Voltar a carregar o índice da comunidade",
+ "search_placeholder": "Pesquisar plugins e skills da comunidade…",
+ "plugins": "Plugins",
+ "skills": "Skills",
+ "loading": "A carregar o índice da comunidade…",
+ "error": "Não foi possível carregar o índice da comunidade. Verifica a ligação e tenta atualizar.",
+ "disabled": "O marketplace da comunidade está desativado na configuração (marketplace.community_index_url está vazio).",
+ "unavailable": "O índice da comunidade está inacessível e ainda não existe nenhuma cópia guardada. Liga-te à internet uma vez para o carregar.",
+ "stale": "A mostrar uma cópia guardada — não foi possível atualizar o índice agora.",
+ "files_loading": "A ler os ficheiros publicados…",
+ "files_error": "Não foi possível ler os ficheiros publicados agora. A instalação abaixo não é afetada — mas estarias a instalar algo que não viste.",
+ "whats_inside": "O que contém",
+ "files_one": "1 ficheiro",
+ "files_other": "{count} ficheiros",
+ "file_truncated": "Mostrado até 256 kB — o ficheiro publicado é mais longo. Abre a fonte para ler o resto.",
+ "files_exact": "Exatamente como foi publicado. Estes são os bytes que o {product} transfere quando o instalas — nada é acrescentado nem reescrito pelo meio.",
+ "not_installable": "Não instalável: {error}",
+ "read_contents": "Lê o que {entry} contém",
+ "badge_unreviewed": "Comunidade · não revisto",
+ "installed": "Instalado",
+ "installed_lower": "instalado",
+ "by": "de {publisher}",
+ "unknown_publisher": "editor desconhecido",
+ "view_source": "Ver a fonte publicada",
+ "view_source_of": "Ver a fonte de {entry}",
+ "remove_hint": "Remover este plugin e o acesso guardado",
+ "name_taken_hint": "Um plugin integrado já usa este nome",
+ "name_taken": "Nome em uso",
+ "install": "Instalar",
+ "read_skill": "Lê o que {entry} diz ao assistente",
+ "portable": "Portátil",
+ "manual_hint": "Sem transferência direta — abre a fonte e segue os passos",
+ "manual": "Manual",
+ "install_named": "Instalar {entry}?",
+ "skill_unreviewed": "Skill da comunidade · não revista",
+ "plugin_unreviewed": "Plugin da comunidade · não revisto",
+ "published_by": "Publicado por",
+ "unknown_author": "um autor desconhecido",
+ "version": "versão {version}",
+ "portable_follow": "{note}. O {product} segue as suas instruções e ignora as definições destinadas a outros agentes.",
+ "skill_download_from": "As instruções são transferidas de:",
+ "terminal_comment": "# A mesma instalação, a partir de um terminal.",
+ "skill_explainer": "Uma skill é um conjunto de instruções que o assistente segue — o texto acima é exatamente o que lhe seria dito.",
+ "sends_to": "Depois de o ligares, os pedidos e o teu token de acesso de {entry} vão para:",
+ "runs_command": "Depois de o ligares, este comando corre no teu computador:",
+ "metadata_only": "Esta entrada é só de metadados — não adiciona nenhum servidor nem corre nenhum comando.",
+ "signin_method": "Método de início de sessão:",
+ "signin_not_yet": "— instalar ainda não liga nada."
+ },
+ "ide_threads": {
+ "layout_aria": "Disposição do IDE",
+ "layout_grid": "Grelha de terminais",
+ "layout_threads": "Threads",
+ "layout_verse": "Dodaios Verse",
+ "terminal_needs_folder": "O terminal precisa de uma pasta de projeto",
+ "hide_terminal": "Ocultar terminal",
+ "show_terminal": "Mostrar terminal",
+ "terminal": "Terminal",
+ "resize_terminal": "Redimensionar o terminal",
+ "terminals": "Terminais",
+ "terminal_n": "Terminal {number}",
+ "close_named": "Fechar {target}",
+ "close_terminal": "Fechar terminal",
+ "new_terminal": "Novo terminal",
+ "where_agent_works": "Onde o agente trabalha",
+ "not_a_repo": "Não é um repositório git",
+ "worktree_base_title": "O branch a partir do qual a nova worktree começa",
+ "agent_on_branch": "O agente está a trabalhar neste branch",
+ "switch_branch": "Mudar de branch",
+ "from_branch": "a partir de {branch}",
+ "uncommitted_changes": "Alterações sem commit",
+ "own_branch": "branch próprio",
+ "branches": "Branches",
+ "start_worktree_from": "Começar a worktree a partir de",
+ "switch_to": "Mudar para",
+ "in_a_worktree": "numa worktree",
+ "no_local_branches": "Ainda não há branches locais.",
+ "hint_new_thread": "novo thread",
+ "hint_connect_first": "liga primeiro",
+ "agent_model_aria": "Agente de programação e modelo",
+ "choose_agent": "Escolhe um agente",
+ "loading_agents": "A carregar agentes…",
+ "search_agents_models": "Pesquisar agentes e modelos",
+ "access_aria": "O que o agente pode fazer sem perguntar",
+ "sub_status_running": "A trabalhar",
+ "sub_status_done": "Concluído",
+ "sub_status_failed": "Falhou",
+ "sub_status_stopped": "Parado",
+ "tools_one": "{count} ferramenta",
+ "tools_other": "{count} ferramentas",
+ "tokens": "{count} tokens",
+ "waiting_approval": "À espera da tua aprovação",
+ "using_tool": "A usar {tool}",
+ "stopped_before_answer": "Parou antes de responder",
+ "finished": "Terminado",
+ "open_subagent": "Abrir subagente {title}, {status}",
+ "subagents_one": "{count} subagente",
+ "subagents_other": "{count} subagentes",
+ "count_working": "{count} a trabalhar",
+ "count_waiting": "{count} à espera",
+ "count_failed": "{count} falharam",
+ "subagents_aria": "Subagentes",
+ "main_thread": "Thread principal",
+ "in_background": "Em segundo plano",
+ "task": "Tarefa",
+ "task_from": "Tarefa de {parent}",
+ "the_main_agent": "o agente principal",
+ "show_less": "Mostrar menos",
+ "show_whole_task": "Mostrar a tarefa completa",
+ "unstreamed_running": "A CLI deste agente não transmite os passos de um subagente. A resposta aparece aqui quando terminar.",
+ "unstreamed_done": "A CLI deste agente só indicou a tarefa e a resposta, não os passos do subagente.",
+ "new_thread": "Novo thread",
+ "age_now": "agora",
+ "age_minutes": "{count} min",
+ "age_hours": "{count} h",
+ "age_days": "{count} d",
+ "age_weeks": "{count} sem",
+ "connect_folder_first": "Liga primeiro uma pasta de projeto.",
+ "connect_a_project": "Liga um projeto",
+ "empty_body": "Os threads correm um agente de programação numa pasta de projeto. Liga uma para começar.",
+ "connect_folder": "Ligar pasta",
+ "build_in": "O que vamos construir em {project}?",
+ "projects": "Projetos",
+ "connect_another": "Ligar outra pasta",
+ "new_activity": "Nova atividade",
+ "new_thread_in": "Novo thread em {project}",
+ "save_name": "Guardar nome",
+ "cancel_renaming": "Cancelar a mudança de nome",
+ "thread_actions_for": "Ações do thread {target}",
+ "thread_actions": "Ações do thread",
+ "show_more": "Mostrar mais {count}",
+ "start_thread": "Começar um thread",
+ "archived_count": "Arquivados ({count})",
+ "restore_named": "Restaurar {target}",
+ "restore": "Restaurar",
+ "delete_confirm": "Eliminar este thread?",
+ "delete_body": "A conversa sai da lista. O histórico próprio do agente de programação fica no disco.",
+ "rename": "Mudar o nome",
+ "new_thread_here": "Novo thread neste projeto",
+ "archive": "Arquivar",
+ "plan_ready": "Plano pronto",
+ "approval_needed": "Aprovação necessária",
+ "one_of": "1 de {count}",
+ "plan_hint": "Constrói-o, ou continua a planear e diz o que mudar.",
+ "keep_planning": "Continuar a planear",
+ "decline": "Recusar",
+ "always_allow_title": "Aprovar e deixar de perguntar isto neste thread",
+ "always_allow": "Permitir sempre",
+ "build_it": "Construir",
+ "approve": "Aprovar",
+ "build_switches": "“Construir” muda o acesso para {mode} e começa a construir.",
+ "build_starts": "“Construir” começa a construir.",
+ "or_keep_planning": "Ou continua a planear e escreve o que mudar.",
+ "asks": "{asker} pergunta",
+ "the_agent": "O agente",
+ "n_of": "{index} de {count}",
+ "own_answer": "Ou escreve a tua própria resposta",
+ "skip": "Saltar",
+ "choose_connected_agent": "Escolhe primeiro um agente de programação ligado.",
+ "queue_paused": "Fila em pausa depois de o agente ter parado.",
+ "send_next": "Enviar a seguinte",
+ "queued": "Em fila",
+ "files_one": "{count} ficheiro",
+ "files_other": "{count} ficheiros",
+ "remove_queued": "Remover mensagem em fila",
+ "message_agent": "Mensagem para o agente de programação",
+ "queue_placeholder": "Põe em fila um seguimento para quando o agente terminar",
+ "composer_placeholder": "Pede alterações, envia seguimentos ou anexa imagens",
+ "stop_agent": "Parar o agente",
+ "stop": "Parar",
+ "queue_message": "Pôr mensagem em fila",
+ "send_message": "Enviar mensagem",
+ "queue_title": "Pôr em fila para quando o agente terminar",
+ "copy_message": "Copiar mensagem",
+ "scroll_newest": "Ir para a mensagem mais recente"
+ },
+ "ide_view": {
+ "split_right": "Direita",
+ "split_down": "Baixo",
+ "split_left": "Esquerda",
+ "split_up": "Cima",
+ "split_right_aria": "Dividir à direita",
+ "split_down_aria": "Dividir para baixo",
+ "split_left_aria": "Dividir à esquerda",
+ "split_up_aria": "Dividir para cima",
+ "split_right_hint": "Abrir o novo agente à direita do painel",
+ "split_down_hint": "Abrir o novo agente por baixo do painel",
+ "split_left_hint": "Abrir o novo agente à esquerda do painel",
+ "split_up_hint": "Abrir o novo agente por cima do painel",
+ "choose_folder": "Escolhe uma pasta para este projeto.",
+ "choose_agent_every": "Escolhe um agente de programação instalado para cada sessão.",
+ "connect_agent_clis": "Liga um agente de programação em CLIs para continuar.",
+ "no_project": "Este workspace não pertence a nenhum projeto ligado.",
+ "no_workspace_n": "Não existe o workspace {number}.",
+ "workspace_fallback": "workspace",
+ "loading_projects": "A carregar projetos…",
+ "choose_workspace": "Escolhe um workspace",
+ "select_workspace_hint": "Seleciona um workspace em Projetos ou cria um com + ao lado do projeto.",
+ "connect_folder_hint": "Liga uma pasta para juntar os seus agentes de programação e o teu assistente num workspace.",
+ "add_agent": "Adicionar agente de programação",
+ "agents_one": "{count} agente",
+ "agents_other": "{count} agentes",
+ "sessions_one": "{count} sessão",
+ "sessions_other": "{count} sessões",
+ "where_open": "Onde deve abrir?",
+ "next_to": "Ao lado de",
+ "split_next_to": "Dividir ao lado de",
+ "auto_grid": "Grelha uniforme automática",
+ "split_direction": "Direção da divisão",
+ "joins_grid": "O novo agente entra na grelha e cada painel fica com o mesmo espaço.",
+ "copying_starting": "A copiar a pasta e a iniciar lá o agente. Pastas grandes demoram um minuto.",
+ "name_optional": "Nome (opcional)",
+ "workspace_placeholder": "Workspace",
+ "copying_folder": "A copiar a pasta…",
+ "starting": "A iniciar…",
+ "workspace_name": "Nome do workspace"
+ },
+ "install_standard": {
+ "method": "Método de instalação",
+ "copy_command": "Copiar o comando de instalação",
+ "copy_named": "Copiar o comando de instalação {method}",
+ "copied": "Copiado",
+ "copy": "Copiar",
+ "heading": "Instalar",
+ "tab_cli": "CLI",
+ "tab_runner": "uvx",
+ "tab_prompt": "Prompt",
+ "hint_cli": "Corre em qualquer terminal enquanto a app estiver a correr.",
+ "hint_runner": "Não é preciso instalar nada — o uv obtém a CLI e corre o mesmo comando.",
+ "hint_prompt": "Cola isto no teu assistente — ele faz a instalação por ti.",
+ "note_jarvis": "Corre em qualquer terminal enquanto o {product} estiver a correr.",
+ "note_skills_sh": "Instala a mesma skill no Claude Code, Cursor, Codex e noutros agentes."
+ },
+ "plugins_package": {
+ "plugin_json_invalid": "O plugin.json não é JSON válido — corrige-o antes de publicar.",
+ "no_mcp_json": "Nenhum mcp.json encontrado — não há problema se o bloco auth apontar para um servidor MCP alojado ou se o pacote só tiver skills.",
+ "missing_type_one": "Falta \"type\" ao servidor {servers} do mcp.json — a loja exige \"type\": \"streamable-http\" | \"stdio\" | \"sse\" em todos os servidores.",
+ "missing_type_other": "Falta \"type\" aos servidores {servers} do mcp.json — a loja exige \"type\": \"streamable-http\" | \"stdio\" | \"sse\" em todos os servidores.",
+ "too_many_skills": "Mais de 10 skills incluídas — a loja aceita no máximo 10.",
+ "nothing_found": "Não foi encontrado plugin.json nem SKILL.md — uma pasta de pacote precisa de um dos dois no nível superior. Também serve um único ficheiro chamado SKILL.md ou que comece com frontmatter YAML (---).",
+ "no_frontmatter": "O SKILL.md não começa com frontmatter YAML (---) — a loja exige-o."
+ },
+ "debug_view": {
+ "title": "Depuração",
+ "subtitle": "Bus de eventos em direto e diagnóstico",
+ "event_count": "{count} eventos",
+ "event_timeline": "Cronologia de eventos",
+ "emit": "Emitir",
+ "clear": "Limpar",
+ "switch_brain_provider": "Mudar fornecedor do Brain",
+ "flight_recorder": "Gravador de voo",
+ "traces_from": "Traços JSONL de",
+ "replay_coming": "o leitor de reprodução chega mais tarde.",
+ "metrics": "Métricas",
+ "metrics_coming": "Latência / tokens / custo por fornecedor — gráficos em direto a partir da fase 2."
+ },
+ "install_terminal": {
+ "pane_title": "instalar {package}",
+ "starting": "A iniciar o instalador de {package}…"
+ },
+ "install_agents": {
+ "decrease": "diminuir",
+ "increase": "aumentar",
+ "recheck": "verificar novamente"
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/society/de.json b/jarvis/ui/web/frontend/src/i18n/locales/society/de.json
index d0f67dccf6..08ec43361f 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/society/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/society/de.json
@@ -686,7 +686,14 @@
"waiting_for": "Wartet auf {0}",
"busy_task": "{0} nutzt den gemeinsamen Browser gerade für eine Aufgabe. Er öffnet sich hier, sobald {0} fertig ist.",
"stop_holder": "Aufgabe von {0} stoppen",
- "open": "Browser öffnen"
+ "open": "Browser öffnen",
+ "error_image": "Das Browserbild konnte nicht dekodiert werden",
+ "error_stream": "Der Browser-Stream hat ungültige Daten geliefert",
+ "error_connect": "Verbindung zum Browser fehlgeschlagen",
+ "error_stop": "Browser konnte nicht gestoppt werden: {status}",
+ "error_stop_unreachable": "Zum Stoppen des Browsers konnte keine Verbindung aufgebaut werden",
+ "error_queue_full": "Warte auf die Browsersteuerung; die Eingabewarteschlange ist voll",
+ "error_approval": "Freigabe fehlgeschlagen ({status})"
},
"mars": {
"rover_title": "Agenten-Rover",
@@ -823,7 +830,33 @@
"state_interrupted": "Unterbrochen",
"state_unknown": "Ausgang unklar",
"open_preview": "Mars-Vorschau",
- "previous_world": "Bisherige Welt"
+ "previous_world": "Bisherige Welt",
+ "district_central": "Zentralbezirk",
+ "district_foundry": "Agent-Foundry",
+ "district_mine": "Die Mine",
+ "district_workshop": "Werkstatt",
+ "district_water-extraction": "Wassergewinnung",
+ "district_memory-house": "Gedächtnis-Haus",
+ "district_harbor-gate": "Hafentor",
+ "district_gardens": "Gärten",
+ "district_solar-field": "Solarfeld",
+ "district_communications-outpost": "Kommunikationsaußenposten",
+ "building_jarvis-hub": "Jarvis-Hub",
+ "building_terminal": "Terminal",
+ "building_plugin-docks": "Plugin-Docks",
+ "building_control-room": "Steuerhaus",
+ "building_skill-forge": "Skill-Schmiede",
+ "building_signal-office": "Signalamt",
+ "building_gallery": "Galerie",
+ "building_boiler-house": "Kesselhaus",
+ "building_lookout": "Die Warte",
+ "building_communications-mast": "Funkmast",
+ "building_operations": "Außenposten-Leitstelle",
+ "building_radome-north": "Radom Nord",
+ "building_radome-south": "Radom Süd",
+ "building_dish-west": "Westliche Antennenschüssel",
+ "building_dish-east": "Östliche Antennenschüssel",
+ "building_service-east": "Versorgungsgebäude des Außenpostens"
},
"share": {
"cta": "Teilen",
@@ -916,8 +949,25 @@
"save_error": "Das Design konnte nicht gespeichert werden.",
"copy_code": "Code kopieren",
"copied": "Kopiert",
- "presets": { "galaxy": "Galaxie", "aurora": "Polarlicht", "holo": "Holo", "lava": "Lava", "neon": "Neon", "ocean": "Ozean", "sunset": "Sonnenuntergang", "gold": "Gold", "frost": "Frost" },
- "effects": { "none": "Keiner", "stars": "Sterne", "shimmer": "Schimmer", "flow": "Fließend", "glow": "Glühen", "sparkle": "Funkeln" }
+ "presets": {
+ "galaxy": "Galaxie",
+ "aurora": "Polarlicht",
+ "holo": "Holo",
+ "lava": "Lava",
+ "neon": "Neon",
+ "ocean": "Ozean",
+ "sunset": "Sonnenuntergang",
+ "gold": "Gold",
+ "frost": "Frost"
+ },
+ "effects": {
+ "none": "Keiner",
+ "stars": "Sterne",
+ "shimmer": "Schimmer",
+ "flow": "Fließend",
+ "glow": "Glühen",
+ "sparkle": "Funkeln"
+ }
},
"eyes": "Augen",
"dots": "Runde Augen",
@@ -1430,7 +1480,32 @@
"hair_ponytail": "Pferdeschwanz",
"errand_flying": "Bringt {0} eine Aufgabe",
"errand_task": "Hier ist eine neue Aufgabe für dich.",
- "errand_ack": "Verstanden, bin dran!"
+ "errand_ack": "Verstanden, bin dran!",
+ "lobby_strapline": "AGENTEN-ZENTRALE",
+ "lobby_board_hint": "Tippe, um dein Team zu verwalten",
+ "lobby_new_agent": "Neuer Agent",
+ "break_player_one": "SPIELER 1",
+ "break_neon": "kurze Pause",
+ "spawn_screen_title": "SPAWN",
+ "spawn_screen_ready": "BEREIT",
+ "spawn_screen_new_coding": "NEUER CODING-AGENT",
+ "spawn_screen_new": "NEUER AGENT",
+ "department_n": "ABTEILUNG {number}",
+ "studio_n": "STUDIO {number}",
+ "coffee_menu": "KARTE",
+ "status_spend": "KOSTEN",
+ "status_days": "{days} T",
+ "status_na": "k. A.",
+ "status_cost": "KOSTEN",
+ "status_billed": "PER API ABGERECHNET",
+ "status_tokens": "TOKENS",
+ "status_sessions": "SITZUNGEN",
+ "status_peak": "Spitze: {amount} / Tag",
+ "status_empty": "keine Kosten in diesem Zeitraum",
+ "status_unavailable": "Kosten nicht verfügbar",
+ "status_loading": "wird geladen…",
+ "status_top_models": "TOP-MODELLE",
+ "status_net": "NETZ"
},
"arcade": {
"play_prompt": "{0} spielen",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/society/en.json b/jarvis/ui/web/frontend/src/i18n/locales/society/en.json
index 9cc5930822..7b7b6208d9 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/society/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/society/en.json
@@ -686,7 +686,14 @@
"waiting_for": "Waiting for {0}",
"busy_task": "{0} is using the shared browser for a task. It opens here as soon as {0} is done.",
"stop_holder": "Stop {0}'s task",
- "open": "Open browser"
+ "open": "Open browser",
+ "error_image": "Browser image could not be decoded",
+ "error_stream": "Browser stream returned invalid data",
+ "error_connect": "Browser connection failed",
+ "error_stop": "Browser stop failed: {status}",
+ "error_stop_unreachable": "Browser stop could not connect",
+ "error_queue_full": "Waiting for browser control; input queue is full",
+ "error_approval": "Approval failed ({status})"
},
"mars": {
"rover_title": "Agent rover",
@@ -823,7 +830,33 @@
"state_interrupted": "Interrupted",
"state_unknown": "Outcome unknown",
"open_preview": "Mars preview",
- "previous_world": "Previous world"
+ "previous_world": "Previous world",
+ "district_central": "Central district",
+ "district_foundry": "Agent Foundry",
+ "district_mine": "The Mine",
+ "district_workshop": "Workshop",
+ "district_water-extraction": "Water Extraction",
+ "district_memory-house": "Memory House",
+ "district_harbor-gate": "Harbor Gate",
+ "district_gardens": "Gardens",
+ "district_solar-field": "Solar Field",
+ "district_communications-outpost": "Communications Outpost",
+ "building_jarvis-hub": "Jarvis Hub",
+ "building_terminal": "Terminal",
+ "building_plugin-docks": "Plugin Docks",
+ "building_control-room": "Control Room",
+ "building_skill-forge": "Skill Forge",
+ "building_signal-office": "Signal Office",
+ "building_gallery": "Gallery",
+ "building_boiler-house": "Boiler House",
+ "building_lookout": "The Lookout",
+ "building_communications-mast": "Communications mast",
+ "building_operations": "Outpost operations",
+ "building_radome-north": "North radome",
+ "building_radome-south": "South radome",
+ "building_dish-west": "Western dish",
+ "building_dish-east": "Eastern dish",
+ "building_service-east": "Outpost service building"
},
"share": {
"cta": "Share",
@@ -916,8 +949,25 @@
"save_error": "The design could not be saved.",
"copy_code": "Copy code",
"copied": "Copied",
- "presets": { "galaxy": "Galaxy", "aurora": "Aurora", "holo": "Holo", "lava": "Lava", "neon": "Neon", "ocean": "Ocean", "sunset": "Sunset", "gold": "Gold", "frost": "Frost" },
- "effects": { "none": "None", "stars": "Stars", "shimmer": "Shimmer", "flow": "Flowing", "glow": "Glow", "sparkle": "Sparkle" }
+ "presets": {
+ "galaxy": "Galaxy",
+ "aurora": "Aurora",
+ "holo": "Holo",
+ "lava": "Lava",
+ "neon": "Neon",
+ "ocean": "Ocean",
+ "sunset": "Sunset",
+ "gold": "Gold",
+ "frost": "Frost"
+ },
+ "effects": {
+ "none": "None",
+ "stars": "Stars",
+ "shimmer": "Shimmer",
+ "flow": "Flowing",
+ "glow": "Glow",
+ "sparkle": "Sparkle"
+ }
},
"eyes": "Eyes",
"dots": "Round eyes",
@@ -1430,7 +1480,32 @@
"hair_ponytail": "Ponytail",
"errand_flying": "Taking {0} a task",
"errand_task": "Here is a new task for you.",
- "errand_ack": "Got it, on it!"
+ "errand_ack": "Got it, on it!",
+ "lobby_strapline": "AGENT HEADQUARTERS",
+ "lobby_board_hint": "Tap to manage your team",
+ "lobby_new_agent": "New agent",
+ "break_player_one": "PLAYER 1",
+ "break_neon": "take five",
+ "spawn_screen_title": "SPAWN",
+ "spawn_screen_ready": "READY",
+ "spawn_screen_new_coding": "NEW CODING AGENT",
+ "spawn_screen_new": "NEW AGENT",
+ "department_n": "DEPARTMENT {number}",
+ "studio_n": "STUDIO {number}",
+ "coffee_menu": "MENU",
+ "status_spend": "SPEND",
+ "status_days": "{days}D",
+ "status_na": "n/a",
+ "status_cost": "COST",
+ "status_billed": "API BILLED",
+ "status_tokens": "TOKENS",
+ "status_sessions": "SESSIONS",
+ "status_peak": "{amount} / day peak",
+ "status_empty": "no spend in this window",
+ "status_unavailable": "spend unavailable",
+ "status_loading": "loading…",
+ "status_top_models": "TOP MODELS",
+ "status_net": "NET"
},
"arcade": {
"play_prompt": "Play {0}",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/society/es.json b/jarvis/ui/web/frontend/src/i18n/locales/society/es.json
index 0ac4743da4..5a43506f34 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/society/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/society/es.json
@@ -686,7 +686,14 @@
"waiting_for": "Esperando a {0}",
"busy_task": "{0} está usando el navegador compartido para una tarea. Se abrirá aquí en cuanto {0} termine.",
"stop_holder": "Detener la tarea de {0}",
- "open": "Abrir navegador"
+ "open": "Abrir navegador",
+ "error_image": "No se pudo decodificar la imagen del navegador",
+ "error_stream": "La transmisión del navegador devolvió datos no válidos",
+ "error_connect": "Falló la conexión con el navegador",
+ "error_stop": "No se pudo detener el navegador: {status}",
+ "error_stop_unreachable": "No se pudo conectar para detener el navegador",
+ "error_queue_full": "Esperando el control del navegador; la cola de entrada está llena",
+ "error_approval": "La aprobación falló ({status})"
},
"mars": {
"rover_title": "Rover de agentes",
@@ -823,7 +830,33 @@
"state_interrupted": "Interrumpido",
"state_unknown": "Resultado desconocido",
"open_preview": "Vista previa de Marte",
- "previous_world": "Mundo anterior"
+ "previous_world": "Mundo anterior",
+ "district_central": "Distrito central",
+ "district_foundry": "Fundición de Agentes",
+ "district_mine": "La Mina",
+ "district_workshop": "Taller",
+ "district_water-extraction": "Extracción de agua",
+ "district_memory-house": "Casa de la Memoria",
+ "district_harbor-gate": "Puerta del Puerto",
+ "district_gardens": "Jardines",
+ "district_solar-field": "Campo Solar",
+ "district_communications-outpost": "Puesto de comunicaciones",
+ "building_jarvis-hub": "Centro Jarvis",
+ "building_terminal": "Terminal",
+ "building_plugin-docks": "Muelles de Plugins",
+ "building_control-room": "Sala de Control",
+ "building_skill-forge": "Forja de Skills",
+ "building_signal-office": "Oficina de Señales",
+ "building_gallery": "Galería",
+ "building_boiler-house": "Sala de Calderas",
+ "building_lookout": "El Mirador",
+ "building_communications-mast": "Mástil de comunicaciones",
+ "building_operations": "Operaciones del puesto",
+ "building_radome-north": "Radomo norte",
+ "building_radome-south": "Radomo sur",
+ "building_dish-west": "Antena parabólica oeste",
+ "building_dish-east": "Antena parabólica este",
+ "building_service-east": "Edificio de servicio del puesto"
},
"share": {
"cta": "Compartir",
@@ -916,8 +949,25 @@
"save_error": "No se pudo guardar el diseño.",
"copy_code": "Copiar código",
"copied": "Copiado",
- "presets": { "galaxy": "Galaxia", "aurora": "Aurora", "holo": "Holo", "lava": "Lava", "neon": "Neón", "ocean": "Océano", "sunset": "Atardecer", "gold": "Oro", "frost": "Escarcha" },
- "effects": { "none": "Ninguno", "stars": "Estrellas", "shimmer": "Brillo", "flow": "Fluido", "glow": "Resplandor", "sparkle": "Destellos" }
+ "presets": {
+ "galaxy": "Galaxia",
+ "aurora": "Aurora",
+ "holo": "Holo",
+ "lava": "Lava",
+ "neon": "Neón",
+ "ocean": "Océano",
+ "sunset": "Atardecer",
+ "gold": "Oro",
+ "frost": "Escarcha"
+ },
+ "effects": {
+ "none": "Ninguno",
+ "stars": "Estrellas",
+ "shimmer": "Brillo",
+ "flow": "Fluido",
+ "glow": "Resplandor",
+ "sparkle": "Destellos"
+ }
},
"eyes": "Ojos",
"dots": "Ojos redondos",
@@ -1430,7 +1480,32 @@
"hair_ponytail": "Coleta",
"errand_flying": "Lleva una tarea a {0}",
"errand_task": "Aquí tienes una tarea nueva.",
- "errand_ack": "¡Entendido, voy!"
+ "errand_ack": "¡Entendido, voy!",
+ "lobby_strapline": "SEDE DE AGENTES",
+ "lobby_board_hint": "Toca para gestionar tu equipo",
+ "lobby_new_agent": "Nuevo agente",
+ "break_player_one": "JUGADOR 1",
+ "break_neon": "un respiro",
+ "spawn_screen_title": "APARICIÓN",
+ "spawn_screen_ready": "LISTO",
+ "spawn_screen_new_coding": "NUEVO AGENTE DE CÓDIGO",
+ "spawn_screen_new": "NUEVO AGENTE",
+ "department_n": "DEPARTAMENTO {number}",
+ "studio_n": "ESTUDIO {number}",
+ "coffee_menu": "MENÚ",
+ "status_spend": "GASTOS",
+ "status_days": "{days} D",
+ "status_na": "n/d",
+ "status_cost": "COSTE",
+ "status_billed": "FACTURADO POR API",
+ "status_tokens": "TOKENS",
+ "status_sessions": "SESIONES",
+ "status_peak": "pico: {amount} / día",
+ "status_empty": "sin gastos en este periodo",
+ "status_unavailable": "gastos no disponibles",
+ "status_loading": "cargando…",
+ "status_top_models": "MODELOS PRINCIPALES",
+ "status_net": "RED"
},
"arcade": {
"play_prompt": "Jugar a {0}",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/society/pt.json b/jarvis/ui/web/frontend/src/i18n/locales/society/pt.json
new file mode 100644
index 0000000000..a9869303ed
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/locales/society/pt.json
@@ -0,0 +1,1780 @@
+{
+ "society": {
+ "card": {
+ "options_collapse": "Recolher opções",
+ "options_expand": "Expandir opções"
+ },
+ "browser_profiles": {
+ "profile_unavailable": "Perfil desligado — escolhe um perfil",
+ "chrome_offline": "Chrome desligado",
+ "sign_in_chrome": "Inicia sessão diretamente no Chrome",
+ "preview_paused": "Inicia sessão diretamente no Chrome. O Dodaios pausa a pré-visualização enquanto controlas este perfil. Devolve o controlo quando terminares.",
+ "chrome_limits": "Os agentes controlam apenas o seu próprio separador nos sites permitidos. Carregamentos de ficheiros, transferências e a mudança para os teus outros separadores do Chrome ainda não são suportados.",
+ "title": "Perfis do navegador",
+ "intro": "Um perfil do navegador guarda as tuas sessões iniciadas nos sites. Os agentes navegam com ele, por isso mantêm a sessão iniciada.",
+ "persistence": "As sessões e escolhas ficam neste computador, mesmo depois de reiniciar. Um site pode ainda assim terminar a tua sessão.",
+ "loading": "A carregar perfis…",
+ "refresh": "Atualizar estado",
+ "new": "Adicionar perfil",
+ "name": "Nome do perfil",
+ "domains": "Sites permitidos",
+ "domains_hint": "Os agentes só podem abrir estes sites no teu Chrome. Separa-os com vírgulas.",
+ "managed_domains_hint": "Deixa em branco para permitir todos os sites que o Dodaios autoriza.",
+ "own": "Perfil privado próprio",
+ "saved": "Guardado.",
+ "busy_error": "O navegador está em uso. Termina a tarefa atual do navegador ou liberta o controlo manual e tenta novamente.",
+ "save_error": "Não foi possível guardar esta alteração. Verifica o nome do perfil e os domínios dos sites e tenta novamente.",
+ "load_error": "Não foi possível carregar os perfis do navegador. Tenta atualizar.",
+ "connect_chrome": "Ligar o teu Chrome",
+ "extension_preview": "Pré-visualização da ligação ao Chrome: a extensão é instalada manualmente até estar disponível na Chrome Web Store.",
+ "download": "Transferir extensão",
+ "unpack": "Extrai o ZIP para uma pasta que vais manter.",
+ "install": "No perfil do Chrome que queres partilhar, abre chrome://extensions, ativa o Modo de programador, escolhe Carregar expandida e seleciona essa pasta.",
+ "pair_hint": "Abre a extensão Jarvis nesse perfil do Chrome. Introduz o endereço do servidor e um novo código de emparelhamento abaixo e liga. Depois, atualiza o estado aqui.",
+ "generate_code": "Gerar código de emparelhamento",
+ "server": "Servidor Dodaios",
+ "code": "Código de emparelhamento",
+ "code_expiry": "Válido durante {0} minutos. Mantém este código privado; liga este perfil do Chrome ao Dodaios.",
+ "code_expired": "O código de emparelhamento expirou. Gera um novo código para ligar.",
+ "no_agents": "Ainda não há agentes. Podes atribuir este perfil depois de criares um agente.",
+ "save_details": "Guardar alterações",
+ "remove": "Remover perfil",
+ "remove_hint": "Isto remove o perfil do Dodaios. As sessões guardadas neste computador não são apagadas.",
+ "confirm_remove": "Remover",
+ "cancel": "Cancelar",
+ "kind": "Que tipo de perfil?",
+ "create": "Criar perfil",
+ "close": "Fechar perfis do navegador",
+ "empty": "Ainda não há perfis. Abre o navegador de um agente e o Dodaios cria automaticamente o navegador partilhado.",
+ "default": "Predefinido",
+ "disconnected": "Chrome desligado. Abre o perfil do Chrome correto, liga a respetiva extensão Jarvis e atualiza. As tarefas do navegador aguardam esta ligação.",
+ "google_signin_rejected": "A Google recusou este início de sessão",
+ "google_signin_recovery": "A Google pode recusar o início de sessão num navegador automatizado. Inicia sessão tu mesmo no Chrome normal primeiro, depois liga esse perfil do Chrome aqui e escolhe-o explicitamente para este agente.",
+ "connect_supported_chrome": "Ligar o Chrome normal",
+ "google_signin_help": "Ajuda com o início de sessão Google",
+ "inline_login": "Iniciar sessão",
+ "inline_login_active": "Chrome normal — navegação manual",
+ "inline_login_not_ready": "O Chrome normal não está pronto — Iniciar sessão pode tentar novamente",
+ "takeover_stops_task": "Assumir o controlo para esta tarefa do navegador e abre aqui o Chrome normal.",
+ "inline_login_finish": "Devolver ao agente",
+ "inline_login_hint": "Inicia sessão aqui no Chrome. Quando terminares, devolve este perfil ao agente. O teu perfil do navegador fica guardado neste computador.",
+ "inline_login_recovery": "Escolhe Iniciar sessão para reabrir este perfil no Chrome normal dentro desta janela, com o controlo do agente desligado durante o início de sessão.",
+ "inline_login_unavailable": "Esta sessão ainda não consegue abrir o início de sessão. Requer o Google Chrome instalado e uma sessão de navegador Windows atual.",
+ "how_title": "Como funciona?",
+ "how_shared": "O perfil de navegador do próprio Dodaios. Todos os agentes o usam, a menos que escolhas outra coisa. Inicia sessão uma vez e todos os agentes ficam com a sessão iniciada.",
+ "how_sign_in_title": "Iniciar sessão",
+ "how_sign_in": "Abre o navegador de um agente, escolhe Iniciar sessão, entra no site e depois escolhe Devolver ao agente.",
+ "how_own": "Um perfil vazio usado apenas por um agente, por exemplo para uma segunda conta.",
+ "how_chrome": "Liga um perfil do teu Chrome normal através de uma pequena extensão. Os agentes só podem abrir os sites que permitires.",
+ "agent_title": "Que navegador usa {0}?",
+ "agent_needs_choice": "O perfil que este agente usava foi removido. Escolhe um perfil para que possa voltar a navegar.",
+ "use_shared": "Navegador partilhado",
+ "use_shared_hint": "{0} — as mesmas sessões que todos os outros agentes. Recomendado.",
+ "no_shared": "Não está configurado nenhum perfil partilhado. Escolhe outra opção.",
+ "own_hint": "Sessões separadas usadas apenas por este agente.",
+ "managed_profile_hint": "Navegador Dodaios separado com as suas próprias sessões.",
+ "chrome_profile_hint": "O teu Chrome normal · {0}",
+ "profiles": "Perfis",
+ "kind_managed": "Navegador Dodaios",
+ "kind_chrome": "O teu Chrome",
+ "status_connected": "Ligado",
+ "status_disconnected": "Não ligado",
+ "used_by_all": "Usado por todos os agentes e pelos novos agentes",
+ "used_by_new": "Usado pelos novos agentes",
+ "used_by": "Usado por {0}",
+ "used_by_more": "{0} e mais {1}",
+ "used_by_none": "Ainda não é usado por nenhum agente",
+ "manage": "Gerir",
+ "done": "Fechar",
+ "limit_sites": "Limitar a certos sites (opcional)",
+ "reconnect_chrome": "Ligar novamente",
+ "usage_title": "Quem usa este perfil?",
+ "default_usage": "Todos os agentes usam este perfil, a menos que escolhas outro para eles. Os novos agentes recebem-no automaticamente.",
+ "make_default": "Usar para todos os agentes",
+ "make_default_confirm": "Todos os agentes passam a usar {0}, incluindo os agentes com escolha própria. Os novos agentes também o recebem.",
+ "confirm_make_default": "Mudar todos os agentes",
+ "pick_agents": "Ou escolhe agentes individuais:",
+ "pick_agents_hint": "Os agentes que desmarcares deixam de navegar até escolheres outro perfil para eles.",
+ "save_agents": "Guardar agentes",
+ "remove_default_hint": "Este é o perfil partilhado. Depois de o removeres, os agentes não podem navegar até escolheres um perfil para cada um. As sessões guardadas neste computador não são apagadas.",
+ "new_title": "Novo perfil",
+ "new_managed": "Navegador Dodaios adicional",
+ "new_managed_hint": "Um navegador vazio para uma segunda conta. Inicias sessão uma vez dentro do Dodaios.",
+ "new_chrome": "O teu Chrome normal",
+ "new_chrome_hint": "Usa as sessões que já tens no Chrome. Precisa de uma pequena extensão."
+ },
+ "profile_card": {
+ "user_book": "O teu perfil e preferências",
+ "memory_book": "Conhecimento e experiência",
+ "runtime_pending": "A atualização de aprendizagem estará disponível após o próximo arranque da aplicação. Os teus ficheiros de memória existentes continuam legíveis.",
+ "learned_instructions": "Instruções de trabalho aprendidas",
+ "learned_hint": "A IA revê as conversas concluídas em busca de lições úteis. Estas regras melhoram a próxima execução, enquanto as tuas instruções e permissões se mantêm em vigor.",
+ "no_instructions": "Ainda não foram aprendidas regras de trabalho. Factos e procedimentos úteis podem já estar guardados como memória ou skills.",
+ "review_reviewing": "Revisão de aprendizagem em curso",
+ "review_pending": "Revisões de aprendizagem pendentes",
+ "review_done": "Revisão de aprendizagem concluída",
+ "review_waiting": "À espera de uma conversa concluída para rever",
+ "last_review": "Última atividade de revisão",
+ "loading": "A carregar…",
+ "knowledge_hint": "Cada agente mantém o seu próprio USER.md para o teu perfil e preferências e o MEMORY.md para conhecimento e experiência do projeto. As skills e os arquivos de conversas ficam separados.",
+ "kind_memory": "Memória",
+ "kind_skills": "Skill aprendida · rascunho",
+ "open": "Abrir perfil de {0}",
+ "subtitle": "Perfil do agente",
+ "profile": "Perfil e instruções",
+ "memory": "Ficheiros de memória",
+ "look": "Aparência",
+ "name": "Nome",
+ "role": "Função / descrição",
+ "instructions": "Instruções de sistema",
+ "instructions_hint": "Estas instruções permanentes descrevem o trabalho e o comportamento do agente. As alterações aplicam-se às execuções seguintes.",
+ "access": "Acesso a ferramentas",
+ "access_all": "Todas as ferramentas permitidas",
+ "access_allowlist": "Apenas ferramentas selecionadas",
+ "id": "ID do agente",
+ "location": "Pasta de memória",
+ "load_error": "Não foi possível carregar estes dados.",
+ "save_error": "Não foi possível guardar. As tuas alterações continuam aqui.",
+ "retry": "Tentar novamente",
+ "saved": "Alterações guardadas",
+ "unsaved": "Tens alterações por guardar.",
+ "keep_editing": "Continuar a editar",
+ "discard": "Descartar alterações",
+ "sample_hint": "Perfil de exemplo — a edição e a memória em direto não estão disponíveis.",
+ "search": "Pesquisar ficheiros de memória…",
+ "refresh": "Atualizar ficheiros",
+ "empty": "Este agente ainda não tem ficheiros de memória.",
+ "empty_file": "Este ficheiro está vazio.",
+ "no_results": "Nenhum ficheiro corresponde.",
+ "read_only": "Só de leitura · Mantido por este agente",
+ "model": "Modelo"
+ },
+ "conversations": {
+ "label": "Conversas",
+ "hint": "Onde este agente trabalha no que {name} ou um colega lhe enviou, separado do teu chat.",
+ "with": "com {0}",
+ "running": "a trabalhar agora",
+ "waiting": "à tua espera",
+ "badge": "Conversa do agente",
+ "follow_up": "Pergunta nesta conversa…"
+ },
+ "routine_detail": {
+ "back_to_agent": "Voltar ao chat do agente",
+ "saved_result": "Resultado de execução guardado",
+ "historical_chat": "Esta execução mais antiga foi guardada no chat principal do agente. Só esta execução é mostrada aqui, apenas para leitura.",
+ "trace_unavailable": "Não há nenhuma transcrição de chat correspondente a esta execução. O resultado guardado é mostrado abaixo, quando disponível.",
+ "latest_chat": "Abrir o chat mais recente",
+ "open_chat": "Abrir chat",
+ "background_chat": "Execução em segundo plano",
+ "follow_up": "Pergunta sobre esta execução…",
+ "stop_run": "Parar execução",
+ "send": "Enviar",
+ "test_started": "Execução de teste iniciada.",
+ "active": "Ativa",
+ "delete": "Eliminar",
+ "test": "Execução de teste",
+ "delete_confirm": "Eliminar esta rotina, todos os seus agendamentos e o histórico de execuções?",
+ "cancel": "Cancelar",
+ "name": "Nome",
+ "prompt": "Instrução",
+ "model": "Modelo",
+ "model_follows_agent": "Corre no modelo atual do agente. Escolhe um para fixar esta rotina nele.",
+ "model_name": "Modelo",
+ "provider": "Fornecedor",
+ "effort": "Esforço",
+ "account": "Conta",
+ "follow_agent": "Seguir o agente",
+ "change": "Alterar",
+ "save": "Guardar",
+ "saved": "Guardado.",
+ "when": "Quando executar",
+ "add_schedule": "Adicionar outro agendamento",
+ "remove_schedule": "Remover agendamento",
+ "history": "Histórico de execuções",
+ "no_runs": "Ainda não há execuções.",
+ "legacy": "Execução mais antiga: resultado disponível; o estado final não foi registado."
+ },
+ "chat": {
+ "connecting": "A ligar a este chat…",
+ "reconnecting": "A voltar a ligar a este chat…",
+ "memory_updated": "Memória atualizada",
+ "memory_changes": "Alterações",
+ "memory_current": "Ficheiro atual",
+ "memory_raw": "Markdown em bruto",
+ "memory_change_legend": "Verde: adicionado · Vermelho: removido. Isto mostra a alteração guardada; o ficheiro atual pode ter atualizações mais recentes.",
+ "activity_details": "Detalhes",
+ "activity_trace": "Atividade · {count} passos",
+ "routine_check": "Verificação de rotina",
+ "updating_memory": "A atualizar a memória",
+ "memory_open_file": "Abrir ficheiro de memória",
+ "memory_file_title": "Ficheiro de memória",
+ "memory_file_loading": "A carregar o ficheiro de memória…",
+ "memory_file_failed": "Não foi possível carregar o ficheiro de memória",
+ "memory_file_on_disk": "Mostrado com a alteração realçada; o ficheiro acima é a versão no disco.",
+ "message_to": "Mensagem para",
+ "message_from": "Mensagem de",
+ "message_failed": "A mensagem falhou",
+ "model_search": "Pesquisar modelos",
+ "model_show_more": "Mostrar mais modelos",
+ "model_show_fewer": "Mostrar menos modelos",
+ "model_refresh": "Atualizar modelos",
+ "model_no_matches": "Nenhum modelo corresponde. Liga um fornecedor ou atualiza a lista.",
+ "model_group_anthropic": "Subscrição Anthropic",
+ "model_group_chatgpt": "Subscrição ChatGPT / Codex",
+ "model_group_grok": "Subscrição Grok",
+ "model_group_google": "Subscrição Google / Gemini",
+ "model_extra_usage": "faturado como utilização extra",
+ "model_scope": "Aplica-se às próximas mensagens e execuções de rotinas deste agente. O histórico do chat mantém-se.",
+ "model_busy": "Aguarda pela resposta atual antes de mudar de modelo.",
+ "model_save_failed": "Não foi possível guardar o modelo",
+ "model_load_failed": "Não foi possível carregar os fornecedores ligados. Fecha e tenta novamente.",
+ "model_provider": "Fornecedor",
+ "model_choose_provider": "Escolhe um fornecedor ligado",
+ "model_account": "Conta",
+ "model_active_account": "Conta ativa",
+ "model_connections": "Só são listados os fornecedores ligados. Adiciona ligações nas Definições.",
+ "model_saving": "A guardar…",
+ "model_apply": "Aplicar modelo"
+ },
+ "world": {
+ "talk_kind_query": "pergunta",
+ "talk_kind_answer": "responde",
+ "talk_kind_propose": "propõe",
+ "talk_digest": "+{0} mais",
+ "talk_listening": "está a ouvir",
+ "talk_calling": "a chamar {0}",
+ "talk_more": "…",
+ "hud_talking": "{0} a falar",
+ "room_round": "Ronda {0}/{1}",
+ "room_settled": "Sala fechada",
+ "room_reason_message_cap": "tudo foi dito",
+ "room_reason_round_cap": "as rondas esgotaram-se",
+ "room_reason_silence": "ninguém falou",
+ "room_reason_user": "fechada por ti",
+ "room_reason_kill_switch": "a sociedade foi parada",
+ "mode_label": "Vista de agentes",
+ "toggle_sections": "Mostrar ou ocultar secções",
+ "fullscreen_failed": "Não foi possível alterar o ecrã inteiro. Os botões Dodaios Verse / Agentes continuam disponíveis.",
+ "mode_map": "Dodaios Verse",
+ "mode_ledger": "Registo",
+ "hud_agents": "{count} agentes",
+ "hud_active": "{count} ativos",
+ "sample_badge": "Lista de exemplo",
+ "reduced_motion_note": "Movimento reduzido: a ilha fica parada",
+ "controls_hint": "Arrasta para deslocar · Arrasta com o botão direito para rodar a vista · Desliza para fazer zoom · Setas para mover · Clica num edifício para o rodar",
+ "rotate_hint": "Arrasta o botão à volta do edifício para o rodar. Shift ajusta em passos de 15°.",
+ "rotate_reset": "Voltar à orientação original",
+ "rotate_reset_short": "Repor",
+ "rotate_reset_all": "Voltar a pôr todos os edifícios na orientação original",
+ "rotate_reset_all_count": "Repor {count} rodados",
+ "zoom_label": "Zoom",
+ "zoom_in": "Aproximar",
+ "zoom_out": "Afastar",
+ "compass_label": "Direção da vista",
+ "turn_left": "Rodar a vista para a esquerda (Q)",
+ "turn_right": "Rodar a vista para a direita (E)",
+ "view_reset": "Voltar à vista original (R)",
+ "minimap_label": "Mapa da ilha — clica para saltar para lá",
+ "webgl_missing_title": "A ilha precisa de WebGL",
+ "webgl_agents_body": "Esta janela não consegue desenhar 3D neste momento. Podes continuar a usar a vista de agentes.",
+ "open_agents": "Abrir Agentes",
+ "loading": "A construir a ilha…",
+ "place_plugins": "Docas dos Plugins",
+ "place_foundry": "Fundição de Agentes",
+ "drawer_foundry_title": "Fundição de Agentes",
+ "drawer_foundry_hint": "Onde nascem os novos agentes. Quem é construído sai pelo portal e desce no tapete rolante até à praça.",
+ "foundry_create": "Construir um novo agente",
+ "foundry_population": "{count} agentes vivem na ilha",
+ "foundry_recent": "Construído mais recentemente",
+ "foundry_none": "Ainda nenhum agente construído.",
+ "foundry_walkout": "Um agente acabado de construir atravessa o portal e encontra o seu lugar na aldeia.",
+ "drawer_plugins_title": "Docas dos Plugins",
+ "drawer_plugins_hint": "Todos os plugins instalados nesta aplicação, por família. Um agente vem até aqui quando a sua execução depende de um plugin.",
+ "drawer_open_section": "Abrir a secção Plugins",
+ "card_kind_building": "Edifício",
+ "cli_group_seats": "Lugares de programação",
+ "plugin_group_connected": "Ligados",
+ "plugin_group_available": "Disponíveis",
+ "status_connected": "Ligado",
+ "status_available": "Não ligado",
+ "status_attention": "Requer atenção",
+ "status_installed": "Instalado",
+ "status_missing": "Não instalado",
+ "status_checking": "A verificar",
+ "status_running": "Em execução",
+ "status_stopped": "Parado",
+ "status_draft": "Rascunho",
+ "status_ready": "Pronto",
+ "card_does_title": "O que faz",
+ "card_how_title": "Como usar",
+ "card_inside_title": "Lá dentro agora",
+ "card_open_section": "Abrir a secção",
+ "card_create_agent": "Criar um agente",
+ "card_drag_hint": "Arrasta para rodar · roda do rato para zoom · duplo clique para repor",
+ "card_reduced_motion": "Movimento reduzido: arrasta para rodar",
+ "card_unavailable": "Não é possível desenhar o edifício nesta janela.",
+ "card_plugins_does": "As Docas dos Plugins guardam todos os plugins instalados nesta aplicação — cérebros, ferramentas, voz, canais, tempo real, palavras de ativação e harnesses — organizados por família. Um agente vem até aqui sempre que uma execução depende de um deles.",
+ "card_plugins_how": "Instala ou remove plugins na secção Plugins; por predefinição, todos os agentes podem usar todos eles. Diz a um agente, no chat dele, que plugin deve usar primeiro.",
+ "card_foundry_does": "A Fundição de Agentes é onde nascem os novos agentes. Um agente acabado de construir sai pelo portal e desce até à praça para se juntar à equipa.",
+ "card_foundry_how": "Cria aqui um agente ou com “Novo” na barra de agentes: um nome, um título, uma descrição e o lugar onde corre. Tudo o resto dizes-lhe no próprio chat.",
+ "card_skills_does": "A Forja de Skills guarda todas as skills que esta aplicação conhece — as integradas, as tuas e os rascunhos ainda em construção. Uma skill é um procedimento reutilizável que um agente executa com um comando de barra.",
+ "card_skills_how": "Escreve ou edita skills na secção Skills; um agente também pode criar um rascunho a partir de um chat. Um rascunho continua rascunho até o aprovares.",
+ "card_mcp_does": "A Torre de Retransmissão chega aos servidores MCP a que esta aplicação está ligada — ferramentas externas que um agente pode chamar. A antena roda enquanto um agente está numa chamada.",
+ "card_mcp_how": "Adiciona ou remove servidores na secção MCPs. Todos os agentes podem chegar a todos os servidores ligados.",
+ "card_cli_does": "A Cantina dos Terminais senta as CLIs de programação — Claude Code, Codex, Grok Build e as outras — com os seus inícios de sessão de subscrição. Um agente senta-se aqui a um terminal enquanto decorre uma sessão de programação.",
+ "card_cli_how": "Liga uma CLI ou inicia sessão numa subscrição na secção CLIs. Um agente pode então correr nesse lugar em vez de usar uma chave de API.",
+ "card_archive_does": "A Casa da Memória é a memória partilhada da equipa: conhecimento revisto da equipa, a memória própria de cada agente e a fila de revisão. Um agente vem até aqui quando se lembra ou procura algo.",
+ "card_archive_how": "Lê e organiza a memória na secção Memória. Um facto proposto por um agente fica na fila de revisão até o aceitares.",
+ "drawer_close": "Fechar",
+ "place_quests": "Quadro de Missões",
+ "hud_quests": "Missões",
+ "quest_add_placeholder": "Nova missão… p. ex. os cinco e-mails mais importantes de hoje",
+ "quest_wait_approval": "{agent} está à espera da tua aprovação no chat — a missão começa logo a seguir",
+ "quest_wait_busy": "{agent} está ocupado — a missão começa assim que ficar livre",
+ "quest_open_agent": "Abrir {agent}",
+ "quest_group_history": "Histórico",
+ "drawer_quests_title": "Quadro de Missões",
+ "drawer_quests_hint": "Publica um trabalho. O agente adequado aceita-o — quando nenhum serve, a Fundição forja um.",
+ "quest_compose_placeholder": "O que deve ser feito? Por exemplo: os cinco e-mails mais importantes de hoje",
+ "quest_compose_hint": "Ctrl+Enter publica",
+ "quest_post": "Publicar missão",
+ "quest_posting": "A publicar…",
+ "quest_group_active": "No quadro",
+ "quest_group_done": "Concluídas",
+ "quest_group_failed": "Falhadas",
+ "quest_group_cancelled": "Canceladas",
+ "quest_empty": "Ainda não há missões. Publica a primeira.",
+ "quest_state": {
+ "open": "à espera de alguém",
+ "assigned": "atribuída",
+ "running": "em curso",
+ "done": "concluída",
+ "failed": "falhada",
+ "cancelled": "cancelada"
+ },
+ "quest_taken_by": "{agent} aceitou-a",
+ "quest_forged": "{agent} foi forjado para ela",
+ "quest_no_taker": "Ainda ninguém a pôde aceitar",
+ "quest_cancel": "Cancelar",
+ "quest_retry": "Tentar novamente",
+ "quest_result_label": "Entrega",
+ "quest_open_label": "Ainda em aberto",
+ "quest_refused": "Recusada: {reason}",
+ "quest_age_now": "agora mesmo",
+ "quest_age_min": "há {n} min",
+ "quest_age_h": "há {n} h",
+ "quest_age_d": "há {n} d",
+ "quest_close": "Fechar",
+ "quest_loading": "A ler o quadro…",
+ "quest_open_ledger": "Abrir o registo de agentes",
+ "drawer_loading": "A ler o catálogo de plugins…",
+ "drawer_empty": "Nenhum plugin encontrado.",
+ "plugin_group_brain": "Cérebros",
+ "plugin_group_tool": "Ferramentas",
+ "plugin_group_stt": "Voz para texto",
+ "plugin_group_tts": "Texto para voz",
+ "plugin_group_channel": "Canais",
+ "plugin_group_realtime": "Voz em tempo real",
+ "plugin_group_wakeword": "Palavras de ativação",
+ "plugin_group_harness": "Harnesses",
+ "place_skills": "Forja de Skills",
+ "place_mcp": "Torre de Retransmissão",
+ "place_cli": "Cantina dos Terminais",
+ "drawer_skills_title": "Forja de Skills",
+ "drawer_skills_hint": "Todas as skills que esta aplicação conhece. Os rascunhos que um agente aprendeu aguardam aqui a tua aprovação.",
+ "skills_group_draft": "Rascunhos a aguardar aprovação",
+ "skills_group_custom": "Tuas",
+ "skills_group_builtin": "Integradas",
+ "drawer_mcp_title": "Torre de Retransmissão",
+ "drawer_mcp_hint": "Os servidores MCP a que esta aplicação chega. A antena roda enquanto um agente chama um deles.",
+ "mcp_group_stdio": "Local (stdio)",
+ "mcp_group_http": "Remoto (HTTP)",
+ "drawer_cli_title": "Cantina dos Terminais",
+ "drawer_cli_hint": "As CLIs de programação e os lugares. Um agente senta-se aqui a um terminal enquanto decorre uma sessão de programação.",
+ "cli_group_connected": "Ligadas",
+ "cli_group_installed": "Instaladas, não ligadas",
+ "cli_group_missing": "Não instaladas",
+ "place_comms": "Posto de Sinais",
+ "place_desktop": "Sala de Controlo",
+ "place_web": "O Miradouro",
+ "place_models": "Casa das Caldeiras",
+ "place_civic": "Câmara Municipal",
+ "place_gallery": "Galeria",
+ "drawer_comms_title": "Posto de Sinais",
+ "drawer_comms_hint": "E-mail, chat, contactos e chamadas. Um agente fica aqui enquanto escreve a uma pessoa ou a um colega.",
+ "comms_group_mail": "E-mail e chat",
+ "comms_group_people": "Pessoas e chamadas",
+ "drawer_desktop_title": "Sala de Controlo",
+ "drawer_desktop_hint": "A mão no teu ambiente de trabalho: cliques, teclas, janelas e o que está no ecrã. Um agente fica aqui enquanto controla a máquina.",
+ "desktop_group_pointer": "Ponteiro e teclas",
+ "desktop_group_screen": "Ecrã e janelas",
+ "drawer_web_title": "O Miradouro",
+ "drawer_web_hint": "O mundo lá fora: pesquisa na web e o navegador do próprio agente. Um agente fica aqui enquanto lê algo que não é teu.",
+ "web_group_search": "Pesquisar e obter",
+ "web_group_browser": "O navegador do agente",
+ "drawer_models_title": "Casa das Caldeiras",
+ "drawer_models_hint": "Onde um modelo local pensa. Um agente fica aqui enquanto o seu próprio cérebro no dispositivo está a correr.",
+ "drawer_models_body": "Um agente cujo fornecedor não precisa de chave corre nesta máquina. Enquanto o modelo trabalha, a figura fica na casa das caldeiras em vez de numa oficina — o trabalho é pensar, não usar uma ferramenta.",
+ "drawer_civic_title": "Câmara Municipal",
+ "drawer_civic_hint": "Salas e o quadro. Um agente fica aqui enquanto está numa sala limitada com os outros.",
+ "drawer_civic_body": "Uma sala é uma conversa limitada entre agentes nomeados: abre, decorre e encerra. Todos os que estão numa sala aberta ficam na câmara municipal até ela encerrar. O quadro mostra aquilo em que a sociedade está a trabalhar.",
+ "drawer_gallery_title": "Galeria",
+ "drawer_gallery_hint": "Trabalho concluído. Um agente traz o seu resultado para aqui no momento em que o entrega.",
+ "drawer_gallery_body": "Cada resultado que um agente entrega é arquivado e mostrado em tamanho real na secção Visualização — páginas, diagramas, imagens. A figura leva a caixa durante alguns segundos e depois volta ao trabalho.",
+ "card_comms_does": "O Posto de Sinais é onde se escreve a alguém: e-mail, chat, a lista de contactos e o telefone, além do canal de mensagens entre agentes. Os isoladores no mastro brilham enquanto passa uma mensagem.",
+ "card_comms_how": "Liga um plugin de e-mail ou chat, ou preenche a lista de contactos. Um agente com essas capacidades vem até aqui sempre que escreve a uma pessoa ou a um colega.",
+ "card_desktop_does": "A Sala de Controlo é a mão no teu ambiente de trabalho: abrir uma aplicação, clicar, escrever, deslocar, mudar de janela, ler o que está no ecrã. Cada uma dessas ferramentas põe a figura atrás deste vidro.",
+ "card_desktop_how": "Dá a um agente as ferramentas do ambiente de trabalho. Atenção às alavancas: está a controlar a tua máquina real, por isso mantém o limite de permissões onde o queres.",
+ "card_web_does": "O Miradouro observa o que não é teu: pesquisa na web e a sessão de navegador do próprio agente. O telescópio aponta para o mar porque tudo o que lê vem de fora da ilha.",
+ "card_web_how": "A pesquisa precisa de um backend; o navegador tem de ser instalado uma vez por agente. Depois, ambos funcionam sem mais configuração.",
+ "card_models_does": "A Casa das Caldeiras é onde um modelo no dispositivo pensa. Um agente num fornecedor local, sem chave, fica aqui enquanto o seu cérebro corre, em vez de na oficina de uma ferramenta que não está a usar.",
+ "card_models_how": "Instala um modelo local na secção Modelos locais e aponta o fornecedor de um agente para ele. Nada sai da máquina.",
+ "card_civic_does": "A Câmara Municipal acolhe as salas: uma conversa limitada entre agentes nomeados que abre, decorre e encerra. Todos os membros ficam aqui enquanto a sala está aberta.",
+ "card_civic_how": "Abre uma sala a partir do quadro ou deixa um orquestrador abrir uma. O quadro de avisos lá fora mostra o que a sociedade tem em curso.",
+ "card_gallery_does": "A Galeria é onde chega o trabalho concluído. No momento em que um agente entrega um resultado, traz a caixa para aqui — as páginas, os diagramas e as imagens são depois mostrados em tamanho real na aplicação.",
+ "card_gallery_how": "Nada a configurar: cada resultado entregue é arquivado automaticamente e abre na secção Visualização.",
+ "drawer_foundry_body": "Um novo agente é criado aqui e sai por esta porta para a sua própria casa no anel. Usa “Novo” na barra de agentes para criar um; as alterações de avatar também acontecem lá dentro.",
+ "place_market": "Praça do Mercado",
+ "place_hub": "Centro Dodaios",
+ "place_workshop": "Oficina",
+ "place_archive": "Casa da Memória",
+ "drawer_memory_title": "Casa da Memória",
+ "drawer_memory_hint": "A memória partilhada dos agentes: conhecimento revisto da equipa, a memória própria de cada agente e a fila de revisão. Um agente vem até aqui quando se lembra ou procura algo.",
+ "memory_search_placeholder": "Pesquisar na memória…",
+ "memory_search_button": "Pesquisar",
+ "memory_hits": "Resultados",
+ "memory_no_hits": "Nada encontrado.",
+ "memory_shared": "Conhecimento da equipa",
+ "memory_empty_shared": "Ainda não há conhecimento revisto da equipa. As propostas dos agentes chegam à fila abaixo.",
+ "memory_agents": "Memória por agente",
+ "memory_notes": "{count} notas",
+ "memory_nothing_remembered": "Ainda nada memorizado.",
+ "memory_queue": "Para rever",
+ "memory_empty_queue": "Nada para rever.",
+ "memory_promote": "Promover para a equipa",
+ "memory_dismiss": "Revisto",
+ "memory_open_wiki": "Abrir a wiki",
+ "place_harbor": "Porta do Porto",
+ "place_lighthouse": "Farol",
+ "place_gardens": "Jardins",
+ "place_solar": "Campo Solar",
+ "place_mine": "A Mina"
+ },
+ "hooks": {
+ "webhook": "Webhook",
+ "event_hook": "Evento de integração",
+ "connect": "Ligar webhook",
+ "endpoint": "URL do webhook",
+ "token": "Token de acesso",
+ "copy": "Copiar token",
+ "copied": "Copiado",
+ "rotate": "Renovar token",
+ "rotate_confirm": "Substituir o token? As integrações existentes vão precisar do novo token.",
+ "remote": "Os serviços externos precisam de um endereço HTTPS acessível para esta instância do Dodaios.",
+ "auth": "Envia JSON com Authorization: Bearer <token>. Reutiliza a Idempotency-Key ao tentar novamente. Para o GitHub, usa este token como Secret do webhook (HMAC-SHA256).",
+ "conditions": "Filtros de payload (igualdade de campos JSON)",
+ "event_name": "Nome do evento, p. ex. crm.customer.created",
+ "loading": "A carregar a ligação…",
+ "configured": "Ligação pronta",
+ "source": "A origem do evento tem de estar ativa.",
+ "filter_hint": "Exemplo: {\"data.status\": \"ready\"}. Deixa {} para aceitar todos os payloads."
+ },
+ "city": {
+ "mode": "Cidade",
+ "title": "Cidade dos Agentes",
+ "demo": "Agentes de demonstração",
+ "agent_count": "Número de agentes de demonstração",
+ "reference_agent": "Agente de referência",
+ "west": "Estação central",
+ "east": "Estação terminal",
+ "overview": "Visão geral",
+ "resume_day": "Retomar a luz do dia",
+ "pause_day": "Pausar a luz do dia",
+ "hour": "Hora",
+ "reference_notice": "Referência de design — a aguardar revisão visual",
+ "controls": "Arrasta para orbitar · Arrasta com o botão direito para deslocar · Desliza para fazer zoom",
+ "agents": "agentes",
+ "reduced": "Movimento reduzido: as viagens e a luz do dia estão em pausa.",
+ "feed_error": "Lista em direto indisponível. Os agentes de demonstração continuam disponíveis.",
+ "live": "Feed de pontos de controlo em direto",
+ "task": "Estado real do trabalho",
+ "travel": "Viagem física",
+ "target": "Destino",
+ "follow": "Seguir",
+ "unfollow": "Deixar de seguir",
+ "open_agent": "Abrir agente",
+ "plot": "Posicionamento de referência · grelha de 4 m · só nesta sessão",
+ "open_building": "Abrir espaço de trabalho",
+ "close": "Fechar",
+ "invalid_plot": "O edifício tem de caber no seu lote, manter a entrada livre e estar vazio antes de ser movido.",
+ "knowledge": "Bairro do conhecimento",
+ "workshop": "Bairro das oficinas",
+ "communications": "Bairro das comunicações",
+ "blockout": "Esboço",
+ "stage_arrived": "No destino",
+ "stage_walking": "A pé / elevador",
+ "stage_waiting": "À espera",
+ "stage_boarding": "A embarcar",
+ "stage_riding": "No comboio",
+ "stage_exiting": "A sair do comboio",
+ "stage_unreachable": "Destino inacessível",
+ "bridge_walk": "Atravessar a ponte a pé",
+ "legacy_mode": "Mapa antigo",
+ "central": "Central",
+ "terminal": "Terminal",
+ "options": "Opções da cidade",
+ "districts": "Bairros da cidade",
+ "city_map": "Mapa de transportes da cidade",
+ "metro_line": "Anel do metro",
+ "city_limits": "Explorar dentro dos limites da cidade",
+ "catching_up": "A sincronizar as viagens físicas…",
+ "demo_target": "Destino de demonstração",
+ "adjust_plot": "Ajustar a posição do edifício",
+ "saved_plot": "Posição guardada. Rotas atualizadas.",
+ "session_plot": "Posição atualizada para esta sessão; o armazenamento não está disponível.",
+ "open_terminal": "Abrir espaço de trabalho do terminal",
+ "stage_working": "A usar o posto de trabalho",
+ "waiting_workspace": "À espera de um posto de trabalho",
+ "description_central": "Coordenação, reuniões e operações partilhadas dos agentes.",
+ "description_terminal": "Postos de trabalho informáticos para linha de comandos e programação. Abre o espaço de trabalho do terminal para interagir com os teus terminais.",
+ "description_knowledge": "Investigação, arquivos e memória partilhada.",
+ "description_workshop": "Skills, fabrico e integração de plugins.",
+ "description_communications": "Serviços externos, atividade do navegador e comunicações.",
+ "exterior": "Exterior",
+ "work_floor": "Piso de trabalho",
+ "sample": "Agentes de exemplo",
+ "sample_notice": "Não há nenhuma lista de agentes em direto disponível. Estes são exemplos.",
+ "example_state": "Estado de trabalho de exemplo",
+ "subtitle": "Uma cidade ligada para os teus agentes.",
+ "demo_plot": "Posição de exemplo alterada; a disposição da tua cidade não mudou.",
+ "loading": "A carregar agentes…"
+ },
+ "triggers": {
+ "group": "Grupo de gatilhos",
+ "kind": "Gatilho",
+ "all_sources": "Todos os gatilhos",
+ "amount": "A cada",
+ "minutes": "Minutos",
+ "hours": "Horas",
+ "days": "Dias",
+ "time": "Hora",
+ "timezone": "Fuso horário",
+ "expression": "Expressão cron",
+ "date": "Data e hora locais",
+ "endpoint": "Endpoint",
+ "topic": "Tópico / fila / stream",
+ "consumer_group": "Grupo de consumidores (opcional)",
+ "path": "Ficheiro ou pasta",
+ "pattern": "Padrão do nome de ficheiro",
+ "recursive": "Incluir subpastas",
+ "event_name": "Nome do evento",
+ "form_fields": "Campos do formulário (JSON)",
+ "filters": "Filtros de payload (igualdade de campos JSON)",
+ "upstream": "A montante",
+ "routine": "Rotina",
+ "workflow": "Fluxo de trabalho",
+ "upstream_unavailable": "Não foi possível carregar os fluxos de trabalho a montante.",
+ "credentials_hint": "As credenciais são configuradas depois de guardar, em Ligação da origem.",
+ "connection": "Ligação da origem",
+ "input": "Entrada do gatilho",
+ "run": "Submeter",
+ "loading": "A carregar…",
+ "username": "Nome de utilizador",
+ "password": "Palavra-passe",
+ "token": "Token de acesso",
+ "stored": "Guardado — deixa inalterado",
+ "save_connection": "Guardar ligação",
+ "install_support": "Instalar suporte do protocolo",
+ "installing": "A instalar o suporte do protocolo…",
+ "accepted": "Entrada em fila. Os resultados vão aparecer no chat do agente.",
+ "saved": "Ligação guardada.",
+ "connection_unavailable": "Os detalhes da ligação não estão disponíveis.",
+ "provider_secret": "Segredo de assinatura do fornecedor",
+ "oidc_audience": "Audiência OIDC esperada",
+ "service_account": "E-mail da conta de serviço Pub/Sub",
+ "provider_saved": "Verificação do fornecedor configurada.",
+ "use_input": "Usar a entrada do gatilho configurada.",
+ "groups": {
+ "human": "Humano",
+ "time": "Tempo",
+ "api": "API",
+ "external": "Eventos externos",
+ "stream": "Streams e mensagens",
+ "system": "Sistema",
+ "internal": "Fluxos de trabalho internos"
+ },
+ "kinds": {
+ "manual": "Manual",
+ "chat": "Chat",
+ "form": "Formulário",
+ "mcp": "MCP",
+ "every": "Intervalo",
+ "calendar": "Agenda do calendário",
+ "cron": "Cron",
+ "after_delay": "Após um atraso",
+ "at_time": "Numa data/hora",
+ "webhook": "Webhook",
+ "github": "GitHub",
+ "linear": "Linear",
+ "gmail": "Gmail",
+ "slack": "Slack",
+ "stripe": "Stripe",
+ "sse": "SSE",
+ "kafka": "Kafka",
+ "rabbitmq": "RabbitMQ",
+ "mqtt": "MQTT",
+ "redis": "Redis Streams",
+ "file": "Ficheiro alterado",
+ "on_event": "Evento do sistema",
+ "workflow": "Fluxo de trabalho → fluxo de trabalho",
+ "event_hook": "Evento com nome",
+ "workflow_activated": "Fluxo de trabalho ativado",
+ "workflow_failed": "Fluxo de trabalho falhou"
+ },
+ "when": {
+ "succeeded": "Após sucesso",
+ "failed": "Após falha",
+ "activated": "Quando ativado"
+ },
+ "entry": {
+ "chat": "Invoca esta rotina por chat.",
+ "mcp": "Disponível para os clientes MCP configurados como routine_invoke.",
+ "workflow": "À espera do evento a montante configurado."
+ },
+ "state": {
+ "idle": "Pronto",
+ "connecting": "A ligar…",
+ "listening": "À escuta",
+ "stopped": "Parado",
+ "dependency_missing": "Cliente do protocolo não instalado",
+ "backpressure": "À espera de capacidade na fila",
+ "retrying": "A tentar ligar novamente",
+ "error": "Erro na origem",
+ "blocked": "Gatilho bloqueado"
+ },
+ "filtered": "A entrada não correspondeu aos filtros.",
+ "duplicate": "A entrada já tinha sido recebida."
+ },
+ "browser_live": {
+ "live": "Em direto",
+ "manual": "Tens o controlo",
+ "expand": "Expandir navegador",
+ "collapse": "Recolher navegador",
+ "back": "Retroceder",
+ "forward": "Avançar",
+ "reload": "Recarregar página",
+ "restart": "Reiniciar navegador",
+ "restarting": "A reiniciar o navegador…",
+ "restart_hint": "Para esta tarefa do navegador e reabre o perfil guardado. Os dados não guardados na página podem perder-se.",
+ "restart_failed": "Não foi possível reiniciar o navegador. Tenta novamente.",
+ "address": "Endereço do site",
+ "tabs": "Separadores do navegador",
+ "new_tab": "Novo separador",
+ "screen": "Navegador em direto de {0}",
+ "return_control": "Devolver ao agente",
+ "take_control": "Assumir o controlo / iniciar sessão",
+ "cancel": "Parar tarefa",
+ "approval": "Permitir ação do navegador?",
+ "allow": "Permitir",
+ "deny": "Recusar",
+ "repair": "Reparar navegador",
+ "off": "Navegador desligado",
+ "off_hint": "O navegador só arranca quando {0} precisa dele.",
+ "moved": "O navegador partilhado está agora aberto para {0}. Só pode estar aberto para um agente de cada vez.",
+ "moved_status": "Aberto para {0}",
+ "open_here": "Abrir aqui",
+ "waiting_for": "À espera de {0}",
+ "busy_task": "{0} está a usar o navegador partilhado para uma tarefa. Abre aqui assim que {0} terminar.",
+ "stop_holder": "Parar a tarefa de {0}",
+ "open": "Abrir navegador",
+ "error_image": "Não foi possível descodificar a imagem do navegador",
+ "error_stream": "A transmissão do navegador devolveu dados inválidos",
+ "error_connect": "A ligação ao navegador falhou",
+ "error_stop": "Não foi possível parar o navegador: {status}",
+ "error_stop_unreachable": "Não foi possível ligar ao navegador para o parar",
+ "error_queue_full": "À espera do controlo do navegador; a fila de entrada está cheia",
+ "error_approval": "A aprovação falhou ({status})"
+ },
+ "mars": {
+ "rover_title": "Rover do agente",
+ "rover_scope": "Reserva um lugar para este agente, embarca e escolhe uma rota. O trabalho do agente continua de forma independente. O protótipo de caminhada é separado.",
+ "rover_active_required": "Seleciona um agente ativo para controlar a viagem.",
+ "rover_pending": "Pedido de rover não confirmado",
+ "rover_retry": "Repetir o mesmo pedido de rover",
+ "rover_pending_other": "Repete o pedido guardado para o agente indicado acima antes de iniciares outro. A identidade original é preservada.",
+ "rover_vehicle": "Veículo",
+ "rover_vehicle_outpost-rover": "Rover do posto avançado",
+ "rover_reserve": "Reservar lugar e aproximar",
+ "rover_unavailable": "O rover está ocupado, em movimento ou indisponível numa doca.",
+ "rover_route": "Doca de destino",
+ "rover_dock_outpost-a": "Acesso às operações",
+ "rover_dock_outpost-b": "Miradouro sul",
+ "rover_board": "Embarcar no rover",
+ "rover_travel": "Viajar até à doca",
+ "rover_stop": "Parar rover",
+ "rover_cancel": "Cancelar reserva",
+ "rover_exit": "Sair em segurança",
+ "rover_attached": "O agente fica sentado até ser confirmada uma saída segura.",
+ "rover_exit_blocked": "Não há nenhuma saída segura disponível. O lugar continua ocupado; tenta sair novamente ou escolhe uma doca acessível.",
+ "rover_offline": "À espera do estado atual do rover. Os controlos estão indisponíveis enquanto estiver offline.",
+ "rover_uncertain": "A entrega é incerta. Tentar novamente mantém a ação e a identidade do pedido originais.",
+ "rover_marker": "Localização confirmada · arte do rover pendente",
+ "rover_state_approaching": "A aproximar-se do rover",
+ "rover_state_ready_to_board": "Pronto para embarcar",
+ "rover_state_boarded": "A bordo",
+ "rover_state_traveling": "Em viagem",
+ "rover_state_arrived": "Chegou à doca",
+ "rover_state_stopped": "Parado · ainda sentado",
+ "rover_state_exit_blocked": "Saída bloqueada · ainda sentado",
+ "rover_state_completed": "Saiu em segurança",
+ "rover_state_canceled": "Reserva cancelada",
+ "rover_action_reserve": "Reservar lugar",
+ "rover_action_board": "Embarcar",
+ "rover_action_travel": "Viajar",
+ "rover_action_cancel": "Parar ou cancelar",
+ "rover_action_exit": "Sair",
+ "shadows": "Sombras",
+ "gigi_focus": "Focar Gigi",
+ "follow": "Seguir",
+ "follow_agent": "Seguir um agente",
+ "follow_named_agent": "Seguir {0}",
+ "stop_follow": "Deixar de seguir",
+ "stop_follow_agent": "Deixar de seguir {0}",
+ "following_agent": "A seguir {0}. Arrasta a vista ou prime Escape na área de visualização para parar.",
+ "follow_waiting": "À espera de uma posição confirmada para {0}.",
+ "follow_offline": "Seguimento em pausa: as posições estão offline. A manter a última vista confirmada de {0}.",
+ "gigi_recall": "Chamar a Gigi",
+ "gigi_hide": "Ocultar a Gigi",
+ "gigi_show": "Mostrar a Gigi",
+ "gigi_unavailable": "Modelo da Gigi indisponível",
+ "visits": "Visitas de agentes",
+ "visit_scope": "As visitas mudam a localização de um agente. O trabalho continua de forma independente.",
+ "destination": "Destino",
+ "destination_communications-console": "Consola de comunicações",
+ "destination_outpost-bridge-staging": "Área de espera junto à ponte",
+ "destination_outpost-approach": "Entrada das operações",
+ "approach_hint": "Esperar à entrada bloqueia a rota para a consola. Usa a área de espera junto à ponte para a deixar livre.",
+ "start_visit": "Visitar a pé",
+ "retry_visit": "Repetir visita pendente",
+ "pending_visit": "Visita pendente",
+ "stop_visit": "Parar visita",
+ "park_by_bridge": "Esperar junto à ponte",
+ "waiting_entry": "À espera para entrar",
+ "stopped_in_place": "O agente fica na localização atual. Move-o para a área de espera junto à ponte para libertar a rota.",
+ "positions_offline": "As posições não estão disponíveis. As localizações mostradas são as últimas posições confirmadas.",
+ "last_known_position": "Última posição confirmada",
+ "visit_uncertain": "A entrega é incerta. Tentar novamente mantém o mesmo pedido de visita.",
+ "move_state_queueing": "À espera de espaço",
+ "move_state_moving": "A caminho",
+ "move_state_temporarily_blocked": "Rota temporariamente bloqueada",
+ "move_state_rerouting": "A procurar outra rota",
+ "move_state_arrived": "Chegou",
+ "move_state_unreachable": "Não consegue chegar ao destino",
+ "move_state_canceled": "Visita parada",
+ "viewpoint": "Ponto de vista do posto avançado",
+ "view_reference": "Vista de referência",
+ "view_close_reference": "Referência próxima",
+ "view_front": "Frente",
+ "view_rear": "Traseira",
+ "view_left": "Lado esquerdo",
+ "view_right": "Lado direito",
+ "view_top": "Vista do telhado",
+ "background_unavailable": "O modo em segundo plano não está disponível neste ambiente. Mantém a janela aberta ou usa o servidor headless.",
+ "headless_background": "Backend a correr sem janela",
+ "background_on": "Modo em segundo plano ativo",
+ "background_off": "Continuar a trabalhar ao fechar a janela",
+ "background_failed": "Não foi possível alterar o modo em segundo plano. Mantém a janela aberta e tenta novamente.",
+ "headless_hint": "O trabalho continua enquanto este processo de backend estiver a correr. Uma paragem explícita termina a execução.",
+ "background_hint": "Fechar a janela mantém o trabalho do backend a correr. Reabre ou Sai a partir da área de notificação. A voz baseada no navegador termina quando o respetivo cliente fecha.",
+ "background_enable_hint": "Ativa para manter esta sessão a correr depois de fechares a janela. Sair explicitamente para-a sempre.",
+ "reference_pending": "Referência criada · aprovação pendente",
+ "credential_input": "As credenciais pertencem às Chaves de API na aplicação, não a um rascunho. Nada foi submetido.",
+ "colony": "Colónia em Marte",
+ "foundation": "Protótipo de fundação · esboço inacabado",
+ "overview": "Visão geral",
+ "outpost": "Posto avançado",
+ "walk": "Protótipo de caminhada",
+ "neutral": "Luz neutra",
+ "ledger": "Estado dos agentes",
+ "viewport": "Protótipo de movimento e câmara em Marte",
+ "loading": "A carregar a fundação de Marte…",
+ "no_graphics": "A renderização 3D não está disponível. O estado dos agentes e os controlos de paragem continuam disponíveis no Registo e na estação de comunicações.",
+ "player_help": "Clica na cena · WASD / setas para mover · Arrasta para olhar · Shift para correr · Espaço para saltar · E usa a consola próxima · Esc liberta a entrada",
+ "orbit_help": "Arrasta para orbitar 360° · Arrasta com o botão direito para deslocar · Desliza para fazer zoom · Clica num edifício para o inspecionar",
+ "interior_pending": "interior de teste de movimento; arte final pendente",
+ "access_pending": "volumetria inacabada; acesso final pendente",
+ "placeholder_actor": "Cápsula amarela: protótipo de movimento. Novas personagens, rover e arte final do posto avançado pendentes.",
+ "district_blockout": "Esboço · inacabado",
+ "entrance": "Entrada das operações · protótipo de movimento",
+ "station_title": "Estação de comunicações",
+ "close": "Fechar",
+ "station_scope": "Prepara um rascunho com um agente existente. Nada é enviado nem publicado. O trabalho continua enquanto o backend estiver a correr, mesmo depois de esta vista fechar.",
+ "agent": "Agente",
+ "draft": "Pedido de rascunho",
+ "prepare_draft": "Preparar rascunho",
+ "retry_same": "Repetir o mesmo pedido",
+ "uncertain": "O resultado é incerto. Tenta novamente com a mesma identidade de pedido antes de iniciares outro rascunho.",
+ "request_failed": "O pedido falhou. Analisa a conversa do agente e tenta novamente.",
+ "recorded_work": "Trabalho registado",
+ "offline": "O backend não está disponível. Não é possível confirmar o trabalho atual.",
+ "no_agents": "Cria ou ativa primeiro um agente em Dodaios Agents.",
+ "inspect_reason": "Analisa a conversa para ver o motivo registado.",
+ "open_conversation": "Abrir conversa",
+ "stop": "Parar",
+ "stopping": "A parar…",
+ "state_queued": "Em fila",
+ "state_active": "Em execução",
+ "state_completed": "Concluído",
+ "state_failed": "Falhou",
+ "state_canceled": "Cancelado",
+ "state_interrupted": "Interrompido",
+ "state_unknown": "Resultado desconhecido",
+ "open_preview": "Pré-visualização de Marte",
+ "previous_world": "Mundo anterior",
+ "district_central": "Distrito central",
+ "district_foundry": "Fundição de Agentes",
+ "district_mine": "A Mina",
+ "district_workshop": "Oficina",
+ "district_water-extraction": "Extração de Água",
+ "district_memory-house": "Casa da Memória",
+ "district_harbor-gate": "Porta do Porto",
+ "district_gardens": "Jardins",
+ "district_solar-field": "Campo Solar",
+ "district_communications-outpost": "Posto de Comunicações",
+ "building_jarvis-hub": "Centro Jarvis",
+ "building_terminal": "Terminal",
+ "building_plugin-docks": "Docas dos Plugins",
+ "building_control-room": "Sala de Controlo",
+ "building_skill-forge": "Forja de Skills",
+ "building_signal-office": "Posto de Sinais",
+ "building_gallery": "Galeria",
+ "building_boiler-house": "Casa das Caldeiras",
+ "building_lookout": "O Miradouro",
+ "building_communications-mast": "Mastro de comunicações",
+ "building_operations": "Operações do posto",
+ "building_radome-north": "Radome norte",
+ "building_radome-south": "Radome sul",
+ "building_dish-west": "Antena parabólica oeste",
+ "building_dish-east": "Antena parabólica este",
+ "building_service-east": "Edifício de serviço do posto"
+ },
+ "share": {
+ "cta": "Partilhar",
+ "cta_hint": "Transforma este agente num modelo que outras pessoas podem instalar",
+ "title": "Partilhar {agent}",
+ "subtitle": "Um modelo do trabalho, das instruções e do aspeto deste agente — sem nada privado.",
+ "loading": "A construir o modelo…",
+ "public_version": "Versão pública",
+ "template": "Modelo",
+ "summary": "Resumo para o cartão da loja",
+ "summary_placeholder": "O que este agente faz e para quem — uma ou duas frases.",
+ "listing_name": "Nome no marketplace",
+ "version": "Versão",
+ "categories": "Etiquetas",
+ "categories_placeholder": "e-mail, produtividade",
+ "polish_title": "Deixa {agent} prepará-lo",
+ "polished_by": "Preparado por {agent}",
+ "polish_hint": "{agent} reescreve as suas próprias instruções para qualquer pessoa e escreve o resumo. Vês tudo acontecer no chat.",
+ "polish_waiting": "{agent} está a escrever a versão pública — acompanha no chat. Esta folha atualiza-se sozinha.",
+ "polish_unavailable": "Abre o chat deste agente para o deixares preparar o modelo sozinho.",
+ "polish_cta": "Pedir a {agent}",
+ "polish_failed": "Não foi possível enviar a mensagem. Tenta novamente a partir do chat.",
+ "polish_prompt": "Prepara o teu modelo partilhável para o marketplace do Dodaios. Escreve um resumo de uma ou duas frases para o cartão da loja e reescreve as tuas instruções permanentes para que qualquer pessoa as possa usar: mantém o método de trabalho e remove tudo o que for pessoal — nomes, endereços de e-mail, empresas, pastas, contas — e todas as credenciais. Guarda-o com a ferramenta society_share_template e depois diz-me numa frase que está pronto.",
+ "reset": "Voltar ao texto original do agente",
+ "privacy_clean": "Nada privado encontrado",
+ "privacy_clean_hint": "O modelo não contém chaves, palavras-passe, endereços de e-mail, números de telefone nem pastas tuas.",
+ "privacy_removed": "{count} detalhes privados removidos antes de partilhar",
+ "finding_secret": "Chave",
+ "finding_email": "E-mail",
+ "finding_phone": "Telefone",
+ "finding_path": "Pasta",
+ "finding_address": "Endereço",
+ "finding_where": "{hint} em {field}",
+ "field_instructions": "instruções",
+ "field_title": "linha de função",
+ "field_summary": "resumo",
+ "never_title": "Nunca partilhado",
+ "never_body": "O teu modelo e contas, chats, memória, ficheiros e pastas, computadores ligados, orçamento e definições de aprovação ficam neste computador. Quem instalar o modelo executa-o no seu próprio modelo, e ele pede-lhe autorização antes de agir.",
+ "copy": "Copiar",
+ "copied": "Copiado",
+ "export": "Exportar",
+ "sign_in": "Inicia sessão com o GitHub para publicar",
+ "publish": "Publicar no marketplace",
+ "publish_hint": "Publicar lista-o no marketplace com o teu nome do GitHub. Primeiro correm verificações automáticas; ninguém tem de o aprovar.",
+ "publish_disabled": "A publicação está desativada nesta instalação — exporta o ficheiro em vez disso.",
+ "published_before": "A versão {version} já está publicada. Publicar novamente lança a versão seguinte.",
+ "submitted_title": "{entry} {version} submetido",
+ "submitted_body": "O marketplace está a verificá-lo e lista-o dentro de alguns minutos.",
+ "live_title": "{entry} {version} está disponível",
+ "live_body": "Qualquer pessoa o pode instalar agora — com a linha abaixo ou a partir do marketplace.",
+ "view_submission": "Ver no GitHub",
+ "fallback_hint": "O GitHub não aceitou a submissão a partir da aplicação. Copia o modelo e submete-o no teu navegador — basta colar uma vez.",
+ "fallback_cta": "Copiar e abrir o GitHub"
+ },
+ "companion": {
+ "title": "O teu companheiro",
+ "hint": "A tua foto de perfil segue a tua personagem no mapa. A personagem e o companheiro são personalizados separadamente.",
+ "appearance": "Personagem e companheiro",
+ "character": "Personagem",
+ "companion": "Companheiro",
+ "shape": "Forma",
+ "color": "Cor",
+ "custom_color": "Cor personalizada",
+ "design": {
+ "title": "Designs",
+ "hint": "Gradientes com efeitos em vez de uma só cor. Escolhe um, cria o teu ou importa um.",
+ "create": "Criar o teu próprio design",
+ "mine": "Os meus designs",
+ "custom": "Design próprio",
+ "delete": "Eliminar {0}",
+ "import": "Importar",
+ "import_hint": "Cola um código de design, um gradiente CSS ou algumas cores hex",
+ "import_apply": "Aplicar",
+ "import_error": "Nada para importar: não foi encontrado nenhum código de design, gradiente ou cor.",
+ "from_image": "A partir de uma imagem",
+ "image_error": "Não foi possível ler essa imagem.",
+ "plain": "Cor simples",
+ "colors": "Cores",
+ "add_color": "Adicionar cor",
+ "remove_color": "Remover a última cor",
+ "pattern": "Disposição",
+ "pattern_linear": "Linear",
+ "pattern_radial": "Radial",
+ "angle": "Direção",
+ "effect": "Efeito",
+ "name": "Nome do design",
+ "name_placeholder": "Dá um nome a este design",
+ "save": "Guardar design",
+ "saved": "Guardado em Os meus designs. Todos os agentes o podem usar agora.",
+ "save_error": "Não foi possível guardar o design.",
+ "copy_code": "Copiar código",
+ "copied": "Copiado",
+ "presets": {
+ "galaxy": "Galáxia",
+ "aurora": "Aurora",
+ "holo": "Holo",
+ "lava": "Lava",
+ "neon": "Néon",
+ "ocean": "Oceano",
+ "sunset": "Pôr do sol",
+ "gold": "Ouro",
+ "frost": "Geada"
+ },
+ "effects": {
+ "none": "Nenhum",
+ "stars": "Estrelas",
+ "shimmer": "Cintilar",
+ "flow": "Fluir",
+ "glow": "Brilho",
+ "sparkle": "Faíscas"
+ }
+ },
+ "eyes": "Olhos",
+ "dots": "Olhos redondos",
+ "lines": "Olhos em linha",
+ "visible": "Seguir no mapa",
+ "look": "Aspeto",
+ "look_shape": "Forma",
+ "look_pet": "Animal",
+ "pet": "Animal",
+ "pet_hint": "O agente leva este animal para todo o lado: nos chats, enquanto trabalha e como companheiro no Verse.",
+ "no_pets": "Ainda não há animais. Adiciona um em Os meus animais.",
+ "shapes": {
+ "circle": "Círculo",
+ "squircle": "Quadrado suave",
+ "pill": "Pílula",
+ "triangle": "Triângulo",
+ "hexagon": "Hexágono",
+ "cloud": "Nuvem",
+ "drop": "Gota"
+ },
+ "next_look": "Nível {0} · próximo aspeto: {1} no nível {2}",
+ "all_looks_open": "Todos os aspetos estão desbloqueados.",
+ "unlocks_at": "desbloqueia no nível {0}",
+ "accessories": "Acessórios",
+ "randomize": "Surpreende-me",
+ "remove_all": "Remover tudo",
+ "none": "Nenhum",
+ "slots": {
+ "head": "Chapéus",
+ "face": "Olhos",
+ "mouth": "Boca",
+ "neck": "Pescoço",
+ "outfit": "Roupa",
+ "back": "Costas",
+ "held": "Adereços"
+ },
+ "items": {
+ "suit": "Fato e gravata",
+ "tuxedo": "Smoking",
+ "lab_coat": "Bata de laboratório",
+ "hoodie": "Hoodie de programador",
+ "crown": "Coroa",
+ "top_hat": "Cartola",
+ "cap": "Boné",
+ "headphones": "Auscultadores",
+ "sunglasses": "Óculos de sol",
+ "cigar": "Charuto"
+ }
+ },
+ "office": {
+ "title": "Dodaios Verse",
+ "subtitle": "Agentes no piso: {0}",
+ "viewport": "Dodaios Verse",
+ "loading": "A abrir o Dodaios Verse…",
+ "no_graphics": "A renderização 3D não está disponível aqui. O estado de cada agente continua disponível na lista de agentes.",
+ "count_working": "{0} a trabalhar",
+ "count_waiting": "{0} à espera",
+ "count_idle": "{0} inativos",
+ "state_working": "A trabalhar",
+ "state_idle": "Inativo",
+ "state_waiting": "À tua espera",
+ "state_paused": "Em pausa",
+ "open_agent": "Abrir {0}",
+ "overview": "Visão geral",
+ "ledger": "Lista de agentes",
+ "help": "WASD andar · Shift corre · Espaço salta · E interage · M mapa · H ajuda e definições",
+ "sample": "Agentes de exemplo — o backend ainda não está acessível.",
+ "overflow": "Só os primeiros {0} agentes têm secretária; a lista mostra todos.",
+ "open_space": "Open space",
+ "close": "Fechar",
+ "action_chat": "Abrir chat",
+ "action_walk": "Ir até lá",
+ "action_call": "Chamar",
+ "action_focus": "Mostrar no mapa",
+ "action_draft": "Adicionar à nova equipa",
+ "action_undraft": "Remover da nova equipa",
+ "draft_count": "{0} escolhidos para uma nova equipa · abre a sala da equipa",
+ "create_body": "Contrata um novo agente: dá-lhe um trabalho, um cérebro e um aspeto. Aparece no ponto de criação no meio do piso e ocupa uma secretária livre.",
+ "create_action": "Criar um novo agente",
+ "action_show": "Mostrar",
+ "action_open": "Abrir",
+ "manage_action": "Abrir a gestão de agentes",
+ "team_body": "Escolhe pelo menos dois agentes. A equipa recebe um chat partilhado e reúne-se à mesa de imediato.",
+ "team_name": "Nome da equipa",
+ "team_name_placeholder": "p. ex. Equipa de lançamento",
+ "team_create": "Criar equipa e reunir ({0})",
+ "team_created": "A equipa “{0}” está pronta.",
+ "team_yours": "As tuas equipas",
+ "team_none": "Ainda não há equipas. Monta uma abaixo.",
+ "team_members": "{0} membros",
+ "team_lead": "Líder: {0}",
+ "team_working": "{0} a trabalhar",
+ "team_meet": "Reunir à mesa",
+ "team_meeting_now": "Em reunião",
+ "team_chat": "Chat da equipa",
+ "team_edit": "Editar",
+ "team_save": "Guardar",
+ "team_cancel": "Cancelar",
+ "team_delete": "Eliminar equipa",
+ "team_delete_confirm": "Eliminar mesmo?",
+ "team_new": "Nova equipa",
+ "team_search": "Procurar um agente",
+ "team_pick_idle": "Todos os agentes livres",
+ "team_pick_clear": "Limpar",
+ "team_selected": "{0} selecionados",
+ "team_no_match": "Nenhum agente corresponde.",
+ "team_edit_need_more": "Uma equipa precisa de pelo menos dois agentes.",
+ "team_load_error": "Não foi possível carregar as equipas: {0}",
+ "meeting_title": "Reunião: {0}",
+ "meeting_status": "{0} de {1} à mesa · faltam {2} min",
+ "meeting_busy": "A trabalhar, por isso ficam na secretária: {0}",
+ "meeting_join": "Ir para a mesa",
+ "meeting_end": "Terminar reunião",
+ "team_live": "Em direto",
+ "wardrobe_name": "O teu nome",
+ "you": "Tu",
+ "wardrobe_body": "Veste-te a ti ou a um agente: roupa, cores, cabelo e óculos.",
+ "wardrobe_shuffle": "Baralhar cores",
+ "lead_empty": "Ainda não há agente líder.",
+ "lead_body": "O teu líder coordena os outros agentes. Fala com ele aqui.",
+ "break_body": "Livres neste momento: {0}. Chama-os para uma pausa para café — é só para a vista, o trabalho deles não é afetado.",
+ "break_call": "Chamar para pausa para café",
+ "break_release": "Todos de volta ao trabalho",
+ "cp_create": "Receção",
+ "cp_create_hint": "Ajuda, controlos, definições e novos agentes",
+ "cp_manage": "Quadro de agentes",
+ "cp_manage_hint": "Vê e gere todos os agentes",
+ "cp_team": "Sala da equipa",
+ "cp_team_hint": "As tuas equipas e as suas reuniões",
+ "cp_wardrobe": "Guarda-roupa",
+ "cp_wardrobe_hint": "Muda a tua personagem",
+ "cp_lead": "Gabinete do líder",
+ "cp_lead_hint": "Fala com o teu agente líder",
+ "cp_break": "Sala de descanso",
+ "cp_break_hint": "Chamar para pausa para café",
+ "cp_elevator": "Elevador",
+ "cp_elevator_hint": "Carrega no botão de chamada ao lado das portas",
+ "elevator_choose": "Escolhe um piso",
+ "elevator_keys": "0–2 escolhe um piso · Esc fecha",
+ "floor_name_agents": "Piso dos agentes",
+ "floor_name_coding": "Piso de programação",
+ "floor_name_arcade": "Piso de arcada",
+ "riding_up_to": "A subir · {0}",
+ "riding_down_to": "A descer · {0}",
+ "arcade_floor_title": "Piso de arcada",
+ "arcade_floor_subtitle": "Máquinas jogáveis: {0}",
+ "arcade_floor_hint": "Aproxima-te de uma máquina e prime E para jogar",
+ "cp_spawn": "Ponto de criação",
+ "cp_spawn_hint": "Criar um novo agente Dodaios",
+ "cp_launch": "Ponto de criação",
+ "cp_launch_hint": "Criar um novo agente de programação",
+ "spawn_title": "Um novo agente para a tua equipa",
+ "spawn_body": "Aparece aqui mesmo na plataforma e vai até uma secretária livre.",
+ "spawn_step_job": "Dá-lhe um nome e descreve o seu trabalho",
+ "spawn_step_brain": "Escolhe o modelo e o aspeto",
+ "spawn_step_arrive": "Aparece nesta plataforma",
+ "spawn_action": "Criar um agente",
+ "spawn_team": "{0} agentes neste piso · {1} a trabalhar",
+ "launch_title": "Um novo agente de programação",
+ "launch_body": "Escolhe uma CLI de programação e, se quiseres, uma primeira tarefa. Abre como terminal no Agentic IDE e aparece aqui na plataforma.",
+ "guide": {
+ "tablist": "Secções da receção",
+ "tab_welcome": "Boas-vindas",
+ "tab_controls": "Controlos",
+ "tab_settings": "Definições",
+ "hud_button": "Ajuda e definições",
+ "hero_title": "Faz crescer a tua equipa",
+ "places": "Locais no Dodaios Verse",
+ "place_walk": "Ir até lá",
+ "place_walk_label": "Ir até {0}",
+ "tip_guide": "abre esta ajuda a partir de qualquer ponto do mapa; prime novamente para fechar.",
+ "or": "ou",
+ "group_move": "Movimento",
+ "group_camera": "Câmara",
+ "group_interact": "Interação",
+ "group_map": "Mapa e ajuda",
+ "group_arcade": "Arcada (sala de descanso)",
+ "ctl_walk": "Andar",
+ "ctl_run": "Correr enquanto premido",
+ "ctl_jump": "Saltar; mantém premido para continuar a saltar",
+ "ctl_sprint_jump": "Salto em sprint: mais rápido do que o sprint",
+ "ctl_click_walk": "Clica no chão para ir até lá",
+ "ctl_rotate": "Rodar a vista",
+ "ctl_pan": "Deslocar a vista",
+ "ctl_zoom": "Aproximar e afastar",
+ "ctl_interact": "Usar o que está perto: falar, abrir um local",
+ "ctl_talk": "Mantém premido para falar com um agente (no painel dele)",
+ "ctl_sit": "Sentar na cadeira do líder; E novamente para te levantares",
+ "ctl_screen": "Clica num monitor para abrir o chat desse agente",
+ "ctl_close": "Fechar um painel ou o mapa",
+ "ctl_elevator_floor": "Escolher um piso no elevador",
+ "ctl_map": "Abrir ou fechar o mapa grande",
+ "ctl_guide": "Abrir ou fechar esta ajuda",
+ "ctl_minimap_focus": "Clica no minimapa para olhar para lá",
+ "ctl_minimap_walk": "Duplo clique no minimapa para ir até lá",
+ "ctl_minimap_zoom": "Zoom do minimapa",
+ "ctl_arcade_fly": "Voar",
+ "ctl_arcade_shoot": "Disparar ou iniciar uma ronda",
+ "ctl_arcade_pause": "Pausa",
+ "ctl_arcade_leave": "Sair da arcada",
+ "ctl_arcade_play": "Jogar na máquina à tua frente",
+ "ctl_arcade_start": "Iniciar ou reiniciar um jogo",
+ "ctl_arcade_action": "Botão principal: disparar, saltar, rodar",
+ "ctl_arcade_action_b": "Segundo botão: largar, bomba, trocar",
+ "mouse_click": "Clique",
+ "mouse_double": "Duplo clique",
+ "mouse_drag": "Arrastar",
+ "mouse_right_drag": "Arrastar com o botão direito",
+ "mouse_wheel": "Roda do rato",
+ "key_space": "Espaço",
+ "search": "Pesquisa uma ação ou tecla",
+ "search_empty": "Nenhum controlo corresponde a essa pesquisa.",
+ "key_up": "Seta para cima",
+ "key_down": "Seta para baixo",
+ "key_left": "Seta para a esquerda",
+ "key_right": "Seta para a direita",
+ "set_section_move": "Movimento",
+ "set_section_view": "Visualização",
+ "settings_intro": "As tuas definições para o Dodaios Verse, guardadas neste dispositivo.",
+ "set_always_run": "Correr sempre",
+ "set_always_run_hint": "Correr por predefinição; mantém Shift premido para andar.",
+ "set_hint_bar": "Barra de controlos",
+ "set_hint_bar_hint": "Mostrar o lembrete curto dos controlos na parte inferior do mapa.",
+ "set_reset": "Repor predefinições"
+ },
+ "coding_title": "Piso de programação",
+ "coding_subtitle": "Sessões de programação no piso: {0}",
+ "coding_empty": "Não há nenhum agente de programação a correr. Inicia um no IDE e ele ocupa aqui uma secretária.",
+ "ledger_coding": "Lista de sessões",
+ "open_ide": "Abrir o IDE",
+ "prompt_pane": "Ver como está {0}",
+ "since_now": "agora mesmo",
+ "since_minutes": "há {0} min",
+ "since_hours": "há {0} h",
+ "since_days": "há {0} d",
+ "pane_state_starting": "A iniciar",
+ "pane_state_working": "A trabalhar",
+ "pane_state_needs_input": "À tua espera",
+ "pane_state_failed": "Falhou",
+ "pane_state_error": "Erro",
+ "pane_state_exited": "Terminou",
+ "pane_state_done": "Concluído",
+ "pane_state_idle": "Inativo",
+ "pane_workspace": "Espaço de trabalho",
+ "pane_recap": "Tema",
+ "pane_prompt": "Último prompt",
+ "pane_unasked": "Ainda nada pedido.",
+ "pane_open": "Abrir sessão",
+ "pane_window_hint": "Arrasta para mover · duplo clique para repor",
+ "cp_mission": "Controlo de Missão",
+ "cp_mission_hint": "Inicia novos agentes de programação ou envia mensagens a vários de uma vez",
+ "tool_open": "Abrir",
+ "tool_stop": "Parar",
+ "tool_fork": "Copiar",
+ "tool_close": "Fechar",
+ "tool_close_confirm": "Tens a certeza?",
+ "cmd_sent": "Enviado para {0}.",
+ "cmd_unconfirmed": "Escrito, mas o agente ainda não o confirmou.",
+ "cmd_stopped": "{0} parado.",
+ "cmd_forked": "Cópia iniciada como {0}.",
+ "cmd_closed": "{0} fechado.",
+ "cmd_no_prompts": "Este é um terminal simples; não aceita prompts.",
+ "cmd_not_running": "Esta sessão não está a correr neste momento.",
+ "cmd_hint": "Enter envia · Shift+Enter adiciona uma linha",
+ "cmd_screen": "Ecrã em direto de {0}",
+ "cmd_screen_loading": "A carregar o ecrã…",
+ "cmd_screen_empty": "Ainda nada no ecrã.",
+ "cmd_live": "Em direto",
+ "cmd_screen_open": "Abrir o terminal completo",
+ "cmd_quick": "Ordens rápidas",
+ "cmd_order_continue": "Continuar",
+ "cmd_order_continue_text": "Continua.",
+ "cmd_order_status": "Estado?",
+ "cmd_order_status_text": "Dá-me um estado curto: o que está feito, o que falta e há alguma coisa a bloquear-te?",
+ "cmd_order_tests": "Correr testes",
+ "cmd_order_tests_text": "Corre os testes relevantes e corrige o que falhar.",
+ "cmd_order_commit": "Commit",
+ "cmd_order_commit_text": "Faz commit do teu trabalho concluído com uma mensagem de commit clara.",
+ "cmd_placeholder": "Diz a {0} o que fazer…",
+ "cmd_stop": "Parar o passo atual",
+ "cmd_send": "Enviar",
+ "cmd_sharpen": "Deixa o Dodaios afinar o prompt",
+ "cmd_sending": "A enviar…",
+ "cmd_history": "Prompts recentes ({0})",
+ "cmd_reuse": "Voltar a pô-lo na caixa",
+ "cmd_fork": "Iniciar uma cópia desta sessão",
+ "cmd_close": "Fechar esta sessão",
+ "cmd_close_confirm": "Clica novamente para fechar a sessão",
+ "mission_workspace": "Espaço de trabalho",
+ "mission_no_workspace": "Ainda não há nenhum espaço de trabalho aberto. Escolhe uma pasta e ele abre com os novos agentes lá dentro.",
+ "mission_agent": "Agente de programação",
+ "mission_no_agents": "Ainda não está instalado nenhum agente de programação.",
+ "mission_count": "Quantos",
+ "mission_task": "Primeira tarefa (opcional)",
+ "mission_task_placeholder": "Em que deve trabalhar? Também podes largar ficheiros aqui. Deixa em branco para apenas o abrir.",
+ "mission_screen_agents": "agentes de programação neste piso",
+ "room_command": "Controlo de Missão",
+ "mission_screen_none": "Ainda não há agentes de programação",
+ "mission_new_title": "Iniciar um agente",
+ "mission_fewer": "Menos um agente",
+ "mission_more": "Mais um agente",
+ "fleet_title": "Enviar mensagem a vários agentes",
+ "fleet_select_all": "Selecionar todos",
+ "fleet_select_none": "Limpar seleção",
+ "mission_start_one": "Iniciar agente",
+ "mission_start_many": "Iniciar {0} agentes",
+ "mission_opening": "A abrir uma nova sessão…",
+ "mission_waiting": "À espera que {0} arranque…",
+ "mission_briefing": "A dar instruções a {0}…",
+ "mission_done_briefed": "{0} já está a tratar disso.",
+ "mission_done_open": "{0} está pronto para uma tarefa.",
+ "mission_not_started": "{0} está aberto, mas ainda não arrancou. Abre o espaço de trabalho dele no IDE e depois dá-lhe instruções.",
+ "mission_failed": "Não foi possível abrir um agente: {0}",
+ "mission_loading": "A carregar…",
+ "mission_ws_new": "Novo espaço de trabalho…",
+ "mission_ws_folder": "Pasta",
+ "mission_ws_pick": "Escolhe um projeto",
+ "mission_ws_choose": "Escolher uma pasta…",
+ "mission_ws_choose_title": "Pasta para o novo espaço de trabalho",
+ "mission_ws_choose_hint": "O novo espaço de trabalho abre nesta pasta, com os novos agentes lá dentro.",
+ "mission_ws_use": "Usar esta pasta",
+ "mission_ws_close": "Fechar",
+ "mission_ws_name": "Nome (opcional)",
+ "mission_ws_creating": "A abrir o novo espaço de trabalho…",
+ "mission_files_attach": "Anexar ficheiros",
+ "mission_files_drop": "Larga ficheiros para os entregares aos novos agentes",
+ "mission_files_remove": "Remover {0}",
+ "mission_files_handing": "A entregar os ficheiros a {0}…",
+ "mission_files_failed": "{0} não recebeu os ficheiros: {1}",
+ "mission_files_typed": "{0} está aberto, com os ficheiros na entrada.",
+ "fleet_empty": "Ainda não há nenhum agente de programação no piso.",
+ "fleet_placeholder": "Mensagem para os agentes escolhidos",
+ "fleet_send": "Enviar para {0}",
+ "fleet_stop": "Parar {0}",
+ "fleet_result": "Chegou a {0} de {1}.",
+ "fleet_result_missed": "Não alcançados: {0}",
+ "elevator_press": "Clica no botão",
+ "arcade_prompt": "Jogar Asteroid Run",
+ "arcade_title": "Asteroid Run",
+ "arcade_score": "Pontuação",
+ "arcade_level": "Nível",
+ "arcade_best": "Melhor",
+ "arcade_start": "Prime Espaço para descolar",
+ "arcade_paused": "Em pausa: prime Espaço para continuar a voar",
+ "arcade_over": "Despenhaste-te com {0} pontos. Espaço para voar de novo",
+ "arcade_keys": "WASD / setas dirigem · Espaço lasers · Clica numa rocha: míssil · Shift turbo · P pausa · E / Esc sair",
+ "arcade_shields": "Escudos",
+ "arcade_boost": "Turbo",
+ "arcade_rapid": "Tiro rápido",
+ "arcade_missiles": "Mísseis",
+ "room_lead": "Gabinete do líder",
+ "room_team": "Sala da equipa",
+ "room_wardrobe": "Guarda-roupa",
+ "room_reception": "Receção",
+ "room_break": "Sala de descanso",
+ "room_server": "Sala de servidores",
+ "room_arcade": "Salão de arcada",
+ "room_classics": "Clássicos",
+ "room_puzzle": "Canto dos puzzles",
+ "room_action": "Zona de ação",
+ "room_foyer": "Átrio",
+ "room_prizes": "Loja de prémios",
+ "room_snack": "Snack-bar",
+ "cp_studio": "Estúdio",
+ "cp_studio_hint": "Equipa-te a ti e ao teu animal com as tuas recompensas",
+ "cp_levels": "Quadro de níveis",
+ "cp_levels_hint": "O teu nível, as tuas recompensas e como subir de nível",
+ "room_levels": "Salão dos Níveis",
+ "dog_treat": "Dar o osso",
+ "dog_take_bone": "Pegar num biscoito para cão",
+ "dog_pet": "Fazer festas ao cão",
+ "seat_sit": "Sentar na cadeira",
+ "seat_seated": "Clica nos ecrãs para abrir o teu líder · move-te para te levantares",
+ "seat_seated_mission": "Clica num ecrã para o abrir · move-te para te levantares",
+ "prompt_agent": "Falar com {0}",
+ "prompt_checkpoint": "Usar: {0}",
+ "me": "Segue-me",
+ "activity_work": "A trabalhar",
+ "activity_wait": "À tua espera",
+ "activity_desk": "Na secretária",
+ "activity_coffee": "Café",
+ "activity_couch": "No sofá",
+ "activity_nap": "A dormir a sesta",
+ "activity_window": "À janela",
+ "activity_shelf": "A folhear livros",
+ "activity_arcade": "A jogar na arcada",
+ "activity_cooler": "Junto ao bebedouro",
+ "activity_beanbag": "A relaxar",
+ "activity_meeting": "Na sala da equipa",
+ "activity_board": "No quadro",
+ "activity_wander": "A passear",
+ "activity_visit": "A conversar",
+ "activity_called": "A caminho",
+ "break_none": "Ninguém está livre neste momento.",
+ "break_called": "A caminho: {0}",
+ "call_sent": "{0} está a caminho.",
+ "show_agent": "Mostrar {0} no mapa",
+ "team_gather_label": "Reunir com {0} à mesa",
+ "team_open_label": "Abrir o chat de {0}",
+ "team_need_more": "Escolhe pelo menos dois agentes para criar uma equipa.",
+ "manage_empty": "Ainda não há agentes. A receção contrata o primeiro.",
+ "wardrobe_saved": "Guardado apenas neste navegador.",
+ "count_paused": "{0} em pausa",
+ "hair_short": "Curto",
+ "hair_spiky": "Espetado",
+ "hair_bun": "Carrapito",
+ "hair_curly": "Encaracolado",
+ "hair_long": "Comprido",
+ "hair_beanie": "Gorro",
+ "hair_cap": "Boné",
+ "hair_bald": "Careca",
+ "hair_label": "Cabelo ou chapéu",
+ "minimap_title": "Mapa do piso",
+ "minimap_aria": "Mapa do piso: {0} agentes, {1} a trabalhar",
+ "minimap_you": "Tu",
+ "minimap_zoom": "{0} m",
+ "minimap_zoom_in": "Aproximar",
+ "minimap_zoom_out": "Afastar",
+ "minimap_open_map": "Mapa (M)",
+ "minimap_open_map_label": "Abrir o mapa completo (M)",
+ "compass_label": "Bússola: a direção para onde a câmara está virada",
+ "compass_n": "N",
+ "compass_ne": "NE",
+ "compass_e": "E",
+ "compass_se": "SE",
+ "compass_s": "S",
+ "compass_sw": "SO",
+ "compass_w": "O",
+ "compass_nw": "NO",
+ "map_title": "Mapa do Dodaios Verse",
+ "map_hint": "Clica em qualquer lado para ir até lá. Esc ou M fecha o mapa.",
+ "map_close": "Fechar mapa",
+ "map_aria": "Mapa completo do Dodaios Verse. Clica num ponto para ir até lá.",
+ "action_talk": "Falar",
+ "bubble_thinking": "A pensar",
+ "bubble_tool": "A usar {0}",
+ "bubble_failed": "Algo correu mal.",
+ "bubble_cancelled": "Parado.",
+ "bubble_done": "Feito.",
+ "bubble_approval": "Preciso do teu OK.",
+ "bubble_waiting": "À tua espera",
+ "bubble_listening": "A ouvir",
+ "memory_updating": "A atualizar a memória",
+ "memory_updating_file": "A atualizar a memória · {0}",
+ "memory_saved": "Memória guardada",
+ "memory_saved_file": "Guardado em {0}",
+ "memory_failed": "Memória não guardada",
+ "memory_failed_file": "Não foi possível guardar {0}",
+ "talk_log": "Conversa com {0}",
+ "talk_empty": "Diz o que {0} deve fazer — mantém premido T ou o microfone e fala, ou escreve.",
+ "talk_placeholder": "Mensagem para {0}",
+ "talk_hint": "Mantém premido T ou o microfone para falar · Enter envia",
+ "talk_listening": "A ouvir — larga para enviar",
+ "talk_connecting": "A ligar ao chat…",
+ "talk_mic_start": "Falar (mantém premido ou toca para começar)",
+ "talk_mic_stop": "Parar e enviar",
+ "talk_send": "Enviar",
+ "talk_cancel": "Parar a resposta",
+ "talk_approval": "{0} precisa da tua aprovação para continuar.",
+ "talk_review": "Rever no chat",
+ "talk_tools": "Ações do mapa",
+ "tool_walk": "Ir até",
+ "tool_call": "Chamar",
+ "tool_focus": "Mostrar",
+ "tool_team": "Equipa",
+ "tool_chat": "Chat completo",
+ "wardrobe_who": "Quem se vai vestir?",
+ "wardrobe_you": "Tu",
+ "wardrobe_outfit": "Roupa",
+ "wardrobe_colourway": "Cores",
+ "wardrobe_hair_colour": "Cor do cabelo",
+ "wardrobe_skin": "Tom de pele",
+ "wardrobe_eyewear": "Óculos",
+ "wardrobe_random": "Aspeto aleatório",
+ "wardrobe_save_agent": "Guardar aspeto para {0}",
+ "wardrobe_saved_agent": "{0} está com o novo aspeto.",
+ "wardrobe_save_error": "Não foi possível guardar o aspeto. As tuas alterações mantêm-se; tenta novamente.",
+ "wardrobe_sample_hint": "Os agentes de exemplo não podem ser guardados. Cria um agente real na receção.",
+ "outfit_tee": "T-shirt",
+ "outfit_hoodie": "Hoodie",
+ "outfit_suit": "Fato",
+ "outfit_leather": "Casaco de cabedal",
+ "outfit_vest": "Colete polar",
+ "outfit_turtleneck": "Gola alta",
+ "outfit_blazer": "Blazer",
+ "outfit_quarterzip": "Camisola de meio fecho",
+ "colourway_black": "Preto",
+ "colourway_cognac": "Conhaque",
+ "colourway_oxblood": "Bordeaux",
+ "colourway_charcoal": "Antracite",
+ "colourway_navy": "Azul-marinho",
+ "colourway_tuxedo": "Smoking",
+ "colourway_linen": "Linho",
+ "colourway_old_money": "Old money",
+ "colourway_camel": "Camelo",
+ "colourway_forest": "Verde-floresta",
+ "colourway_oat": "Aveia",
+ "colourway_grey": "Cinzento",
+ "colourway_sage": "Salva",
+ "colourway_white": "Branco",
+ "colourway_green": "Verde",
+ "colourway_coral": "Coral",
+ "colourway_cream": "Creme",
+ "eyewear_none": "Nenhum",
+ "eyewear_glasses": "Óculos",
+ "eyewear_shades": "Óculos de sol",
+ "hair_slick": "Penteado para trás",
+ "hair_sidepart": "Risca ao lado",
+ "hair_buzz": "Rapado",
+ "hair_ponytail": "Rabo de cavalo",
+ "errand_flying": "A levar uma tarefa a {0}",
+ "errand_task": "Aqui tens uma nova tarefa.",
+ "errand_ack": "Entendido, vou tratar disso!",
+ "lobby_strapline": "SEDE DOS AGENTES",
+ "lobby_board_hint": "Toca para gerir a tua equipa",
+ "lobby_new_agent": "Novo agente",
+ "break_player_one": "JOGADOR 1",
+ "break_neon": "faz uma pausa",
+ "spawn_screen_title": "CRIAÇÃO",
+ "spawn_screen_ready": "PRONTO",
+ "spawn_screen_new_coding": "NOVO AGENTE DE PROGRAMAÇÃO",
+ "spawn_screen_new": "NOVO AGENTE",
+ "department_n": "DEPARTAMENTO {number}",
+ "studio_n": "ESTÚDIO {number}",
+ "coffee_menu": "EMENTA",
+ "status_spend": "GASTOS",
+ "status_days": "{days} D",
+ "status_na": "n/d",
+ "status_cost": "CUSTO",
+ "status_billed": "FATURADO VIA API",
+ "status_tokens": "TOKENS",
+ "status_sessions": "SESSÕES",
+ "status_peak": "pico: {amount} / dia",
+ "status_empty": "sem gastos neste período",
+ "status_unavailable": "gastos indisponíveis",
+ "status_loading": "a carregar…",
+ "status_top_models": "PRINCIPAIS MODELOS",
+ "status_net": "REDE"
+ },
+ "arcade": {
+ "play_prompt": "Jogar {0}",
+ "score": "Pontuação",
+ "best": "Melhor",
+ "lives": "Vidas",
+ "level": "Nível",
+ "loading": "A carregar o jogo…",
+ "load_failed": "Não foi possível carregar este jogo.",
+ "retry": "Tentar novamente",
+ "press_start": "Prime Espaço ou Enter para começar",
+ "tap_start": "Toca em A para começar",
+ "paused": "Em pausa",
+ "resume_hint": "Prime P ou Espaço para retomar",
+ "tap_resume": "Toca em A para retomar",
+ "game_over": "Fim do jogo",
+ "you_win": "Ganhaste!",
+ "new_best": "Novo recorde!",
+ "play_again": "Prime Espaço ou Enter para jogar novamente",
+ "tap_again": "Toca em A para jogar novamente",
+ "keys_hint": "Enter começar · P pausa · Esc / E sair",
+ "pause": "Pausa",
+ "pad_up": "Cima",
+ "pad_down": "Baixo",
+ "pad_left": "Esquerda",
+ "pad_right": "Direita",
+ "games": {
+ "asteroid_run": {
+ "tagline": "Voa pelo campo de asteroides e abre caminho a tiro.",
+ "how": "WASD/setas dirigem · Espaço lasers · Clica numa rocha: míssil · Shift turbo · P pausa · Esc sair"
+ },
+ "neon_snake": {
+ "tagline": "Come, cresce e nunca mordas a tua própria cauda.",
+ "how": "Setas/WASD dirigem · P pausa · Esc sair"
+ },
+ "brick_breaker": {
+ "tagline": "Parte todos os tijolos e apanha os power-ups.",
+ "how": "←/→ ou rato para mover · Espaço/clique lança · P pausa · Esc sair"
+ },
+ "paddle_duel": {
+ "tagline": "O primeiro a chegar a sete vence a máquina.",
+ "how": "↑/↓ ou rato para mover · Espaço serve · P pausa · Esc sair"
+ },
+ "block_drop": {
+ "tagline": "Empilha os blocos que caem e limpa linhas completas.",
+ "how": "←/→ mover · ↑/Espaço rodar · ↓ descida suave · Shift descida rápida · P pausa · Esc sair"
+ },
+ "maze_muncher": {
+ "tagline": "Come todos os pontos e engana quatro bugs com falhas.",
+ "how": "Setas dirigem (as curvas ficam em memória) · as orbes de energia tornam os bugs comestíveis · P pausa · Esc sair"
+ },
+ "desert_dash": {
+ "tagline": "Corre pelas dunas: salta os catos, baixa-te para fugir aos pássaros.",
+ "how": "↑/Espaço saltar (mantém premido para mais alto) · ↓ baixar / mergulhar · P pausa · Esc sair"
+ },
+ "pixel_raiders": {
+ "tagline": "Aguenta a linha contra uma frota alienígena em marcha.",
+ "how": "←/→ mover · Espaço disparar · P pausa · Esc sair"
+ },
+ "road_hopper": {
+ "tagline": "Salta por entre o trânsito e atravessa o rio para chegar a casa.",
+ "how": "Setas saltam · P pausa · Esc sair"
+ },
+ "city_defense": {
+ "tagline": "Abate as ogivas antes que cheguem às tuas cidades.",
+ "how": "Rato apontar + clique disparar · Setas apontar · Espaço disparar · Shift escolher bateria · P pausa · Esc sair"
+ }
+ }
+ },
+ "level": {
+ "hud_button": "Salão dos Níveis",
+ "open_panel": "Abrir o Salão dos Níveis",
+ "level_n": "Nível {0}",
+ "lv": "Nv {0}",
+ "xp_of": "{0} / {1} XP",
+ "xp_label": "Experiência para o próximo nível",
+ "pet_xp_label": "Experiência de {0}",
+ "agent_xp_label": "Experiência de {0}",
+ "pet_line": "{0} · nível {1}",
+ "max": "Nível máximo alcançado",
+ "level_up": "Subida de nível",
+ "promoted": "Promovido",
+ "promoted_aria": "{0} foi promovido a {2} no nível {1}. Clica para fechar.",
+ "next_promotion": "Próxima promoção: {0} no nível {1}",
+ "no_insignia": "Ainda sem insígnia",
+ "pet_up": "{0} subiu de nível",
+ "new_look": "Novo aspeto: {0}",
+ "agent_up": "{0} chegou ao nível {1}",
+ "while_away": "Enquanto estavas fora",
+ "banner_aria": "{0} chegou ao nível {1}. Clica para fechar.",
+ "unlocked": "Desbloqueado",
+ "equip_hint": "Escolhe o que vestes no estúdio do Salão dos Níveis (L).",
+ "auto": "Automático",
+ "none": "Roupa própria",
+ "locked_at": "Desbloqueia no nível {0}",
+ "to_next": "{0} XP para o nível {1}",
+ "total": "{0} XP no total",
+ "team": "Classificação da equipa",
+ "no_agents": "Ainda não há agentes. Cria um no ponto de criação.",
+ "pet_intro": "O teu animal é o teu assistente. Sobe de nível com cada resposta que dá, cada tarefa que entrega a um agente e cada passeio que dão juntos. Cada animal mantém o seu próprio nível.",
+ "rules_person": "Como ganhas XP",
+ "rules_pet": "Como o teu animal ganha XP",
+ "rules_agent": "Como os agentes ganham XP",
+ "limit_daily": "uma vez por dia",
+ "limit_floor": "uma vez por piso",
+ "limit_agent": "uma vez por novo agente",
+ "limit_cooldown": "no máximo a cada {0}",
+ "limit_cap": "até {0} XP por dia",
+ "seconds": "{0} s",
+ "minutes": "{0} min",
+ "sound": "Sons de subida de nível",
+ "free_note": "O XP só vem de trabalho real e nunca gasta tokens.",
+ "slot": {
+ "uniform": "Uniforme",
+ "headwear": "Chapéu",
+ "decoration": "Condecorações"
+ },
+ "reward": {
+ "uniform_service_shirt": "Camisa de serviço e gravata",
+ "uniform_field_jacket": "Casaco de campanha",
+ "uniform_service_greens": "Uniforme de serviço verde",
+ "uniform_dress_blues": "Uniforme de gala azul",
+ "uniform_mess_dress": "Uniforme de cerimónia azul",
+ "headwear_patrol_cap": "Boné de patrulha",
+ "headwear_garrison_cap": "Bivaque",
+ "headwear_beret": "Boina preta",
+ "headwear_service_cap": "Boné de serviço",
+ "decoration_ribbon_bar": "Fitas de serviço",
+ "decoration_ribbon_rack": "Barra completa de fitas",
+ "decoration_aiguillette": "Agulheta dourada",
+ "decoration_medals": "Medalhas de tamanho real"
+ },
+ "title": {
+ "private": "Soldado",
+ "private_second_class": "Soldado de 2.ª classe",
+ "private_first_class": "Soldado de 1.ª classe",
+ "specialist": "Especialista",
+ "corporal": "Cabo",
+ "sergeant": "Sargento",
+ "staff_sergeant": "Segundo-sargento",
+ "sergeant_first_class": "Primeiro-sargento",
+ "master_sergeant": "Sargento-ajudante",
+ "first_sergeant": "Sargento de companhia",
+ "sergeant_major": "Sargento-mor",
+ "command_sergeant_major": "Sargento-mor de comando",
+ "sergeant_major_of_the_army": "Sargento-mor do Exército",
+ "second_lieutenant": "Alferes",
+ "first_lieutenant": "Tenente",
+ "captain": "Capitão",
+ "major": "Major",
+ "lieutenant_colonel": "Tenente-coronel",
+ "colonel": "Coronel",
+ "brigadier_general": "Brigadeiro-general",
+ "major_general": "Major-general",
+ "lieutenant_general": "Tenente-general",
+ "general": "General",
+ "general_of_the_army": "General do Exército"
+ },
+ "source": {
+ "chat_turn": "Termina uma interação de chat com o teu assistente",
+ "voice_turn": "Termina uma interação de voz com o teu assistente",
+ "quest_posted": "Publica uma missão no quadro",
+ "quest_completed": "Uma das tuas missões é concluída",
+ "agent_hired": "Cria um novo agente",
+ "mission_completed": "Uma missão é aprovada",
+ "daily_visit": "Visita o Dodaios Verse",
+ "floor_discovered": "Descobre um piso",
+ "dog_petted": "Faz festas ao cão do escritório",
+ "dog_treat": "Dá um biscoito ao cão",
+ "arcade_round": "Pontua num jogo de arcada",
+ "arcade_record": "Bate o teu recorde na arcada",
+ "team_meeting": "Reúne uma equipa à mesa",
+ "task_done": "Termina uma tarefa",
+ "task_blocked": "Reporta uma tarefa como bloqueada",
+ "quest_done": "Conclui uma missão",
+ "answered_teammate": "Responde a um colega",
+ "jarvis_answered": "O teu assistente responde-te (chat ou voz)",
+ "delegated": "O teu assistente entrega uma tarefa a um agente",
+ "walk_together": "Caminhem 50 m juntos"
+ }
+ },
+ "hall": {
+ "title": "Salão dos Níveis",
+ "subtitle": "A tua patente, o teu uniforme e a tua próxima promoção",
+ "ranks_body": "Todos sobem a mesma escada: primeiro as praças, depois o oficialato, até às cinco estrelas no nível 50.",
+ "rank_held": "A tua patente",
+ "rank_position": "Patente {0} de {1}",
+ "rank_from": "A partir do nível {0}",
+ "subject_label": "Progresso de quem",
+ "subject_you": "Tu",
+ "tab_overview": "Visão geral",
+ "tab_studio": "Estúdio",
+ "tab_rewards": "Promoções",
+ "tab_guide": "Como subir",
+ "tab_team": "Equipa",
+ "tab_ranks": "Patentes",
+ "next_promotion_title": "Próxima promoção",
+ "ranks_all": "Todas as patentes",
+ "pet_rank_only": "{0} não usa uniforme: a patente aparece na placa com o nome e sobe a cada nível.",
+ "loading": "A carregar níveis…",
+ "next_reward": "Próxima recompensa",
+ "all_unlocked": "Tudo desbloqueado",
+ "next_rewards": "Próximas peças de uniforme",
+ "best_pieces": "As tuas melhores peças",
+ "road_all": "Percurso completo de recompensas",
+ "try_hint": "Clica numa recompensa para a experimentar no estúdio.",
+ "next_title": "Próxima promoção: {0} no nível {1}",
+ "top_title": "Patente máxima alcançada",
+ "quick_title": "XP rápido",
+ "quick_all": "Todas as formas de ganhar",
+ "xp_needed": "Faltam {0} XP",
+ "unlocked": "Desbloqueado",
+ "equipped": "Equipado",
+ "tier": {
+ "enlisted": "Praças",
+ "nco": "Sargentos",
+ "officer": "Oficial",
+ "general": "Oficial general"
+ },
+ "studio_body": "Escolhe o que {0} veste em cada espaço. As peças bloqueadas podem ser experimentadas.",
+ "studio_body_you": "Escolhe o teu uniforme, chapéu e condecorações. As peças bloqueadas podem ser experimentadas.",
+ "slots_label": "Espaços",
+ "slot_hint": {
+ "uniform": "O que vestes em serviço. A insígnia da tua patente fica nas mangas (praças) ou nas platinas (oficiais).",
+ "headwear": "O chapéu, com a tua patente presa ou cosida à frente, ou o emblema da tua unidade.",
+ "decoration": "Fitas ou medalhas sobre o bolso esquerdo do peito; a agulheta pende do ombro direito."
+ },
+ "auto_hint": "Sempre a melhor peça que desbloqueaste",
+ "none_hint": "A tua própria roupa neste espaço",
+ "locked_aria": "{0}, bloqueado até ao nível {1}. Experimenta-o.",
+ "preview_label": "{0} no palco do estúdio",
+ "drag_hint": "Arrasta para rodar",
+ "try_on": "Prova",
+ "try_on_line": "Desbloqueia no nível {0} · faltam {1} XP",
+ "try_on_back": "Voltar ao meu equipamento",
+ "road_body": "Todas as promoções e todas as peças de uniforme num só percurso. Escolhe uma etapa para te veres com essa patente.",
+ "road_here": "Tu · Nv {0}",
+ "reward_open": "Desbloqueado no nível {0}",
+ "reward_locked": "Desbloqueia no nível {0}",
+ "reward_missing": "Ainda faltam {0} XP",
+ "wearing_now": "Estás a usá-lo",
+ "put_on": "Vestir",
+ "guide_title": "Como subir de nível",
+ "guide_subtitle": "Cada ação real dá XP. Eis quanto.",
+ "guide_footer": "Aproxima-te do quadro (E) para ver tudo.",
+ "step1_title": "Ganhar XP",
+ "step1_body": "Fala com o teu assistente, dá trabalho à tua equipa, explora o Verse. Cada ação conta.",
+ "step2_title": "Subir de nível",
+ "step2_body": "Quando a barra fica cheia, chegas ao próximo nível. Cada nível exige um pouco mais de XP.",
+ "step3_title": "Ser promovido",
+ "step3_body": "As promoções trazem peças de uniforme reais. Veste-as no estúdio.",
+ "cost_line": "Nível {0}: {1} XP",
+ "section_you": "Para ti",
+ "section_pet": "Para {0}",
+ "section_agents": "Para os teus agentes",
+ "group": {
+ "jarvis": "Falar com o teu assistente",
+ "team": "Equipa e tarefas",
+ "verse": "No Dodaios Verse",
+ "pet": "Como {0} ganha XP",
+ "agent": "Como os agentes ganham XP",
+ "other": "Mais"
+ },
+ "limits_note": "Os limites tornam-no justo: algumas ações só contam algumas vezes por dia.",
+ "looks_title": "Aspetos dos agentes",
+ "looks_body": "Os agentes desbloqueiam novos aspetos à medida que sobem de nível. Veste-os no separador Aparência do perfil; um aspeto que um agente usa nunca lhe é retirado.",
+ "look_start": "Desde o início",
+ "next_look": "Próximo aspeto: {0} no nível {1}",
+ "team_note": "Os agentes sobem de nível com trabalho concluído e usam sempre os seus melhores desbloqueios."
+ }
+ }
+}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/society/zh.json b/jarvis/ui/web/frontend/src/i18n/locales/society/zh.json
index 5ae3c79b99..7ddda34508 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/society/zh.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/society/zh.json
@@ -686,7 +686,14 @@
"moved_status": "为 {0} 打开",
"open_here": "在这里打开",
"stop_holder": "停止 {0} 的任务",
- "waiting_for": "正在等待 {0}"
+ "waiting_for": "正在等待 {0}",
+ "error_image": "无法解码浏览器图像",
+ "error_stream": "浏览器流返回了无效数据",
+ "error_connect": "浏览器连接失败",
+ "error_stop": "浏览器停止失败:{status}",
+ "error_stop_unreachable": "无法连接以停止浏览器",
+ "error_queue_full": "正在等待浏览器控制权;输入队列已满",
+ "error_approval": "审批失败({status})"
},
"mars": {
"rover_title": "智能体漫游车",
@@ -823,7 +830,33 @@
"state_interrupted": "已中断",
"state_unknown": "结果未知",
"open_preview": "火星预览",
- "previous_world": "上一个世界"
+ "previous_world": "上一个世界",
+ "district_central": "中央区",
+ "district_foundry": "智能体工坊",
+ "district_mine": "矿井",
+ "district_workshop": "工作坊",
+ "district_water-extraction": "取水区",
+ "district_memory-house": "记忆之家",
+ "district_harbor-gate": "港口大门",
+ "district_gardens": "花园",
+ "district_solar-field": "太阳能田",
+ "district_communications-outpost": "通信前哨",
+ "building_jarvis-hub": "Jarvis 枢纽",
+ "building_terminal": "终端",
+ "building_plugin-docks": "插件码头",
+ "building_control-room": "控制室",
+ "building_skill-forge": "技能锻造坊",
+ "building_signal-office": "信号站",
+ "building_gallery": "展览馆",
+ "building_boiler-house": "锅炉房",
+ "building_lookout": "瞭望台",
+ "building_communications-mast": "通信桅杆",
+ "building_operations": "前哨作业中心",
+ "building_radome-north": "北雷达罩",
+ "building_radome-south": "南雷达罩",
+ "building_dish-west": "西侧天线",
+ "building_dish-east": "东侧天线",
+ "building_service-east": "前哨服务楼"
},
"share": {
"cta": "分享",
@@ -916,8 +949,25 @@
"save_error": "无法保存这个设计。",
"copy_code": "复制代码",
"copied": "已复制",
- "presets": { "galaxy": "银河", "aurora": "极光", "holo": "全息", "lava": "熔岩", "neon": "霓虹", "ocean": "海洋", "sunset": "日落", "gold": "黄金", "frost": "冰霜" },
- "effects": { "none": "无", "stars": "星星", "shimmer": "流光", "flow": "流动", "glow": "发光", "sparkle": "闪烁" }
+ "presets": {
+ "galaxy": "银河",
+ "aurora": "极光",
+ "holo": "全息",
+ "lava": "熔岩",
+ "neon": "霓虹",
+ "ocean": "海洋",
+ "sunset": "日落",
+ "gold": "黄金",
+ "frost": "冰霜"
+ },
+ "effects": {
+ "none": "无",
+ "stars": "星星",
+ "shimmer": "流光",
+ "flow": "流动",
+ "glow": "发光",
+ "sparkle": "闪烁"
+ }
},
"eyes": "眼睛",
"dots": "圆眼",
@@ -1430,7 +1480,32 @@
"hair_ponytail": "马尾",
"errand_flying": "正在给 {0} 送任务",
"errand_task": "这是给你的新任务。",
- "errand_ack": "收到,马上办!"
+ "errand_ack": "收到,马上办!",
+ "lobby_strapline": "智能体总部",
+ "lobby_board_hint": "点按以管理你的团队",
+ "lobby_new_agent": "新建智能体",
+ "break_player_one": "玩家 1",
+ "break_neon": "歇一会儿",
+ "spawn_screen_title": "出生点",
+ "spawn_screen_ready": "就绪",
+ "spawn_screen_new_coding": "新建编程智能体",
+ "spawn_screen_new": "新建智能体",
+ "department_n": "部门 {number}",
+ "studio_n": "工作室 {number}",
+ "coffee_menu": "菜单",
+ "status_spend": "支出",
+ "status_days": "{days} 天",
+ "status_na": "不可用",
+ "status_cost": "成本",
+ "status_billed": "API 计费",
+ "status_tokens": "令牌",
+ "status_sessions": "会话",
+ "status_peak": "峰值 {amount} / 天",
+ "status_empty": "此时间段内无支出",
+ "status_unavailable": "支出不可用",
+ "status_loading": "加载中…",
+ "status_top_models": "热门模型",
+ "status_net": "网络"
},
"arcade": {
"play_prompt": "玩 {0}",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/zh.json b/jarvis/ui/web/frontend/src/i18n/locales/zh.json
index 9d9a8a4b37..ce10ab947f 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/zh.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/zh.json
@@ -478,7 +478,8 @@
"hidden": "已隐藏",
"visible": "可见",
"links": "链接",
- "back": "返回"
+ "back": "返回",
+ "website_other": "网站 / 其他"
},
"contacts": {
"subtitle": "你的个人通讯录——姓名、联系方式,以及每个人的简短备注。",
@@ -552,7 +553,8 @@
"partner": "伴侣",
"acquaintance": "熟人",
"other": "其他"
- }
+ },
+ "remove": "移除"
},
"dictionary": {
"title": "词典",
@@ -740,7 +742,8 @@
"testing": "正在测试…",
"test_hint": "用示例测试当前模式。使用所选的服务商,不会保存任何内容。",
"sample_before": "之前",
- "sample_after": "之后"
+ "sample_after": "之后",
+ "ollama_local": "Ollama(本地)"
},
"prompt_mode": {
"title": "提示词模式",
@@ -763,6 +766,15 @@
"api_keys": {
"title": "语音输入",
"description": "用于把你的语音转换为文字的密钥和服务商。"
+ },
+ "call_not_ended": "语音通话尚未结束,请重试。",
+ "not_running_here": "此电脑上未运行语音功能。",
+ "request_failed": "语音请求失败({status})。",
+ "startup_audio_lost": "无法保留语音启动时的音频,请重新开始。",
+ "reconnect_failed": "语音重新连接失败。",
+ "backend_error": {
+ "voice_connection_lost": "语音连接已断开。待处理的操作未被重新执行。",
+ "subscription_request_failed": "ChatGPT 订阅访问无法完成此请求。未使用任何 API 密钥。"
}
},
"voice_state": {
@@ -842,7 +854,11 @@
"realtime_webrtc_degraded": "无法建立 WebRTC 传输,音频将继续通过音频套接字传输。",
"realtime_transport_capability_missing": "此窗口未获得打开订阅传输所需的桌面权限。请重启应用。",
"realtime_transport_offer_unsupported": "此窗口无法创建订阅传输所需的 WebRTC 连接。请改用 API 实时语音服务商。",
- "realtime_transport_socket_unreachable": "无法连接订阅传输通道。请重启应用,然后重试。"
+ "realtime_transport_socket_unreachable": "无法连接订阅传输通道。请重启应用,然后重试。",
+ "resize_hint": "拖动以调整侧边栏大小——双击恢复默认",
+ "ide_navigation": "IDE 导航",
+ "workspace_options": "工作区选项",
+ "open_conversation_failed": "无法打开对话"
},
"provider_billing": {
"api": "API,按用量计费",
@@ -1038,7 +1054,8 @@
"tokens_out": "输出 token",
"tool_running": "仍在运行…",
"interrupt_hint": "按 esc 中断",
- "status_words": "思考中…, 处理中…, 深挖中…, 推理中…, 琢磨中…, 整理中…, 解谜中…, 酝酿中…, 组装中…, 理顺中…, 烹制中…, 进入状态…"
+ "status_words": "思考中…, 处理中…, 深挖中…, 推理中…, 琢磨中…, 整理中…, 解谜中…, 酝酿中…, 组装中…, 理顺中…, 烹制中…, 进入状态…",
+ "drop_nothing_usable": "拖入的内容中没有此聊天可用的东西。"
},
"chats_view": {
"title": "对话",
@@ -1321,7 +1338,14 @@
"renamed": "已重命名",
"delivered": "已交付",
"binary": "二进制"
- }
+ },
+ "tool_screenshot": "截图",
+ "tool_web_search": "网页搜索",
+ "tool_open_app": "打开应用",
+ "tool_type_text": "输入文本",
+ "tool_remember": "记住",
+ "tool_admin_op": "管理操作",
+ "tool_multi_spawn": "批量启动"
},
"tasks_view": {
"title": "自动化",
@@ -1472,7 +1496,165 @@
"oauth_client_own": "你自己的 {family} 客户端",
"oauth_client_placeholder": "占位 {family} 客户端——连接时请添加你自己的",
"fact_publisher": "发布者",
- "fact_source": "来源"
+ "fact_source": "来源",
+ "reauth_provider_rejected": "提供方不再接受此授权",
+ "reauth_client_rejected": "提供方不再接受此应用的 OAuth 客户端",
+ "reauth_client_missing": "在 Dodaios 保存 OAuth 客户端之前就已连接",
+ "reauth_rotation_lost": "续期后的令牌无法保存,因此已作废",
+ "reauth_refresh_missing": "访问令牌已过期,无法自动续期",
+ "reauth_unknown": "授权已失效",
+ "reauth_retrying": "{headline}。Dodaios 每天会重试一次;重新连接可立即修复。",
+ "reauth_no_retry": "{headline}。此问题无法自动重试——请重新连接以修复。",
+ "ago_today": "今天",
+ "ago_yesterday": "昨天",
+ "ago_days": "{count} 天前",
+ "longevity_permanent": "保持连接",
+ "longevity_self_renewing": "自动续期",
+ "longevity_provider_limited": "需定期重新登录",
+ "auth_browser_login": "浏览器登录",
+ "auth_local": "本地设备",
+ "auth_device_flow": "设备码登录",
+ "auth_access_token": "访问令牌",
+ "auth_one_click": "一键",
+ "auth_allowlist": "许可名单",
+ "auth_no_signin": "无需登录",
+ "client_id_hint_spotify": "应用设置中的 32 位 ID",
+ "client_id_hint_github": "OAuth 应用设置中的 Iv1.…",
+ "client_id_hint_gitlab": "64 位应用 ID",
+ "client_id_hint_figma": "应用设置中的客户端 ID",
+ "client_id_hint_hubspot": "应用 Auth 设置中的 UUID",
+ "secret_not_needed_public": "公共/原生应用无需填写",
+ "secret_not_needed_native": "Native App 无需填写",
+ "secret_not_needed_empty": "无需填写——留空即可",
+ "secret_usually_not_needed": "通常无需填写",
+ "err_session_failed": "无法创建登录会话。请重试。",
+ "err_signin_page_unavailable": "登录页面不可用。请重试。",
+ "err_denied": "登录被拒绝。准备好后可以重试。",
+ "err_timeout": "登录超时。请重试。",
+ "err_provider_unreachable": "无法连接到提供方。请稍后重试。",
+ "err_port_in_use": "登录回调正被占用。请关闭另一个登录尝试后重试。",
+ "err_misconfigured": "浏览器登录正等待发布方完成设置。你无需进行任何开发设置。",
+ "fallback_notice": "浏览器登录需要发布方的客户端,但它尚未就绪——在此期间你可以用令牌连接。",
+ "err_pending_publisher": "此连接正等待发布方完成设置。浏览器登录可用后请重试。",
+ "connection_unavailable": "连接不可用",
+ "unsupported_device": "此设备不支持",
+ "installed_count": "已安装 {count} 个",
+ "attention_one": "{plugin} 需要重新连接",
+ "attention_many": "{count} 个连接需要重新连接",
+ "attention_one_detail": "{reason}——请重新连接以继续使用。",
+ "attention_many_detail": "请重新连接以继续使用:{plugins}",
+ "jump_to_it": "前往",
+ "jump_to_first": "前往第一个",
+ "disconnect_plugin": "断开插件连接",
+ "reconnect_plugin": "重新连接插件",
+ "connect_plugin": "连接插件",
+ "authorization_link": "授权链接",
+ "copy_link": "复制链接",
+ "copied": "已复制",
+ "copy": "复制",
+ "copied_bang": "已复制!",
+ "unknown_error": "未知错误",
+ "connecting_plugin": "正在连接 {plugin}",
+ "browser_login": "浏览器登录",
+ "authorize_in_browser": "在浏览器中授权 {product}",
+ "continue_in_browser": "请在 {plugin} 的浏览器标签页中继续——如有提示请登录,点击“授权”,然后回到这里。看不到标签页?请重新打开或复制下方链接。在你完成之前,插件会保持“未连接”。",
+ "waiting_callback": "正在等待 {plugin} 回调至",
+ "redirect_hint": "如果提供方显示错误而不是请求批准,请在提供方应用的重定向设置中准确允许此地址,然后重新打开登录。",
+ "open_plugin_again": "重新打开 {plugin}",
+ "copy_link_hint_paste": "或复制此链接并粘贴到浏览器的地址栏中。",
+ "plugin_connected": "{plugin} 已连接",
+ "connect_named": "连接 {plugin}",
+ "device_flow": "设备码登录",
+ "device_step1": "第 1 步——复制此代码",
+ "device_step2": "第 2 步——在 {plugin} 中粘贴",
+ "open_plugin": "打开 {plugin}",
+ "copy_link_hint_code": "或复制此链接,在浏览器中打开并输入上面的代码。",
+ "waiting_authorization": "正在等待授权…",
+ "err_save_settings": "无法保存连接设置。请重试。",
+ "pkce_browser_unavailable": "浏览器登录暂不可用。",
+ "pkce_signin_with": "你将在浏览器中使用你的 {family} 账号登录。",
+ "provider_fallback": "提供方",
+ "pkce_pending_intro": "浏览器登录正等待发布方完成设置。今天就可以用你自己的免费 {family} 应用连接——只需几分钟,无需写代码。填好下方客户端后,“继续”会在浏览器中打开真正的 {plugin} 登录页。",
+ "pkce_step1": "第 1 步——打开 {family} 应用控制台",
+ "pkce_your_client": "你的 OAuth 客户端",
+ "pkce_own_client_advanced": "使用你自己的 OAuth 客户端(高级)",
+ "pkce_step2": "第 2 步——粘贴你刚创建的应用的客户端。",
+ "pkce_step2_google": "第 2 步——粘贴你刚创建的应用的客户端。一个客户端即可覆盖 Gmail、Drive、Calendar 和 YouTube Music。",
+ "pkce_override": "可选的高级覆盖。粘贴你自己的 {family} {console}中的客户端。",
+ "pkce_console": "控制台",
+ "pkce_google_one_client": "一个客户端即可覆盖 Gmail、Drive、Calendar 和 YouTube Music。",
+ "pkce_redirect_step3": "第 3 步——创建应用时,将此逐字符注册为其{term}:",
+ "pkce_redirect": "创建应用时,将此逐字符注册为其{term}:",
+ "pkce_redirect_term": "重定向 URI",
+ "pkce_redirect_numeric": "必须是数字地址,而不是 {localhost},且末尾不能有斜杠。",
+ "client_id": "客户端 ID",
+ "client_id_from": "来自 {family} 的客户端 ID",
+ "client_secret": "客户端密钥",
+ "secret_optional_some": "部分提供方可选",
+ "expert_token_alt": "高级令牌替代方案",
+ "expert_token_alt_body": "共享浏览器登录尚未就绪。在此期间你可以使用提供方令牌连接——浏览器流程仍是默认方式,就绪后会自动接管。",
+ "paste_token_instead": "改为粘贴令牌",
+ "continue": "继续",
+ "remove_named": "移除 {plugin}?",
+ "disconnect_body": "这会断开 {plugin} 并删除其已保存的凭据。在你重新连接之前,{assistant} 将无法访问它。",
+ "removing": "正在移除…",
+ "remove": "移除",
+ "plugin_added": "已添加 {plugin}",
+ "plugin_removed": "已移除 {plugin}",
+ "instance_intro": "输入你的实例地址,然后在浏览器中登录并批准访问。",
+ "instance_address": "实例地址",
+ "opening_browser": "正在打开浏览器…",
+ "continue_in_browser_btn": "在浏览器中继续",
+ "err_discord_id": "无法读取你的 Discord ID。",
+ "err_discord_no_id": "Discord 未返回用户 ID。",
+ "err_discord_invite": "无法生成邀请链接。",
+ "err_discord_no_invite": "Discord 未返回邀请链接。",
+ "access_token": "访问令牌",
+ "pat_generate": "在 {plugin} 生成令牌",
+ "pat_open_tokens": "打开 {plugin} 令牌页面",
+ "copy_link_hint_open": "或复制此链接,自行在浏览器中打开。",
+ "pat_get_key": "获取 {plugin} 的密钥",
+ "pat_paste_below": "在下方粘贴令牌",
+ "or_separator": " 或 ",
+ "token": "令牌",
+ "pat_should_start": "应以 {prefix} 开头",
+ "owner_lock_title": "将机器人锁定给你(推荐)",
+ "owner_lock_aria": "你的数字用户 ID",
+ "owner_lock_hint": "只有此用户 ID 可以命令机器人。留空则由第一个给它发消息的人获得访问权限。",
+ "looking_up": "正在查找…",
+ "discord_fill_id": "填入我的 Discord ID",
+ "opening": "正在打开…",
+ "discord_add_bot": "将机器人添加到我的服务器",
+ "owner_lock_digits": "用户 ID 只能包含数字。",
+ "validating": "正在验证…",
+ "longevity_note": {
+ "github": "浏览器登录会自动续期。粘贴的令牌按创建时的设置过期。",
+ "discord": "OAuth 令牌会自动刷新。粘贴的机器人令牌在你于 Discord 开发者门户中重置之前一直有效。",
+ "telegram": "机器人令牌在你于 BotFather 中撤销之前一直有效。",
+ "clickup": "ClickUp 声明其访问令牌不会过期,因此此连接无需续期。这只是一项政策而非保证,所以如果它被拒绝,Jarvis 仍会请你重新连接。",
+ "airtable": "Airtable 会在连接 60 天未使用后将其终止。Jarvis 每 12 小时在后台续期一次,只要这台电脑不时运行,连接就会保持。",
+ "cal_com": "Cal.com 未公布令牌有效期,因此尚未确认连接能保持多久。Jarvis 会在后台续期,如果续期失败会请你重新连接。",
+ "home_assistant": "浏览器授权会自动续期,直到在 Home Assistant 中撤销访问权限。",
+ "spotify": "Spotify 将刷新令牌的有效期限制为六个月,因此该连接每年需要续期两次。这一限制无法延长。",
+ "higgsfield": "Higgsfield 会签发刷新令牌。访问令牌的有效期未公布;Jarvis 会在后台续期,如果续期失败会请你重新连接。",
+ "aws": "AWS 访问有效期为一小时,刷新最多限于 12 小时的会话;之后需要重新登录。",
+ "google_cloud": "处于测试模式的 Google OAuth 应用可能在七天后失去刷新权限;正式发布的应用遵循账户政策。",
+ "gitlab": "浏览器登录会自动续期。粘贴的令牌会在创建时选择的日期过期。",
+ "linkedin": "LinkedIn 的标准访问令牌会过期;刷新令牌仅限获批准的合作伙伴使用。收到提示时请重新连接。",
+ "meta": "长期用户令牌通常在约 60 天后过期;请在过期前重新连接。",
+ "youtube_studio": "处于测试模式的 Google OAuth 应用可能在七天后需要重新授权。",
+ "figma": "浏览器登录会自动续期。粘贴的令牌会在你创建时选择的日期过期。",
+ "google_drive": "当你自己的 OAuth 应用处于测试模式时,Google 会在 7 天后使授权失效。发布该应用即可让连接一直保持。",
+ "gmail": "当你自己的 OAuth 应用处于测试模式时,Google 会在 7 天后使授权失效。发布该应用即可让连接一直保持。",
+ "google_calendar": "当你自己的 OAuth 应用处于测试模式时,Google 会在 7 天后使授权失效。发布该应用即可让连接一直保持。",
+ "youtube_music": "当你自己的 OAuth 应用处于测试模式时,Google 会在 7 天后使授权失效。发布该应用即可让连接一直保持。"
+ },
+ "unavailable_reason": {
+ "amd_unverifiable": "无法从 Linux 设备信息中确认 AMD GPU 是否可用。请检查硬件访问权限和许可,包括容器的设备访问权限。",
+ "amd_no_gpu": "此连接器看不到任何 AMD GPU。连接前必须将兼容的 AMD GPU 提供给此 Linux 环境。",
+ "amd_unsupported_os": "此操作系统上无法获取 AMD GPU 遥测数据。此连接器需要装有 AMD SMI 的兼容 Linux AMD 主机。",
+ "amd_smi_missing": "AMD SMI 不可用。请在兼容的 AMD 主机上安装 AMD 支持的 SMI/ROCm 工具。缺失的指标绝不会报告为零。"
+ }
},
"skills_view": {
"count": "{n} 个技能",
@@ -1559,7 +1741,19 @@
"empty_list_body_a": "首次启动时,",
"empty_list_body_b": "会把内置技能复制到",
"empty_list_body_c": "如果没有发生,请查看后端日志。",
- "search_no_hits": "没有匹配项。换个关键词试试,或移除筛选条件。"
+ "search_no_hits": "没有匹配项。换个关键词试试,或移除筛选条件。",
+ "resource_references": "参考资料",
+ "resource_scripts": "脚本",
+ "resource_assets": "资源文件",
+ "resource_agents": "智能体",
+ "password_placeholder": "密码",
+ "link_homepage": "主页",
+ "link_source": "源码",
+ "link_docs": "文档",
+ "link_not_checked": "未检查",
+ "link_no_network": "无网络",
+ "select_hint": "内置技能受保护,无法选择。",
+ "selected_count": "已选择 {count} 个"
},
"run_inspector": {
"title": "运行检查器",
@@ -1633,7 +1827,10 @@
"empty": "此轮次没有运行工具。",
"command": "命令",
"output": "结果",
- "error": "错误"
+ "error": "错误",
+ "exit_code": "退出码 {code}",
+ "ok": "成功",
+ "fail": "失败"
},
"facts": {
"endpoint": "端点",
@@ -1643,7 +1840,8 @@
"interrupted": "已打断",
"context": "上下文",
"turns": "轮次",
- "tokens": "Token"
+ "tokens": "Token",
+ "yes": "是"
},
"env": {
"mode": "模式",
@@ -1656,7 +1854,31 @@
"tiers": "层级",
"voices": "音色",
"audio": "音频",
- "empty": "没有记录环境信息。"
+ "empty": "没有记录环境信息。",
+ "audio_rates": "输入 {input} Hz · 输出 {output} Hz"
+ },
+ "feature_computer_use": "电脑操控",
+ "feature_skill": "技能",
+ "outcome": {
+ "success": "成功",
+ "partial": "部分成功",
+ "failed": "失败"
+ },
+ "turn": "轮次",
+ "user": "用户",
+ "thinking": "思考",
+ "speaking": "说话",
+ "slow": "慢",
+ "errors_count": "个错误",
+ "role": {
+ "spoken": "已朗读",
+ "system": "系统",
+ "tool": "工具",
+ "error": "错误"
+ },
+ "slo": {
+ "breach": "超标",
+ "warn": "警告"
}
},
"voice_mode": {
@@ -1808,6 +2030,16 @@
"connected": "已连接",
"disconnected": "未连接",
"error": "错误"
+ },
+ "json_syntax": "JSON 语法",
+ "import_note": {
+ "appdata_missing": "未设置 APPDATA 变量。",
+ "config_not_found": "在 {path} 未找到 Claude Desktop 配置。",
+ "invalid_json": "配置不是有效的 JSON(第 {line} 行,第 {column} 列)。",
+ "not_readable": "无法读取配置。详情见 Dodaios 日志。",
+ "no_servers": "Claude Desktop 配置中未找到 mcpServers。",
+ "imported": "已导入 {added} 个新服务器。",
+ "imported_with_skipped": "已导入 {added} 个新服务器,跳过 {skipped} 个(已存在)。"
}
},
"shortcuts_view": {
@@ -2034,7 +2266,8 @@
"jarvis_suffix": "由 {name} 说出",
"talk_line": "活跃 {0} 小时 · {1} 次对话",
"streak": "最佳连续 {0} 天"
- }
+ },
+ "tweet_text": "我已在 {sessions} 次对话中对我的 {product} 说了 {words} 个词——共 {hours} 小时语音。打造你自己的:"
},
"export": {
"button": "导出 CSV",
@@ -2361,7 +2594,8 @@
"autonomy": "自主",
"impact": "影响力"
}
- }
+ },
+ "system_not_ready": "个人资料系统尚未就绪。"
},
"apikeys_view": {
"title": "API 密钥与服务商",
@@ -2650,7 +2884,19 @@
"experimental_note": "Beta:此服务商尚未完成,使用的是不稳定的协议,可能随时变更。如果无法启动,通话会停止。",
"experimental_consent": "开启前请注意:此服务商仍是 Beta 版,使用的是实验性、不稳定的路线,可能随时变更。如果它失效,通话会停止,而不会自行切换到其他服务商。要继续吗?",
"key_verified_toast": "{0} 已响应,密钥有效。",
- "key_check_failed_toast": "{0} 没有响应:{1}"
+ "key_check_failed_toast": "{0} 没有响应:{1}",
+ "delete_key_named": "删除 {key}",
+ "enter_key_named": "输入 {key}",
+ "install_failed_fallback": "安装失败",
+ "model_download_failed_fallback": "模型下载失败",
+ "key_format_api_key": "{provider} API 密钥",
+ "key_format_vertex_sa": "Vertex AI 服务账号",
+ "key_format_vertex_sa_note": "这是 Vertex AI 服务账号文件,不是 AI Studio 密钥——它按另一个 Google Cloud 项目计费。",
+ "key_format_aistudio": "Google AI Studio 密钥",
+ "key_format_aistudio_note": "此格式适用于 Google AI Studio。Vertex AI 会拒绝它——Vertex 只接受快速模式密钥(AQ.)或通过 [google].vertex_project 指定的 Cloud 项目。",
+ "key_format_google_express": "Google API 密钥(AI Studio 或 Vertex 快速模式)",
+ "key_format_google_express_note": "AI Studio 和 Vertex AI 快速模式密钥共用此格式——保存到哪张卡片决定了使用哪个端点;对于 Gemini 卡片,Dodaios 会自动识别。",
+ "key_format_unknown": "无法识别的密钥格式"
},
"apikeys_test": {
"button": "测试",
@@ -2665,7 +2911,8 @@
"status_error": "集成错误",
"integration_ok_note": "已成功连接服务商,问题只出在密钥、账户或模型上。",
"integration_bad_note": "无法连接服务商。",
- "failed": "测试失败"
+ "failed": "测试失败",
+ "client_timeout": "80 秒内应用没有响应——后端可能正忙或已卡住。"
},
"apikeys_base_url": {
"label": "服务器 URL",
@@ -3031,7 +3278,38 @@
"download_model_downloading": "正在下载唤醒模型…",
"download_model_done": "唤醒模型已下载,正在重新保存你的唤醒词…",
"download_model_error": "无法下载唤醒模型。请检查网络连接后重试。",
- "download_model_retry": "重试"
+ "download_model_retry": "重试",
+ "diag_engine": "引擎:{engine}",
+ "diag_language": "语言:{language}",
+ "diag_not_in_vocab": "不在词汇表中",
+ "diag_mic_quiet": "麦克风音量过低",
+ "msg": {
+ "custom_onnx": "自定义 ONNX 唤醒模型:{path}",
+ "vosk_kws": "Vosk 任意词关键词识别:“{phrase}”(模型:{model})。",
+ "custom_onnx_missing": "未找到自定义 ONNX({path});改用本地 Whisper 转写匹配。",
+ "custom_onnx_other_phrase": "自定义唤醒模型“{model_file}”属于另一个短语;“{phrase}”使用本地 Whisper 转写匹配。",
+ "stt_match_unreliable": "自定义短语“{phrase}”使用本地 Whisper 转写匹配——对于难读的名字这并不可靠。下载 {language} 的 Vosk 模型即可变得可靠(设置 -> 唤醒词 ->“下载唤醒模型”)。",
+ "stt_match_unreliable_any_language": "自定义短语“{phrase}”使用本地 Whisper 转写匹配——对于难读的名字这并不可靠。下载所配置语言的 Vosk 模型即可变得可靠(设置 -> 唤醒词 ->“下载唤醒模型”)。",
+ "needs_local_model": "唤醒词“{phrase}”需要本地模型。安装本地语音包(适用于任何词)或提供自定义 .onnx 即可启用。在此之前唤醒词保持关闭——请用“通话”快捷键开始语音对话。",
+ "needs_local_model_no_phrase": "你的唤醒词需要本地模型。安装本地语音包(适用于任何词)或提供自定义 .onnx 即可启用。在此之前唤醒词保持关闭——请用“通话”快捷键开始语音对话。",
+ "no_phrase": "尚未设置唤醒词。",
+ "not_in_vocab": "“{phrase}”不在 {language} 模型的词汇表中。",
+ "no_microphone": "未检测到麦克风。",
+ "mic_quiet": "麦克风信号非常弱。",
+ "ready": "已就绪:“{phrase}”,引擎“{engine}”(语言“{language}”)。说出它即可唤醒。",
+ "activation_not_persisted": "无法将设置保存到 jarvis.toml。详情见 Dodaios 日志。",
+ "model_ready": "唤醒模型已就绪。",
+ "model_download_failed": "暂时无法下载唤醒模型,系统会自动重试。在此之前唤醒词使用备用方式。"
+ },
+ "hint": {
+ "type_phrase": "请先输入唤醒短语。",
+ "download_or_hotkey": "下载本地模型,或使用快捷键。",
+ "pick_real_word": "请选择你所用语言中的真实词语,或换一个短语。",
+ "connect_mic": "请连接或启用麦克风。",
+ "speak_louder": "请大声一点,或提高输入增益。",
+ "allow_mic_dialog": "按下测试按钮,并在 macOS 对话框中选择“允许”。",
+ "allow_mic_settings": "请在 {path} 中允许麦克风访问,然后重试。"
+ }
},
"onboarding": {
"wake_word": {
@@ -3174,7 +3452,21 @@
"reserved": "由系统保留"
},
"dictate_toggle_label": "免提听写",
- "caution_overlap": "它包含在另一个快捷键中,所以按下较长的那个会同时触发两者。如果这不是你想要的,请清除其中一个。"
+ "caution_overlap": "它包含在另一个快捷键中,所以按下较长的那个会同时触发两者。如果这不是你想要的,请清除其中一个。",
+ "mouse": {
+ "middle_click": "鼠标中键",
+ "back_combo": "鼠标后退键",
+ "forward_combo": "鼠标前进键",
+ "middle": "中键",
+ "back": "后退",
+ "forward": "前进"
+ },
+ "mouse_reason": {
+ "macos_needs_quartz": "鼠标按键快捷键需要 pyobjc Quartz 包,但它尚未安装——请安装 [full] 配置。组合键仍然可用。",
+ "wayland": "Wayland 不允许应用全局监听鼠标按键,因此鼠标按键快捷键在这里无法使用。请使用组合键,或将合成器快捷键绑定到 Dodaios CLI。",
+ "linux_needs_pynput": "鼠标按键快捷键需要 pynput 包,但它尚未安装——请安装 [desktop-linux] 扩展。组合键仍然可用。",
+ "unsupported_host": "此系统无法全局监听鼠标按键——请改用组合键。"
+ }
},
"codex_title": "OpenAI Codex CLI",
"codex_description": "用于解决 Windows PATH 问题的手动路径。留空则使用 PATH 中的“codex”。",
@@ -3188,7 +3480,8 @@
"system": "跟随系统",
"system_now_dark": "正在跟随系统,当前为深色。",
"system_now_light": "正在跟随系统,当前为浅色。"
- }
+ },
+ "invalid_setting": "设置无效"
},
"telephony_view": {
"title": "电话(实验性)",
@@ -3262,7 +3555,8 @@
"completed": "已完成",
"failed": "失败",
"no_audio": "无音频"
- }
+ },
+ "copy_command": "复制命令"
},
"telephony_setup": {
"title": "电话设置",
@@ -3340,7 +3634,8 @@
"exit_fullscreen": "关闭阅读器",
"csv_empty": "此表格为空。",
"csv_more_rows": "文件中还有 {n} 行。",
- "reveal_in_folder": "在文件夹中显示"
+ "reveal_in_folder": "在文件夹中显示",
+ "fence_table": "表格"
},
"common": {
"see_more": "展开",
@@ -3365,7 +3660,11 @@
"running": "运行中",
"saving": "正在保存…",
"error": "错误",
- "status": "状态"
+ "status": "状态",
+ "repeated_times": "重复 {count} 次",
+ "dismiss": "关闭",
+ "apply": "应用",
+ "request_failed": "请求失败({status})"
},
"docs": {
"search_placeholder": "按标题/标签筛选…",
@@ -3381,7 +3680,9 @@
"could_not_load": "无法加载文档。",
"recent": "最近",
"search_button": "搜索文档",
- "search_hero": "搜索文档"
+ "search_hero": "搜索文档",
+ "section_other": "其他",
+ "breadcrumb": "导航路径"
},
"sessions": {
"select_one": "请在左侧选择一个会话。",
@@ -3391,7 +3692,12 @@
"provider_switcher": {
"loading_hint": "正在加载服务商列表;如果一直为空,请检查后端。",
"no_credential": "无凭据",
- "active": "当前使用"
+ "active": "当前使用",
+ "switched_toast": "大脑 → {provider}",
+ "active_brain": "当前大脑",
+ "switching": "正在切换…",
+ "name_local_realtime": "自托管实时语音",
+ "name_local_voice": "本地语音"
},
"wiki_provider": {
"tier_label": "知识库(长期记忆)",
@@ -3483,7 +3789,14 @@
"needs_key_full": "{0}:请先保存 API 密钥,然后再启用。",
"runs_as_subagent_hint": "Codex 会作为{name}-Agent(后台工作者)使用你的 ChatGPT 登录运行。连接后,请在下方的{name}-Agent 列表中启用它。用作思考大脑则需要单独的 OpenAI API 密钥服务商。",
"brain_needs_openai_key": "把 Codex 用作大脑需要 OpenAI API 密钥,ChatGPT 登录只能驱动 Codex 工作者。请添加一个 OpenAI 密钥(例如在 OpenAI 服务商中),然后在这里选择 Codex。",
- "brain_key_hint": "如果也想把 Codex 用作大脑,请添加 OpenAI API 密钥(付费,与只驱动工作者的 ChatGPT 登录分开)。保存后即可解锁上方的大脑开关。"
+ "brain_key_hint": "如果也想把 Codex 用作大脑,请添加 OpenAI API 密钥(付费,与只驱动工作者的 ChatGPT 登录分开)。保存后即可解锁上方的大脑开关。",
+ "status_msg": {
+ "not_installed": "未安装 Codex CLI(运行:{command})。",
+ "not_logged_in": "Codex 已安装但尚未登录——请运行“codex login”。",
+ "connected_chatgpt": "已通过 ChatGPT 连接。",
+ "connected_chatgpt_email": "已通过 ChatGPT 连接({email})。",
+ "connected_api_key": "已通过 OpenAI API 密钥连接。"
+ }
},
"apikeys_antigravity": {
"login_started": "已在终端中开始 Google 登录",
@@ -3491,10 +3804,21 @@
"status_loading": "正在加载 Google 登录状态",
"connected": "已通过你的 Google 订阅连接。",
"connected_as": "已通过 Google 连接({0})。",
- "needs_login_full": "{0}:请先使用 Google 登录,然后再启用。"
+ "needs_login_full": "{0}:请先使用 Google 登录,然后再启用。",
+ "connect_google": "使用 Google 连接",
+ "install_antigravity": "安装 Antigravity",
+ "status_msg": {
+ "not_installed": "未找到 Google CLI。请使用以下命令安装 Antigravity:{command}(Gemini CLI 替代方案:npm i -g @google/gemini-cli)。",
+ "not_logged_in": "{cli} 已安装但尚未登录——请进行 Google 登录。",
+ "connected_subscription": "已通过 Google 订阅连接。",
+ "connected_subscription_email": "已通过 Google 订阅连接({email})。",
+ "connected_api_key": "已通过 Google API 密钥连接。"
+ }
},
"mcps_toast": {
- "connected": "{0} 已连接"
+ "connected": "{0} 已连接",
+ "disconnected": "{0} 已断开",
+ "removed": "已移除 {server}"
},
"profile_toast": {
"fact_applied": "已应用 {0} 条事实"
@@ -3544,13 +3868,18 @@
"zh": {
"label": "中文",
"description": "所有标签和按钮都使用简体中文。"
+ },
+ "pt": {
+ "label": "Português (Portugal)",
+ "description": "所有标签和按钮都使用欧洲葡萄牙语。"
}
},
"reply_options": {
"auto": "{name}会使用你说或输入的语言。",
"en": "{name} answers in English.",
"de": "{name} antwortet auf Deutsch.",
- "es": "{name} responde en español."
+ "es": "{name} responde en español.",
+ "pt": "{name} responde em português."
},
"stt_options": {
"auto": "自动检测你说的语言。",
@@ -3614,7 +3943,9 @@
"last_pull": "上次拉取",
"pull_every": "拉取间隔",
"time_just_now": "刚刚",
- "time_ago_prefix": ""
+ "time_ago_prefix": "",
+ "no_source": "无来源",
+ "jarvis_federation": "Dodaios 联邦"
},
"pair_dialog": {
"title": "配对好友",
@@ -3673,7 +4004,8 @@
"opened_in_editor": "已在编辑器中打开",
"open_failed": "无法在编辑器中打开",
"back_to_sessions": "返回会话",
- "you": "你"
+ "you": "你",
+ "format_text": "文本"
},
"turn_card": {
"turn": "轮次",
@@ -3685,7 +4017,29 @@
"copy": "复制",
"download_turn": "将此轮下载为文件",
"thought": "思考:",
- "spoke": "说出:"
+ "spoke": "说出:",
+ "kind_reply": "回复",
+ "kind_clarify": "澄清问题",
+ "kind_timeout": "超时提示",
+ "kind_unavailable": "Brain 不可用",
+ "kind_stt_unavailable": "没听清你说的话",
+ "kind_privacy": "隐私",
+ "kind_completion": "后台结果",
+ "kind_subagent": "{agent} / 输出",
+ "kind_action_done": "操作已确认",
+ "kind_backchannel": "附和回应",
+ "kind_announcement": "通知",
+ "kind_preamble": "开场白",
+ "kind_progress": "进度更新",
+ "kind_withheld": "回答已保留(安全)",
+ "kind_other": "已朗读",
+ "tools_label": "工具:",
+ "voice_requested_title": "请求的语音(原生音频不是经过验证的说话人):{voice}",
+ "voice_title": "语音:{voice}",
+ "voice_requested": "已请求",
+ "awaiting_confirmation": "等待确认",
+ "awaiting_confirmation_prefix": "(等待确认)",
+ "spoken_output": "语音输出"
},
"wiki_search": {
"dialog_label": "知识库搜索",
@@ -3734,7 +4088,14 @@
},
"page_header": {
"placeholder_title": "由 Agent D 提供",
- "open_in_obsidian": "在 Obsidian 中打开"
+ "open_in_obsidian": "在 Obsidian 中打开",
+ "field_type": "类型",
+ "field_kind": "种类",
+ "field_status": "状态",
+ "field_created": "创建于",
+ "field_updated": "更新于",
+ "field_started": "开始于",
+ "field_last_activity": "最近活动"
},
"obsidian_button": {
"trigger_failed": "无法触发 Obsidian 链接",
@@ -3871,23 +4232,40 @@
"cancel_all_body": "个运行中的行动将被强制停止。工作子进程会通过 Job Object 终止;已写入的差异会保留在工作树中。",
"error_prefix": "错误",
"stopping": "正在停止…",
- "confirm_stop_all": "是,全部停止"
+ "confirm_stop_all": "是,全部停止",
+ "kill_all": "全部终止({count})"
},
"mission_tree": {
"no_prompt": "(无提示词)",
- "empty": "还没有行动。主助手很快就会派发一个…"
+ "empty": "还没有行动。主助手很快就会派发一个…",
+ "unknown_prompt": "(未知)"
},
"pty_terminal": {
"stream_unreachable": "无法访问 PTY 流。",
"stream_disconnected": "流已断开",
"connect_failed": "PTY 连接失败",
- "connecting": "正在连接…"
+ "connecting": "正在连接…",
+ "worker_label": "worker {id}",
+ "status_offline": "离线",
+ "status_live": "在线",
+ "close_code": "(代码 {code})"
},
"event_timeline": {
"empty": "此行动还没有事件。"
},
"verdict_panel": {
- "empty": "此行动还没有评审结论。"
+ "empty": "此行动还没有评审结论。",
+ "verdict_approve": "批准",
+ "verdict_revise": "修改",
+ "verdict_reject": "拒绝",
+ "iteration": "第 {n} 轮",
+ "axis_correctness": "正确性",
+ "axis_completeness": "完整性",
+ "axis_side_effects": "副作用",
+ "axis_security": "安全性",
+ "axis_pass": "通过",
+ "axis_fail": "未通过",
+ "confidence": "置信度"
},
"jarvis_agent_panel": {
"select_mission": "选择一个行动以查看{name}-Agent 工作者。",
@@ -3895,7 +4273,11 @@
"not_available": "(不可用)",
"copy_path": "复制路径",
"file_link_copies_path": "file:// 链接(会复制路径)",
- "ended_label": "已结束"
+ "ended_label": "已结束",
+ "unknown_model": "(未知模型)",
+ "cost": "费用",
+ "state_dir": "状态目录",
+ "log_file": "日志文件"
},
"clis_view": {
"status_connected": "已连接",
@@ -4038,7 +4420,13 @@
"clear": "清除",
"search_command": "搜索命令…",
"success_only": "仅显示成功",
- "usage_stats": "{total} 次调用 · {rate}% 成功 · ⌀ {avg} ms"
+ "usage_stats": "{total} 次调用 · {rate}% 成功 · ⌀ {avg} ms",
+ "col_version": "版本",
+ "fact_binary": "可执行文件",
+ "cmd_check": "检查",
+ "cmd_login": "登录",
+ "cmd_logout": "退出登录",
+ "category_placeholder": "cloud / git / 支付 / 其他"
},
"cli_test_hub_view": {
"subtitle_tell": "用日常语言告诉",
@@ -4100,7 +4488,10 @@
"twilio": "列出我的 Twilio 电话号码",
"vercel": "列出我最近的 Vercel 部署",
"wrangler": "列出我的 Cloudflare Workers"
- }
+ },
+ "meta_tool": "工具",
+ "exit_label": "退出码",
+ "step_exit": "退出码 {code}"
},
"workflows_view": {
"subtitle": "你托管的 AI 智能体流水线:按 cron 定时触发,或一键运行。",
@@ -4142,7 +4533,23 @@
"now": "现在",
"ago_suffix": "前",
"run_missed": "已错过",
- "run_missed_hint": "计划时间应用未在运行,已跳到下一次。"
+ "run_missed_hint": "计划时间应用未在运行,已跳到下一次。",
+ "title": "工作流",
+ "step_tool": "工具",
+ "seed_badge": "示例",
+ "step_count_one": "{count} 个步骤",
+ "step_count_other": "{count} 个步骤",
+ "steps_heading": "步骤({count})",
+ "trigger_manual": "手动",
+ "next_in": "{delta} 后运行",
+ "run_state_completed": "已完成",
+ "run_state_failed": "失败",
+ "run_state_running": "运行中",
+ "run_state_pending": "等待中",
+ "trigger_cron": "定时",
+ "trigger_event": "事件",
+ "trigger_interval": "间隔",
+ "trigger_webhook": "Webhook"
},
"conductor_view": {
"new_job": "新建作业",
@@ -4158,7 +4565,19 @@
"empty_jobs_hint": "首次启动时会预置 3 个演示作业。",
"empty_timeline": "还没有运行记录,点击某个作业上的播放按钮。",
"json_syntax_error": "JSON 语法错误",
- "now": "现在"
+ "now": "现在",
+ "title": "Conductor",
+ "subtitle": "计划任务 + 智能体工作流——开源、自托管、代码优先。",
+ "jobs": "任务",
+ "timeline": "时间线",
+ "type_shell": "Shell",
+ "type_http": "HTTP",
+ "type_agent": "智能体",
+ "exit_code": "退出码 {code}",
+ "output": "输出",
+ "metrics": "指标",
+ "schedule_label": "计划:",
+ "example_description": "每 5 分钟 ping 一次 API 端点。"
},
"chat_tab": {
"loading_friends": "正在加载好友…",
@@ -4182,7 +4601,8 @@
"profile_standard_subline": "+ 行动标题",
"profile_standard_desc": "好友还可见:当前正在运行的行动/任务、是否成功、时长。",
"profile_detailed_subline": "+ {name}-Agent 摘要",
- "profile_detailed_desc": "好友还可见:已签名的 {name}-Agent 摘要(不含话语)。"
+ "profile_detailed_desc": "好友还可见:已签名的 {name}-Agent 摘要(不含话语)。",
+ "default_badge": "默认"
},
"tools_canvas": {
"back_tooltip": "返回智能体总览",
@@ -4191,7 +4611,9 @@
"duration": "时长",
"empty": "(空)",
"no_tools_yet": "尚未调用任何工具。",
- "no_tools_explainer": "一旦 {name}-Agent 工作者触发工具(例如 dispatch_to_harness、run_shell、screenshot),它就会以图标节点的形式出现在这里。"
+ "no_tools_explainer": "一旦 {name}-Agent 工作者触发工具(例如 dispatch_to_harness、run_shell、screenshot),它就会以图标节点的形式出现在这里。",
+ "arguments": "参数",
+ "output": "输出"
},
"use_web_socket": {
"jarvis_opened": "{name} 已打开",
@@ -4199,7 +4621,20 @@
"prompt_not_submitted": "提示词在输入框中,尚未发送",
"prompt_unconfirmed": "提示词已输入,但窗格未显示已收到——请检查该窗格",
"dictation_nowhere": "没有文本框处于焦点,因此听写内容未插入。它保存在听写历史中。",
- "realtime_provider_issue": "实时服务商报告了一个问题。"
+ "realtime_provider_issue": "实时服务商报告了一个问题。",
+ "achievement_toast": "成就:{title}",
+ "achievement_title": {
+ "first_mcp": "首次 MCP 连接",
+ "openclaw_summoner": "智能体召唤师",
+ "tool_dabbler": "工具新手",
+ "tool_journeyman": "工具熟手",
+ "tool_master": "工具大师",
+ "triple_combo": "三连击",
+ "ten_x_engineer": "10 倍工程师",
+ "centennial": "百次达成",
+ "kilo_club": "千次俱乐部",
+ "one_year_with_jarvis": "与 Dodaios 相伴一年"
+ }
},
"chat_thread": {
"message_to": "发消息给",
@@ -4222,13 +4657,19 @@
"label_pubkey": "Dodaios 公钥(十六进制)",
"telegram_id_placeholder": "例如 123456789",
"pubkey_placeholder": "例如 4f3c2b…",
- "submit": "添加"
+ "submit": "添加",
+ "mode_pair_link": "配对链接",
+ "label_display_name": "显示名称"
},
"permission_matrix": {
"subline_minimal": "仅在线/离线",
"subline_standard": "+ 行动标题",
"subline_detailed": "+ {name}-Agent 摘要",
- "aria_label": "共享配置"
+ "aria_label": "共享配置",
+ "profile_minimal": "最少",
+ "profile_standard": "标准",
+ "profile_detailed": "详细",
+ "subline_detailed_agent": "+ {agent} 摘要"
},
"self_mod_view": {
"all_actors": "所有执行者",
@@ -4237,7 +4678,29 @@
"sensitive_path_notice": "敏感路径——值已在服务器端隐去(Plan §AP-2)。",
"intro_a": "审计记录、可修改设置和备份的只读视图。",
"intro_b": "修改只能通过语音/对话进行——此视图只显示",
- "intro_c": "对自身做了哪些更改。"
+ "intro_c": "对自身做了哪些更改。",
+ "value_redacted": "值已隐藏(计划 §AP-2 纵深防御)",
+ "actor_user": "用户",
+ "actor_system": "系统",
+ "col_timestamp": "时间戳",
+ "col_actor": "执行者",
+ "col_path": "路径",
+ "col_old_new": "旧 → 新",
+ "col_outcome": "结果",
+ "outcome_ok": "成功",
+ "outcome_rolled_back": "已回滚",
+ "outcome_fail": "失败",
+ "audit_event": "审计事件",
+ "risk_safe": "安全",
+ "risk_ask": "需询问",
+ "needs_restart": "需重启",
+ "col_filename": "文件名",
+ "col_size": "大小",
+ "col_age": "时长",
+ "title": "自我修改",
+ "tab_history": "历史",
+ "tab_mutable": "设置",
+ "tab_backups": "备份"
},
"wiki_view": {
"page_not_found": "未找到页面",
@@ -4410,7 +4873,12 @@
"paid_cap_reached": "已达到为 {provider} 批准的费用上限。",
"paid_daily_cap_reached": "{provider} 的自动付费使用已达到每日上限。",
"paid_consent_revoked": "{provider} 的自动付费使用已关闭。"
- }
+ },
+ "total_count": "共 {count} 个",
+ "tab_verdicts": "评审结论",
+ "tab_reasoning": "推理",
+ "tab_plan": "计划",
+ "step_n": "第 {n} 步"
},
"mission_tool_approvals": {
"tab_label": "审批",
@@ -4487,7 +4955,8 @@
"empty_prompt": "描述你的需求——搜索会用 AI 排序。",
"example_1": "“做一个帮我给邮件排优先级的技能”",
"example_2": "“简化 Git 工作流”",
- "example_3": "“PDF 转结构化 Markdown”"
+ "example_3": "“PDF 转结构化 Markdown”",
+ "score": "得分"
},
"missions": {
"state_critiquing": "评审中",
@@ -4507,7 +4976,57 @@
"mascot_gigi": {
"aria_label": "{name} 吉祥物 Gigi",
"back_online": "重新上线了!",
- "connection_lost": "连接已断开…"
+ "connection_lost": "连接已断开…",
+ "idle": {
+ "hm": "嗯 …",
+ "all_quiet": "一切安静。",
+ "still_there": "还在吗?",
+ "whats_up": "在忙什么?",
+ "watching": "我在看着你哦。",
+ "focused": "很专注嘛?",
+ "take_break": "休息一下吧。",
+ "cool_work": "今天在做什么酷的东西吗?",
+ "bit_boring": "现在有点无聊。",
+ "good_ears": "我耳朵很灵,需要什么尽管说。"
+ },
+ "section": {
+ "chats_ready": "你准备好我就准备好了。",
+ "chats_listening": "我在听。",
+ "chats_say_something": "说点什么吧。",
+ "chats_type_or_talk": "打字或说话都行。",
+ "agents_colleagues": "这些智能体都是我的同事。",
+ "agents_favourite": "你最喜欢哪个?",
+ "skills_favourite": "技能是我最喜欢的功能。",
+ "skills_learn": "我们学点什么?",
+ "mcps_power": "更多 MCP = 更强大。",
+ "mcps_add": "我们加点什么?",
+ "languages_speak": "我会说你的语言。",
+ "languages_switch": "想换语言?说一声就行。",
+ "apikeys_careful": "保管好你的密钥。",
+ "apikeys_no_git": "别提交到 git!",
+ "settings_bother": "哪里不顺心?",
+ "settings_tweak": "要调整点什么吗?"
+ },
+ "voice": {
+ "listening_1": "我在听!",
+ "listening_2": "说吧。",
+ "listening_3": "嗯?",
+ "thinking_1": "让我想想 …",
+ "thinking_2": "稍等。",
+ "thinking_3": "嗯 …",
+ "speaking_1": "轮到我说了。",
+ "speaking_2": "听我说一下。",
+ "error_1": "哎呀。",
+ "error_2": "糟糕。",
+ "error_3": "不是我干的!"
+ },
+ "time": {
+ "morning_1": "早上好!",
+ "morning_2": "起床啦。",
+ "night_1": "还没睡?",
+ "night_2": "很晚了。",
+ "night_3": "睡够了吗?"
+ }
},
"agents_view": {
"subtitle": "正在运行的 {name}-Agent——角色、状态、输出。",
@@ -4517,7 +5036,10 @@
"phase4_notice": "随第 4 阶段(Harness 集成)启用。"
},
"friends_view": {
- "subtitle": "Telegram 机器人 + 本地好友名册。好友能看到什么由你决定。"
+ "subtitle": "Telegram 机器人 + 本地好友名册。好友能看到什么由你决定。",
+ "title": "好友",
+ "tab_chat": "聊天",
+ "tab_status": "状态"
},
"feedback": {
"subtitle": "报告 bug 或提出功能建议——都会直接发到 GitHub。",
@@ -4574,7 +5096,22 @@
"open_workspaces": "打开的工作区",
"workspace_summary_one": "{workspace},工作区 {index},1 个终端",
"workspace_summary_many": "{workspace},工作区 {index},{count} 个终端",
- "new_workspace": "新建工作区"
+ "new_workspace": "新建工作区",
+ "drop_title": "{folder}——将截图或文档拖到这里即可发送到此工作区",
+ "reorder_title": "{folder}——拖动以重新排序",
+ "rename": "重命名 {workspace}",
+ "rename_save": "保存 {workspace} 的名称",
+ "rename_cancel": "取消重命名",
+ "close_confirm_aria": "确认关闭 {workspace}",
+ "close_stop": "关闭并停止 {count} 个",
+ "keep_aria": "保持此工作区打开",
+ "keep": "保留",
+ "close": "关闭 {workspace}",
+ "close_title": "关闭 {workspace} 并停止其智能体",
+ "full": "已打开 {count} 个工作区——请先关闭一个。",
+ "add_title": "在单独的工作区中打开另一个文件夹",
+ "terminals_open_one": "{count} 个终端已打开",
+ "terminals_open_other": "{count} 个终端已打开"
},
"custom_cli": {
"title_add": "添加你自己的 CLI",
@@ -4606,11 +5143,7 @@
"gone": "该 CLI 已不在列表中。",
"add_title": "你自己的 CLI",
"add_hint": "列表里没有?用启动命令添加任意终端 CLI。",
- "add_button": "添加 CLI",
- "logo_label": "图标",
- "optional": "可选",
- "remove_logo_short": "移除",
- "save_add": "添加 CLI"
+ "add_button": "添加 CLI"
},
"workspace_launcher": {
"wizard": {
@@ -4770,6 +5303,52 @@
"count_for": "{0} 的终端数量",
"increase": "增加一个 {0} 终端",
"auto_names": "终端名称会自动分配。打开后,你可以在每个终端的标题栏中重命名。"
+ },
+ "agent_setup": {
+ "agents_aria": "编程智能体",
+ "agent": "智能体",
+ "choose_all": "为所有会话选择",
+ "editing": "正在编辑会话 {number}",
+ "all_sessions": "所有会话",
+ "none": "没有可用的编程智能体。请在 CLIs 中连接一个编程智能体后继续。",
+ "count_aria": "会话数量",
+ "how_many": "多少个会话?",
+ "sessions_one": "{count} 个会话",
+ "sessions_other": "{count} 个会话",
+ "more": "更多",
+ "add_more": "随时可以添加更多",
+ "opens_as": "以 {columns} × {rows} 打开",
+ "lineup_aria": "会话阵容",
+ "will_launch": "将启动",
+ "click_hint": "点击会话以选择其他智能体",
+ "choose_agent": "选择智能体",
+ "edit_session": "编辑会话 {number}:{agent}"
+ },
+ "run_on": {
+ "online": "此电脑关机时仍继续运行",
+ "unknown": "尚未检查",
+ "offline": "当前无法访问",
+ "auto": "自动",
+ "auto_detail": "按份额选择此电脑或某台计算机",
+ "local": "此计算机",
+ "local_detail": "此电脑睡眠或关机时停止",
+ "label": "运行于",
+ "copy_note": "文件夹会先复制到 {computer},包括未提交的更改。.env 和私钥等文件会留在此电脑上。编程 CLI 必须已安装在那里。",
+ "none_hint": "想让智能体在此电脑关机时继续工作吗?",
+ "connect_server": "连接服务器"
+ },
+ "shape": {
+ "exact_count": "精确数量 · 输入数字",
+ "one_fewer": "少用一个终端",
+ "one_more": "多用一个终端",
+ "count_aria": "终端数量",
+ "use_n": "使用 {count} 个终端",
+ "all_on_screen": "全部在一个屏幕上。",
+ "columns_narrow": "全部在一个屏幕上,每个约 {columns} 列——对智能体输出来说偏窄。在文字大小 {size} 下,此窗口可舒适地横排 {affordable} 个;最大化窗格即可全尺寸阅读。",
+ "columns_each": "全部在一个屏幕上,每个约 {columns} 列。",
+ "px_each": "全部在一个屏幕上,每个约 {px} px。",
+ "px_narrow": "全部在一个屏幕上,每个约 {px} px——对智能体输出来说偏窄。最大化窗格即可全尺寸阅读。",
+ "across": "横排 {columns} 个"
}
},
"agent_accounts": {
@@ -4826,6 +5405,17 @@
"fallback": "改用终端窗口",
"cancel": "取消登录",
"show_cli": "显示 CLI 输出的内容"
+ },
+ "workspace": {
+ "toast_switched": "新的 {agent} 终端将使用 {account}。",
+ "chip_title": "新的 {agent} 终端将以 {account} 打开。已在运行的窗格保持不变。点击切换。",
+ "chip_aria": "切换新终端使用的 {agent} 订阅",
+ "open_title": "工作区设置——选择新终端使用的订阅",
+ "title": "工作区设置",
+ "description": "连接同一编程 CLI 的多个订阅,并选择由哪个订阅驱动新的智能体终端。",
+ "close": "关闭设置",
+ "new_terminals": "新终端",
+ "note": "切换会应用于此后打开的每个终端,包括拆分出的终端——现有窗格保留启动时的账号,因此运行中的智能体不会丢失对话。只有在工作区向导中特意选择了订阅的窗格,拆分时才会沿用该选择。"
}
},
"ide_chats": {
@@ -5068,6 +5658,73 @@
"no_target": "附加文件前,请先打开或选择一个智能体终端。",
"choose": "选择文件",
"remove": "移除这条待用上下文"
+ },
+ "view_buttons": {
+ "grid_title": "终端网格——所有窗格同时显示在屏幕上。",
+ "chat_title": "对话视图——一次阅读一个智能体,就像一段对话。"
+ },
+ "focus_mode": {
+ "on_title": "专注编程模式已开启——你的助手在此工作区内回答。点击退出。",
+ "off_title": "开启专注编程模式——在你切换回来之前,你的助手都在此工作区内回答。"
+ },
+ "close_workspace": {
+ "aria": "关闭工作区",
+ "title": "关闭工作区并停止其中的所有智能体",
+ "confirm_title": "关闭此工作区?",
+ "confirm_body_one": "这会停止这 {count} 个编程智能体并关闭所有终端会话。已写入磁盘的内容会保留。",
+ "confirm_body_other": "这会停止全部 {count} 个编程智能体并关闭所有终端会话。已写入磁盘的内容会保留。",
+ "keep": "保持工作区打开",
+ "confirm": "关闭工作区"
+ },
+ "empty_workspace": {
+ "all_closed": "此工作区中的所有终端都已关闭。",
+ "open_terminal": "打开终端",
+ "picker_title": "打开终端——运行什么?",
+ "picker_aria": "新终端中应运行什么?"
+ },
+ "close_pane": {
+ "aria": "关闭 {pane}",
+ "title": "关闭 {pane}?",
+ "body": "此终端中运行的编程智能体会被停止,其会话也会消失。它已写入磁盘的内容会保留。",
+ "keep": "保持打开",
+ "confirm": "关闭 {pane}"
+ },
+ "pane": {
+ "copy_unavailable": "无法在此电脑上复制终端选区。",
+ "paste_unavailable": "无法在此电脑上读取剪贴板。",
+ "ready_reattached": "仍在运行——从你离开的地方继续",
+ "ready_resumed": "已继续之前的对话",
+ "ready_fresh": "已开始新的对话",
+ "drop_empty": "拖放的内容中没有此窗格可用的文件。",
+ "starting": "正在启动 {agent}…",
+ "attaching": "正在附加到 {pane}…",
+ "drop_hint_before": "放下即可交给 ",
+ "drop_hint_after": "",
+ "tip_drag": "拖动此栏即可移动 {pane}。",
+ "tip_restore": "双击可还原。",
+ "tip_fill": "双击可填满工作区。",
+ "tip_restore_named": "双击可将 {pane} 放回网格。",
+ "tip_fill_named": "双击可让 {pane} 填满工作区。",
+ "move": "移动 {pane}",
+ "rename": "重命名 {pane}",
+ "rename_save": "保存 {pane} 的名称",
+ "rename_cancel": "取消重命名 {pane}",
+ "running_on_account": "正在使用 {account} 运行",
+ "review_changes": "查看 {pane} 的更改",
+ "restore": "还原 {pane}",
+ "maximize": "最大化 {pane}",
+ "split_right": "在 {pane} 旁边再打开一个终端",
+ "split_down": "拆分 {pane} 并在下方打开一个终端",
+ "split_right_picker": "在旁边打开——运行什么?",
+ "split_down_picker": "在下方拆分——运行什么?",
+ "split_right_picker_aria": "{pane} 旁边应运行什么?",
+ "split_down_picker_aria": "{pane} 下方应运行什么?",
+ "unreachable": "无法连接到 {pane}。",
+ "exited_detail": "{agent} {detail}",
+ "exited": "{agent} 已不在 {pane} 中运行。",
+ "restart_aria": "重启 {pane}",
+ "restart_title": "在 {pane} 中重新启动一个 {agent}",
+ "restart": "重启"
}
},
"prompt_writer": {
@@ -5236,7 +5893,8 @@
"delete_failed": "无法删除。",
"delete_running": "此运行仍在进行。请先停止,再删除。",
"open_from_agent": "成果",
- "open_from_agent_hint": "显示最近的运行产出的页面和图片。"
+ "open_from_agent_hint": "显示最近的运行产出的页面和图片。",
+ "summary": "摘要"
},
"marketplace_origin": {
"badge": "市场",
@@ -5504,7 +6162,13 @@
"agent_asks_default": "在你更改之前,它在行动前都会先问你。",
"agent_instructions": "它的常驻指令",
"import_agent": "导入智能体文件",
- "import_failed": "无法导入该文件:{error}"
+ "import_failed": "无法导入该文件:{error}",
+ "request_failed": "市场请求失败({status})",
+ "refresh_failed": "刷新失败({status})",
+ "install_failed": "安装失败({status})",
+ "contents_failed": "无法读取该条目({status})",
+ "err_identity_start": "无法开始登录({status})",
+ "err_identity_failed": "登录失败"
},
"costs_view": {
"title": "费用与 Token",
@@ -5662,7 +6326,8 @@
"free": "免费",
"unknown": "未定价",
"subscription": "订阅"
- }
+ },
+ "tokens_in_out": "输入 {input} / 输出 {output}"
},
"all_chats": {
"title": "所有对话",
@@ -5873,7 +6538,9 @@
"history_chats": "对话",
"history_voice": "语音",
"history_empty": "这里还没有内容",
- "history_delete": "删除"
+ "history_delete": "删除",
+ "proposal_ask_first": "先询问:{tools}",
+ "proposal_always_allow": "始终允许:{tools}"
},
"world": {
"minimap_label": "岛屿地图",
@@ -6322,6 +6989,35 @@
"message": "你发给群组的消息",
"stop": "停止本轮",
"send": "询问群组"
+ },
+ "floor": {
+ "department_other": "其他",
+ "agent_fallback": "智能体",
+ "workspace_fallback": "工作区"
+ },
+ "provider_label": {
+ "ollama": "Ollama(本地)",
+ "local_server": "本地服务器"
+ },
+ "sample": {
+ "daily_at": "每天 {time}",
+ "lead": {
+ "title": "首席执行官——领导并调度整个团队",
+ "description": "你是这个智能体团队的负责人:它的首席执行官。你负责目标,而不是具体任务。每个到达你这里的请求都会被分诊,整理成清晰的工作任务,并交给职位相符的编排者或专家;你从不亲自做专家的工作。你让团队保持精简,交接都以书面形式记录(完成了什么、证据、还剩什么、下一步由谁负责),并让支出保持在每日预算之内。“询问”级别的操作始终等待用户确认;你从不绕过审批。你用用户的语言代表团队发言,汇报结果而不是过程。",
+ "routine": "晨会摘要"
+ },
+ "scout": {
+ "name": "侦察员",
+ "title": "研究编排者",
+ "description": "你负责研究。你把问题拆解成信息来源,广泛阅读,保留证据链接,并交回一份注明尚待解决问题的简报。",
+ "routine": "晨间研究简报"
+ },
+ "archivist": {
+ "name": "档案员",
+ "title": "知识管理员",
+ "description": "你负责共享记忆。你把完成的工作整理成简短、注明来源的 wiki 笔记,存放在你的命名空间下,并提议哪些内容值得提升为共享知识。",
+ "routine": "夜间整理"
+ }
}
},
"chat_tools": {
@@ -6600,7 +7296,8 @@
"expand": "放大 {file}",
"open_file": "打开文件",
"download": "下载",
- "retry": "重试"
+ "retry": "重试",
+ "image_fallback": "图片"
},
"slash": {
"locale": "en",
@@ -6722,6 +7419,23 @@
"title": "转到文件",
"placeholder": "输入文件名;加上 :42 可跳转到第 42 行",
"no_match": "没有匹配的文件。"
+ },
+ "errors": {
+ "not_editable": "磁盘上的文件已无法在此编辑。",
+ "reopen_dirty": "请先保存或放弃更改,再以其他编码重新打开文件。"
+ },
+ "encoding_scripts": {
+ "labelled": "{script}({encoding})",
+ "utf8_bom": "UTF-8(带 BOM)",
+ "western": "西欧",
+ "central_european": "中欧",
+ "cyrillic": "西里尔文",
+ "greek": "希腊文",
+ "turkish": "土耳其文",
+ "japanese": "日文",
+ "chinese_simplified": "简体中文",
+ "chinese_traditional": "繁体中文",
+ "korean": "韩文"
}
},
"ide_side_panel": {
@@ -7156,6 +7870,12 @@
"data": "数据",
"perf": "性能",
"rocket": "发布"
+ },
+ "import_errors": {
+ "unreadable": "{file}:无法读取。",
+ "not_markdown": "{file}:不是 Markdown 或文本文件。",
+ "too_large": "{file}:大于 {size} KB。",
+ "not_text": "{file}:不是文本文件。"
}
},
"office": {
@@ -7332,7 +8052,8 @@
"close": "关闭",
"gone": "这张截图已不再保留,无法编辑。",
"text_placeholder": "输入…"
- }
+ },
+ "editor_title": "Appshot 编辑器"
},
"jarvisx": {
"title": "Dodaios X",
@@ -7601,5 +8322,967 @@
"logged_offer": "{provider} / {model},预估 {cost},上限 {cap}。",
"paid_usage": "在 {provider} / {model} 上的付费运行:实际 {cost}(预估 {estimate},上限 {cap})。",
"paid_usage_automatic": "在 {provider} / {model} 上的自动付费运行:实际 {cost}(预估 {estimate},上限 {cap})。"
+ },
+ "ide_projects": {
+ "connect_failed": "无法连接此文件夹,请重试。",
+ "choose_folder_error": "请选择一个文件夹以继续。",
+ "back_to_project": "返回项目",
+ "choose_folder_title": "选择文件夹",
+ "connect_title": "连接项目",
+ "connect_description": "选择一个源文件夹,并可选填项目名称。",
+ "choose_folder_hint": "请选择一个文件夹以继续",
+ "use_folder": "使用此文件夹",
+ "project_name": "项目名称",
+ "project_name_optional": "项目名称(可选)",
+ "source_folder": "源文件夹",
+ "change": "更改",
+ "add_folder_hint": "从这台电脑添加一个文件夹",
+ "choose_folder": "选择文件夹",
+ "connecting": "正在连接…",
+ "reorder_needs_restart": "此视图比后端更新 — 请重启应用后重试。",
+ "reveal_desktop_only": "只有桌面应用才能打开文件夹。",
+ "sessions_one": "{count} 个智能体会话",
+ "sessions_other": "{count} 个智能体会话",
+ "path_copied": "已复制文件夹路径",
+ "path_copy_failed": "无法复制文件夹路径",
+ "opening": "正在打开 {label}…",
+ "open_failed": "无法启动 {label}",
+ "workspace_copy": "{workspace} 副本",
+ "interrupt_failed": "{total} 个智能体中有 {failed} 个无法中断。",
+ "interrupted_one": "已中断 {count} 个智能体。",
+ "interrupted_other": "已中断 {count} 个智能体。",
+ "the_computer": "该电脑",
+ "this_computer": "这台电脑",
+ "moving": "正在将 {workspace} 移至 {target},可能需要一分钟。",
+ "moved": "{workspace} 现在运行在 {target} 上。",
+ "rename_named": "重命名 {target}",
+ "save_named": "保存 {target}",
+ "cancel_rename_named": "取消重命名 {target}",
+ "open_named": "打开 {target}",
+ "collapse_named": "折叠 {target}",
+ "expand_named": "展开 {target}",
+ "not_restorable": "此工作区无法在这台电脑上恢复",
+ "drag_hint": "{target} — 拖动以重新排序,或按 Alt 加方向键移动",
+ "switching": "正在切换工作区",
+ "project_actions_for": "{target} 的项目操作",
+ "project_actions": "项目操作",
+ "new_workspace_in": "在 {project} 中新建工作区",
+ "new_workspace": "新建工作区",
+ "workspace_actions_for": "{target} 的工作区操作",
+ "workspace_actions": "工作区操作",
+ "create_workspace": "创建工作区",
+ "open_in": "在 {editor} 中打开",
+ "not_installed": "未安装",
+ "open_on": "在 {target} 上打开",
+ "the_web": "网页",
+ "the_web_page": "网页",
+ "new_worktree": "在 worktree 中新建工作区",
+ "new_worktree_hint": "为其智能体提供独立的文件夹和分支",
+ "rename_project": "重命名项目",
+ "unpin_project": "取消固定项目",
+ "pin_project": "固定项目",
+ "delete_project": "删除项目",
+ "add_agent": "再添加一个智能体",
+ "duplicate": "复制工作区",
+ "duplicate_hint_one": "启动 {count} 个新智能体",
+ "duplicate_hint_other": "启动 {count} 个新智能体",
+ "interrupt_one": "中断 {count} 个工作中的智能体",
+ "interrupt_other": "中断 {count} 个工作中的智能体",
+ "interrupt_hint": "停止当前任务,保留聊天",
+ "reopen": "重新打开工作区",
+ "reopen_unreachable": "无法访问其文件夹",
+ "copy_path": "复制文件夹路径",
+ "move_to": "将工作区移至 {computer}",
+ "move_hint": "此电脑关机时仍保持运行",
+ "bring_back": "将工作区移回本机",
+ "git_hint": "提交、推送、拉取请求、worktree",
+ "rename_workspace": "重命名工作区",
+ "remove_workspace": "移除工作区",
+ "workspaces": "工作区",
+ "connect_folder_title": "连接项目文件夹",
+ "pinned": "已固定",
+ "other_projects": "其他项目",
+ "empty": "连接一个文件夹以开始项目。",
+ "remove_title": "移除 {workspace}?",
+ "remove_body_one": "其 {count} 个编程智能体将停止,工作区会从侧边栏移除。磁盘上的文件夹及其聊天保持不变。",
+ "remove_body_other": "其 {count} 个编程智能体将停止,工作区会从侧边栏移除。磁盘上的文件夹及其聊天保持不变。",
+ "remove_body_closed": "工作区会从侧边栏移除。磁盘上的文件夹及其聊天保持不变。",
+ "removing": "正在移除…",
+ "remove_named": "移除 {workspace}",
+ "delete_title": "删除 {project}?",
+ "delete_body_idle": "这会忘记该项目及其聊天。磁盘上的文件夹保持不变。",
+ "delete_body": "这会停止 {workspaces}中的 {agents},并忘记该项目及其聊天。磁盘上的文件夹保持不变。",
+ "running_agents_one": "{count} 个运行中的智能体",
+ "running_agents_other": "{count} 个运行中的智能体",
+ "open_workspaces_one": "{count} 个打开的工作区",
+ "open_workspaces_other": "{count} 个打开的工作区",
+ "deleting": "正在删除…",
+ "delete_named": "删除 {project}",
+ "show_in_explorer": "在资源管理器中显示",
+ "show_in_finder": "在访达中显示",
+ "show_in_file_manager": "在文件管理器中显示",
+ "keep": "保留"
+ },
+ "ide_folder_picker": {
+ "create_failed": "无法创建该文件夹。",
+ "drop_not_folder": "这不是文件夹。请将文件夹拖放到这里,或从列表中选择一个。",
+ "drop_finding": "正在查找你拖放的文件夹…",
+ "drop_not_found": "找不到该文件夹。",
+ "this_machine": "本机",
+ "starting_with": "以“{leaf}”开头的文件夹",
+ "folders_in": "{folder} 中的文件夹",
+ "places": "位置",
+ "drop_overlay": "松开以选择此文件夹",
+ "search_placeholder": "按名称搜索或粘贴路径",
+ "search_aria": "按名称搜索文件夹,或粘贴路径",
+ "clear_search": "清除搜索",
+ "browse_title": "在这台电脑自带的文件夹窗口中选择文件夹",
+ "window_open": "窗口已打开…",
+ "browse": "浏览…",
+ "new_folder_title": "在 {path} 中新建文件夹",
+ "your_home_folder": "你的主文件夹",
+ "new_folder": "新建文件夹",
+ "native_open_note": "文件夹窗口已打开,请在其中选择文件夹。如果看不到,它可能在此窗口后面或在任务栏中。",
+ "go_up": "上移一级文件夹",
+ "nothing_called": "{machine} 上没有名为“{query}”的内容",
+ "called_anywhere": "{machine} 上所有名为“{query}”的文件夹",
+ "folder_path": "文件夹路径",
+ "start_title": "开始:{machine} 上的最近文件夹和位置",
+ "click_to_edit_path": "点击查看并编辑完整路径",
+ "show_whole_path": "显示完整路径",
+ "type_path": "输入路径",
+ "type_path_title": "输入或粘贴路径 — 按 Tab 补全文件夹名",
+ "hide_hidden": "隐藏隐藏文件夹",
+ "show_hidden": "显示隐藏文件夹",
+ "hidden_shown_title": "正在显示隐藏文件夹(名称以点开头)",
+ "hidden_list_title": "同时列出隐藏文件夹 — 名称以点开头",
+ "reload": "重新加载此文件夹",
+ "new_folder_name": "新文件夹的名称",
+ "create": "创建",
+ "cancel_new_folder": "取消新建文件夹",
+ "created_in": "创建位置",
+ "recent_folders": "最近的文件夹",
+ "terminals_one": "{count} 个终端",
+ "terminals_other": "{count} 个终端",
+ "forget": "忘记 {folder}",
+ "forget_title": "从此列表中移除(文件夹本身保留)",
+ "create_folder_named": "创建文件夹“{folder}”",
+ "in_parent": "位于 {path}",
+ "empty_search": "未找到该名称的文件夹。",
+ "empty_search_hint": "要按位置打开,请输入完整路径,例如 {example}。",
+ "empty_leaf": "这里没有以“{leaf}”开头的文件夹。",
+ "empty_needle": "这里没有匹配“{query}”的文件夹。继续输入以搜索整台电脑。",
+ "empty_folder": "此文件夹中没有子文件夹。你可以直接选择它,或在其中新建文件夹。",
+ "empty_start": "这里没有可列出的内容 — 在上方搜索、拖放文件夹或输入其路径。",
+ "path_example_before": "本机上的完整路径形如",
+ "path_example_after": "。",
+ "tip_drag": "提示:你也可以从文件管理器把文件夹拖到这里。",
+ "chosen_folder": "已选文件夹:",
+ "no_folder_chosen": "尚未选择文件夹。在列表中打开一个文件夹即可选择它。",
+ "today": "今天",
+ "yesterday": "昨天",
+ "days_ago": "{count} 天前",
+ "last_week": "上周",
+ "weeks_ago": "{count} 周前",
+ "path_input_placeholder": "输入路径 — 按 Tab 补全文件夹名",
+ "go_to_path": "转到此路径"
+ },
+ "shell_events": {
+ "empty": "还没有事件。可从“调试”标签页发送一个测试事件。",
+ "hide_payload": "隐藏",
+ "show_payload": "负载"
+ },
+ "ide_panes": {
+ "exit": {
+ "stopped": "已停止",
+ "ctrl_c": "已被 Ctrl-C 停止(0xC000013A)",
+ "access_violation": "已崩溃——内存访问冲突(0xC0000005)",
+ "stack_overrun": "已崩溃——栈缓冲区溢出(0xC0000409)",
+ "heap_corruption": "已崩溃——堆损坏(0xC0000374)",
+ "unhandled_exception": "已崩溃——未处理的异常(0xC000041D)",
+ "dll_missing": "无法启动——缺少必需的 DLL(0xC0000142)",
+ "unexpected": "意外停止——使用“重启”恢复",
+ "unexpected_code": "意外停止(退出代码 {code})——使用“重启”恢复"
+ },
+ "socket": {
+ "authorizing": "正在授权终端…",
+ "auth_failed": "终端授权失败——正在重试。",
+ "workspace_closed": "此工作区已关闭——正在重新加载…",
+ "start_failed_this": "无法启动此终端。",
+ "start_failed": "无法启动终端。",
+ "no_such_pane": "此终端已不属于当前打开的工作区。",
+ "waiting_workspace": "正在等待工作区恢复…",
+ "unreachable": "无法连接到终端——正在重试。",
+ "connection_lost": "终端连接已断开(代码 {code})——正在重新连接。"
+ },
+ "common": {
+ "done": "完成"
+ },
+ "install": {
+ "title": "安装 {agent}",
+ "installing": "正在安装 {agent}",
+ "starting": "正在启动 {agent} 的安装程序…",
+ "installed": "{agent} 已安装",
+ "watching": "正在等待 {agent} 出现…"
+ },
+ "picker": {
+ "no_shell": "此处没有 shell",
+ "not_installed": "未安装",
+ "install": "安装"
+ },
+ "close_dialog": {
+ "workspace_title": "关闭 {workspace}?",
+ "workspace_title_unnamed": "关闭工作区?",
+ "pane_body": "此窗格中的编程智能体会立即停止,包括它仍在处理的任务。",
+ "workspace_body_empty": "工作区将关闭。你可以随时从“项目”中恢复它。",
+ "workspace_body_one": "其编程智能体会立即停止。你可以随时从“项目”中恢复该工作区。",
+ "workspace_body_other": "全部 {count} 个编程智能体会立即停止。你可以随时从“项目”中恢复该工作区。",
+ "keep": "保持运行",
+ "close_agent": "关闭智能体"
+ },
+ "fork": {
+ "title": "分叉 {pane}",
+ "description": "从这个智能体当前的位置启动第二个智能体。原来的智能体会继续运行,不受影响。",
+ "chat_title": "分叉对话",
+ "chat_body": "一个新智能体会在这个旁边打开,并在同一文件夹中继续对话的副本。",
+ "worktree_title": "分叉到 worktree",
+ "worktree_needs_repo": "需要一个 git 仓库——此文件夹不是。",
+ "worktree_body": "同样的对话副本,但位于自己的 git worktree 和分支中,两个智能体修改文件时互不干扰。",
+ "how": "分叉方式",
+ "branch_label": "worktree 和分支名称",
+ "finding_name": "正在查找名称…",
+ "branch_hint": "基于最新提交创建。尚未提交的更改会留在当前文件夹中。",
+ "cannot_copy": "{agent} 无法复制其对话,因此分叉会从新的对话开始。",
+ "confirm_worktree": "分叉到 worktree"
+ },
+ "move": {
+ "no_room": "没有空间",
+ "summary_empty": "{workspace} 是空的,因此 {pane} 会填满它。",
+ "summary_even": "{pane} 加入 {workspace},每个窗格平分空间。",
+ "summary_left": "{anchor} 左侧:{pane} 占用其一半空间。",
+ "summary_right": "{anchor} 右侧:{pane} 占用其一半空间。",
+ "summary_above": "{anchor} 上方:{pane} 占用其一半空间。",
+ "summary_below": "{anchor} 下方:{pane} 占用其一半空间。",
+ "place_left": "将 {pane} 放在 {anchor} 左侧",
+ "place_right": "将 {pane} 放在 {anchor} 右侧",
+ "place_above": "将 {pane} 放在 {anchor} 上方",
+ "place_below": "将 {pane} 放在 {anchor} 下方",
+ "title": "将 {pane} 移到 {workspace}",
+ "description": "指向一个窗格,然后点击它应放置的一侧。智能体会继续运行。",
+ "loading": "正在加载 {workspace}…",
+ "fills_empty": "填满空工作区",
+ "tile_aria": "{anchor}。用方向键选择 {pane} 放置的一侧。",
+ "confirm": "移到 {workspace}"
+ },
+ "activity": {
+ "label": {
+ "stopped": "已停止",
+ "status_unknown": "状态未知",
+ "working": "工作中",
+ "starting": "启动中",
+ "needs_you": "需要你",
+ "exited": "已退出",
+ "failed": "失败",
+ "done": "已完成",
+ "idle": "空闲",
+ "error": "错误",
+ "live": "已连接"
+ },
+ "hint": {
+ "interrupted": "任务已中断。",
+ "unknown": "没有可用的已验证任务状态。",
+ "working": "工作中——任务仍在进行。",
+ "starting": "正在启动。其智能体尚未接管此窗格。",
+ "asking": "因屏幕上的问题而暂停,正在等待你的回答。",
+ "exited": "其进程已结束。",
+ "failed": "无法启动其智能体。",
+ "done": "已完成,正在提示符处等待。这只表示它停下了,不代表工作是正确的。",
+ "idle": "正在提示符处等待,尚未向它发送任何内容。",
+ "connecting": "正在连接到窗格。",
+ "error": "无法连接到此窗格。",
+ "connected": "已连接。"
+ },
+ "duration_seconds": "{count} 秒",
+ "duration_minutes": "{count} 分钟",
+ "duration_hour_one": "1 小时",
+ "duration_hours_other": "{count} 小时",
+ "for_elapsed": "已持续 {elapsed}。"
+ },
+ "recap": {
+ "why": {
+ "pinned": "这是你写的,在你重置之前会一直保留。",
+ "cli_title": "此窗格中的智能体自行命名了它的会话。",
+ "disabled": "模型摘要已关闭,因此这是从窗格自身的输出中读取的。",
+ "not_started": "此窗格中尚未运行任何内容,因此没有可总结的。",
+ "warming": "目前输出太少,无法总结——这一行是从窗格自身的输出中读取的。",
+ "working": "正在撰写摘要。这一行是从窗格自身的输出中读取的。",
+ "queued": "正在排队等待总结。这一行是从窗格自身的输出中读取的。",
+ "unavailable": "没有模型能够总结此窗格,因此这一行是从它自身的输出中读取的。"
+ },
+ "credit": {
+ "user": "由你撰写",
+ "cli_named": "由 {writer} 命名",
+ "cli": "由智能体命名",
+ "model_named": "由 {writer} 总结",
+ "model": "由模型总结",
+ "heuristic": "从输出中读取"
+ },
+ "ago_seconds": "{count} 秒前",
+ "ago_minutes": "{count} 分钟前",
+ "ago_hours": "{count} 小时前",
+ "what_doing": "{pane} 正在做什么",
+ "write_yourself": "自己写",
+ "back_to_auto": "恢复自动摘要",
+ "summarize_again": "重新总结此窗格",
+ "header_line": "标题行",
+ "header_placeholder": "此窗格的用途",
+ "longer": "详细版本",
+ "optional": "——可选",
+ "detail_placeholder": "工作进展到哪里,还有哪些未完成…",
+ "save_hint": "⌘/Ctrl + Enter 保存",
+ "save_empty_hint": "保存空行即可恢复自动摘要"
+ },
+ "receipt": {
+ "just_now": "刚刚",
+ "ago_hour_one": "1 小时前",
+ "ago_hours_other": "{count} 小时前",
+ "load_failed": "无法读取完整的提示词。",
+ "sent": "提示词已发送",
+ "sent_note": "智能体已接收并开始执行",
+ "typed": "提示词已输入,未开始",
+ "typed_note": "它还在此窗格的输入框中——在这里按 Enter 运行它",
+ "unconfirmed": "提示词已发送——无法确认已开始",
+ "unconfirmed_note": "它已发送到窗格;无法确认智能体已开始",
+ "read_title": "查看发送给 {pane} 的确切内容",
+ "dismiss": "关闭 {pane} 的送达回执",
+ "click_to_read": "点击查看发送的内容",
+ "loading_rest": "{count} 个字符的开头——正在读取其余部分…",
+ "opening_only": "仅显示开头——{error}",
+ "delivered": "{count} 个字符,已送达 {pane}。",
+ "delivered_at": "{count} 个字符,于 {clock} 送达 {pane}。"
+ },
+ "options": {
+ "title": "工作区选项",
+ "close": "关闭工作区选项",
+ "arrangement": "终端排列",
+ "balance": "均衡布局",
+ "arrangement_hint": "将终端标题拖到边缘,可将其放在另一个终端的旁边、上方或下方。拖到中间可交换位置。",
+ "style": "终端样式",
+ "style_minimal": "极简",
+ "style_minimal_hint": "方形边框,细标题行",
+ "style_classic": "经典",
+ "style_classic_hint": "圆角卡片,较高的标题栏",
+ "appearance": "终端外观",
+ "appearance_auto_aria": "跟随应用外观",
+ "appearance_dark_aria": "深色终端",
+ "appearance_light_aria": "浅色终端",
+ "appearance_auto": "跟随应用",
+ "appearance_dark": "深色",
+ "appearance_light": "浅色",
+ "add_agent": "添加编程智能体",
+ "git": "Git:分支、提交、worktree"
+ },
+ "github": {
+ "state_branch": "已发布的分支",
+ "state_draft": "草稿拉取请求",
+ "state_open": "打开的拉取请求",
+ "state_queued": "在合并队列中",
+ "state_merged": "拉取请求已合并",
+ "state_closed": "未合并即关闭",
+ "unavailable": "GitHub 状态不可用",
+ "branch_generic": "GitHub 分支",
+ "dest_pr": "拉取请求 #{number}",
+ "dest_branch": "分支",
+ "open_aria": "打开 GitHub {destination}:{identity}",
+ "open_title": "打开{destination}",
+ "refresh_failed": "无法刷新 GitHub 状态。",
+ "refreshing": "正在刷新 GitHub 状态…"
+ },
+ "dock": {
+ "swap": "交换位置",
+ "left": "放在左侧",
+ "right": "放在右侧",
+ "above": "放在上方",
+ "below": "放在下方"
+ },
+ "grid": {
+ "placed_swap": "{pane} 和 {target} 已交换。",
+ "placed_left": "{pane} 已放在 {target} 左侧。",
+ "placed_right": "{pane} 已放在 {target} 右侧。",
+ "placed_above": "{pane} 已放在 {target} 上方。",
+ "placed_below": "{pane} 已放在 {target} 下方。",
+ "arrange_failed": "无法保存排列,已恢复之前的顺序。",
+ "moved_toast": "{pane} 已移到 {workspace}。其智能体继续运行。",
+ "moved_renamed_toast": "{pane} 已作为 {renamed} 移到 {workspace}。其智能体继续运行。",
+ "moved": "{pane} 已移到 {workspace}。",
+ "moved_renamed": "{pane} 已作为 {renamed} 移到 {workspace}。",
+ "forked_branch": "{pane} 已分叉为 {fork},位于分支 {branch}。",
+ "forked": "{pane} 已分叉为 {fork}。",
+ "the_computer": "该计算机",
+ "this_computer": "此计算机",
+ "placing": "正在将 {pane} 移到 {computer}。文件夹和对话会一起迁移。",
+ "placed_on": "{pane} 现在在 {computer} 上运行。",
+ "bring_back": "移回此计算机",
+ "run_on": "在 {computer} 上运行",
+ "another_computer": "另一台计算机",
+ "no_pane_up": "{pane} 上方没有窗格。",
+ "no_pane_down": "{pane} 下方没有窗格。",
+ "no_pane_left": "{pane} 左侧没有窗格。",
+ "no_pane_right": "{pane} 右侧没有窗格。",
+ "tile_aria": "{pane}。拖到边缘可停靠,拖到中间可交换。Alt+方向键与相邻窗格交换。",
+ "move_to_menu": "移到 {workspace}…",
+ "not_into": "不能移到 {workspace}:不同的文件夹",
+ "that_workspace": "该工作区"
+ },
+ "header": {
+ "split_right": "向右拆分",
+ "split_down": "向下拆分",
+ "split_left": "向左拆分",
+ "split_up": "向上拆分",
+ "rename_failed": "无法保存名称。",
+ "name_for": "{pane} 的名称",
+ "save_name": "保存名称",
+ "actions_for": "{pane} 的操作",
+ "swap_focused": "与聚焦的窗格交换",
+ "fork_menu": "分叉…",
+ "unzoom": "取消缩放",
+ "zoom": "缩放",
+ "conversation_history": "对话历史",
+ "open_as_chat": "以对话形式打开",
+ "review_changes": "查看更改",
+ "restart_agent": "重启智能体",
+ "right_click_title": "启用转发时,Shift+右键单击可打开窗格菜单。",
+ "right_click": "将右键单击发送到窗格",
+ "right_click_hint": "Shift + 右键单击:窗格菜单",
+ "more_actions": "{pane} 的更多操作",
+ "status_connecting": "连接中",
+ "status_live": "已连接",
+ "status_exited": "已退出",
+ "status_error": "错误",
+ "runs_on": "在 {computer} 上运行。此应用关闭时它仍会继续工作。",
+ "worktree_branch": "在独立的 git worktree 中运行,分支 {branch}",
+ "drag_hint": "拖动以重新排序,或聚焦此标题后按 Alt 加方向键。",
+ "add_beside": "在 {pane} 旁边添加智能体"
+ },
+ "request_failed": "请求失败({status})。",
+ "seam": {
+ "resize_pair": "拖动以调整 {before} 和 {after} 的大小",
+ "resize_columns": "拖动以调整这两列终端的大小",
+ "pane_before": "前一个窗格",
+ "pane_after": "后一个窗格"
+ }
+ },
+ "ide_git": {
+ "detached_at": "游离于 {head}",
+ "current_branch": "当前分支",
+ "worktree_badge": "worktree",
+ "uncommitted": "{count} 项未提交",
+ "nothing_uncommitted": "没有未提交的内容",
+ "changes_one": "{count} 处更改",
+ "changes_other": "{count} 处更改",
+ "clean": "干净",
+ "compared_with": "与 {upstream} 比较",
+ "ahead": "领先",
+ "behind": "落后",
+ "not_pushed_title": "此分支尚未推送",
+ "not_pushed": "未推送",
+ "without_git": "不使用 git",
+ "without_git_hint": "按原样打开文件夹",
+ "init": "初始化 git",
+ "init_hint": "在 main 上新建仓库,可直接创建分支",
+ "share_checkout": "共享此检出",
+ "share_checkout_hint": "与其他智能体使用同一文件夹",
+ "current_checkout": "当前检出",
+ "work_on_branch": "在项目文件夹中基于 {branch} 工作",
+ "work_in_folder": "在项目文件夹中工作",
+ "new_worktree": "新建 worktree",
+ "new_worktree_hint_agent": "独立的文件夹和分支,在单独的标签页中打开",
+ "new_worktree_hint": "独立的文件夹和分支,智能体互不冲突",
+ "new_branch": "新建分支",
+ "new_branch_hint": "在项目文件夹中从此处创建分支",
+ "existing_branch": "现有分支",
+ "existing_branch_hint": "在此检出另一个分支",
+ "existing_worktree": "现有 worktree",
+ "existing_worktree_hint": "打开已存在的 worktree",
+ "works_on": "基于 {branch} 工作",
+ "works_in_folder": "在项目文件夹中工作",
+ "opens_as_is": "按原样打开文件夹",
+ "opens_as_is_hint": "这里没有 git。你可以按需设置。",
+ "summary_agent_hint": "与你的其他智能体使用同一文件夹,无需设置。",
+ "summary_workspace_hint": "在项目文件夹中,保持现状,无需设置。",
+ "reading_repo": "正在读取仓库…",
+ "git_options": "Git 选项",
+ "hide_options": "隐藏选项",
+ "not_installed": "这台电脑上未安装 Git。请从 git-scm.com 安装以使用分支和 worktree。",
+ "checkout_aria": "Git 检出",
+ "recommended": "推荐",
+ "branch_name": "分支名称",
+ "suggest_name": "建议另一个名称",
+ "based_on": "基于",
+ "base_branch": "基础分支",
+ "hint_current": "当前",
+ "hint_default": "默认",
+ "unborn": "此仓库还没有提交 — 请先进行首次提交再创建分支。",
+ "creates_worktree": "将创建 {path}。只复制已提交的内容;现有分支会被复用。",
+ "dirty_moves": "你未提交的更改会随之转到新分支。",
+ "folder_switches": "项目文件夹会为其中的每个智能体切换到新分支。",
+ "branch": "分支",
+ "worktree": "Worktree",
+ "detached": "游离",
+ "init_note": "在 {branch} 上创建一个带空的首次提交的仓库。你的文件不会被提交 — 由你决定提交什么。",
+ "tag_modified": "已修改",
+ "tag_added": "已添加",
+ "tag_deleted": "已删除",
+ "tag_renamed": "已重命名",
+ "tag_copied": "已复制",
+ "tag_conflict": "冲突",
+ "tag_new": "新",
+ "committed": "已提交 {sha}。",
+ "pushed_to": "已推送到 {upstream}。",
+ "fetched": "已获取所有远程仓库。",
+ "draft_pr_opened": "已创建草稿拉取请求。",
+ "pr_opened": "已创建拉取请求。",
+ "merged": "已将 {branch} 合并到 {target}({sha})。",
+ "pruned": "已忘记文件夹已不存在的 worktree。",
+ "initialized": "已在 main 上初始化仓库。",
+ "refresh": "刷新",
+ "close_panel": "关闭 Git 面板",
+ "open_link": "打开链接",
+ "open": "打开",
+ "not_installed_refresh": "这台电脑上未安装 Git。请从 git-scm.com 安装,然后刷新。",
+ "not_a_repo": "此文件夹还不是 git 仓库。初始化一个即可为智能体提供分支和 worktree。",
+ "worktree_of": "{folder} 的一个 worktree。其智能体在自己的分支上工作,不会触碰主文件夹。",
+ "changes": "更改",
+ "nothing_uncommitted_full": "没有未提交的内容。",
+ "commit_message": "提交信息",
+ "commit_placeholder": "提交信息,例如 feat: add login form",
+ "no_changes": "没有可提交的更改",
+ "commit_all": "全部提交",
+ "share": "共享",
+ "no_remote": "此仓库没有远程仓库",
+ "push": "推送",
+ "publish_branch": "发布分支",
+ "fetch": "获取",
+ "install_gh": "安装 GitHub CLI (gh) 以创建拉取请求",
+ "switch_feature_branch": "请先切换到功能分支",
+ "pull_request": "拉取请求",
+ "drafts": "以草稿形式创建拉取请求",
+ "commit_first": "请先提交更改",
+ "merge_into": "将 {branch} 合并到 {target}",
+ "worktrees": "Worktree",
+ "pruning": "正在清理…",
+ "prune_missing": "清理缺失项",
+ "no_worktrees": "还没有 worktree。worktree 为智能体提供独立的文件夹和分支,让多个智能体可以同时修改代码。",
+ "detached_head": "游离 {head}",
+ "this_workspace": "此工作区",
+ "folder_missing": "文件夹缺失",
+ "locked": "已锁定",
+ "remove_named": "移除 {folder}",
+ "confirm_removal": "确认移除",
+ "remove_note": "文件夹将被删除。已提交的内容保留在其分支上。",
+ "also_delete_branch": "如果分支 {branch} 已合并,也将其删除",
+ "removing": "正在移除…",
+ "remove_anyway": "仍然移除",
+ "remove_worktree": "移除 worktree"
+ },
+ "ide_hotkeys": {
+ "menu": {
+ "aria": "IDE 快捷键",
+ "all_keys": "所有按键",
+ "cancel": "取消",
+ "exit": "退出"
+ },
+ "badge": {
+ "rename": "重命名",
+ "workspace": "工作区",
+ "keys": "按键",
+ "prefix": "前缀"
+ },
+ "bar": {
+ "right": "右侧",
+ "left": "左侧",
+ "above": "上方",
+ "below": "下方",
+ "even_grid": "均匀网格",
+ "back": "返回",
+ "new": "新建",
+ "worktree": "worktree",
+ "rename": "重命名",
+ "close": "关闭",
+ "git": "git",
+ "options": "选项",
+ "connect_folder": "连接文件夹",
+ "switch": "切换",
+ "any_key": "任意键",
+ "split": "拆分",
+ "move": "移动",
+ "zoom": "缩放",
+ "workspaces": "工作区",
+ "all_keys": "所有按键",
+ "send_leader": "发送 {keys}"
+ },
+ "help": {
+ "open_agent": "打开 {agent}",
+ "to_right": "向右",
+ "to_left": "向左",
+ "above": "上方",
+ "below": "下方",
+ "even_grid": "均匀网格",
+ "group_workspace": "工作区",
+ "new_workspace": "新建工作区",
+ "new_worktree_workspace": "新建 worktree 工作区",
+ "rename_workspace": "重命名工作区",
+ "close_workspace": "关闭工作区",
+ "git_panel": "Git 面板",
+ "workspace_options": "工作区选项",
+ "connect_folder": "连接项目文件夹",
+ "prev_next_workspace": "上一个 / 下一个工作区",
+ "go_to_workspace_n": "转到工作区 1–9",
+ "group_new_pane": "新建窗格",
+ "agent_then_arrow": "{agent},然后按方向键",
+ "split_right_same": "向右拆分,同一智能体",
+ "split_below_same": "向下拆分,同一智能体",
+ "choose_agent": "选择智能体…",
+ "group_panes": "窗格",
+ "focus_neighbor": "聚焦相邻窗格",
+ "swap_neighbor": "与相邻窗格交换",
+ "maximize_restore": "最大化 / 还原",
+ "rename_pane": "重命名窗格",
+ "fork_pane": "分叉窗格",
+ "close_pane": "关闭窗格",
+ "even_layout": "均分布局",
+ "group_workspaces": "工作区",
+ "workspace_menu": "工作区菜单…",
+ "go_to_workspace": "转到工作区",
+ "next_prev_workspace": "下一个 / 上一个工作区",
+ "send_leader": "将 {keys} 发送到窗格"
+ }
+ },
+ "workspace_terminal": {
+ "connection_failed": "连接终端失败。",
+ "process_exited": "进程已退出:{code}",
+ "terminal_error": "终端错误",
+ "auth_failed": "终端授权失败——请重新打开以重试。",
+ "connection_closed": "终端连接已关闭(代码 {code})。",
+ "status_live": "在线",
+ "status_error": "错误",
+ "status_exited": "已退出",
+ "status_connecting": "正在连接…"
+ },
+ "shell_sections": {
+ "telephony_setup": "电话设置",
+ "agent_instructions": "助手",
+ "voice_shortcuts": "语音快捷键",
+ "voice_language": "听写语言",
+ "voice_api_keys": "语音输入密钥",
+ "visualization": "可视化"
+ },
+ "shell_errors": {
+ "open_terminal_path_failed": "无法打开该终端路径。",
+ "git_after_restart": "Git 选项将在下次重启应用后加载。",
+ "git_request_failed": "Git 请求失败({status})",
+ "no_clipboard": "此处没有可用的剪贴板",
+ "open_path_failed": "无法在此电脑上打开该文件或文件夹。",
+ "workspace_closed_adding": "添加终端时工作区已关闭。",
+ "workspace_closed_sizes": "保存窗格大小时工作区已关闭。",
+ "workspace_closed_moving": "移动终端时工作区已关闭。",
+ "view_newer_than_backend": "此视图比后端更新——请重启应用后重试。",
+ "workspace_closed_renaming": "重命名终端时工作区已关闭。",
+ "workspace_closed_forking": "分叉终端时工作区已关闭。",
+ "workspace_not_open": "工作区已不再打开。",
+ "request_failed_status": "请求失败:{status}"
+ },
+ "shell_labels": {
+ "mission": "任务"
+ },
+ "plugins_category": {
+ "home_devices": "家居与设备",
+ "lists_tasks": "列表与任务",
+ "calendar_mail": "日历与邮件",
+ "messaging": "消息",
+ "knowledge_reading": "知识与阅读",
+ "media_creativity": "媒体与创意",
+ "files_photos": "文件与照片",
+ "developer": "开发",
+ "custom": "自定义"
+ },
+ "plugins_community": {
+ "portable_note_agents": "可移植技能 · 也能在 {agents} 中运行",
+ "portable_note_other": "可移植技能 · 也能在其他智能体中运行",
+ "auth_pat": "个人访问令牌",
+ "auth_device": "设备码登录",
+ "auth_oauth": "OAuth 登录",
+ "auth_allowlist": "账号许可名单",
+ "install_failed": "安装失败({status})",
+ "title": "社区市场",
+ "intro": "任何人都可以发布的插件和技能。这里的内容均未经 {product} 团队审核——安装前请先看清卡片会连接到哪里。",
+ "marketplace_section_hint": "完整市场(插件和技能)位于独立的版块中",
+ "marketplace_section": "市场版块",
+ "publish_hint": "在市场网站上发布你自己的插件或技能",
+ "publish": "发布你自己的",
+ "refresh": "重新获取社区索引",
+ "search_placeholder": "搜索社区插件和技能…",
+ "plugins": "插件",
+ "skills": "技能",
+ "loading": "正在加载社区索引…",
+ "error": "无法加载社区索引。请检查网络连接后点击刷新重试。",
+ "disabled": "社区市场已在配置中关闭(marketplace.community_index_url 为空)。",
+ "unavailable": "无法访问社区索引,且尚无已保存的副本。请联网一次以加载它。",
+ "stale": "正在显示已保存的副本——索引暂时无法刷新。",
+ "files_loading": "正在读取已发布的文件…",
+ "files_error": "暂时无法读取已发布的文件。下方的安装不受影响——但你将安装一个你没看过的内容。",
+ "whats_inside": "包含内容",
+ "files_one": "1 个文件",
+ "files_other": "{count} 个文件",
+ "file_truncated": "仅显示前 256 kB——已发布的文件更长。打开源码可阅读其余部分。",
+ "files_exact": "与发布内容完全一致。这就是 {product} 安装时下载的字节——中间不会添加或改写任何内容。",
+ "not_installable": "无法安装:{error}",
+ "read_contents": "查看 {entry} 包含的内容",
+ "badge_unreviewed": "社区 · 未审核",
+ "installed": "已安装",
+ "installed_lower": "已安装",
+ "by": "作者 {publisher}",
+ "unknown_publisher": "未知发布者",
+ "view_source": "查看已发布的源码",
+ "view_source_of": "查看 {entry} 的源码",
+ "remove_hint": "移除此插件及其已保存的访问权限",
+ "name_taken_hint": "已有内置插件使用此名称",
+ "name_taken": "名称已占用",
+ "install": "安装",
+ "read_skill": "查看 {entry} 会告诉助手什么",
+ "portable": "可移植",
+ "manual_hint": "无直接下载——请打开源码并按其步骤操作",
+ "manual": "手动",
+ "install_named": "安装 {entry}?",
+ "skill_unreviewed": "社区技能 · 未审核",
+ "plugin_unreviewed": "社区插件 · 未审核",
+ "published_by": "发布者",
+ "unknown_author": "未知作者",
+ "version": "版本 {version}",
+ "portable_follow": "{note}。{product} 会遵循其指令,并忽略面向其他智能体的设置。",
+ "skill_download_from": "指令下载自:",
+ "terminal_comment": "# 同样的安装,在终端中执行。",
+ "skill_explainer": "技能是助手遵循的一组指令——上面的文本正是它会被告知要做的事。",
+ "sends_to": "连接后,请求和你的 {entry} 访问令牌会发送到:",
+ "runs_command": "连接后,此命令会在你的电脑上运行:",
+ "metadata_only": "此条目仅包含元数据——不会添加服务器,也不会运行任何命令。",
+ "signin_method": "登录方式:",
+ "signin_not_yet": "——安装后尚不会连接任何内容。"
+ },
+ "ide_threads": {
+ "layout_aria": "IDE 布局",
+ "layout_grid": "终端网格",
+ "layout_threads": "线程",
+ "layout_verse": "Dodaios Verse",
+ "terminal_needs_folder": "终端需要一个项目文件夹",
+ "hide_terminal": "隐藏终端",
+ "show_terminal": "显示终端",
+ "terminal": "终端",
+ "resize_terminal": "调整终端大小",
+ "terminals": "终端",
+ "terminal_n": "终端 {number}",
+ "close_named": "关闭 {target}",
+ "close_terminal": "关闭终端",
+ "new_terminal": "新建终端",
+ "where_agent_works": "智能体的工作位置",
+ "not_a_repo": "不是 git 仓库",
+ "worktree_base_title": "新 worktree 的起始分支",
+ "agent_on_branch": "智能体正在此分支上工作",
+ "switch_branch": "切换分支",
+ "from_branch": "基于 {branch}",
+ "uncommitted_changes": "未提交的更改",
+ "own_branch": "独立分支",
+ "branches": "分支",
+ "start_worktree_from": "worktree 起始于",
+ "switch_to": "切换到",
+ "in_a_worktree": "在 worktree 中",
+ "no_local_branches": "还没有本地分支。",
+ "hint_new_thread": "新线程",
+ "hint_connect_first": "请先连接",
+ "agent_model_aria": "编程智能体和模型",
+ "choose_agent": "选择智能体",
+ "loading_agents": "正在加载智能体…",
+ "search_agents_models": "搜索智能体和模型",
+ "access_aria": "智能体无需询问即可执行的操作",
+ "sub_status_running": "工作中",
+ "sub_status_done": "完成",
+ "sub_status_failed": "失败",
+ "sub_status_stopped": "已停止",
+ "tools_one": "{count} 个工具",
+ "tools_other": "{count} 个工具",
+ "tokens": "{count} 个 token",
+ "waiting_approval": "等待你的批准",
+ "using_tool": "正在使用 {tool}",
+ "stopped_before_answer": "在回答前已停止",
+ "finished": "已完成",
+ "open_subagent": "打开子智能体 {title},{status}",
+ "subagents_one": "{count} 个子智能体",
+ "subagents_other": "{count} 个子智能体",
+ "count_working": "{count} 个工作中",
+ "count_waiting": "{count} 个等待中",
+ "count_failed": "{count} 个失败",
+ "subagents_aria": "子智能体",
+ "main_thread": "主线程",
+ "in_background": "在后台",
+ "task": "任务",
+ "task_from": "来自 {parent} 的任务",
+ "the_main_agent": "主智能体",
+ "show_less": "收起",
+ "show_whole_task": "显示完整任务",
+ "unstreamed_running": "此智能体的 CLI 不会流式传输子智能体的步骤。完成后其回答会显示在这里。",
+ "unstreamed_done": "此智能体的 CLI 只报告了任务和回答,没有报告子智能体的步骤。",
+ "new_thread": "新线程",
+ "age_now": "刚刚",
+ "age_minutes": "{count} 分钟",
+ "age_hours": "{count} 小时",
+ "age_days": "{count} 天",
+ "age_weeks": "{count} 周",
+ "connect_folder_first": "请先连接一个项目文件夹。",
+ "connect_a_project": "连接项目",
+ "empty_body": "线程会在项目文件夹中运行编程智能体。连接一个即可开始。",
+ "connect_folder": "连接文件夹",
+ "build_in": "我们要在 {project} 中构建什么?",
+ "projects": "项目",
+ "connect_another": "连接另一个文件夹",
+ "new_activity": "新动态",
+ "new_thread_in": "在 {project} 中新建线程",
+ "save_name": "保存名称",
+ "cancel_renaming": "取消重命名",
+ "thread_actions_for": "{target} 的线程操作",
+ "thread_actions": "线程操作",
+ "show_more": "再显示 {count} 个",
+ "start_thread": "开始一个线程",
+ "archived_count": "已归档({count})",
+ "restore_named": "恢复 {target}",
+ "restore": "恢复",
+ "delete_confirm": "删除此线程?",
+ "delete_body": "其对话会从列表中移除。编程智能体自己的历史记录保留在磁盘上。",
+ "rename": "重命名",
+ "new_thread_here": "在此项目中新建线程",
+ "archive": "归档",
+ "plan_ready": "计划已就绪",
+ "approval_needed": "需要批准",
+ "one_of": "第 1 个,共 {count} 个",
+ "plan_hint": "开始构建,或继续规划并说明要改什么。",
+ "keep_planning": "继续规划",
+ "decline": "拒绝",
+ "always_allow_title": "批准,并在此线程中不再询问此项",
+ "always_allow": "始终允许",
+ "build_it": "开始构建",
+ "approve": "批准",
+ "build_switches": "“开始构建”会将访问权限切换为 {mode} 并开始构建。",
+ "build_starts": "“开始构建”会立即开始构建。",
+ "or_keep_planning": "或继续规划并输入要修改的内容。",
+ "asks": "{asker} 提问",
+ "the_agent": "智能体",
+ "n_of": "第 {index} 个,共 {count} 个",
+ "own_answer": "或输入你自己的回答",
+ "skip": "跳过",
+ "choose_connected_agent": "请先选择一个已连接的编程智能体。",
+ "queue_paused": "智能体停止后,队列已暂停。",
+ "send_next": "发送下一条",
+ "queued": "已排队",
+ "files_one": "{count} 个文件",
+ "files_other": "{count} 个文件",
+ "remove_queued": "移除排队的消息",
+ "message_agent": "给编程智能体发消息",
+ "queue_placeholder": "排队一条后续消息,待智能体完成后发送",
+ "composer_placeholder": "提出修改、发送后续消息或附加图片",
+ "stop_agent": "停止智能体",
+ "stop": "停止",
+ "queue_message": "排队消息",
+ "send_message": "发送消息",
+ "queue_title": "排队,待智能体完成后发送",
+ "copy_message": "复制消息",
+ "scroll_newest": "滚动到最新消息"
+ },
+ "ide_view": {
+ "split_right": "右侧",
+ "split_down": "下方",
+ "split_left": "左侧",
+ "split_up": "上方",
+ "split_right_aria": "向右拆分",
+ "split_down_aria": "向下拆分",
+ "split_left_aria": "向左拆分",
+ "split_up_aria": "向上拆分",
+ "split_right_hint": "在窗格右侧打开新智能体",
+ "split_down_hint": "在窗格下方打开新智能体",
+ "split_left_hint": "在窗格左侧打开新智能体",
+ "split_up_hint": "在窗格上方打开新智能体",
+ "choose_folder": "请为此项目选择一个文件夹。",
+ "choose_agent_every": "请为每个会话选择一个已安装的编程智能体。",
+ "connect_agent_clis": "请在 CLI 中连接一个编程智能体以继续。",
+ "no_project": "此工作区不属于任何已连接的项目。",
+ "no_workspace_n": "没有工作区 {number}。",
+ "workspace_fallback": "工作区",
+ "loading_projects": "正在加载项目…",
+ "choose_workspace": "选择工作区",
+ "select_workspace_hint": "从“项目”中选择一个工作区,或点击项目旁的 + 创建一个。",
+ "connect_folder_hint": "连接一个文件夹,将其编程智能体和你的助手汇集到一个工作区。",
+ "add_agent": "添加编程智能体",
+ "agents_one": "{count} 个智能体",
+ "agents_other": "{count} 个智能体",
+ "sessions_one": "{count} 个会话",
+ "sessions_other": "{count} 个会话",
+ "where_open": "在哪里打开?",
+ "next_to": "旁边",
+ "split_next_to": "在旁边拆分",
+ "auto_grid": "自动均分网格",
+ "split_direction": "拆分方向",
+ "joins_grid": "新智能体会加入网格,每个窗格平分空间。",
+ "copying_starting": "正在复制文件夹并在那里启动智能体。大文件夹需要一分钟左右。",
+ "name_optional": "名称(可选)",
+ "workspace_placeholder": "工作区",
+ "copying_folder": "正在复制文件夹…",
+ "starting": "正在启动…",
+ "workspace_name": "工作区名称"
+ },
+ "install_standard": {
+ "method": "安装方式",
+ "copy_command": "复制安装命令",
+ "copy_named": "复制 {method} 安装命令",
+ "copied": "已复制",
+ "copy": "复制",
+ "heading": "安装",
+ "tab_cli": "CLI",
+ "tab_runner": "uvx",
+ "tab_prompt": "提示词",
+ "hint_cli": "应用运行时可在任意终端中执行。",
+ "hint_runner": "无需安装——uv 会获取 CLI 并运行同一命令。",
+ "hint_prompt": "把这段话粘贴给你的助手——它会替你完成安装。",
+ "note_jarvis": "{product} 运行时可在任意终端中执行。",
+ "note_skills_sh": "将同一技能安装到 Claude Code、Cursor、Codex 及其他智能体中。"
+ },
+ "plugins_package": {
+ "plugin_json_invalid": "plugin.json 不是有效的 JSON——请在发布前修正。",
+ "no_mcp_json": "未找到 mcp.json——如果 auth 块指向托管的 MCP 服务器,或该包只包含技能,这没有问题。",
+ "missing_type_one": "mcp.json 服务器 {servers} 缺少 \"type\"——商店要求每个服务器都有 \"type\": \"streamable-http\" | \"stdio\" | \"sse\"。",
+ "missing_type_other": "mcp.json 服务器 {servers} 缺少 \"type\"——商店要求每个服务器都有 \"type\": \"streamable-http\" | \"stdio\" | \"sse\"。",
+ "too_many_skills": "附带的技能超过 10 个——商店最多接受 10 个。",
+ "nothing_found": "未找到 plugin.json 或 SKILL.md——包文件夹的顶层需要其中之一。单个文件也可以,只要它名为 SKILL.md 或以 YAML frontmatter(---)开头。",
+ "no_frontmatter": "SKILL.md 未以 YAML frontmatter(---)开头——商店要求必须如此。"
+ },
+ "debug_view": {
+ "title": "调试",
+ "subtitle": "实时事件总线与诊断",
+ "event_count": "{count} 个事件",
+ "event_timeline": "事件时间线",
+ "emit": "发送",
+ "clear": "清空",
+ "switch_brain_provider": "切换 Brain 提供商",
+ "flight_recorder": "飞行记录器",
+ "traces_from": "JSONL 跟踪记录来自",
+ "replay_coming": "回放播放器即将推出。",
+ "metrics": "指标",
+ "metrics_coming": "各提供商的延迟 / token / 费用——实时图表将于第 2 阶段推出。"
+ },
+ "install_terminal": {
+ "pane_title": "安装 {package}",
+ "starting": "正在启动 {package} 的安装程序…"
+ },
+ "install_agents": {
+ "decrease": "减少",
+ "increase": "增加",
+ "recheck": "重新检查"
}
}
diff --git a/jarvis/ui/web/frontend/src/i18n/onboarding-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/onboarding-i18n-parity.test.ts
index 9d64e2e86b..c35456453d 100644
--- a/jarvis/ui/web/frontend/src/i18n/onboarding-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/onboarding-i18n-parity.test.ts
@@ -10,6 +10,7 @@ import { SETUP_STEP_IDS } from "@/components/onboarding/setup/setupSteps";
import en from "./locales/onboarding/en.json";
import de from "./locales/onboarding/de.json";
import es from "./locales/onboarding/es.json";
+import pt from "./locales/onboarding/pt.json";
import mainEn from "./locales/en.json";
function flatten(obj: Record<string, unknown>, prefix = ""): string[] {
@@ -42,7 +43,7 @@ function sources(dir: string): string[] {
describe("onboarding locale chunk", () => {
const enKeys = keysOf(en);
- for (const [lang, loc] of [["de", de], ["es", es]] as const) {
+ for (const [lang, loc] of [["de", de], ["es", es], ["pt", pt]] as const) {
it(`${lang} has exactly the keys en has`, () => {
const langKeys = keysOf(loc);
const missing = [...enKeys].filter((k) => !langKeys.has(k));
@@ -79,7 +80,7 @@ describe("onboarding locale chunk", () => {
});
it("never names the assistant with a trademark — only the {name} token", () => {
- const text = JSON.stringify(en) + JSON.stringify(de) + JSON.stringify(es);
+ const text = JSON.stringify(en) + JSON.stringify(de) + JSON.stringify(es) + JSON.stringify(pt);
expect(text).not.toMatch(/\bJarvis\b/);
});
});
diff --git a/jarvis/ui/web/frontend/src/i18n/pt-locale-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/pt-locale-parity.test.ts
new file mode 100644
index 0000000000..0fa6bc57b1
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/i18n/pt-locale-parity.test.ts
@@ -0,0 +1,92 @@
+/**
+ * The European Portuguese interface must be complete: every dictionary — the
+ * main one and every lazy chunk — carries exactly the keys English carries,
+ * and every translated string keeps the placeholders of its English source.
+ * A key that exists only in English renders in English inside a Portuguese UI;
+ * a dropped `{name}` or `{0}` renders a sentence with a hole in it.
+ */
+import { describe, expect, it } from "vitest";
+import en from "./locales/en.json";
+import pt from "./locales/pt.json";
+import appshotEditorEn from "./locales/appshot_editor/en.json";
+import appshotEditorPt from "./locales/appshot_editor/pt.json";
+import computersEn from "./locales/computers/en.json";
+import computersPt from "./locales/computers/pt.json";
+import localModelsEn from "./locales/local_models/en.json";
+import localModelsPt from "./locales/local_models/pt.json";
+import marketplaceEn from "./locales/marketplace/en.json";
+import marketplacePt from "./locales/marketplace/pt.json";
+import onboardingEn from "./locales/onboarding/en.json";
+import onboardingPt from "./locales/onboarding/pt.json";
+import paneReviewEn from "./locales/pane_review/en.json";
+import paneReviewPt from "./locales/pane_review/pt.json";
+import providersEn from "./locales/providers/en.json";
+import providersPt from "./locales/providers/pt.json";
+import societyEn from "./locales/society/en.json";
+import societyPt from "./locales/society/pt.json";
+
+type Tree = Record<string, unknown>;
+
+const PAIRS: [string, Tree, Tree][] = [
+ ["main", en, pt],
+ ["appshot_editor", appshotEditorEn, appshotEditorPt],
+ ["computers", computersEn, computersPt],
+ ["local_models", localModelsEn, localModelsPt],
+ ["marketplace", marketplaceEn, marketplacePt],
+ ["onboarding", onboardingEn, onboardingPt],
+ ["pane_review", paneReviewEn, paneReviewPt],
+ ["providers", providersEn, providersPt],
+ ["society", societyEn, societyPt],
+];
+
+function leaves(tree: Tree, prefix = ""): Map<string, unknown> {
+ const out = new Map<string, unknown>();
+ for (const [key, value] of Object.entries(tree)) {
+ const path = prefix ? `${prefix}.${key}` : key;
+ if (value && typeof value === "object" && !Array.isArray(value)) {
+ for (const [k, v] of leaves(value as Tree, path)) out.set(k, v);
+ } else {
+ out.set(path, value);
+ }
+ }
+ return out;
+}
+
+const PLACEHOLDER = /\{\w+\}/g;
+const placeholders = (text: unknown) =>
+ typeof text === "string" ? (text.match(PLACEHOLDER) ?? []).sort() : [];
+
+describe("European Portuguese interface dictionaries", () => {
+ for (const [name, source, target] of PAIRS) {
+ it(`${name}: pt carries exactly the keys en carries`, () => {
+ expect([...leaves(target).keys()].sort()).toEqual([...leaves(source).keys()].sort());
+ });
+
+ it(`${name}: pt keeps every placeholder of the English string`, () => {
+ const ptLeaves = leaves(target);
+ const broken = [...leaves(source)]
+ .filter(([key, text]) => {
+ const got = placeholders(ptLeaves.get(key));
+ const want = placeholders(text);
+ return got.join("|") !== want.join("|");
+ })
+ .map(([key]) => key);
+ expect(broken).toEqual([]);
+ });
+ }
+
+ it("names itself in its own language", () => {
+ expect(pt.languages_view.options.pt.label).toBe("Português (Portugal)");
+ });
+
+ it("sends its own code with slash commands", () => {
+ // ChatCommands.tsx forwards this value as the command locale; anything
+ // else would make Portuguese slash commands answer in English.
+ expect(pt.slash.locale).toBe("pt");
+ });
+
+ it("formats plurals and numbers as European Portuguese", () => {
+ // Bare "pt" is Brazilian in CLDR (it counts 0 as singular); pt-PT does not.
+ expect(pt.trace_report.locale).toBe("pt-PT");
+ });
+});
diff --git a/jarvis/ui/web/frontend/src/i18n/realtime-surface-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/realtime-surface-parity.test.ts
index 32332da06d..2fbe2a40d8 100644
--- a/jarvis/ui/web/frontend/src/i18n/realtime-surface-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/realtime-surface-parity.test.ts
@@ -25,6 +25,7 @@ import { VOICE_STATES } from "@/store/events";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Loc = Record<string, unknown>;
@@ -32,6 +33,7 @@ const LOCALES = [
["en", en],
["de", de],
["es", es],
+ ["pt", pt],
] as const;
function valueAt(locale: Loc, path: string): unknown {
@@ -77,7 +79,7 @@ describe("voice state parity (supervisor enum <-> UI)", () => {
expect(missing).toEqual([]);
});
- it("every voice state has a label in en/de/es", () => {
+ it("every voice state has a label in every locale", () => {
for (const state of VOICE_STATES) expectTranslated(`voice_state.${state}`);
});
@@ -94,7 +96,7 @@ describe("provider state chip parity", () => {
expect(Object.keys(PROVIDER_STATE_CHIPS).length).toBeGreaterThan(4);
});
- it("every chip has a label in en/de/es", () => {
+ it("every chip has a label in every locale", () => {
for (const chip of Object.values(PROVIDER_STATE_CHIPS)) {
expectTranslated(chip.key);
}
@@ -102,7 +104,7 @@ describe("provider state chip parity", () => {
});
describe("realtime transport issue parity", () => {
- it("every client-side transport blocker has a label in en/de/es", () => {
+ it("every client-side transport blocker has a label in every locale", () => {
for (const issue of REALTIME_TRANSPORT_ISSUES) {
expectTranslated(realtimeTransportIssueKey(issue));
}
@@ -135,6 +137,6 @@ describe("realtime status copy", () => {
] as const;
for (const key of KEYS) {
- it(`${key} exists in en/de/es`, () => expectTranslated(key));
+ it(`${key} exists in every locale`, () => expectTranslated(key));
}
});
diff --git a/jarvis/ui/web/frontend/src/i18n/society-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/society-i18n-parity.test.ts
index ae0d15d29d..28bbddbec4 100644
--- a/jarvis/ui/web/frontend/src/i18n/society-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/society-i18n-parity.test.ts
@@ -1,6 +1,6 @@
/**
* Every `society.*` key the society surfaces ask for must exist in en — and
- * de/es must carry exactly the keys en carries in that block. The keys are
+ * de/es/pt must carry exactly the keys en carries in that block. The keys are
* read from the source files themselves, so a roster, card or creator string
* added without its translations fails here, not in front of a person.
* Modelled on agent-chat-i18n-parity.test.ts.
@@ -11,11 +11,13 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
// The island's strings live in the lazy `society` chunk (world README); a
// key may come from either file, and the chunk mirrors across locales too.
import enWorld from "./locales/society/en.json";
import deWorld from "./locales/society/de.json";
import esWorld from "./locales/society/es.json";
+import ptWorld from "./locales/society/pt.json";
function flatten(obj: Record<string, unknown>, prefix = ""): string[] {
const out: string[] = [];
@@ -87,10 +89,11 @@ describe("society i18n parity", () => {
}
});
- it("de and es carry exactly the society keys en carries", () => {
+ it("de, es and pt carry exactly the society keys en carries", () => {
for (const [name, loc, world] of [
["de", de, deWorld],
["es", es, esWorld],
+ ["pt", pt, ptWorld],
] as const) {
const keys = blockKeys(loc as Record<string, unknown>, world as Record<string, unknown>);
const missing = [...enKeys].filter((k) => !keys.has(k));
diff --git a/jarvis/ui/web/frontend/src/i18n/ui-locale-lazy.test.ts b/jarvis/ui/web/frontend/src/i18n/ui-locale-lazy.test.ts
index 62506ab6c1..2c9e770702 100644
--- a/jarvis/ui/web/frontend/src/i18n/ui-locale-lazy.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/ui-locale-lazy.test.ts
@@ -3,6 +3,7 @@ import { afterEach, describe, expect, it } from "vitest";
import de from "./locales/de.json";
import es from "./locales/es.json";
import zh from "./locales/zh.json";
+import pt from "./locales/pt.json";
import { loadUiLocale, translate, useI18nStore } from "./index";
afterEach(() => {
@@ -14,6 +15,7 @@ describe("on-demand interface dictionaries", () => {
["de", de.common.loading],
["es", es.common.loading],
["zh", zh.common.loading],
+ ["pt", pt.common.loading],
] as const)("resolves %s before showing its translated labels", async (lang, loading) => {
const first = loadUiLocale(lang);
expect(loadUiLocale(lang)).toBe(first);
diff --git a/jarvis/ui/web/frontend/src/i18n/voice-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/voice-i18n-parity.test.ts
index ec209838bc..49c08e0cd0 100644
--- a/jarvis/ui/web/frontend/src/i18n/voice-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/voice-i18n-parity.test.ts
@@ -13,6 +13,7 @@ import { CODEX_STATUS_KEY_BY_REASON } from "@/components/providers/ProviderTierS
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Loc = Record<string, unknown>;
@@ -47,6 +48,7 @@ const NAMESPACES: readonly (readonly [string, number])[] = [
const LOCALES = [
["de", de],
["es", es],
+ ["pt", pt],
] as const;
describe("voice section i18n parity", () => {
diff --git a/jarvis/ui/web/frontend/src/i18n/workspace-launcher-i18n-parity.test.ts b/jarvis/ui/web/frontend/src/i18n/workspace-launcher-i18n-parity.test.ts
index ef5b6fd07d..ff5617e980 100644
--- a/jarvis/ui/web/frontend/src/i18n/workspace-launcher-i18n-parity.test.ts
+++ b/jarvis/ui/web/frontend/src/i18n/workspace-launcher-i18n-parity.test.ts
@@ -2,6 +2,7 @@ import { describe, expect, it } from "vitest";
import en from "./locales/en.json";
import de from "./locales/de.json";
import es from "./locales/es.json";
+import pt from "./locales/pt.json";
type Locale = Record<string, unknown>;
@@ -18,7 +19,7 @@ const keys = (locale: Locale, section: string) =>
flatten((locale[section] ?? {}) as Locale).sort();
describe("workspace launcher i18n parity", () => {
- for (const [language, locale] of Object.entries({ de, es })) {
+ for (const [language, locale] of Object.entries({ de, es, pt })) {
it(`${language} has the same workspace launcher keys as en`, () => {
expect(keys(locale as Locale, "workspace_launcher")).toEqual(
keys(en as Locale, "workspace_launcher"),
diff --git a/jarvis/ui/web/frontend/src/lib/agentAccountsApi.ts b/jarvis/ui/web/frontend/src/lib/agentAccountsApi.ts
index e2203c7dd5..68c31158a5 100644
--- a/jarvis/ui/web/frontend/src/lib/agentAccountsApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/agentAccountsApi.ts
@@ -3,6 +3,7 @@
// everywhere because WebView2 will happily serve a stale account list — and a
// stale one here is worse than elsewhere: it would show the wrong plan as the
// active one right after the user switched.
+import { fill, translate } from "@/i18n";
/**
* Which coding CLI a subscription belongs to — the backend's registry id.
@@ -144,7 +145,7 @@ async function detail(res: Response): Promise<string> {
} catch {
/* fall through */
}
- return `request failed: ${res.status}`;
+ return fill(translate("shell_errors.request_failed_status"), { status: res.status });
}
async function send<T>(url: string, init: RequestInit): Promise<T> {
diff --git a/jarvis/ui/web/frontend/src/lib/agentShare.ts b/jarvis/ui/web/frontend/src/lib/agentShare.ts
index cdf9c6da5c..74459964ae 100644
--- a/jarvis/ui/web/frontend/src/lib/agentShare.ts
+++ b/jarvis/ui/web/frontend/src/lib/agentShare.ts
@@ -7,6 +7,7 @@
* sends a template of its own to publish, so what leaves the machine is
* exactly what the server's scrubber let through.
*/
+import { fill, translate } from "@/i18n";
export type ShareFindingKind = "secret" | "email" | "path" | "phone" | "address";
@@ -115,7 +116,7 @@ async function readError(res: Response): Promise<ShareError> {
};
const detail = body.detail;
if (typeof detail === "string") return new ShareError(detail, res.status);
- const message = detail?.error ?? detail?.detail ?? `Request failed (${res.status})`;
+ const message = detail?.error ?? detail?.detail ?? fill(translate("common.request_failed"), { status: res.status });
return new ShareError(message, res.status, detail?.field ?? null);
}
diff --git a/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts b/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts
index 39aa31b0eb..ef08406bbf 100644
--- a/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts
@@ -13,6 +13,7 @@ import type {
PermissionModeOption,
} from "./agentChatApi";
import type { ChatProject } from "./chatLibraryApi";
+import { fill, translate } from "@/i18n";
export interface AgentStatus {
name: string;
@@ -595,7 +596,7 @@ async function detail(res: Response): Promise<string> {
} catch {
/* fall through */
}
- return `request failed: ${res.status}`;
+ return fill(translate("shell_errors.request_failed_status"), { status: res.status });
}
async function getJson<T>(url: string): Promise<T> {
@@ -1158,7 +1159,7 @@ async function launchTerminalTarget(
if (!res.ok) throw new Error(await detail(res));
const result = (await res.json()) as OpenTerminalTargetResult;
if (!result.opened) {
- throw new Error("Could not open that file or folder on this computer.");
+ throw new Error(translate("shell_errors.open_path_failed"));
}
return result;
}
@@ -1415,7 +1416,7 @@ export async function addTerminal(payload: {
const body = (await res.json()) as { state: IdeState; message?: string };
if (body.message) options.onMessage?.(body.message);
if (!body.state.session)
- throw new Error("The workspace closed while adding a terminal.");
+ throw new Error(translate("shell_errors.workspace_closed_adding"));
return body.state.session;
}
@@ -1487,7 +1488,7 @@ export async function saveLayoutWeights(layout: LayoutNode): Promise<SessionStat
if (!res.ok) throw new Error(await detail(res));
const body = (await res.json()) as { state: IdeState };
if (!body.state.session)
- throw new Error("The workspace closed while saving pane sizes.");
+ throw new Error(translate("shell_errors.workspace_closed_sizes"));
return body.state.session;
}
@@ -1518,7 +1519,7 @@ export async function moveTerminal(
if (!res.ok) throw new Error(await detail(res));
const body = (await res.json()) as { state: IdeState };
if (!body.state.session)
- throw new Error("The workspace closed while moving a terminal.");
+ throw new Error(translate("shell_errors.workspace_closed_moving"));
return body.state.session;
}
@@ -1589,7 +1590,7 @@ export async function transferTerminal(
// The route's own 404 names the missing pane; a bare "Not Found" (or a
// 405) means the backend serving this view predates the route.
if (res.status === 405 || (res.status === 404 && message === "Not Found")) {
- throw new Error("This view is newer than the backend — restart the app and try again.");
+ throw new Error(translate("shell_errors.view_newer_than_backend"));
}
throw new Error(message);
}
@@ -1618,7 +1619,7 @@ export async function renameTerminal(
if (!res.ok) throw new Error(await detail(res));
const body = (await res.json()) as { state: IdeState };
if (!body.state.session)
- throw new Error("The workspace closed while renaming a terminal.");
+ throw new Error(translate("shell_errors.workspace_closed_renaming"));
return body.state.session;
}
@@ -1670,7 +1671,7 @@ export async function forkTerminal(
if (!res.ok) throw new Error(await detail(res));
const body = (await res.json()) as { state: IdeState; terminal: TerminalState };
if (!body.state.session)
- throw new Error("The workspace closed while forking a terminal.");
+ throw new Error(translate("shell_errors.workspace_closed_forking"));
return { session: body.state.session, terminal: body.terminal };
}
@@ -1728,7 +1729,7 @@ export async function closeTerminal(
);
if (!res.ok) throw new Error(await detail(res));
const body = (await res.json()) as { state: IdeState };
- if (!body.state.session) throw new Error("The workspace is no longer open.");
+ if (!body.state.session) throw new Error(translate("shell_errors.workspace_not_open"));
return body.state.session;
}
@@ -1775,7 +1776,7 @@ export async function closeTerminals(names: string[]): Promise<CloseTerminalsRes
failed: Array<{ name: string; detail: string }>;
state: IdeState;
};
- if (!body.state.session) throw new Error("The workspace is no longer open.");
+ if (!body.state.session) throw new Error(translate("shell_errors.workspace_not_open"));
return {
closed: body.closed ?? [],
failed: body.failed ?? [],
diff --git a/jarvis/ui/web/frontend/src/lib/appshotClipboard.ts b/jarvis/ui/web/frontend/src/lib/appshotClipboard.ts
index b7617bb92b..6a6c178133 100644
--- a/jarvis/ui/web/frontend/src/lib/appshotClipboard.ts
+++ b/jarvis/ui/web/frontend/src/lib/appshotClipboard.ts
@@ -9,6 +9,7 @@
* raced against a timeout so a promise that never settles cannot hang the
* button.
*/
+import { translate } from "@/i18n";
export const BROWSER_COPY_TIMEOUT_MS = 5_000;
@@ -44,7 +45,7 @@ export async function copyAppshotPng(blob: Blob, options: CopyOptions): Promise<
const clipboard =
options.clipboard !== undefined ? options.clipboard : typeof navigator !== "undefined" ? navigator.clipboard : null;
if (!clipboard || typeof ClipboardItem === "undefined") {
- throw new Error(nativeReason || "no clipboard is available here");
+ throw new Error(nativeReason || translate("shell_errors.no_clipboard"));
}
let timer: ReturnType<typeof setTimeout> | undefined;
try {
diff --git a/jarvis/ui/web/frontend/src/lib/backendMessage.test.ts b/jarvis/ui/web/frontend/src/lib/backendMessage.test.ts
new file mode 100644
index 0000000000..c5bc5f00e3
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/lib/backendMessage.test.ts
@@ -0,0 +1,20 @@
+import { describe, expect, it } from "vitest";
+
+import { backendMessage } from "./backendMessage";
+
+const dict: Record<string, string> = {
+ "ns.ready": "Pronto: {phrase}",
+};
+const t = (key: string) => dict[key] ?? key;
+
+describe("backendMessage", () => {
+ it("renders a known code with its params", () => {
+ expect(backendMessage(t, "ns", "ready", { phrase: "Olá" }, "Ready: Olá")).toBe("Pronto: Olá");
+ });
+
+ it("falls back to the backend sentence for an empty or unknown code", () => {
+ expect(backendMessage(t, "ns", "", null, "English text")).toBe("English text");
+ expect(backendMessage(t, "ns", "newer_code", {}, "English text")).toBe("English text");
+ expect(backendMessage(t, "ns", undefined, undefined, "English text")).toBe("English text");
+ });
+});
diff --git a/jarvis/ui/web/frontend/src/lib/backendMessage.ts b/jarvis/ui/web/frontend/src/lib/backendMessage.ts
new file mode 100644
index 0000000000..1ba3830c18
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/lib/backendMessage.ts
@@ -0,0 +1,26 @@
+import { fill } from "@/i18n";
+
+/** Fill-in values a backend sends next to a message code. */
+export type BackendMessageParams = Record<string, string | number> | null | undefined;
+
+/**
+ * Render a backend status sentence in the UI language.
+ *
+ * Routes that show prose to the user return a stable `code` (plus `params`)
+ * next to their English sentence. The translation lives under
+ * `<namespace>.<code>`; an empty code, or one this build has no translation
+ * for (a newer backend), shows the backend's own sentence unchanged.
+ */
+export function backendMessage(
+ t: (key: string) => string,
+ namespace: string,
+ code: string | null | undefined,
+ params: BackendMessageParams,
+ fallback: string,
+): string {
+ if (!code) return fallback;
+ const key = `${namespace}.${code}`;
+ const template = t(key);
+ if (template === key) return fallback;
+ return fill(template, params ?? {});
+}
diff --git a/jarvis/ui/web/frontend/src/lib/boardInsights.ts b/jarvis/ui/web/frontend/src/lib/boardInsights.ts
index 8fdabf60df..dfb14b0d95 100644
--- a/jarvis/ui/web/frontend/src/lib/boardInsights.ts
+++ b/jarvis/ui/web/frontend/src/lib/boardInsights.ts
@@ -4,6 +4,8 @@
* derivations are testable on their own and named in one place.
*/
import type { BoardInsights, InsightsDay } from "@/hooks/useBoardInsights";
+import { localeForUiLanguage } from "@/components/runs/format";
+import { useI18nStore } from "@/i18n";
import { prettyProviderName } from "@/lib/prettyProviderName";
/** Things the user started on a day: each dictation, voice session, chat
@@ -204,9 +206,19 @@ export function chatProviderLabel(id: string): string {
return CHAT_PROVIDER_LABELS[id] ?? prettyProviderName(id);
}
-/** Short form for big counts, in the same locale as `toLocaleString()`. */
+/** The BCP-47 locale of the current UI language, read at call time. */
+export function uiLocale(): string {
+ return localeForUiLanguage(useI18nStore.getState().ui);
+}
+
+/** Thousands-grouped count in the UI language. */
+export function formatCount(n: number): string {
+ return n.toLocaleString(uiLocale());
+}
+
+/** Short form for big counts, in the UI language. */
export function compactNumber(n: number): string {
- return new Intl.NumberFormat(undefined, {
+ return new Intl.NumberFormat(uiLocale(), {
notation: n >= 10_000 ? "compact" : "standard",
maximumFractionDigits: n >= 10_000 ? 1 : 0,
}).format(n);
@@ -214,11 +226,11 @@ export function compactNumber(n: number): string {
/** `{0}` substitution plus the `_one` plural key convention of the locales. */
export function plural(t: (k: string) => string, baseKey: string, n: number): string {
- return t(n === 1 ? `${baseKey}_one` : baseKey).replace("{0}", n.toLocaleString());
+ return t(n === 1 ? `${baseKey}_one` : baseKey).replace("{0}", formatCount(n));
}
/** A local day as "3 Oct 2026" in the UI language. */
-export function formatDay(iso: string, lang?: string): string {
+export function formatDay(iso: string, lang: string = uiLocale()): string {
const d = new Date(`${iso}T00:00:00`);
if (Number.isNaN(d.getTime())) return iso;
return d.toLocaleDateString(lang, { day: "numeric", month: "short", year: "numeric" });
diff --git a/jarvis/ui/web/frontend/src/lib/gitApi.ts b/jarvis/ui/web/frontend/src/lib/gitApi.ts
index 35b3634824..66241c7644 100644
--- a/jarvis/ui/web/frontend/src/lib/gitApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/gitApi.ts
@@ -6,6 +6,7 @@
* or a worktree). A failed git call rejects with a {@link GitApiError} whose
* `code` tells the UI which follow-up it can offer (`dirty` → "remove anyway?").
*/
+import { fill, translate } from "@/i18n";
export type GitPrepareMode =
| "current"
@@ -101,7 +102,7 @@ const BASE = "/api/agentic-ide/git";
async function failure(res: Response): Promise<GitApiError> {
// A backend that predates these routes: new code ships as a frontend bundle
// that reloads on its own, while Python routes load at the next app start.
- if (res.status === 404) return new GitApiError("Git options load after the next app restart.", "unavailable");
+ if (res.status === 404) return new GitApiError(translate("shell_errors.git_after_restart"), "unavailable");
try {
const body = (await res.json()) as { detail?: unknown };
const detail = body.detail;
@@ -113,7 +114,7 @@ async function failure(res: Response): Promise<GitApiError> {
} catch {
// Not JSON (a proxy error page): the status line is all there is to say.
}
- return new GitApiError(`Git request failed (${res.status})`, "failed");
+ return new GitApiError(fill(translate("shell_errors.git_request_failed"), { status: res.status }), "failed");
}
async function post<T>(path: string, body: object): Promise<T> {
diff --git a/jarvis/ui/web/frontend/src/lib/installStandard.ts b/jarvis/ui/web/frontend/src/lib/installStandard.ts
index 016e53622f..7cbdc59a52 100644
--- a/jarvis/ui/web/frontend/src/lib/installStandard.ts
+++ b/jarvis/ui/web/frontend/src/lib/installStandard.ts
@@ -31,6 +31,7 @@
* answers.
*/
+import { fill, translate } from "@/i18n";
import { PRODUCT_NAME } from "@/lib/branding";
export type EntryKind = "plugin" | "skill";
@@ -208,7 +209,7 @@ export function installBlock(
id: "jarvis",
label: PRODUCT_NAME,
command: cli,
- note: `Runs in any terminal while ${PRODUCT_NAME} is running.`,
+ note: fill(translate("install_standard.note_jarvis"), { product: PRODUCT_NAME }),
},
];
@@ -222,7 +223,7 @@ export function installBlock(
id: "skills",
label: "skills.sh",
command: skillsShCommand(target),
- note: "Installs the same skill into Claude Code, Cursor, Codex, and other agents.",
+ note: translate("install_standard.note_skills_sh"),
});
}
}
diff --git a/jarvis/ui/web/frontend/src/lib/keyFormat.ts b/jarvis/ui/web/frontend/src/lib/keyFormat.ts
index eae3373229..a0e36fba97 100644
--- a/jarvis/ui/web/frontend/src/lib/keyFormat.ts
+++ b/jarvis/ui/web/frontend/src/lib/keyFormat.ts
@@ -9,6 +9,7 @@
* Vertex service-account JSON, not an AI Studio key" at type-time prevents that
* whole class of mix-up. It only ever HINTS; it never blocks a save.
*/
+import { fill, translate } from "@/i18n";
export type KeyFormatKind =
// `AIza` — works on AI Studio, refused by Vertex (measured 2026-08-17).
@@ -40,6 +41,11 @@ export interface KeyFormatHint {
note?: string;
}
+/** "<Provider> API key" in the UI language; the provider name is a brand. */
+function apiKeyLabel(provider: string): string {
+ return fill(translate("apikeys_view.key_format_api_key"), { provider });
+}
+
/**
* Best-effort classification of a pasted credential by its shape. Returns
* `null` for blank input. Prefix order matters: the more specific `sk-ant-` /
@@ -53,20 +59,20 @@ export function detectKeyFormat(value: string): KeyFormatHint | null {
if (v.startsWith("{") && /"type"\s*:\s*"service_account"/.test(v)) {
return {
kind: "vertex-service-account",
- label: "Vertex AI service account",
- note: "This is a Vertex AI service-account file, not an AI Studio key — it bills a separate Google Cloud project.",
+ label: translate("apikeys_view.key_format_vertex_sa"),
+ note: translate("apikeys_view.key_format_vertex_sa_note"),
};
}
- if (/^sk-ant-/.test(v)) return { kind: "anthropic", label: "Anthropic API key" };
- if (/^sk-or-/.test(v)) return { kind: "openrouter", label: "OpenRouter API key" };
- if (/^nvapi-/.test(v)) return { kind: "nvidia", label: "NVIDIA API key" };
- if (/^sk_car_/.test(v)) return { kind: "cartesia", label: "Cartesia API key" };
+ if (/^sk-ant-/.test(v)) return { kind: "anthropic", label: apiKeyLabel("Anthropic") };
+ if (/^sk-or-/.test(v)) return { kind: "openrouter", label: apiKeyLabel("OpenRouter") };
+ if (/^nvapi-/.test(v)) return { kind: "nvidia", label: apiKeyLabel("NVIDIA") };
+ if (/^sk_car_/.test(v)) return { kind: "cartesia", label: apiKeyLabel("Cartesia") };
// ElevenLabs keys start with `sk_` (tested AFTER the more specific `sk_car_`
// so Cartesia wins its own prefix). Older 32-char hex keys fall through to
// "unknown" — harmless, since the hint never blocks a save.
- if (/^sk_/.test(v)) return { kind: "elevenlabs", label: "ElevenLabs API key" };
- if (/^gsk_/.test(v)) return { kind: "groq", label: "Groq API key" };
- if (/^xai-/.test(v)) return { kind: "xai", label: "xAI (Grok) API key" };
+ if (/^sk_/.test(v)) return { kind: "elevenlabs", label: apiKeyLabel("ElevenLabs") };
+ if (/^gsk_/.test(v)) return { kind: "groq", label: apiKeyLabel("Groq") };
+ if (/^xai-/.test(v)) return { kind: "xai", label: apiKeyLabel("xAI (Grok)") };
// AIza is the classic Google API-key prefix, used by AI Studio AND by a
// Google Cloud API key restricted to aiplatform.googleapis.com. Which one it
// is depends on the project it was created in, not on the string, so the slot
@@ -79,8 +85,8 @@ export function detectKeyFormat(value: string): KeyFormatHint | null {
if (/^AIza/.test(v)) {
return {
kind: "google-aistudio",
- label: "Google AI Studio key",
- note: "This shape works on Google AI Studio. Vertex AI refuses it — Vertex takes only an express-mode key (AQ.) or a Cloud project via [google].vertex_project.",
+ label: translate("apikeys_view.key_format_aistudio"),
+ note: translate("apikeys_view.key_format_aistudio_note"),
};
}
// AQ. is issued by BOTH Google AI Studio and Vertex AI express mode — the
@@ -90,12 +96,12 @@ export function detectKeyFormat(value: string): KeyFormatHint | null {
if (/^AQ\./.test(v)) {
return {
kind: "google-express",
- label: "Google API key (AI Studio or Vertex express)",
- note: "AI Studio and Vertex AI express keys share this format — the card you save it under decides the endpoint, and for a Gemini card Dodaios detects it automatically.",
+ label: translate("apikeys_view.key_format_google_express"),
+ note: translate("apikeys_view.key_format_google_express_note"),
};
}
- if (/^sk-/.test(v)) return { kind: "openai", label: "OpenAI API key" };
- return { kind: "unknown", label: "Unrecognized key format" };
+ if (/^sk-/.test(v)) return { kind: "openai", label: apiKeyLabel("OpenAI") };
+ return { kind: "unknown", label: translate("apikeys_view.key_format_unknown") };
}
/**
diff --git a/jarvis/ui/web/frontend/src/lib/languageNames.ts b/jarvis/ui/web/frontend/src/lib/languageNames.ts
index e0acc51ab5..234536a20f 100644
--- a/jarvis/ui/web/frontend/src/lib/languageNames.ts
+++ b/jarvis/ui/web/frontend/src/lib/languageNames.ts
@@ -45,8 +45,8 @@ const FALLBACK_NAMES: Readonly<Record<string, string>> = {
/**
* Curated order for the short language band shown above the complete list.
*
- * The product's three interface languages lead, followed by Chinese and other
- * frequently selected European languages. Every backend language remains
+ * The product's interface languages lead (English, German, Spanish, Chinese and
+ * Portuguese), followed by other frequently selected European languages. Every backend language remains
* available in the complete list below it.
*/
export const COMMON_LANGUAGE_CODES: readonly string[] = [
@@ -54,9 +54,9 @@ export const COMMON_LANGUAGE_CODES: readonly string[] = [
"de",
"es",
"zh",
+ "pt",
"fr",
"it",
- "pt",
"nl",
"pl",
"sv",
@@ -92,7 +92,8 @@ function displayNamesFor(uiLanguage: string): Intl.DisplayNames | null {
if (cached !== undefined) return cached;
let instance: Intl.DisplayNames | null = null;
try {
- instance = new Intl.DisplayNames([uiLanguage], { type: "language" });
+ // A bare "pt" means Brazilian Portuguese in CLDR; the app's Portuguese is European.
+ instance = new Intl.DisplayNames([uiLanguage === "pt" ? "pt-PT" : uiLanguage], { type: "language" });
} catch {
// No Intl.DisplayNames (very old runtime, or an unsupported locale): the
// fallback table and the raw code still produce something readable.
diff --git a/jarvis/ui/web/frontend/src/lib/missionDragImage.ts b/jarvis/ui/web/frontend/src/lib/missionDragImage.ts
index 5a6699e486..570498e52b 100644
--- a/jarvis/ui/web/frontend/src/lib/missionDragImage.ts
+++ b/jarvis/ui/web/frontend/src/lib/missionDragImage.ts
@@ -19,6 +19,7 @@
* error zero on every dpr; a `transform` moves only the painted pixels (which
* the snapshot still captures), so the chip never flashes on screen.
*/
+import { translate } from "@/i18n";
// The dark theme's --primary. Hardcoded rather than read from the token
// because the chip is painted onto its own near-black ground (below) and
@@ -28,7 +29,7 @@ const TITLE_MAX = 64;
function truncate(title: string): string {
const clean = title.replace(/\s+/g, " ").trim();
- if (!clean) return "Mission";
+ if (!clean) return translate("shell_labels.mission");
return clean.length > TITLE_MAX ? clean.slice(0, TITLE_MAX - 1) + "…" : clean;
}
diff --git a/jarvis/ui/web/frontend/src/lib/packageFolder.ts b/jarvis/ui/web/frontend/src/lib/packageFolder.ts
index ba30cd6004..1a3e3d6956 100644
--- a/jarvis/ui/web/frontend/src/lib/packageFolder.ts
+++ b/jarvis/ui/web/frontend/src/lib/packageFolder.ts
@@ -11,6 +11,8 @@
* user presses Publish, so an author can inspect the prefilled form first.
*/
+import { fill, translate } from "@/i18n";
+
export interface PackageSkill {
name: string;
skill_md: string;
@@ -247,21 +249,24 @@ export async function folderToDraft(input: NamedFile[]): Promise<FolderDraft> {
if (typeof manifest.version === "string") draft.version = manifest.version;
if (typeof manifest.description === "string") draft.description = manifest.description;
} catch {
- warnings.push("plugin.json is not valid JSON — fix it before publishing.");
+ warnings.push(translate("plugins_package.plugin_json_invalid"));
}
draft.mcp_json_text = await read(byPath("mcp.json"));
draft.usage_card = await read(byPath("io.github.personaljarvis/usage-card.md"));
if (!draft.mcp_json_text) {
- warnings.push(
- "No mcp.json found — fine when the auth block points at a hosted MCP server or the package is skills-only.",
- );
+ warnings.push(translate("plugins_package.no_mcp_json"));
} else {
const missingType = mcpServersMissingType(draft.mcp_json_text);
if (missingType.length > 0) {
warnings.push(
- `mcp.json server${missingType.length === 1 ? "" : "s"} ` +
- `${missingType.map((n) => `"${n}"`).join(", ")} missing "type" — the store requires ` +
- `"type": "streamable-http" | "stdio" | "sse" on every server.`,
+ fill(
+ translate(
+ missingType.length === 1
+ ? "plugins_package.missing_type_one"
+ : "plugins_package.missing_type_other",
+ ),
+ { servers: missingType.map((n) => `"${n}"`).join(", ") },
+ ),
);
}
}
@@ -269,7 +274,7 @@ export async function folderToDraft(input: NamedFile[]): Promise<FolderDraft> {
const m = /^skills\/([^/]+)\/SKILL\.md$/.exec(f.path);
if (!m) continue;
if (draft.skills.length >= 10) {
- warnings.push("More than 10 bundled skills — the store accepts at most 10.");
+ warnings.push(translate("plugins_package.too_many_skills"));
break;
}
draft.skills.push({ name: m[1], skill_md: await read(f) });
@@ -281,11 +286,7 @@ export async function folderToDraft(input: NamedFile[]): Promise<FolderDraft> {
const skillFile =
byPath("SKILL.md") ?? files.find((f) => f.path.endsWith("/SKILL.md")) ?? undefined;
if (!skillFile) {
- throw new Error(
- "No plugin.json and no SKILL.md found — a package folder needs one of the two at its " +
- "top level. A single file works too when it is named SKILL.md or starts with YAML " +
- "frontmatter (---).",
- );
+ throw new Error(translate("plugins_package.nothing_found"));
}
draft.skill_md = await read(skillFile);
const fm = frontmatterValues(draft.skill_md);
@@ -298,7 +299,7 @@ export async function folderToDraft(input: NamedFile[]): Promise<FolderDraft> {
(draft.name ? draft.name.replace(/-/g, " ").replace(/\b\w/g, (c) => c.toUpperCase()) : "");
if (fm.category) draft.categories = fm.category;
if (!draft.skill_md.startsWith("---")) {
- warnings.push("SKILL.md does not start with YAML frontmatter (---) — the store requires it.");
+ warnings.push(translate("plugins_package.no_frontmatter"));
}
return draft;
}
diff --git a/jarvis/ui/web/frontend/src/lib/permissionToast.test.ts b/jarvis/ui/web/frontend/src/lib/permissionToast.test.ts
index 9e5b040712..344916215c 100644
--- a/jarvis/ui/web/frontend/src/lib/permissionToast.test.ts
+++ b/jarvis/ui/web/frontend/src/lib/permissionToast.test.ts
@@ -138,7 +138,7 @@ describe("the copy", () => {
episode({ origin: "background", feature: "wake_word" }),
];
- it.each(["en", "de", "es"] as UiLanguage[])("every sentence, name and button exists in %s", (language) => {
+ it.each(["en", "de", "es", "pt"] as UiLanguage[])("every sentence, name and button exists in %s", (language) => {
useI18nStore.getState().setUi(language, { push: false });
for (const shape of SHAPES) {
const plan = planPermissionToast(shape)!;
@@ -157,13 +157,13 @@ describe("the copy", () => {
});
it("keeps the sentences short, calm and free of pane names and jargon", () => {
- for (const language of ["en", "de", "es"] as UiLanguage[]) {
+ for (const language of ["en", "de", "es", "pt"] as UiLanguage[]) {
useI18nStore.getState().setUi(language, { push: false });
for (const shape of SHAPES) {
const plan = planPermissionToast(shape)!;
const text = translate(plan.messageKey);
expect(text.length, text).toBeLessThan(170);
- expect(text).not.toMatch(/Privacy & Security|Privacidad y seguridad|Datenschutz & Sicherheit|TCC|tccutil|[>]/);
+ expect(text).not.toMatch(/Privacy & Security|Privacidad y seguridad|Privacidade e segurança|Datenschutz & Sicherheit|TCC|tccutil|[>]/);
}
}
});
diff --git a/jarvis/ui/web/frontend/src/lib/prettyProviderName.ts b/jarvis/ui/web/frontend/src/lib/prettyProviderName.ts
index bad11d72cd..ef37dab34f 100644
--- a/jarvis/ui/web/frontend/src/lib/prettyProviderName.ts
+++ b/jarvis/ui/web/frontend/src/lib/prettyProviderName.ts
@@ -7,11 +7,11 @@
* while `/api/settings/voice-mode` is still in flight. Unknown ids pass
* through unchanged so a newly added provider never renders as a blank.
*/
+import { translate } from "@/i18n";
+
const PROVIDER_NAMES: Record<string, string> = {
"claude-api": "Claude (API)",
openrouter: "OpenRouter",
- ollama: "Ollama (local)",
- "ollama-local": "Ollama (local)",
"ollama-cloud": "Ollama (Cloud)",
gemini: "Gemini",
vertex: "Vertex AI",
@@ -24,13 +24,21 @@ const PROVIDER_NAMES: Record<string, string> = {
"openai-realtime": "OpenAI Realtime",
"gemini-live": "Gemini Live",
"vertex-live": "Vertex AI Live",
- "local-realtime": "Self-hosted realtime",
- "local-voice": "Local voice",
unknown: "—",
};
+/** Fallback names that contain ordinary words, translated when read. */
+const PROVIDER_NAME_KEYS: Record<string, string> = {
+ ollama: "voice.polish.ollama_local",
+ "ollama-local": "voice.polish.ollama_local",
+ "local-realtime": "provider_switcher.name_local_realtime",
+ "local-voice": "provider_switcher.name_local_voice",
+};
+
export function prettyProviderName(id: string): string {
const key = id.trim();
if (!key) return "—";
+ const i18nKey = PROVIDER_NAME_KEYS[key];
+ if (i18nKey) return translate(i18nKey);
return PROVIDER_NAMES[key] ?? key;
}
diff --git a/jarvis/ui/web/frontend/src/lib/quickSwitch.test.ts b/jarvis/ui/web/frontend/src/lib/quickSwitch.test.ts
index 3215134be5..cb35b842c0 100644
--- a/jarvis/ui/web/frontend/src/lib/quickSwitch.test.ts
+++ b/jarvis/ui/web/frontend/src/lib/quickSwitch.test.ts
@@ -8,6 +8,7 @@ import { SECTION_IDS } from "@/store/events";
import en from "@/i18n/locales/en.json";
import de from "@/i18n/locales/de.json";
import es from "@/i18n/locales/es.json";
+import pt from "@/i18n/locales/pt.json";
import {
QUICK_SWITCH_ENTRIES,
ambiguousEntryKeys,
@@ -158,7 +159,7 @@ describe("typing a row's own name lands on that row", () => {
// The bug this guards: "API Keys" is both a page and a voice tab, and the
// switcher sent someone to the tab. A page must win its own name in every UI
// language; a tab must at least be reachable by its name.
- for (const [language, tree] of [["en", en], ["de", de], ["es", es]] as const) {
+ for (const [language, tree] of [["en", en], ["de", de], ["es", es], ["pt", pt]] as const) {
const labelFor = labelIn(tree);
it(`in ${language}`, () => {
for (const item of QUICK_SWITCH_ENTRIES) {
diff --git a/jarvis/ui/web/frontend/src/lib/realtimeAudio.ts b/jarvis/ui/web/frontend/src/lib/realtimeAudio.ts
index 9ed35c55e3..2dfec120ed 100644
--- a/jarvis/ui/web/frontend/src/lib/realtimeAudio.ts
+++ b/jarvis/ui/web/frontend/src/lib/realtimeAudio.ts
@@ -10,6 +10,7 @@ import { beginSpeechPlayback, clearSpeechPlayback, setTimedSpeechSession, spoken
import { audibleContextTime, DevicePlaybackTimeline, type AudioInterval, type RenderedAudioInterval } from "./playbackTimeline";
import { TimedAudioFrame, TimedTextFrame, TimedSpeechTracker } from "./timedSpeech";
import { acquireRealtimeAudio, releaseRealtimeAudio, type PreparedRealtimeAudio } from "./realtimeAudioPreparation";
+import { translate } from "@/i18n";
export function buildAudioSocketUrl(ticket?: string | null): string {
const proto = window.location.protocol === "https:" ? "wss" : "ws";
@@ -886,7 +887,7 @@ export class RealtimeAudioClient {
if (event.data?.type === "input_started") this.markStartup("input_started");
else if (event.data?.type === "input_caught_up") this.markStartup("input_caught_up");
if (event.data?.type !== "error" || this.intentionalClose) return;
- this.cb.onStatus?.("provider_error", { error: "Voice startup audio could not be retained. Please start again." });
+ this.cb.onStatus?.("provider_error", { error: translate("voice.startup_audio_lost") });
void this.disconnect();
};
}
@@ -1076,7 +1077,7 @@ export class RealtimeAudioClient {
}
}).catch(error => {
console.warn("Voice reconnection offer failed", error);
- this.cb.onStatus?.("provider_error", { error: "Voice reconnection failed." });
+ this.cb.onStatus?.("provider_error", { error: translate("voice.reconnect_failed") });
});
} else if (type === "audio_stopping") {
this.startupNode?.port.postMessage({ type: "suspend" });
@@ -1202,7 +1203,7 @@ export class RealtimeAudioClient {
this.startupPreroll.push(frame);
this.startupPrerollBytes += frame.byteLength;
if (this.startupPrerollBytes > (this.ctx?.sampleRate ?? 48000) * 2 * STARTUP_PREROLL_SECONDS) {
- this.cb.onStatus?.("provider_error", { error: "Voice startup audio could not be retained. Please start again." });
+ this.cb.onStatus?.("provider_error", { error: translate("voice.startup_audio_lost") });
void this.disconnect();
}
}
diff --git a/jarvis/ui/web/frontend/src/lib/shareImage.ts b/jarvis/ui/web/frontend/src/lib/shareImage.ts
index 1233ab6957..f7e8670e1f 100644
--- a/jarvis/ui/web/frontend/src/lib/shareImage.ts
+++ b/jarvis/ui/web/frontend/src/lib/shareImage.ts
@@ -7,6 +7,8 @@
* fallback chain in {@link shareToX}.
*/
import { toBlob } from "html-to-image";
+import { fill, translate } from "@/i18n";
+import { uiLocale } from "@/lib/boardInsights";
import {
OFFICIAL_REPO_LABEL,
OFFICIAL_REPO_URL,
@@ -91,12 +93,17 @@ export async function copyImageToClipboard(
/** Factual, link-free tweet body. The repo URL travels in the intent ``url``. */
export function buildShareText(stats: ShareStats): string {
- const nf = (n: number) => n.toLocaleString("en-US");
- return (
- `I've spoken ${nf(stats.userWords)} words to my ${PRODUCT_NAME} across ` +
- `${nf(stats.sessionCount)} conversations — ${stats.conversationHours.toFixed(1)} h of voice. ` +
- `Build your own:`
- );
+ const locale = uiLocale();
+ const nf = (n: number) => n.toLocaleString(locale);
+ return fill(translate("board_view.share.tweet_text"), {
+ words: nf(stats.userWords),
+ product: PRODUCT_NAME,
+ sessions: nf(stats.sessionCount),
+ hours: stats.conversationHours.toLocaleString(locale, {
+ minimumFractionDigits: 1,
+ maximumFractionDigits: 1,
+ }),
+ });
}
export type ShareToXResult =
diff --git a/jarvis/ui/web/frontend/src/lib/terminalLinks.ts b/jarvis/ui/web/frontend/src/lib/terminalLinks.ts
index 23fe1d9da8..272ac0c5f5 100644
--- a/jarvis/ui/web/frontend/src/lib/terminalLinks.ts
+++ b/jarvis/ui/web/frontend/src/lib/terminalLinks.ts
@@ -10,6 +10,7 @@ import type {
import { openTerminalTarget } from "@/lib/agenticIdeApi";
import { openExternalUrl } from "@/lib/openExternal";
+import { translate } from "@/i18n";
/**
* Raised for a Ctrl/Cmd-clicked local path before the OS opener runs. A
@@ -66,7 +67,7 @@ export function isTerminalPath(value: string): boolean {
function errorMessage(error: unknown): string {
return error instanceof Error
? error.message
- : "Could not open that terminal path.";
+ : translate("shell_errors.open_terminal_path_failed");
}
/**
diff --git a/jarvis/ui/web/frontend/src/lib/triggerDescription.ts b/jarvis/ui/web/frontend/src/lib/triggerDescription.ts
index 6eb815921e..00550a909e 100644
--- a/jarvis/ui/web/frontend/src/lib/triggerDescription.ts
+++ b/jarvis/ui/web/frontend/src/lib/triggerDescription.ts
@@ -1,3 +1,5 @@
+import { uiLocale } from "@/lib/boardInsights";
+
/** Seconds as the coarsest unit that stays a whole number: "6 h", "30 min". */
function humanEvery(seconds: number): string {
if (seconds % 86_400 === 0) return `${seconds / 86_400} d`;
@@ -11,7 +13,7 @@ function clockFromIso(value: unknown): string {
if (typeof value !== "string") return "";
const at = new Date(value);
if (Number.isNaN(at.getTime())) return "";
- return at.toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" });
+ return at.toLocaleTimeString(uiLocale(), { hour: "2-digit", minute: "2-digit" });
}
/**
@@ -41,10 +43,10 @@ export function describeTrigger(trigger: unknown, t: (key: string) => string = (
const time = String(raw.local_time ?? "");
const zone = String(raw.timezone ?? "");
const weekdays = Array.isArray(raw.weekdays) ? raw.weekdays.map((day: number) =>
- new Date(Date.UTC(2024, 0, 1 + day)).toLocaleDateString(undefined, { weekday: "short", timeZone: "UTC" })).join(", ") : "";
+ new Date(Date.UTC(2024, 0, 1 + day)).toLocaleDateString(uiLocale(), { weekday: "short", timeZone: "UTC" })).join(", ") : "";
const filters = [weekdays, Array.isArray(raw.month_days) && raw.month_days.length ? `[${raw.month_days.join(", ")}]` : "",
Array.isArray(raw.months) && raw.months.length ? raw.months.map((month: number) =>
- new Date(Date.UTC(2024, month - 1, 1)).toLocaleDateString(undefined, { month: "short", timeZone: "UTC" })).join(", ") : ""].filter(Boolean).join(" · ");
+ new Date(Date.UTC(2024, month - 1, 1)).toLocaleDateString(uiLocale(), { month: "short", timeZone: "UTC" })).join(", ") : ""].filter(Boolean).join(" · ");
return `${filters ? `${filters} · ${time}` : t("society.card.sched_every_day_at").replace("{0}", time)} · ${zone}`;
}
if (kind === "every" && typeof raw.interval_seconds === "number") {
diff --git a/jarvis/ui/web/frontend/src/lib/voiceApi.ts b/jarvis/ui/web/frontend/src/lib/voiceApi.ts
index 72f6d0d48b..8ea1308394 100644
--- a/jarvis/ui/web/frontend/src/lib/voiceApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/voiceApi.ts
@@ -1,5 +1,6 @@
// REST client for the voice orb. Plain same-origin fetch (mirrors
// agenticIdeApi), `no-store` so a WebView cannot answer with yesterday's state.
+import { fill, translate } from "@/i18n";
export interface VoiceCallAnswer {
armed: boolean;
@@ -27,8 +28,8 @@ async function post<T>(path: string): Promise<T> {
}
const message =
res.status === 503
- ? "Voice is not running on this computer."
- : detail || `Voice request failed (${res.status}).`;
+ ? translate("voice.not_running_here")
+ : detail || fill(translate("voice.request_failed"), { status: res.status });
throw Object.assign(new Error(message), { status: res.status }) as VoiceRequestError;
}
return (await res.json()) as T;
diff --git a/jarvis/ui/web/frontend/src/lib/workspaceApi.ts b/jarvis/ui/web/frontend/src/lib/workspaceApi.ts
index 29060d55b4..10a1889530 100644
--- a/jarvis/ui/web/frontend/src/lib/workspaceApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/workspaceApi.ts
@@ -3,6 +3,7 @@
// avoids the WebView2 stale-list cache trap. Terminals are embedded (xterm
// panes driven by the workspace PTY WebSocket), so launching just returns the
// per-slot plan — it opens no OS windows.
+import { fill, translate } from "@/i18n";
export interface WorkspaceAgent {
name: string;
@@ -67,5 +68,5 @@ async function extractDetail(res: Response): Promise<string> {
} catch {
/* fall through to status code */
}
- return `request failed: ${res.status}`;
+ return fill(translate("shell_errors.request_failed_status"), { status: res.status });
}
diff --git a/jarvis/ui/web/frontend/src/lib/workspaceClisApi.ts b/jarvis/ui/web/frontend/src/lib/workspaceClisApi.ts
index 3f43c42959..eafb6ccccd 100644
--- a/jarvis/ui/web/frontend/src/lib/workspaceClisApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/workspaceClisApi.ts
@@ -5,6 +5,7 @@
// for a live IDE session. What the two share is the RESULT: an entry created
// here shows up in `fetchIdeAgents()` on the next read, because the backend puts
// it in the same registry the shipped CLIs live in.
+import { fill, translate } from "@/i18n";
export interface CustomCli {
/** Stable registry key. Never changes, not even on a rename. */
@@ -60,7 +61,7 @@ async function detail(res: Response): Promise<string> {
} catch {
/* fall through */
}
- return `request failed: ${res.status}`;
+ return fill(translate("shell_errors.request_failed_status"), { status: res.status });
}
async function send<T>(url: string, init?: RequestInit): Promise<T> {
diff --git a/jarvis/ui/web/frontend/src/store/events.ts b/jarvis/ui/web/frontend/src/store/events.ts
index 59d403c8aa..e496d0bce8 100644
--- a/jarvis/ui/web/frontend/src/store/events.ts
+++ b/jarvis/ui/web/frontend/src/store/events.ts
@@ -251,6 +251,49 @@ export const SECTION_LABELS: Record<SectionId, string> = {
"agentic-ide-classic": "Terminal grid",
marketplace: "Marketplace",
};
+/**
+ * i18n keys for `SECTION_LABELS`, for user-facing readbacks (the voice-navigation
+ * toast). Translate at render/call time; the English table above stays the
+ * search alias source for the quick switcher.
+ */
+export const SECTION_LABEL_KEYS: Record<SectionId, string> = {
+ chats: "nav.chats",
+ agents: "nav.agents",
+ skills: "nav.skills",
+ plugins: "nav.plugins",
+ docs: "nav.docs",
+ mcps: "nav.mcps",
+ sessions: "nav.sessions",
+ costs: "nav.costs",
+ clis: "nav.clis",
+ "cli-test-hub": "nav.cli_test_hub",
+ board: "nav.board",
+ languages: "nav.languages",
+ profile: "nav.profile",
+ memory: "nav.memory",
+ apikeys: "nav.apikeys",
+ computers: "nav.computers",
+ settings: "nav.settings",
+ telephony: "nav.telephony",
+ "telephony-setup": "shell_sections.telephony_setup",
+ socials: "nav.socials",
+ taskbar: "nav.taskbar",
+ feedback: "nav.feedback",
+ "agent-instructions": "shell_sections.agent_instructions",
+ appshots: "nav.appshots",
+ shortcuts: "nav.shortcuts",
+ pets: "nav.pets",
+ dictionary: "nav.dictionary",
+ dictation: "nav.dictation",
+ "voice-shortcuts": "shell_sections.voice_shortcuts",
+ "voice-language": "shell_sections.voice_language",
+ "voice-api-keys": "shell_sections.voice_api_keys",
+ visualization: "shell_sections.visualization",
+ "agentic-ide": "nav.agentic_ide",
+ "chat-workspace": "nav.chat_workspace",
+ "agentic-ide-classic": "quick_switch.terminal_grid",
+ marketplace: "nav.marketplace",
+};
export interface EventItem {
id: string;
diff --git a/jarvis/ui/web/frontend/src/types/missions.ts b/jarvis/ui/web/frontend/src/types/missions.ts
index b1d644c0bf..ed7a66ac92 100644
--- a/jarvis/ui/web/frontend/src/types/missions.ts
+++ b/jarvis/ui/web/frontend/src/types/missions.ts
@@ -58,7 +58,7 @@ export interface MissionDispatched extends BasePayload {
prompt: string;
parent_mission_id: string | null;
priority: number;
- language: "de" | "en";
+ language: "de" | "en" | "es" | "pt";
}
export interface MissionPlanReady extends BasePayload {
@@ -160,6 +160,8 @@ export interface MissionApproved extends BasePayload {
wall_ms: number;
summary_de: string;
summary_en: string;
+ /** Summary in the dispatch language when it is neither de nor en (es/pt); empty otherwise. */
+ summary_local?: string;
}
export interface MissionFailed extends BasePayload {
diff --git a/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx b/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx
index 1eee742a9a..dccc85d58e 100644
--- a/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx
+++ b/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { FolderPlus, Loader2, Plus, X } from "lucide-react";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { CustomCliDialog } from "@/components/agentic/CustomCliDialog";
import { ProjectConnectDialog } from "@/components/agentic/ProjectConnectDialog";
import { VoiceBubble, storedVoiceBubbleOpen, storeVoiceBubbleOpen } from "@/components/agentic/VoiceBubble";
@@ -45,11 +45,12 @@ import {
const APPEARANCE_KEY = "jarvis.agenticIde.terminalAppearance";
const SPLIT_DIRECTION_KEY = "jarvis.agenticIde.splitDirection";
-const SPLIT_DIRECTIONS: { id: PaneSplitDirection; label: string; hint: string; Icon: typeof SplitRightIcon }[] = [
- { id: "right", label: "Right", hint: "Open the new agent to the right of the pane", Icon: SplitRightIcon },
- { id: "down", label: "Down", hint: "Open the new agent below the pane", Icon: SplitBelowIcon },
- { id: "left", label: "Left", hint: "Open the new agent to the left of the pane", Icon: SplitLeftIcon },
- { id: "above", label: "Up", hint: "Open the new agent above the pane", Icon: SplitAboveIcon },
+/** Each direction's words are locale keys (`ide_view.split_<key>…`), translated where rendered. */
+const SPLIT_DIRECTIONS: { id: PaneSplitDirection; key: string; Icon: typeof SplitRightIcon }[] = [
+ { id: "right", key: "right", Icon: SplitRightIcon },
+ { id: "down", key: "down", Icon: SplitBelowIcon },
+ { id: "left", key: "left", Icon: SplitLeftIcon },
+ { id: "above", key: "up", Icon: SplitAboveIcon },
];
const isSplitDirection = (value: unknown): value is PaneSplitDirection =>
@@ -331,7 +332,7 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
}, [action, activateFromTree, installed, projects, session?.id]);
const connect = async (projectPath: string, projectName?: string) => {
- if (!projectPath) throw new Error("Choose a folder for this project.");
+ if (!projectPath) throw new Error(t("ide_view.choose_folder"));
const project = await openProject(projectPath, projectName);
const listing = await fetchIdeProjects();
setProjects(listing.projects);
@@ -346,7 +347,7 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
const notify = useCallback((message: string) => pushToast("success", message), [pushToast]);
const createWorkspace = () => void run(async () => {
- if (!workspaceProject || workspaceAgents.length === 0 || workspaceAgents.some((agent) => !agent)) throw new Error("Choose an installed coding agent for every session.");
+ if (!workspaceProject || workspaceAgents.length === 0 || workspaceAgents.some((agent) => !agent)) throw new Error(t("ide_view.choose_agent_every"));
storeRunOn(workspaceProject.id, workspaceComputer);
// "Automatic" settles on one machine now, by the shares set under Settings, Computers.
const runsOn = workspaceComputer === RUN_ON_AUTO ? await computersApi.pickPlacement() : workspaceComputer;
@@ -379,7 +380,7 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
const openWorktreeWorkspace = (path: string, branch: string) => void run(async () => {
const computerId = session ? workspaceRunsOn(session.terminals) : null;
const agent = (computerId ? codingAgents : installed)[0]?.name;
- if (!agent) throw new Error("Connect a coding agent in CLIs to continue.");
+ if (!agent) throw new Error(t("ide_view.connect_agent_clis"));
setState(await startIdeSession(path, [{ agent }], {
projectId: session?.project_id ?? undefined, name: branch || undefined,
computerId: computerId ?? undefined, onMessage: notify,
@@ -387,7 +388,7 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
});
const newWorktreeWorkspace = () => {
const project = projects.find((entry) => entry.id === session?.project_id);
- if (!project) { pushToast("error", "This workspace belongs to no connected project."); return; }
+ if (!project) { pushToast("error", t("ide_view.no_project")); return; }
setWorkspaceProject(project); setWorkspaceName(""); setWorkspaceAgents([installed[0]?.name ?? ""]);
setWorkspaceGit({ mode: "new_worktree", branch: "", base: "" });
setWorkspaceComputer(session ? workspaceRunsOn(session.terminals) : storedRunOn(project.id));
@@ -502,7 +503,7 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
const openWorkspaces = state?.workspaces ?? [];
const goToWorkspace = (index: number) => {
const target = openWorkspaces[index];
- if (!target) { pushToast("info", `There is no workspace ${index + 1}.`); return; }
+ if (!target) { pushToast("info", fill(t("ide_view.no_workspace_n"), { number: index + 1 })); return; }
if (target.id !== session?.id) void activateFromTree(target.id);
};
const runHotkey = (hotkey: IdeHotkeyAction): void => {
@@ -564,10 +565,10 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
const closeTarget: CloseTarget | null = !closeRequest ? null
: closeRequest.kind === "terminal"
? { kind: "terminal", name: closeRequest.terminal.name, agent: closeRequest.terminal.agent, displayName: closeRequest.terminal.display_name }
- : { kind: "workspace", name: session?.name ?? session?.project.name ?? "workspace",
+ : { kind: "workspace", name: session?.name ?? session?.project.name ?? t("ide_view.workspace_fallback"),
agents: (session?.terminals ?? []).map((terminal) => ({ agent: terminal.agent, displayName: terminal.display_name })) };
- if (state === null) return <div data-testid="agentic-ide-loading" className="flex h-full items-center justify-center gap-2 text-sm text-muted-foreground"><Loader2 className="h-4 w-4 animate-spin" />Loading projects…</div>;
+ if (state === null) return <div data-testid="agentic-ide-loading" className="flex h-full items-center justify-center gap-2 text-sm text-muted-foreground"><Loader2 className="h-4 w-4 animate-spin" />{t("ide_view.loading_projects")}</div>;
return <div className="relative flex h-full min-h-0 flex-col bg-background text-foreground" data-testid="igentic-ide">
<WorkspaceOptionsDialog open={optionsOpen && !!session} onOpenChange={setOptionsOpen} workspace={session?.name ?? session?.project.name ?? ""}
@@ -597,9 +598,9 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
onMutationStart={beginGridMutation} onMutationEnd={endGridMutation} paneStyle={paneStyle} workspaces={state.workspaces ?? []} />
: <div className="flex h-full flex-col items-center justify-center gap-3 px-6 text-center">
<FolderPlus className="h-8 w-8 text-muted-foreground/70" />
- <h1 className="text-lg font-medium">{projects.some((project) => !project.scratch && !project.archived) ? "Choose a workspace" : "Connect a project"}</h1>
- <p className="max-w-md text-sm text-muted-foreground">{projects.some((project) => !project.scratch && !project.archived) ? "Select a workspace from Projects, or create one with + beside its project." : "Connect a folder to bring its coding agents and your assistant into one workspace."}</p>
- <button type="button" onClick={() => setProjectDialog(true)} className="mt-2 rounded-md border border-border px-3 py-1.5 text-sm hover:bg-accent">Connect folder</button>
+ <h1 className="text-lg font-medium">{projects.some((project) => !project.scratch && !project.archived) ? t("ide_view.choose_workspace") : t("ide_threads.connect_a_project")}</h1>
+ <p className="max-w-md text-sm text-muted-foreground">{projects.some((project) => !project.scratch && !project.archived) ? t("ide_view.select_workspace_hint") : t("ide_view.connect_folder_hint")}</p>
+ <button type="button" onClick={() => setProjectDialog(true)} className="mt-2 rounded-md border border-border px-3 py-1.5 text-sm hover:bg-accent">{t("ide_threads.connect_folder")}</button>
</div>}
</div>
<CodeEditorStage workspaceId={ideWorkspace?.id ?? null} workspacePath={ideWorkspace?.path ?? ""} stagedPane={stagedPane} />
@@ -622,11 +623,11 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
{agentPicker && <div className="fixed inset-0 z-[80] flex items-center justify-center bg-background/75 p-4 backdrop-blur-sm"
role="presentation" onMouseDown={(event) => { if (event.target === event.currentTarget) setAgentPicker(null); }}>
- <section data-ide-dialog tabIndex={-1} role="dialog" aria-modal="true" aria-label="Add coding agent"
+ <section data-ide-dialog tabIndex={-1} role="dialog" aria-modal="true" aria-label={t("ide_view.add_agent")}
className="w-full max-w-lg rounded-2xl border border-border bg-card p-5 shadow-2xl">
<div className="mb-4 flex items-center justify-between gap-3">
- <div><h2 className="text-base font-semibold">Add coding agent</h2><p className="mt-1 text-xs text-muted-foreground">{agentPicker.name}{session && <> · {session.terminals.length} {session.terminals.length === 1 ? "agent" : "agents"}</>}</p></div>
- <button type="button" aria-label="Close" onClick={() => setAgentPicker(null)} className="rounded-md p-1.5 hover:bg-muted"><X className="h-4 w-4" /></button>
+ <div><h2 className="text-base font-semibold">{t("ide_view.add_agent")}</h2><p className="mt-1 text-xs text-muted-foreground">{agentPicker.name}{session && <> · {fill(t(session.terminals.length === 1 ? "ide_view.agents_one" : "ide_view.agents_other"), { count: session.terminals.length })}</>}</p></div>
+ <button type="button" aria-label={t("common.close")} onClick={() => setAgentPicker(null)} className="rounded-md p-1.5 hover:bg-muted"><X className="h-4 w-4" /></button>
</div>
{session && <div className="mb-4"><GitCheckoutPicker folder={session.folder} value={agentGit} onChange={setAgentGit} disabled={busy} context="agent" /></div>}
@@ -636,29 +637,29 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
const anchorTerminal = session.terminals.find((terminal) => terminal.name === splitAnchor);
return <div className="mb-4 space-y-2.5 rounded-xl border border-border bg-muted/40 p-3">
<div className="flex flex-wrap items-center justify-between gap-2">
- <span className="text-xs font-medium text-foreground">Where should it open?</span>
+ <span className="text-xs font-medium text-foreground">{t("ide_view.where_open")}</span>
<div className="flex items-center gap-1.5 text-xs text-muted-foreground">
- <span>Next to</span>
- <BrandedSelect ariaLabel="Split next to" value={splitAnchor} disabled={busy} onValueChange={setSplitAnchor}
+ <span>{t("ide_view.next_to")}</span>
+ <BrandedSelect ariaLabel={t("ide_view.split_next_to")} value={splitAnchor} disabled={busy} onValueChange={setSplitAnchor}
className="h-7 w-auto min-w-[11rem] px-2 py-1 text-xs font-medium"
options={[
...session.terminals.map((terminal) => ({ value: terminal.name, label: `${terminal.name} · ${terminal.display_name}` })),
- { value: "", label: "Automatic even grid" },
+ { value: "", label: t("ide_view.auto_grid") },
]} />
</div>
</div>
- {anchorTerminal ? <div className="grid grid-cols-4 gap-2" role="radiogroup" aria-label="Split direction">
+ {anchorTerminal ? <div className="grid grid-cols-4 gap-2" role="radiogroup" aria-label={t("ide_view.split_direction")}>
{SPLIT_DIRECTIONS.map((item) => {
const checked = effectiveDirection === item.id;
- return <button key={item.id} type="button" role="radio" aria-checked={checked} aria-label={`Split ${item.label.toLowerCase()}`}
- disabled={busy} title={item.hint}
+ return <button key={item.id} type="button" role="radio" aria-checked={checked} aria-label={t(`ide_view.split_${item.key}_aria`)}
+ disabled={busy} title={t(`ide_view.split_${item.key}_hint`)}
onClick={() => { setSplitDirection(item.id); storeSplitDirection(item.id); }}
className={cn("flex flex-col items-center justify-center gap-1.5 rounded-lg border py-2 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-40",
checked ? "border-primary bg-primary/10 text-foreground ring-1 ring-primary/40" : "border-border bg-background text-muted-foreground hover:bg-muted hover:text-foreground")}>
- <item.Icon className="h-4 w-4" /><span>{item.label}</span>
+ <item.Icon className="h-4 w-4" /><span>{t(`ide_view.split_${item.key}`)}</span>
</button>;
})}
- </div> : <p className="text-xs text-muted-foreground">The new agent joins the grid and every pane gets an equal share.</p>}
+ </div> : <p className="text-xs text-muted-foreground">{t("ide_view.joins_grid")}</p>}
</div>;
})()}
@@ -685,8 +686,8 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
</button>
</div>
{busy && agentComputer && <p role="status" className="mt-3 flex items-center gap-2 text-xs text-muted-foreground">
- <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden="true" />Copying the folder and starting the agent there. Large folders take a minute.</p>}
- {agentChoices.length === 0 && <p className="text-sm text-muted-foreground">Connect a coding agent in CLIs to continue.</p>}
+ <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden="true" />{t("ide_view.copying_starting")}</p>}
+ {agentChoices.length === 0 && <p className="text-sm text-muted-foreground">{t("ide_view.connect_agent_clis")}</p>}
</section>
</div>}
@@ -699,12 +700,12 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
{projectDialog && <ProjectConnectDialog onClose={() => setProjectDialog(false)} onConnect={connect} />}
{workspaceProject && <div className="fixed inset-0 z-[80] flex items-center justify-center bg-background/75 p-4 backdrop-blur-sm" role="presentation" onMouseDown={(event) => { if (!busy && event.target === event.currentTarget) setWorkspaceProject(null); }}>
- <section data-ide-dialog tabIndex={-1} role="dialog" aria-modal="true" aria-label="New workspace" aria-busy={busy}
+ <section data-ide-dialog tabIndex={-1} role="dialog" aria-modal="true" aria-label={t("ide_projects.new_workspace")} aria-busy={busy}
className="flex max-h-[90vh] w-full max-w-4xl flex-col overflow-hidden rounded-2xl border border-border bg-card shadow-2xl">
<header className="shrink-0 px-6 pb-5 pt-6 sm:px-8 sm:pt-7">
<div className="flex items-center justify-between gap-4">
- <h2 className="text-xl font-semibold tracking-tight">New workspace</h2>
- <button type="button" aria-label="Close" disabled={busy} onClick={() => setWorkspaceProject(null)}
+ <h2 className="text-xl font-semibold tracking-tight">{t("ide_projects.new_workspace")}</h2>
+ <button type="button" aria-label={t("common.close")} disabled={busy} onClick={() => setWorkspaceProject(null)}
className="rounded-lg p-2 text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><X className="h-5 w-5" /></button>
</div>
<p className="mt-1 truncate text-sm text-muted-foreground" title={workspaceProject.path}>
@@ -712,29 +713,29 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {
</p>
</header>
<div className="min-h-0 space-y-6 overflow-y-auto px-6 pb-6 sm:px-8">
- <label className="block text-xs font-medium text-muted-foreground">Name (optional)
+ <label className="block text-xs font-medium text-muted-foreground">{t("ide_view.name_optional")}
<input value={workspaceName} disabled={busy} onChange={(event) => setWorkspaceName(event.target.value)}
- placeholder="Workspace" className="mt-2 h-11 w-full rounded-lg border border-input bg-background/60 px-3 text-sm text-foreground outline-none focus:border-ring focus:ring-1 focus:ring-ring/30" />
+ placeholder={t("ide_view.workspace_placeholder")} className="mt-2 h-11 w-full rounded-lg border border-input bg-background/60 px-3 text-sm text-foreground outline-none focus:border-ring focus:ring-1 focus:ring-ring/30" />
</label>
<WorkspaceAgentSetup agents={workspaceChoices} sessions={workspaceAgents} onChange={setWorkspaceAgents} disabled={busy} />
<GitCheckoutPicker folder={workspaceProject.path} value={workspaceGit} onChange={setWorkspaceGit} disabled={busy} context="workspace" />
<RunOnPicker value={workspaceComputer} onChange={setWorkspaceComputer} disabled={busy} allowAuto />
</div>
<footer className="flex shrink-0 flex-wrap items-center justify-between gap-3 border-t border-border bg-muted/20 px-6 py-4 sm:px-8">
- <span className="text-xs text-muted-foreground" aria-live="polite">{workspaceAgents.length} {workspaceAgents.length === 1 ? "session" : "sessions"} · {new Set(workspaceAgents.filter(Boolean)).size} {new Set(workspaceAgents.filter(Boolean)).size === 1 ? "agent" : "agents"}</span>
+ <span className="text-xs text-muted-foreground" aria-live="polite">{fill(t(workspaceAgents.length === 1 ? "ide_view.sessions_one" : "ide_view.sessions_other"), { count: workspaceAgents.length })} · {fill(t(new Set(workspaceAgents.filter(Boolean)).size === 1 ? "ide_view.agents_one" : "ide_view.agents_other"), { count: new Set(workspaceAgents.filter(Boolean)).size })}</span>
<div className="flex gap-2">
- <button type="button" disabled={busy} onClick={() => setWorkspaceProject(null)} className="rounded-lg px-4 py-2.5 text-sm text-muted-foreground hover:bg-muted disabled:opacity-50">Cancel</button>
+ <button type="button" disabled={busy} onClick={() => setWorkspaceProject(null)} className="rounded-lg px-4 py-2.5 text-sm text-muted-foreground hover:bg-muted disabled:opacity-50">{t("common.cancel")}</button>
<button type="button" disabled={busy || workspaceAgents.length === 0 || workspaceAgents.some((name) => !workspaceChoices.some((agent) => agent.name === name))}
- onClick={createWorkspace} className="rounded-lg bg-primary px-4 py-2.5 text-sm font-medium text-primary-foreground disabled:opacity-50">{busy ? (workspaceComputer ? "Copying the folder…" : "Starting…") : "Create workspace"}</button>
+ onClick={createWorkspace} className="rounded-lg bg-primary px-4 py-2.5 text-sm font-medium text-primary-foreground disabled:opacity-50">{busy ? (workspaceComputer ? t("ide_view.copying_folder") : t("ide_view.starting")) : t("ide_projects.create_workspace")}</button>
</div>
</footer>
</section>
</div>}
{renameOpen && <div className="fixed inset-0 z-[80] flex items-center justify-center bg-background/75 p-4 backdrop-blur-sm" role="presentation" onMouseDown={(event) => { if (event.target === event.currentTarget) setRenameOpen(false); }}>
- <form data-ide-dialog tabIndex={-1} role="dialog" aria-modal="true" aria-label="Rename workspace" onSubmit={(event) => { event.preventDefault(); saveWorkspaceName(); }} className="w-full max-w-sm rounded-xl border border-border bg-card p-5 shadow-2xl">
- <h2 className="mb-4 text-sm font-semibold">Rename workspace</h2>
- <label className="block text-xs text-muted-foreground">Workspace name<input autoFocus value={renameValue} onChange={(event) => setRenameValue(event.target.value)} className="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground" /></label>
- <div className="mt-4 flex justify-end gap-2"><button type="button" onClick={() => setRenameOpen(false)} className="rounded-md px-3 py-1.5 text-sm text-muted-foreground hover:bg-accent">Cancel</button><button type="submit" disabled={busy || !renameValue.trim()} className="rounded-md bg-primary px-3 py-1.5 text-sm text-primary-foreground disabled:opacity-50">Save</button></div>
+ <form data-ide-dialog tabIndex={-1} role="dialog" aria-modal="true" aria-label={t("ide_projects.rename_workspace")} onSubmit={(event) => { event.preventDefault(); saveWorkspaceName(); }} className="w-full max-w-sm rounded-xl border border-border bg-card p-5 shadow-2xl">
+ <h2 className="mb-4 text-sm font-semibold">{t("ide_projects.rename_workspace")}</h2>
+ <label className="block text-xs text-muted-foreground">{t("ide_view.workspace_name")}<input autoFocus value={renameValue} onChange={(event) => setRenameValue(event.target.value)} className="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground" /></label>
+ <div className="mt-4 flex justify-end gap-2"><button type="button" onClick={() => setRenameOpen(false)} className="rounded-md px-3 py-1.5 text-sm text-muted-foreground hover:bg-accent">{t("common.cancel")}</button><button type="submit" disabled={busy || !renameValue.trim()} className="rounded-md bg-primary px-3 py-1.5 text-sm text-primary-foreground disabled:opacity-50">{t("common.save")}</button></div>
</form>
</div>}
</div>;
diff --git a/jarvis/ui/web/frontend/src/views/AppshotLibrary.tsx b/jarvis/ui/web/frontend/src/views/AppshotLibrary.tsx
index 6a8aa2741b..869d3d74f4 100644
--- a/jarvis/ui/web/frontend/src/views/AppshotLibrary.tsx
+++ b/jarvis/ui/web/frontend/src/views/AppshotLibrary.tsx
@@ -19,6 +19,7 @@ import { canNativeDrag, startNativeFileDrag } from "@/lib/nativeDrag";
import { cn } from "@/lib/utils";
import { useAppshotEditor } from "@/store/appshotEditor";
import { useEventStore } from "@/store/events";
+import { uiLocale } from "@/lib/boardInsights";
/**
* The gallery on the Appshots page: every appshot the user took and every
@@ -95,7 +96,7 @@ function liftDialog(lifted: boolean): void {
}
function when(item: AppshotLibraryItem): string {
- return new Date((item.edited_at || item.taken_at) * 1000).toLocaleString([], {
+ return new Date((item.edited_at || item.taken_at) * 1000).toLocaleString(uiLocale(), {
day: "numeric",
month: "short",
hour: "2-digit",
diff --git a/jarvis/ui/web/frontend/src/views/AppshotsView.tsx b/jarvis/ui/web/frontend/src/views/AppshotsView.tsx
index 4d31eeed81..40a3bf7ee8 100644
--- a/jarvis/ui/web/frontend/src/views/AppshotsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/AppshotsView.tsx
@@ -28,6 +28,7 @@ import { AppshotLibrary } from "@/views/AppshotLibrary";
import { AppshotShortcutField } from "@/views/AppshotShortcutField";
import { useAppshotEditor } from "@/store/appshotEditor";
import { useEventStore } from "@/store/events";
+import { useRunLocale } from "@/components/runs/format";
/**
* Appshots — show the assistant the window you are working in.
@@ -166,7 +167,8 @@ function LatestPreview({
onEdit: () => void;
}) {
const t = useT();
- const time = new Date(shot.taken_at * 1000).toLocaleTimeString([], {
+ const runLocale = useRunLocale();
+ const time = new Date(shot.taken_at * 1000).toLocaleTimeString(runLocale, {
hour: "2-digit",
minute: "2-digit",
});
diff --git a/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx b/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx
index ce88b48eb2..aeb5ae39c5 100644
--- a/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx
+++ b/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx
@@ -54,7 +54,7 @@ import {
} from "@/components/extensions/primitives";
import { cn } from "@/lib/utils";
import { robustCopy } from "@/lib/clipboard";
-import { translate, useT } from "@/i18n";
+import { fill, translate, useT } from "@/i18n";
import { useEventStore } from "@/store/events";
import {
useCliTestRun,
@@ -771,7 +771,7 @@ function ResultPanel({ result }: { result: TestRunResponse }) {
{/* Meta row: tool, risk tier, exit code, duration. */}
<div className="flex flex-wrap items-center gap-2">
- <MetaChip label="Tool">
+ <MetaChip label={t("cli_test_hub_view.meta_tool")}>
<span data-testid="result-tool" className="font-mono">
{result.tool_called ?? "—"}
</span>
@@ -900,6 +900,7 @@ function ExitCodeBadge({
compact?: boolean;
testId?: string;
}) {
+ const t = useT();
if (code === null || code === undefined) {
return (
<span
@@ -907,7 +908,7 @@ function ExitCodeBadge({
data-exit="null"
className="inline-flex shrink-0 items-center gap-1.5 rounded-md border border-border bg-background px-2 py-0.5 text-micro text-muted-foreground"
>
- {!compact && <span className="text-muted-foreground">Exit</span>}
+ {!compact && <span className="text-muted-foreground">{t("cli_test_hub_view.exit_label")}</span>}
<span>—</span>
</span>
);
@@ -924,15 +925,18 @@ function ExitCodeBadge({
: "border-destructive/50 bg-destructive/10 text-destructive",
)}
>
- {!compact && <span className="font-normal text-muted-foreground">Exit</span>}
+ {!compact && (
+ <span className="font-normal text-muted-foreground">{t("cli_test_hub_view.exit_label")}</span>
+ )}
{code}
</span>
);
}
function StepExitCode({ code }: { code: number | null }) {
+ const t = useT();
if (code === null || code === undefined) {
- return <span className="text-muted-foreground">exit —</span>;
+ return <span className="text-muted-foreground">{fill(t("cli_test_hub_view.step_exit"), { code: "—" })}</span>;
}
return (
<span
@@ -941,7 +945,7 @@ function StepExitCode({ code }: { code: number | null }) {
code === 0 ? "text-muted-foreground" : "text-destructive",
)}
>
- exit {code}
+ {fill(t("cli_test_hub_view.step_exit"), { code })}
</span>
);
}
diff --git a/jarvis/ui/web/frontend/src/views/ClisView.tsx b/jarvis/ui/web/frontend/src/views/ClisView.tsx
index 6c58971f3f..2eea5ff4ac 100644
--- a/jarvis/ui/web/frontend/src/views/ClisView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ClisView.tsx
@@ -67,6 +67,7 @@ import {
} from "@/hooks/useClis";
import { fill, translate, useT } from "@/i18n";
import { useEventStore } from "@/store/events";
+import { uiLocale } from "@/lib/boardInsights";
// ---------------------------------------------------------------------------
// Status vocabulary
@@ -110,7 +111,7 @@ function formatRelativeTime(ts: number | null): string {
}
function formatDateTime(ts: number): string {
- return new Date(ts).toLocaleString(undefined, {
+ return new Date(ts).toLocaleString(uiLocale(), {
day: "2-digit", month: "2-digit", year: "2-digit",
hour: "2-digit", minute: "2-digit", second: "2-digit",
});
@@ -159,7 +160,7 @@ export function ClisView() {
const columns: Column[] = [
{ id: "name", label: t("clis_view.col_name") },
- { id: "version", label: "Version", width: "96px" },
+ { id: "version", label: t("clis_view.col_version"), width: "96px" },
{ id: "status", label: t("clis_view.col_status"), width: "150px" },
{ id: "activity", label: t("clis_view.col_activity"), width: "136px" },
];
@@ -622,7 +623,7 @@ function CliDetailPage({
<DetailPanel title={t("clis_view.section_binary")}>
<FactRows
rows={[
- { label: "Binary", value: <Mono>{data.binary_name}</Mono> },
+ { label: t("clis_view.fact_binary"), value: <Mono>{data.binary_name}</Mono> },
{
label: t("clis_view.kv_path"),
value: data.binary_path ? (
@@ -631,7 +632,7 @@ function CliDetailPage({
<span className="text-muted-foreground">{t("clis_view.not_found")}</span>
),
},
- { label: "Version", value: data.version ?? "—" },
+ { label: t("clis_view.col_version"), value: data.version ?? "—" },
{ label: t("clis_view.auth_mode_short"), value: <Mono>{data.auth_mode}</Mono> },
{ label: t("clis_view.field_category"), value: data.category },
]}
@@ -641,9 +642,9 @@ function CliDetailPage({
<DetailPanel title={t("clis_view.section_commands")}>
<FactRows
rows={[
- { label: "Check", value: <Mono>{data.check_command}</Mono> },
+ { label: t("clis_view.cmd_check"), value: <Mono>{data.check_command}</Mono> },
{
- label: "Login",
+ label: t("clis_view.cmd_login"),
value: data.login_command ? <Mono>{data.login_command}</Mono> : "",
},
{
@@ -651,7 +652,7 @@ function CliDetailPage({
value: data.status_command ? <Mono>{data.status_command}</Mono> : "",
},
{
- label: "Logout",
+ label: t("clis_view.cmd_logout"),
value: data.logout_command ? <Mono>{data.logout_command}</Mono> : "",
},
]}
@@ -1240,7 +1241,7 @@ function CustomCliWizard({ onClose }: { onClose: () => void }) {
placeholder={t("clis_view.what_does_cli_do")} />
<TextField label={t("clis_view.field_category")} val={form.category}
onChange={(v) => setForm({ ...form, category: v })}
- placeholder="cloud / git / payments / other" />
+ placeholder={t("clis_view.category_placeholder")} />
<TextField label={t("clis_view.field_homepage_url")} val={form.homepage}
onChange={(v) => setForm({ ...form, homepage: v })}
placeholder="https://..." />
diff --git a/jarvis/ui/web/frontend/src/views/ConductorView.tsx b/jarvis/ui/web/frontend/src/views/ConductorView.tsx
index 31e28b0da3..e972d6efbe 100644
--- a/jarvis/ui/web/frontend/src/views/ConductorView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ConductorView.tsx
@@ -23,7 +23,7 @@ import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Switch } from "@/components/ui/switch";
import { cn } from "@/lib/utils";
-import { translate, useT } from "@/i18n";
+import { fill, translate, useT } from "@/i18n";
import {
useConductorDashboard,
useCreateConductorJob,
@@ -33,6 +33,7 @@ import {
type JobSummary,
type RunRow,
} from "@/hooks/useConductor";
+import { uiLocale } from "@/lib/boardInsights";
// ---------------------------------------------------------------------
// Icons + Labels
@@ -44,10 +45,11 @@ const TYPE_ICON: Record<string, typeof Clock> = {
agent: Sparkles,
};
+/** Job type -> i18n key of its badge label. */
const TYPE_LABEL: Record<string, string> = {
- shell: "Shell",
- http: "HTTP",
- agent: "Agent",
+ shell: "conductor_view.type_shell",
+ http: "conductor_view.type_http",
+ agent: "conductor_view.type_agent",
};
const SCHED_ICON: Record<string, typeof Clock> = {
@@ -80,8 +82,8 @@ export function ConductorView() {
<div className="flex h-full flex-col">
<ViewHeader
icon={<Orbit className="h-4 w-4 text-primary" />}
- title="Conductor"
- subtitle="Schedule Tasks + Agentic Workflows — Open-Source, self-hosted, code-first."
+ title={t("conductor_view.title")}
+ subtitle={t("conductor_view.subtitle")}
right={
<div className="flex items-center gap-2">
<Button
@@ -112,7 +114,7 @@ export function ConductorView() {
{/* Links: Job-Katalog */}
<div className="flex w-[46%] flex-col border-r border-border">
<div className="px-5 py-2 text-micro uppercase tracking-wider text-muted-foreground">
- Jobs
+ {t("conductor_view.jobs")}
</div>
<ScrollArea className="flex-1">
<div className="space-y-2 px-5 pb-6">
@@ -135,7 +137,7 @@ export function ConductorView() {
{/* Rechts: Timeline */}
<div className="flex flex-1 flex-col">
<div className="px-5 py-2 text-micro uppercase tracking-wider text-muted-foreground">
- Timeline
+ {t("conductor_view.timeline")}
</div>
<ScrollArea className="flex-1">
<div className="space-y-1.5 px-5 pb-6">
@@ -178,7 +180,7 @@ function SummaryBar({
<div className="flex items-center gap-3 border-b border-border bg-background/30 px-5 py-2.5">
<StatChip
icon={<Orbit className="h-3.5 w-3.5" />}
- label="Jobs"
+ label={t("conductor_view.jobs")}
value={String(summary?.total ?? jobCount)}
/>
<StatChip
@@ -188,17 +190,17 @@ function SummaryBar({
/>
<StatChip
icon={<Sparkles className="h-3.5 w-3.5 text-primary" />}
- label="Agent"
+ label={t("conductor_view.type_agent")}
value={String(summary?.by_type?.agent ?? 0)}
/>
<StatChip
icon={<Globe className="h-3.5 w-3.5" />}
- label="HTTP"
+ label={t("conductor_view.type_http")}
value={String(summary?.by_type?.http ?? 0)}
/>
<StatChip
icon={<TerminalSquare className="h-3.5 w-3.5" />}
- label="Shell"
+ label={t("conductor_view.type_shell")}
value={String(summary?.by_type?.shell ?? 0)}
/>
<div className="ml-auto text-xs text-muted-foreground">
@@ -251,7 +253,7 @@ function JobCard({ job }: { job: JobSummary }) {
<div className="flex flex-wrap items-center gap-2">
<h3 className="truncate text-sm font-semibold">{job.name}</h3>
<Badge variant="outline" className="text-micro">
- {TYPE_LABEL[job.type] ?? job.type}
+ {TYPE_LABEL[job.type] ? t(TYPE_LABEL[job.type]) : job.type}
</Badge>
<Badge
variant={job.schedule_type === "cron" ? "default" : "secondary"}
@@ -327,6 +329,10 @@ function JobCard({ job }: { job: JobSummary }) {
);
}
+/** Run triggers conductor/core reports; each has a `workflows_view.trigger_*`
+ * label. An unknown value from a newer backend is shown as sent. */
+const CONDUCTOR_TRIGGERS = new Set(["manual", "cron", "interval", "webhook"]);
+
function LastRunChip({
state,
at,
@@ -339,14 +345,14 @@ function LastRunChip({
<Badge
variant={ok ? "outline" : "destructive"}
className="text-micro"
- title={at ? new Date(at / 1e6).toLocaleString() : ""}
+ title={at ? new Date(at / 1e6).toLocaleString(uiLocale()) : ""}
>
{ok ? (
<CheckCircle2 className="mr-1 h-3 w-3" />
) : (
<AlertCircle className="mr-1 h-3 w-3" />
)}
- {at ? formatDeltaPast(at) : state}
+ {at ? formatDeltaPast(at) : translate(`workflows_view.run_state_${state}`)}
</Badge>
);
}
@@ -362,6 +368,7 @@ function TimelineRow({
run: RunRow;
job: JobSummary | undefined;
}) {
+ const t = useT();
const [open, setOpen] = useState(false);
const StateIcon =
run.state === "completed"
@@ -409,7 +416,9 @@ function TimelineRow({
{job?.name ?? run.job_id.slice(0, 8)}
</span>
<Badge variant="outline" className="text-micro">
- {run.trigger}
+ {CONDUCTOR_TRIGGERS.has(run.trigger)
+ ? t(`workflows_view.trigger_${run.trigger}`)
+ : run.trigger}
</Badge>
{duration !== undefined && (
<span className="font-mono text-xs text-muted-foreground">
@@ -418,7 +427,7 @@ function TimelineRow({
)}
{run.exit_code !== null && run.exit_code !== 0 && (
<span className="font-mono text-xs text-destructive">
- exit {run.exit_code}
+ {fill(t("conductor_view.exit_code"), { code: run.exit_code })}
</span>
)}
{run.error && (
@@ -432,7 +441,7 @@ function TimelineRow({
{run.output && (
<div>
<div className="mb-1 text-micro uppercase tracking-wider text-muted-foreground">
- Output
+ {t("conductor_view.output")}
</div>
<pre className="max-h-56 overflow-auto whitespace-pre-wrap rounded-md bg-background/40 p-2 font-mono text-xs leading-snug">
{run.output.slice(0, 8000)}
@@ -442,7 +451,7 @@ function TimelineRow({
{Object.keys(metrics).length > 0 && (
<div>
<div className="mb-1 text-micro uppercase tracking-wider text-muted-foreground">
- Metrics
+ {t("conductor_view.metrics")}
</div>
<div className="flex flex-wrap gap-2">
{Object.entries(metrics).map(([k, v]) => (
@@ -472,9 +481,10 @@ function TimelineRow({
// Job-Editor-Modal
// ---------------------------------------------------------------------
-const EXAMPLE_SHELL_JSON = `{
+/** Example job shown in the editor; its description follows the UI language. */
+const exampleJobJson = (): string => `{
"name": "URL-Healthcheck",
- "description": "Pingt alle 5 Minuten ein API-Endpoint an.",
+ "description": ${JSON.stringify(translate("conductor_view.example_description"))},
"spec": {
"type": "http",
"method": "GET",
@@ -487,7 +497,7 @@ const EXAMPLE_SHELL_JSON = `{
function JobEditorModal({ onClose }: { onClose: () => void }) {
const t = useT();
- const [text, setText] = useState(EXAMPLE_SHELL_JSON);
+ const [text, setText] = useState(exampleJobJson);
const [err, setErr] = useState<string | null>(null);
const createMut = useCreateConductorJob();
@@ -539,7 +549,7 @@ function JobEditorModal({ onClose }: { onClose: () => void }) {
<code className="rounded bg-background/60 px-1">shell</code>,{" "}
<code className="rounded bg-background/60 px-1">http</code>,{" "}
<code className="rounded bg-background/60 px-1">agent</code>.
- Schedule:{" "}
+ {t("conductor_view.schedule_label")}{" "}
<code className="rounded bg-background/60 px-1">cron</code>,{" "}
<code className="rounded bg-background/60 px-1">interval</code>,{" "}
<code className="rounded bg-background/60 px-1">manual</code>,{" "}
@@ -624,7 +634,7 @@ function formatDeltaPast(ns: number): string {
function formatShortTime(ns: number): string {
try {
- return new Date(ns / 1e6).toLocaleTimeString();
+ return new Date(ns / 1e6).toLocaleTimeString(uiLocale());
} catch {
return "—";
}
diff --git a/jarvis/ui/web/frontend/src/views/CostsView.tsx b/jarvis/ui/web/frontend/src/views/CostsView.tsx
index 7481e04de6..a6ca26f961 100644
--- a/jarvis/ui/web/frontend/src/views/CostsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/CostsView.tsx
@@ -1245,7 +1245,10 @@ function EntriesTable({
<Cell align="right" muted>
<span
className="tabular-nums"
- title={`${formatExact(row.tokens_in)} in / ${formatExact(row.tokens_out)} out`}
+ title={fill(t("costs_view.tokens_in_out"), {
+ input: formatExact(row.tokens_in),
+ output: formatExact(row.tokens_out),
+ })}
>
{formatTokensOrNone(row.tokens_in)} / {formatTokensOrNone(row.tokens_out)}
</span>
diff --git a/jarvis/ui/web/frontend/src/views/DebugView.tsx b/jarvis/ui/web/frontend/src/views/DebugView.tsx
index 8fa5f9e2be..9e2bc66f6c 100644
--- a/jarvis/ui/web/frontend/src/views/DebugView.tsx
+++ b/jarvis/ui/web/frontend/src/views/DebugView.tsx
@@ -4,7 +4,7 @@ import { EventTimeline } from "@/components/EventTimeline";
import { ProviderSwitcher } from "@/components/ProviderSwitcher";
import { Button } from "@/components/ui/button";
import { useEventStore } from "@/store/events";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
export function DebugView() {
const t = useT();
@@ -17,13 +17,13 @@ export function DebugView() {
<ViewHeader
icon={<Activity className="h-4 w-4 text-primary" />}
title={t("debug_view.title")}
- subtitle={`${t("debug_view.subtitle")} · ${events.length} events`}
+ subtitle={`${t("debug_view.subtitle")} · ${fill(t("debug_view.event_count"), { count: events.length })}`}
/>
<div className="grid flex-1 min-h-0 grid-cols-[1fr_320px] gap-0">
<div className="flex min-h-0 flex-col border-r border-border">
<div className="flex items-center gap-2 border-b border-border px-4 py-2">
<span className="text-micro uppercase tracking-wider text-muted-foreground">
- Event-Timeline
+ {t("debug_view.event_timeline")}
</span>
<div className="ml-auto flex gap-1">
<Button
@@ -40,11 +40,11 @@ export function DebugView() {
}
>
<Zap className="h-3.5 w-3.5" />
- <span className="ml-1 text-xs">Emit</span>
+ <span className="ml-1 text-xs">{t("debug_view.emit")}</span>
</Button>
<Button size="sm" variant="ghost" onClick={clearEvents}>
<Trash2 className="h-3.5 w-3.5" />
- <span className="ml-1 text-xs">Clear</span>
+ <span className="ml-1 text-xs">{t("debug_view.clear")}</span>
</Button>
</div>
</div>
@@ -56,26 +56,26 @@ export function DebugView() {
<aside className="flex flex-col overflow-y-auto scrollbar-jarvis">
<div className="border-b border-border p-4">
<h3 className="mb-3 text-micro uppercase tracking-wider text-muted-foreground">
- Brain-Provider wechseln
+ {t("debug_view.switch_brain_provider")}
</h3>
<ProviderSwitcher />
</div>
<div className="border-b border-border p-4">
<h3 className="mb-2 text-micro uppercase tracking-wider text-muted-foreground">
- Flight-Recorder
+ {t("debug_view.flight_recorder")}
</h3>
<p className="text-xs text-muted-foreground">
- JSONL-Traces aus{" "}
- <code className="font-mono">%APPDATA%\Jarvis\traces\</code> —
- Replay-Player folgt.
+ {t("debug_view.traces_from")}{" "}
+ <code className="font-mono">%APPDATA%\Jarvis\traces\</code> —{" "}
+ {t("debug_view.replay_coming")}
</p>
</div>
<div className="p-4">
<h3 className="mb-2 text-micro uppercase tracking-wider text-muted-foreground">
- Metrics
+ {t("debug_view.metrics")}
</h3>
<p className="text-xs text-muted-foreground">
- Latenz / Tokens / Cost pro Provider — live-Charts ab Phase 2.
+ {t("debug_view.metrics_coming")}
</p>
</div>
</aside>
diff --git a/jarvis/ui/web/frontend/src/views/DictationView.test.tsx b/jarvis/ui/web/frontend/src/views/DictationView.test.tsx
index 5fd3d4685a..daeb288859 100644
--- a/jarvis/ui/web/frontend/src/views/DictationView.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/DictationView.test.tsx
@@ -115,7 +115,7 @@ const CHOICES = {
target: ["auto", "insert", "chat"],
insert_method: ["clipboard", "type"],
paste_chord: ["auto", "ctrl_v", "ctrl_shift_v", "shift_insert"],
- language: ["auto", "de", "en", "es"],
+ language: ["auto", "de", "en", "es", "pt"],
};
/**
diff --git a/jarvis/ui/web/frontend/src/views/FriendsView.tsx b/jarvis/ui/web/frontend/src/views/FriendsView.tsx
index 9d031d5b13..5da037982b 100644
--- a/jarvis/ui/web/frontend/src/views/FriendsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/FriendsView.tsx
@@ -29,7 +29,7 @@ export function FriendsView() {
<div className="flex h-full flex-col">
<ViewHeader
icon={<Users className="h-4 w-4 text-primary" />}
- title="Friends"
+ title={t("friends_view.title")}
subtitle={t("friends_view.subtitle")}
right={
<button
@@ -44,10 +44,10 @@ export function FriendsView() {
<div className="flex flex-shrink-0 gap-1 border-b border-border px-6 py-2">
<TabButton active={tab === "chat"} onClick={() => setTab("chat")}>
- Chat
+ {t("friends_view.tab_chat")}
</TabButton>
<TabButton active={tab === "status"} onClick={() => setTab("status")}>
- Status
+ {t("friends_view.tab_status")}
</TabButton>
</div>
diff --git a/jarvis/ui/web/frontend/src/views/MakeItYoursView.test.tsx b/jarvis/ui/web/frontend/src/views/MakeItYoursView.test.tsx
index 79e35b16f6..1066d67eb4 100644
--- a/jarvis/ui/web/frontend/src/views/MakeItYoursView.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/MakeItYoursView.test.tsx
@@ -2,7 +2,11 @@ import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/re
import { afterEach, describe, expect, it, vi } from "vitest";
// Identity translator so rendered text equals the i18n key.
-vi.mock("@/i18n", () => ({ useT: () => (key: string) => key }));
+vi.mock("@/i18n", () => ({
+ useT: () => (key: string) => key,
+ fill: (template: string, vars: Record<string, string | number>) =>
+ template.replace(/\{(\w+)\}/g, (match, k: string) => (k in vars ? String(vars[k]) : match)),
+}));
vi.mock("@/store/events", () => ({
useEventStore: (selector: (s: { pushToast: () => void }) => unknown) =>
@@ -105,7 +109,7 @@ describe("MakeItYoursView", () => {
expect((next as HTMLButtonElement).disabled).toBe(false);
// Remove one → 7/8 → Next disabled.
- fireEvent.click(screen.getAllByLabelText("decrease")[0]);
+ fireEvent.click(screen.getAllByLabelText("install_agents.decrease")[0]);
expect((next as HTMLButtonElement).disabled).toBe(true);
// "Split evenly" → 4+4 = 8 → Next enabled again.
diff --git a/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx b/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx
index e7c1c92589..adf37749f0 100644
--- a/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx
@@ -18,7 +18,7 @@ import {
import { ViewHeader } from "@/views/ChatsView";
import { useEventStore } from "@/store/events";
import { cn } from "@/lib/utils";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { WorkspaceTerminal } from "@/components/workspace/WorkspaceTerminal";
import {
fetchWorkspaceAgents,
@@ -326,14 +326,14 @@ function InstallPanel({
<WorkspaceTerminal
paneKey={`install-${name}`}
installName={name}
- title={`install ${name}`}
+ title={fill(t("install_terminal.pane_title"), { package: name })}
/* A package manager can be silent for several seconds, and an
empty black pane is how that reads. Dim, because it is this
app talking rather than the installer. */
banner={
command
? `\x1b[2m$ ${command}\x1b[0m`
- : `\x1b[2mStarting the installer for ${display}…\x1b[0m`
+ : `\x1b[2m${fill(t("install_terminal.starting"), { package: display })}\x1b[0m`
}
/>
</div>
@@ -531,7 +531,7 @@ function AgentCard({
<div className="flex items-center justify-end gap-2">
<button
type="button"
- aria-label="decrease"
+ aria-label={t("install_agents.decrease")}
className="flex h-8 w-8 items-center justify-center rounded-lg border border-border hover:border-primary/40 disabled:opacity-30"
disabled={count <= 0}
onClick={onDec}
@@ -541,7 +541,7 @@ function AgentCard({
<span className="w-8 text-center font-mono text-base font-semibold">{count}</span>
<button
type="button"
- aria-label="increase"
+ aria-label={t("install_agents.increase")}
className="flex h-8 w-8 items-center justify-center rounded-lg border border-border hover:border-primary/40 disabled:opacity-30"
disabled={!canInc}
onClick={onInc}
@@ -557,7 +557,7 @@ function AgentCard({
</button>
<button
type="button"
- aria-label="re-check"
+ aria-label={t("install_agents.recheck")}
className="flex h-9 w-9 items-center justify-center rounded-lg border border-border hover:border-primary/40"
onClick={onRecheck}
>
diff --git a/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx b/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx
index 360034e251..e6463e5321 100644
--- a/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx
@@ -30,7 +30,8 @@ import {
usePublishIdentity,
} from "@/components/marketplace/PublishIdentity";
import { PublishStudio } from "@/components/marketplace/PublishStudio";
-import { fill, useI18nStore, useLocaleChunk, useT } from "@/i18n";
+import { fill, translate, useI18nStore, useLocaleChunk, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { openExternalUrl } from "@/lib/openExternal";
import { bundledPluginLogo } from "@/lib/pluginLogos";
@@ -255,7 +256,7 @@ function categoryLabel(category: string): string {
async function fetchCommunity(): Promise<CommunityResponse> {
const res = await fetch("/api/marketplace/community", { cache: "no-store" });
- if (!res.ok) throw new Error(`Marketplace request failed (${res.status})`);
+ if (!res.ok) throw new Error(fill(translate("marketplace.request_failed"), { status: res.status }));
return res.json();
}
@@ -306,7 +307,7 @@ export function MarketplaceView() {
const refresh = useMutation({
mutationFn: async (): Promise<CommunityResponse> => {
const res = await fetch("/api/marketplace/community/refresh", { method: "POST" });
- if (!res.ok) throw new Error(`Refresh failed (${res.status})`);
+ if (!res.ok) throw new Error(fill(translate("marketplace.refresh_failed"), { status: res.status }));
return res.json();
},
onSuccess: (fresh) => queryClient.setQueryData(["marketplace-community"], fresh),
@@ -324,7 +325,7 @@ export function MarketplaceView() {
.then((body: { detail?: string }) => body.detail)
.catch(() => undefined);
// A failure names its cause — a bare "that did not work" is a bug.
- throw new Error(detail ?? `Install failed (${res.status})`);
+ throw new Error(detail ?? fill(translate("marketplace.install_failed"), { status: res.status }));
}
return res.json();
},
@@ -690,7 +691,7 @@ function subtitleFor(
function formatDate(iso: string): string {
const parsed = new Date(iso);
if (Number.isNaN(parsed.getTime())) return iso;
- return parsed.toLocaleDateString(useI18nStore.getState().ui, {
+ return parsed.toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), {
year: "numeric",
month: "short",
day: "numeric",
@@ -1227,7 +1228,7 @@ function useEntryContents(name: string | null) {
`/api/marketplace/community/${encodeURIComponent(name ?? "")}/contents`,
{ cache: "no-store" },
);
- if (!res.ok) throw new Error(`Could not read that entry (${res.status})`);
+ if (!res.ok) throw new Error(fill(translate("marketplace.contents_failed"), { status: res.status }));
return res.json();
},
});
@@ -1584,7 +1585,7 @@ function Destination({ entry, t }: { entry: Entry; t: Translate }) {
rows.push({ label: t("marketplace.metadata_only") });
}
const auth = entry.authMode ? AUTH_MODE_LABEL[entry.authMode] : undefined;
- if (auth) rows.push({ label: t("marketplace.sign_in_method"), value: auth });
+ if (auth) rows.push({ label: t("marketplace.sign_in_method"), value: t(auth) });
}
if (entry.kind === "agent" && entry.agent) {
@@ -1646,11 +1647,11 @@ function Destination({ entry, t }: { entry: Entry; t: Translate }) {
/** Mirrors the plugin consent dialog's labels — one vocabulary for one act. */
const AUTH_MODE_LABEL: Record<string, string> = {
- pat_paste: "Personal access token",
- oauth_device_flow: "Device sign-in",
- hosted_mcp_oauth_dcr: "OAuth sign-in",
- oauth_pkce_loopback: "OAuth sign-in",
- hosted_mcp_allowlist: "Account allowlist",
+ pat_paste: "plugins_community.auth_pat",
+ oauth_device_flow: "plugins_community.auth_device",
+ hosted_mcp_oauth_dcr: "plugins_community.auth_oauth",
+ oauth_pkce_loopback: "plugins_community.auth_oauth",
+ hosted_mcp_allowlist: "plugins_community.auth_allowlist",
};
/**
diff --git a/jarvis/ui/web/frontend/src/views/McpsView.tsx b/jarvis/ui/web/frontend/src/views/McpsView.tsx
index 998fd25bb2..40cd2ab8ea 100644
--- a/jarvis/ui/web/frontend/src/views/McpsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/McpsView.tsx
@@ -38,6 +38,7 @@ import { FileCard, type CardFile } from "@/components/extensions/FileCard";
import { useEventStore } from "@/store/events";
import { robustCopy } from "@/lib/clipboard";
import { fill, useT } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
// ---------------------------------------------------------------------------
// Wire types — mirror /api/mcps
@@ -141,12 +142,23 @@ export function McpsView() {
const importClaude = useMutation({
mutationFn: () =>
- postJson<{ ok: boolean; count: number; added: string[]; note: string }>(
+ postJson<{
+ ok: boolean;
+ count: number;
+ added: string[];
+ note: string;
+ // Stable code + fill-ins for `note` (jarvis/mcp/state.py).
+ note_code?: string;
+ note_params?: Record<string, string>;
+ }>(
"/api/mcps/import-claude-desktop",
),
onSuccess: (res) => {
qc.invalidateQueries({ queryKey: ["mcps"] });
- pushToast(res.count > 0 ? "success" : "info", res.note);
+ pushToast(
+ res.count > 0 ? "success" : "info",
+ backendMessage(t, "mcps_view.import_note", res.note_code, res.note_params, res.note),
+ );
},
onError: (err) => {
pushToast("error", `${t("mcps_view.import_failed")}: ${(err as Error).message}`);
@@ -169,7 +181,7 @@ export function McpsView() {
"success",
vars.enable
? t("mcps_toast.connected").replace("{0}", vars.name)
- : `${vars.name} ${t("mcps_view.disconnected").toLowerCase()}`,
+ : t("mcps_toast.disconnected").replace("{0}", vars.name),
);
} else if (res.error) {
pushToast("error", `${vars.name}: ${res.error}`);
@@ -208,7 +220,7 @@ export function McpsView() {
qc.invalidateQueries({ queryKey: ["mcps"] });
setConfirmRemove(null);
if (selected === name) setSelected(null);
- pushToast("success", fill(t("mcps_view.removed"), { name }));
+ pushToast("success", fill(t("mcps_toast.removed"), { server: name }));
},
onError: (err, name) => {
pushToast("error", `${name}: ${(err as Error).message}`);
@@ -696,7 +708,7 @@ function ConfigModal({ onClose }: { onClose: () => void }) {
try {
parsed = JSON.parse(editing);
} catch (err) {
- throw new Error(`JSON syntax: ${(err as Error).message}`);
+ throw new Error(`${t("mcps_view.json_syntax")}: ${(err as Error).message}`);
}
return postJson<{ ok: boolean; servers: number }>(
"/api/mcps/config/raw",
diff --git a/jarvis/ui/web/frontend/src/views/MissionsView.tsx b/jarvis/ui/web/frontend/src/views/MissionsView.tsx
index 77cd65d6d7..d866e730a3 100644
--- a/jarvis/ui/web/frontend/src/views/MissionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MissionsView.tsx
@@ -126,7 +126,7 @@ export function MissionsView() {
<div className="flex items-center gap-3">
<ConnectionBadge connected={connected} />
<Badge variant="outline" className="font-mono text-micro">
- {totalCount} total
+ {fill(t("missions_view.total_count"), { count: totalCount })}
</Badge>
<Badge
variant={activeCount > 0 ? "default" : "outline"}
@@ -185,15 +185,15 @@ export function MissionsView() {
<TabsList className="grid w-full grid-cols-5">
<TabsTrigger value="verdicts" className="gap-1.5">
<ListChecks className="h-3.5 w-3.5" />
- Verdicts
+ {t("missions_view.tab_verdicts")}
</TabsTrigger>
<TabsTrigger value="reasoning" className="gap-1.5">
<MessageSquareText className="h-3.5 w-3.5" />
- Reasoning
+ {t("missions_view.tab_reasoning")}
</TabsTrigger>
<TabsTrigger value="plan" className="gap-1.5">
<MapIcon className="h-3.5 w-3.5" />
- Plan
+ {t("missions_view.tab_plan")}
</TabsTrigger>
<TabsTrigger value="jarvis-agent" className="gap-1.5">
<Cpu className="h-3.5 w-3.5" />
@@ -250,6 +250,7 @@ export function MissionsView() {
}
function ConnectionBadge({ connected }: { connected: boolean }) {
+ const t = useT();
return (
<span
className={cn(
@@ -261,11 +262,11 @@ function ConnectionBadge({ connected }: { connected: boolean }) {
>
{connected ? (
<>
- <Wifi className="h-3 w-3" /> live
+ <Wifi className="h-3 w-3" /> {t("pty_terminal.status_live")}
</>
) : (
<>
- <WifiOff className="h-3 w-3" /> offline
+ <WifiOff className="h-3 w-3" /> {t("pty_terminal.status_offline")}
</>
)}
</span>
@@ -356,7 +357,9 @@ function ReasoningPanel() {
className="rounded border border-foreground/40 bg-foreground/10 p-2 text-xs"
>
<div className="flex items-center justify-between text-micro uppercase tracking-wider text-foreground">
- <span>iter #{p.iteration} → {p.next_model}</span>
+ <span>
+ {fill(t("verdict_panel.iteration"), { n: p.iteration })} → {p.next_model}
+ </span>
<span className="font-mono">w{p.worker_id.slice(0, 8)}</span>
</div>
<p className="mt-1 text-foreground/90">{p.correction_instruction}</p>
@@ -490,7 +493,7 @@ function PlanPanel() {
className="rounded border border-border/60 bg-card/30 p-2 text-xs"
>
<div className="text-micro uppercase tracking-wider text-primary">
- Step {idx + 1}
+ {fill(t("missions_view.step_n"), { n: idx + 1 })}
</div>
<pre className="mt-1 max-h-32 overflow-auto whitespace-pre-wrap break-all font-mono text-micro text-foreground/80">
{JSON.stringify(step, null, 2)}
diff --git a/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx b/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx
index 6e727eb174..ace241b1ce 100644
--- a/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx
@@ -19,6 +19,7 @@ import { openExternalUrl } from "@/lib/openExternal";
import { PRODUCT_NAME } from "@/lib/branding";
import { useEventStore } from "@/store/events";
import type { AgentTemplateWire } from "@/lib/agentShare";
+import { fill, translate, useT } from "@/i18n";
// ---------------------------------------------------------------------------
// Community marketplace tab.
@@ -91,8 +92,8 @@ function portableNote(skill: CommunitySkillWire): string | null {
if (skill.flavor !== "portable") return null;
const agents = (skill.compatible_agents ?? []).filter(Boolean);
return agents.length > 0
- ? `Portable skill · also runs in ${agents.join(", ")}`
- : "Portable skill · also runs in other agents";
+ ? fill(translate("plugins_community.portable_note_agents"), { agents: agents.join(", ") })
+ : translate("plugins_community.portable_note_other");
}
/** A published agent template (see jarvis/society/agent_template.py). */
@@ -172,15 +173,17 @@ function formatBytes(bytes: number): string {
return `${(bytes / 1024).toFixed(1)} kB`;
}
+/** Translation keys; translated where rendered. */
const AUTH_MODE_LABEL: Record<string, string> = {
- pat_paste: "Personal access token",
- oauth_device_flow: "Device sign-in",
- hosted_mcp_oauth_dcr: "OAuth sign-in",
- oauth_pkce_loopback: "OAuth sign-in",
- hosted_mcp_allowlist: "Account allowlist",
+ pat_paste: "plugins_community.auth_pat",
+ oauth_device_flow: "plugins_community.auth_device",
+ hosted_mcp_oauth_dcr: "plugins_community.auth_oauth",
+ oauth_pkce_loopback: "plugins_community.auth_oauth",
+ hosted_mcp_allowlist: "plugins_community.auth_allowlist",
};
export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: string) => void } = {}) {
+ const t = useT();
const queryClient = useQueryClient();
// The storefront section shows the same index with room to browse it; this
// tab keeps the plugin connect flow next to the installed plugins.
@@ -215,7 +218,7 @@ export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: strin
.json()
.then((body: { detail?: string }) => body.detail)
.catch(() => undefined);
- throw new Error(detail ?? `Install failed (${res.status})`);
+ throw new Error(detail ?? fill(translate("plugins_community.install_failed"), { status: res.status }));
}
return res.json();
},
@@ -262,7 +265,7 @@ export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: strin
.json()
.then((body: { detail?: string }) => body.detail)
.catch(() => undefined);
- throw new Error(detail ?? `Install failed (${res.status})`);
+ throw new Error(detail ?? fill(translate("plugins_community.install_failed"), { status: res.status }));
}
return res.json();
},
@@ -303,38 +306,37 @@ export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: strin
<header className="flex flex-wrap items-center gap-3">
<div className="min-w-0 flex-1">
<h2 className="font-display text-base font-semibold tracking-tight text-foreground">
- Community marketplace
+ {t("plugins_community.title")}
</h2>
<p className="text-xs text-muted-foreground">
- Plugins and skills published by anyone. Nothing here is
- reviewed by the {PRODUCT_NAME} team — read what a card would connect
- to before installing it.
+ {fill(t("plugins_community.intro"), { product: PRODUCT_NAME })}
</p>
</div>
<Button
size="sm"
variant="outline"
onClick={() => setActiveSection("marketplace")}
- title="The whole marketplace — plugins and skills — in its own section"
+ title={t("plugins_community.marketplace_section_hint")}
>
<Store className="mr-1.5 h-3.5 w-3.5" />
- Marketplace section
+ {t("plugins_community.marketplace_section")}
</Button>
<Button
size="sm"
variant="outline"
onClick={() => openExternalUrl(MARKETPLACE_SUBMIT_URL)}
- title="Publish your own plugin or skill on the marketplace website"
+ title={t("plugins_community.publish_hint")}
>
<UploadCloud className="mr-1.5 h-3.5 w-3.5" />
- Publish your own
+ {t("plugins_community.publish")}
</Button>
<Button
size="sm"
variant="ghost"
onClick={() => refreshMutation.mutate()}
disabled={refreshMutation.isPending}
- title="Re-fetch the community index"
+ title={t("plugins_community.refresh")}
+ aria-label={t("plugins_community.refresh")}
>
<RefreshCw
className={cn("h-3.5 w-3.5", refreshMutation.isPending && "animate-spin")}
@@ -350,7 +352,7 @@ export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: strin
<input
value={query}
onChange={(e) => setQuery(e.target.value)}
- placeholder="Search community plugins and skills…"
+ placeholder={t("plugins_community.search_placeholder")}
className="w-full bg-transparent text-sm text-foreground outline-none placeholder:text-faint-foreground"
/>
</label>
@@ -359,7 +361,7 @@ export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: strin
{plugins.length > 0 && (
<section>
<h3 className="mb-3 font-display text-xs font-semibold text-muted-foreground">
- Plugins
+ {t("plugins_community.plugins")}
</h3>
<div className="grid gap-2 sm:grid-cols-2">
{plugins.map((p) => (
@@ -381,7 +383,7 @@ export function CommunityTab({ onInstalled }: { onInstalled?: (pluginName: strin
{skills.length > 0 && (
<section>
<h3 className="mb-3 font-display text-xs font-semibold text-muted-foreground">
- Skills
+ {t("plugins_community.skills")}
</h3>
<div className="grid gap-2 sm:grid-cols-2">
{skills.map((s) => (
@@ -453,41 +455,39 @@ function StatusNotice({
error: unknown;
isLoading: boolean;
}) {
+ const t = useT();
if (isLoading) {
return (
<p className="flex items-center gap-2 text-sm text-muted-foreground">
- <Loader2 className="h-3.5 w-3.5 animate-spin" /> Loading community index…
+ <Loader2 className="h-3.5 w-3.5 animate-spin" /> {t("plugins_community.loading")}
</p>
);
}
if (error) {
return (
<Notice tone="error">
- The community index could not be loaded. Check the connection and try
- Refresh.
+ {t("plugins_community.error")}
</Notice>
);
}
if (status === "disabled") {
return (
<Notice tone="muted">
- The community marketplace is switched off in the configuration
- (marketplace.community_index_url is empty).
+ {t("plugins_community.disabled")}
</Notice>
);
}
if (status === "unavailable") {
return (
<Notice tone="error">
- The community index is unreachable and no saved copy exists yet.
- Connect to the internet once to load it.
+ {t("plugins_community.unavailable")}
</Notice>
);
}
if (status === "stale") {
return (
<Notice tone="warn">
- Showing a saved copy — the index could not be refreshed just now.
+ {t("plugins_community.stale")}
</Notice>
);
}
@@ -524,20 +524,20 @@ function Notice({
* are shown open — a fold would put the content one click away again, which
* is the state this panel exists to end. */
function ContentsPanel({ name }: { name: string }) {
+ const t = useT();
const { data, isLoading, error } = useEntryContents(name);
if (isLoading) {
return (
<p className="flex items-center gap-2 text-xs text-muted-foreground">
- <Loader2 className="h-3.5 w-3.5 animate-spin" /> Reading the published files…
+ <Loader2 className="h-3.5 w-3.5 animate-spin" /> {t("plugins_community.files_loading")}
</p>
);
}
if (error || !data) {
return (
<Notice tone="warn">
- The published files could not be read just now. The install below is
- unaffected — but you would be installing something you have not seen.
+ {t("plugins_community.files_error")}
</Notice>
);
}
@@ -548,9 +548,11 @@ function ContentsPanel({ name }: { name: string }) {
return (
<div>
<div className="mb-1.5 flex items-baseline justify-between gap-3">
- <p className="text-xs font-medium text-foreground">What's inside</p>
+ <p className="text-xs font-medium text-foreground">{t("plugins_community.whats_inside")}</p>
<p className="shrink-0 text-micro text-muted-foreground">
- {data.files.length === 1 ? "1 file" : `${data.files.length} files`} ·{" "}
+ {data.files.length === 1
+ ? t("plugins_community.files_one")
+ : fill(t("plugins_community.files_other"), { count: data.files.length })} ·{" "}
{formatBytes(total)}
</p>
</div>
@@ -576,16 +578,14 @@ function ContentsPanel({ name }: { name: string }) {
</pre>
{file.truncated && (
<p className="bg-card px-2.5 py-1.5 text-micro text-foreground">
- Shown up to 256 kB — the published file is longer. Open the
- source to read the rest.
+ {t("plugins_community.file_truncated")}
</p>
)}
</div>
))}
</div>
<p className="mt-1.5 text-micro text-muted-foreground">
- Exactly as published. These are the bytes {PRODUCT_NAME} downloads when
- you install it — nothing is added or rewritten in between.
+ {fill(t("plugins_community.files_exact"), { product: PRODUCT_NAME })}
</p>
</div>
);
@@ -636,6 +636,7 @@ function CommunityPluginRow({
onUninstall: () => void;
uninstalling: boolean;
}) {
+ const t = useT();
const name = plugin.display_name ?? plugin.name;
if (!plugin.valid) {
return (
@@ -651,7 +652,7 @@ function CommunityPluginRow({
className="truncate text-xs text-muted-foreground"
title={plugin.error}
>
- Not installable: {plugin.error}
+ {fill(t("plugins_community.not_installable"), { error: plugin.error ?? "" })}
</p>
</div>
</article>
@@ -673,18 +674,18 @@ function CommunityPluginRow({
type="button"
onClick={onInstall}
className="min-w-0 flex-1 text-left"
- title={`Read what ${name} contains`}
+ title={fill(t("plugins_community.read_contents"), { entry: name })}
>
<div className="flex flex-wrap items-center gap-x-2 gap-y-0.5">
<h4 className="min-w-0 max-w-full truncate text-sm font-semibold tracking-tight text-foreground">
{name}
</h4>
<span className="shrink-0 text-micro font-medium text-foreground">
- Community · not reviewed
+ {t("plugins_community.badge_unreviewed")}
</span>
{plugin.installed && (
<span className="shrink-0 text-micro font-medium text-foreground-strong">
- · Installed
+ · {t("plugins_community.installed")}
</span>
)}
</div>
@@ -692,7 +693,9 @@ function CommunityPluginRow({
{plugin.description}
</p>
<p className="truncate text-micro text-muted-foreground">
- {plugin.publisher ? `by ${plugin.publisher}` : "unknown publisher"}
+ {plugin.publisher
+ ? fill(t("plugins_community.by"), { publisher: plugin.publisher })
+ : t("plugins_community.unknown_publisher")}
{plugin.version ? ` · v${plugin.version}` : ""}
</p>
</button>
@@ -701,8 +704,8 @@ function CommunityPluginRow({
type="button"
onClick={() => openExternalUrl(plugin.source_url ?? "")}
className="grid h-7 w-7 shrink-0 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
- title="View the published source"
- aria-label={`View source of ${name}`}
+ title={t("plugins_community.view_source")}
+ aria-label={fill(t("plugins_community.view_source_of"), { entry: name })}
>
<ExternalLink className="h-3.5 w-3.5" />
</button>
@@ -713,7 +716,8 @@ function CommunityPluginRow({
variant="ghost"
onClick={onUninstall}
disabled={uninstalling}
- title="Remove this plugin and its stored access"
+ title={t("plugins_community.remove_hint")}
+ aria-label={t("plugins_community.remove_hint")}
>
{uninstalling ? (
<Loader2 className="h-3.5 w-3.5 animate-spin" />
@@ -724,13 +728,13 @@ function CommunityPluginRow({
) : plugin.seed_conflict ? (
<span
className="shrink-0 text-micro text-muted-foreground"
- title="A built-in plugin already uses this name"
+ title={t("plugins_community.name_taken_hint")}
>
- Name taken
+ {t("plugins_community.name_taken")}
</span>
) : (
<Button size="sm" variant="outline" onClick={onInstall}>
- Install
+ {t("plugins_community.install")}
</Button>
)}
</article>
@@ -748,6 +752,7 @@ function CommunitySkillRow({
installing: boolean;
installError: string | null;
}) {
+ const t = useT();
return (
<article
className={cn(
@@ -763,21 +768,21 @@ function CommunitySkillRow({
type="button"
onClick={onInstall}
className="min-w-0 flex-1 text-left"
- title={`Read what ${skill.title} tells the assistant`}
+ title={fill(t("plugins_community.read_skill"), { entry: skill.title })}
>
<div className="flex flex-wrap items-center gap-x-2 gap-y-0.5">
<h4 className="min-w-0 max-w-full truncate text-sm font-semibold tracking-tight text-foreground">
{skill.title}
</h4>
<span className="shrink-0 text-micro font-medium text-foreground">
- Community · not reviewed
+ {t("plugins_community.badge_unreviewed")}
</span>
{skill.flavor === "portable" && (
<span
className="shrink-0 rounded-full border border-border px-1.5 text-micro font-medium text-muted-foreground"
title={portableNote(skill) ?? undefined}
>
- Portable
+ {t("plugins_community.portable")}
</span>
)}
</div>
@@ -785,7 +790,9 @@ function CommunitySkillRow({
{skill.description}
</p>
<p className="truncate text-micro text-muted-foreground">
- {skill.publisher ? `by ${skill.publisher}` : "unknown publisher"}
+ {skill.publisher
+ ? fill(t("plugins_community.by"), { publisher: skill.publisher })
+ : t("plugins_community.unknown_publisher")}
{installError ? ` · ${installError}` : ""}
</p>
</button>
@@ -794,26 +801,26 @@ function CommunitySkillRow({
type="button"
onClick={() => openExternalUrl(skill.source_url ?? "")}
className="grid h-7 w-7 shrink-0 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
- title="View the published source"
- aria-label={`View source of ${skill.title}`}
+ title={t("plugins_community.view_source")}
+ aria-label={fill(t("plugins_community.view_source_of"), { entry: skill.title })}
>
<ExternalLink className="h-3.5 w-3.5" />
</button>
)}
{skill.installed ? (
<span className="inline-flex shrink-0 items-center gap-1 text-micro font-medium text-foreground-strong">
- <Check className="h-3 w-3" /> Installed
+ <Check className="h-3 w-3" /> {t("plugins_community.installed")}
</span>
) : skill.raw_url ? (
<Button size="sm" variant="outline" onClick={onInstall} disabled={installing}>
- {installing ? <Loader2 className="h-3.5 w-3.5 animate-spin" /> : "Install"}
+ {installing ? <Loader2 className="h-3.5 w-3.5 animate-spin" /> : t("plugins_community.install")}
</Button>
) : (
<span
className="shrink-0 text-micro text-muted-foreground"
- title="No direct download — open the source and follow its steps"
+ title={t("plugins_community.manual_hint")}
>
- Manual
+ {t("plugins_community.manual")}
</span>
)}
</article>
@@ -837,6 +844,7 @@ export function SkillInstallConsentDialog({
onCancel: () => void;
onConfirm: () => void;
}) {
+ const t = useT();
useEffect(() => {
const onKey = (e: KeyboardEvent) => {
if (e.key === "Escape" && !isPending) onCancel();
@@ -869,30 +877,32 @@ export function SkillInstallConsentDialog({
id="community-skill-install-title"
className="font-display text-base font-semibold tracking-tight"
>
- {skill.installed ? skill.title : `Install ${skill.title}?`}
+ {skill.installed ? skill.title : fill(t("plugins_community.install_named"), { entry: skill.title })}
</h2>
<p className="text-micro text-foreground">
- Community skill · not reviewed
- {skill.installed ? " · installed" : ""}
+ {t("plugins_community.skill_unreviewed")}
+ {skill.installed ? ` · ${t("plugins_community.installed_lower")}` : ""}
</p>
</header>
<div className="min-h-0 flex-1 space-y-3 overflow-y-auto px-5 py-4 text-sm">
<p className="text-muted-foreground">{skill.description}</p>
<p className="text-xs text-muted-foreground">
- Published by{" "}
+ {t("plugins_community.published_by")}{" "}
<span className="text-foreground">
- {skill.publisher ?? "an unknown author"}
+ {skill.publisher ?? t("plugins_community.unknown_author")}
</span>
- {skill.version ? ` · version ${skill.version}` : ""}
+ {skill.version ? ` · ${fill(t("plugins_community.version"), { version: skill.version })}` : ""}
</p>
{/* A portable skill was written for the open format, not for this
app. Saying so up front explains both the extra install command
below and why settings meant for another agent are ignored. */}
{portableNote(skill) && (
<p className="text-xs text-muted-foreground">
- {portableNote(skill)}. {PRODUCT_NAME} follows its instructions and
- ignores the settings meant for other agents.
+ {fill(t("plugins_community.portable_follow"), {
+ note: portableNote(skill) ?? "",
+ product: PRODUCT_NAME,
+ })}
</p>
)}
{/* The instructions themselves, before the fine print: a skill IS
@@ -900,7 +910,7 @@ export function SkillInstallConsentDialog({
<ContentsPanel name={skill.name} />
<div>
<p className="mb-1 text-xs font-medium text-foreground">
- The instructions are downloaded from:
+ {t("plugins_community.skill_download_from")}
</p>
<code className="block break-all rounded-md border border-border bg-muted px-2 py-1.5 text-xs text-foreground">
{skill.raw_url}
@@ -913,12 +923,11 @@ export function SkillInstallConsentDialog({
<InstallTerminal
commands={skillInstall.commands}
path={`~/marketplace/${skill.name}`}
- comment="# The same install, from a terminal."
+ comment={t("plugins_community.terminal_comment")}
/>
)}
<p className="text-xs text-muted-foreground">
- A skill is a set of instructions the assistant follows — the text
- above is exactly what it would be told to do.
+ {t("plugins_community.skill_explainer")}
</p>
{errorMessage && (
<p className="flex items-start gap-2 rounded-md bg-secondary px-2 py-1.5 text-xs text-destructive">
@@ -930,14 +939,14 @@ export function SkillInstallConsentDialog({
<footer className="flex shrink-0 justify-end gap-2 border-t border-border px-5 py-3">
<Button size="sm" variant="ghost" onClick={onCancel} disabled={isPending}>
- {skill.installed ? "Close" : "Cancel"}
+ {t(skill.installed ? "common.close" : "common.cancel")}
</Button>
{!skill.installed && (
<Button size="sm" onClick={onConfirm} disabled={isPending}>
{isPending ? (
<Loader2 className="mr-1.5 h-3.5 w-3.5 animate-spin" />
) : null}
- Install
+ {t("plugins_community.install")}
</Button>
)}
</footer>
@@ -963,6 +972,7 @@ export function InstallConsentDialog({
onCancel: () => void;
onConfirm: () => void;
}) {
+ const t = useT();
useEffect(() => {
const onKey = (e: KeyboardEvent) => {
if (e.key === "Escape" && !isPending) onCancel();
@@ -994,11 +1004,11 @@ export function InstallConsentDialog({
id="community-install-title"
className="font-display text-base font-semibold tracking-tight"
>
- {plugin.installed ? name : `Install ${name}?`}
+ {plugin.installed ? name : fill(t("plugins_community.install_named"), { entry: name })}
</h2>
<p className="text-micro text-foreground">
- Community plugin · not reviewed
- {plugin.installed ? " · installed" : ""}
+ {t("plugins_community.plugin_unreviewed")}
+ {plugin.installed ? ` · ${t("plugins_community.installed_lower")}` : ""}
</p>
</div>
</header>
@@ -1006,18 +1016,17 @@ export function InstallConsentDialog({
<div className="min-h-0 flex-1 space-y-3 overflow-y-auto px-5 py-4 text-sm">
<p className="text-muted-foreground">{plugin.description}</p>
<p className="text-xs text-muted-foreground">
- Published by{" "}
+ {t("plugins_community.published_by")}{" "}
<span className="text-foreground">
- {plugin.publisher ?? "an unknown author"}
+ {plugin.publisher ?? t("plugins_community.unknown_author")}
</span>
- {plugin.version ? ` · version ${plugin.version}` : ""}
+ {plugin.version ? ` · ${fill(t("plugins_community.version"), { version: plugin.version })}` : ""}
</p>
{mcp?.transport === "http" && mcp.url && (
<div>
<p className="mb-1 text-xs font-medium text-foreground">
- After you connect it, requests and your {name} access token go
- to:
+ {fill(t("plugins_community.sends_to"), { entry: name })}
</p>
<code className="block break-all rounded-md border border-border bg-muted px-2 py-1.5 text-xs text-foreground">
{mcp.url}
@@ -1027,7 +1036,7 @@ export function InstallConsentDialog({
{mcp?.transport === "stdio" && (
<div>
<p className="mb-1 text-xs font-medium text-foreground">
- After you connect it, this command runs on your computer:
+ {t("plugins_community.runs_command")}
</p>
<code className="block break-all rounded-md border border-border bg-muted px-2 py-1.5 text-xs text-foreground">
{(mcp.install ?? []).join(" ")}
@@ -1036,14 +1045,14 @@ export function InstallConsentDialog({
)}
{!mcp && (
<p className="text-xs text-muted-foreground">
- This entry is metadata only — it adds no server and runs no
- command.
+ {t("plugins_community.metadata_only")}
</p>
)}
{authLabel && (
<p className="text-xs text-muted-foreground">
- Sign-in method: <span className="text-foreground">{authLabel}</span>
- {" "}— installing does not connect anything yet.
+ {t("plugins_community.signin_method")}{" "}
+ <span className="text-foreground">{t(authLabel)}</span>{" "}
+ {t("plugins_community.signin_not_yet")}
</p>
)}
@@ -1059,7 +1068,7 @@ export function InstallConsentDialog({
<InstallTerminal
commands={pluginInstall.commands}
path={`~/marketplace/${plugin.name}`}
- comment="# The same install, from a terminal."
+ comment={t("plugins_community.terminal_comment")}
/>
)}
@@ -1073,14 +1082,14 @@ export function InstallConsentDialog({
<footer className="flex shrink-0 justify-end gap-2 border-t border-border px-5 py-3">
<Button size="sm" variant="ghost" onClick={onCancel} disabled={isPending}>
- {plugin.installed ? "Close" : "Cancel"}
+ {t(plugin.installed ? "common.close" : "common.cancel")}
</Button>
{!plugin.installed && (
<Button size="sm" onClick={onConfirm} disabled={isPending}>
{isPending ? (
<Loader2 className="mr-1.5 h-3.5 w-3.5 animate-spin" />
) : null}
- Install
+ {t("plugins_community.install")}
</Button>
)}
</footer>
diff --git a/jarvis/ui/web/frontend/src/views/PluginsView.tsx b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
index 594aa2dc9f..49e12abce9 100644
--- a/jarvis/ui/web/frontend/src/views/PluginsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
@@ -29,6 +29,7 @@ import { PluginUploadDialog } from "@/views/PluginUploadDialog";
import { AddConnectorDialog, AddPluginTabs, type AddPluginMode } from "@/views/AddConnectorDialog";
import { removeAddedPlugin, takePluginFocus } from "@/lib/customConnector";
import { fill, translate, useLocaleChunk } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
import { ScrollArea } from "@/components/ui/scroll-area";
import { BrandedSelect } from "@/components/ui/select";
import {
@@ -59,6 +60,7 @@ import { openExternalUrl } from "@/lib/openExternal";
import { robustCopy } from "@/lib/clipboard";
import { PRODUCT_NAME } from "@/lib/branding";
import { bundledPluginLogo as bundledLogo } from "@/lib/pluginLogos";
+import { useRunLocale } from "@/components/runs/format";
const CustomApisView = lazy(() => import("@/views/CustomApisView").then((module) => ({ default: module.CustomApisView })));
@@ -102,11 +104,11 @@ type ReauthReason =
* breaking for no reason" and "my own OAuth app is still in Testing mode".
*/
const REAUTH_EXPLANATION: Record<ReauthReason, string> = {
- provider_rejected: "The provider no longer accepts this authorization",
- client_rejected: "The provider no longer accepts this app's OAuth client",
- client_missing: "Connected before Dodaios stored the OAuth client",
- rotation_lost: "A renewed token could not be saved, so it was retired",
- refresh_missing: "The access token expired and cannot be renewed automatically",
+ provider_rejected: "plugins_view.reauth_provider_rejected",
+ client_rejected: "plugins_view.reauth_client_rejected",
+ client_missing: "plugins_view.reauth_client_missing",
+ rotation_lost: "plugins_view.reauth_rotation_lost",
+ refresh_missing: "plugins_view.reauth_refresh_missing",
};
/** Whether Jarvis will keep trying on its own, so the card never implies the
@@ -124,9 +126,9 @@ function flaggedAgo(stamp: string | null | undefined, now: number = Date.now()):
const then = Date.parse(stamp);
if (Number.isNaN(then)) return null;
const days = Math.floor(Math.max(0, now - then) / 86_400_000);
- if (days < 1) return "today";
- if (days === 1) return "yesterday";
- return `${days} days ago`;
+ if (days < 1) return translate("plugins_view.ago_today");
+ if (days === 1) return translate("plugins_view.ago_yesterday");
+ return fill(translate("plugins_view.ago_days"), { count: days });
}
interface CatalogPlugin {
@@ -152,6 +154,9 @@ interface CatalogPlugin {
status: PluginStatus;
live_callable?: boolean;
unavailable_reason?: string | null;
+ /** Stable code for `unavailable_reason` (jarvis/marketplace/amd_mcp.py
+ * AMD_UNAVAILABLE_REASONS); translated at render, else the English text. */
+ unavailable_reason_code?: string | null;
/** Why the connection is flagged, and since when. Only set while
* `status === "needs_reauth"`; `null` when it died before Jarvis recorded
* reasons. Never carries provider error text. */
@@ -251,6 +256,7 @@ export interface Plugin {
featured?: boolean;
liveCallable?: boolean;
unavailableReason?: string;
+ unavailableReasonCode?: string;
longevity: Longevity;
longevityNote?: string;
/** Undefined only in hand-built fixtures; the catalog always states it. */
@@ -277,6 +283,33 @@ export interface Plugin {
mcpUrl?: string;
}
+/** Why a plugin cannot run here, in the UI language when the backend named
+ * the reason with a code; otherwise its own sentence. */
+function unavailableReasonText(plugin: Plugin): string | undefined {
+ if (!plugin.unavailableReason) return undefined;
+ return backendMessage(
+ translate,
+ "plugins_view.unavailable_reason",
+ plugin.unavailableReasonCode,
+ null,
+ plugin.unavailableReason,
+ );
+}
+
+/** A shipped plugin's longevity note in the UI language (keyed by plugin id);
+ * a marketplace or uploaded plugin's own note is shown as published. */
+function longevityNoteText(plugin: Plugin): string | undefined {
+ if (!plugin.longevityNote) return undefined;
+ const shipped = !plugin.fromMarketplace && !plugin.selfUploaded;
+ return backendMessage(
+ translate,
+ "plugins_view.longevity_note",
+ shipped ? plugin.id : "",
+ null,
+ plugin.longevityNote,
+ );
+}
+
function adapt(p: CatalogPlugin): Plugin {
return {
id: p.id,
@@ -292,6 +325,7 @@ function adapt(p: CatalogPlugin): Plugin {
featured: p.featured ?? false,
liveCallable: p.live_callable ?? false,
unavailableReason: p.unavailable_reason ?? undefined,
+ unavailableReasonCode: p.unavailable_reason_code ?? undefined,
longevity: p.longevity ?? "self_renewing",
longevityNote: p.longevity_note ?? undefined,
acceptance: p.acceptance ?? "preview",
@@ -361,10 +395,11 @@ function isFullColourMark(p: { id?: string; logoUrl?: string }): boolean {
return Boolean((p.id && bundledLogo(p.id)) || p.logoUrl);
}
+/** Translation keys; translated where rendered so a language switch applies. */
const LONGEVITY_LABEL: Record<Longevity, string> = {
- permanent: "Stays connected",
- self_renewing: "Renews itself",
- provider_limited: "Sign in again periodically",
+ permanent: "plugins_view.longevity_permanent",
+ self_renewing: "plugins_view.longevity_self_renewing",
+ provider_limited: "plugins_view.longevity_provider_limited",
};
async function fetchCatalog(): Promise<CatalogResponse> {
@@ -380,15 +415,16 @@ async function fetchCatalog(): Promise<CatalogResponse> {
return res.json();
}
+/** Translation keys; translated where rendered so a language switch applies. */
const AUTH_LABELS: Record<AuthMode, string> = {
- instance_browser: "Browser Login",
- local: "Local device",
- oauth_device_flow: "Device Flow",
- pat_paste: "Access Token",
- hosted_mcp_oauth_dcr: "One-Click",
- oauth_pkce_loopback: "Browser Login",
- hosted_mcp_allowlist: "Allowlist",
- hosted_mcp_open: "No sign-in",
+ instance_browser: "plugins_view.auth_browser_login",
+ local: "plugins_view.auth_local",
+ oauth_device_flow: "plugins_view.auth_device_flow",
+ pat_paste: "plugins_view.auth_access_token",
+ hosted_mcp_oauth_dcr: "plugins_view.auth_one_click",
+ oauth_pkce_loopback: "plugins_view.auth_browser_login",
+ hosted_mcp_allowlist: "plugins_view.auth_allowlist",
+ hosted_mcp_open: "plugins_view.auth_no_signin",
};
// Provider families supporting an optional expert OAuth client override: use their
@@ -420,6 +456,21 @@ const OAUTH_FAMILY_LABEL: Record<string, string> = {
hubspot: "HubSpot",
};
+/** Render a translated sentence with one `{slot}` replaced by a React node,
+ * so links and emphasised terms can sit anywhere the language needs them. */
+function withSlot(text: string, slot: string, node: React.ReactNode): React.ReactNode {
+ const marker = `{${slot}}`;
+ const at = text.indexOf(marker);
+ if (at < 0) return text;
+ return (
+ <>
+ {text.slice(0, at)}
+ {node}
+ {text.slice(at + marker.length)}
+ </>
+ );
+}
+
function oauthClientFamily(
plugin: Plugin,
): { family: string; label: string } | undefined {
@@ -451,28 +502,36 @@ const OAUTH_CLIENT_CONSOLE: Record<string, string> = {
// What a client id actually looks like, per provider. The field used to show
// Google's `…apps.googleusercontent.com` to everyone, which reads as "you are
// in the wrong place" when the provider is Spotify or Slack.
+// Literal example values stay as they are; prose hints are translation keys
+// (prefixed "plugins_view.") and are translated where rendered.
const OAUTH_CLIENT_ID_PLACEHOLDER: Record<string, string> = {
google: "…apps.googleusercontent.com",
- spotify: "32-character id from the app's settings",
+ spotify: "plugins_view.client_id_hint_spotify",
slack: "1234567890123.1234567890123",
asana: "1234567890123456",
- github: "Iv1.… from the OAuth App settings",
- gitlab: "64-character application id",
- figma: "client id from the app's settings",
- hubspot: "UUID from the app's Auth settings",
+ github: "plugins_view.client_id_hint_github",
+ gitlab: "plugins_view.client_id_hint_gitlab",
+ figma: "plugins_view.client_id_hint_figma",
+ hubspot: "plugins_view.client_id_hint_hubspot",
};
+/** Render an OAUTH_CLIENT_ID_PLACEHOLDER entry: a key is translated, a
+ * literal example value is returned as is. */
+function clientIdPlaceholder(value: string): string {
+ return value.startsWith("plugins_view.") ? translate(value) : value;
+}
+
// Providers whose PKCE flow needs no secret at all. Saying so beats an empty
// box captioned "optional for some providers", which leaves the reader to
// guess whether they are one of them.
const OAUTH_NO_SECRET_NEEDED: Record<string, string> = {
- microsoft: "not needed for a public/native app",
- x: "not needed for a Native App",
- spotify: "not needed — leave this empty",
- google: "usually not needed",
- github: "not needed — leave this empty",
- gitlab: "usually not needed",
- figma: "usually not needed",
+ microsoft: "plugins_view.secret_not_needed_public",
+ x: "plugins_view.secret_not_needed_native",
+ spotify: "plugins_view.secret_not_needed_empty",
+ google: "plugins_view.secret_usually_not_needed",
+ github: "plugins_view.secret_not_needed_empty",
+ gitlab: "plugins_view.secret_usually_not_needed",
+ figma: "plugins_view.secret_usually_not_needed",
};
/** The redirect URI the provider must have registered for the login to work.
@@ -537,6 +596,7 @@ export function matchesQuery(plugin: Plugin, query: string): boolean {
plugin.name,
plugin.description,
plugin.category,
+ categoryLabel(plugin.category),
plugin.id,
oauthClientFamily(plugin)?.label ?? "",
]
@@ -590,6 +650,27 @@ const WINDOW_CATEGORY_ORDER = [
"Lists & Tasks", "Developer", "Media & Creativity", "Home & Devices",
];
+/** Translation keys for the catalog's category names (jarvis/marketplace/
+ * catalog.py CATEGORY_ORDER plus the custom-connector category). The catalog
+ * value stays the identifier; an unknown category renders verbatim. */
+const CATEGORY_LABEL_KEYS: Record<string, string> = {
+ "Home & Devices": "plugins_category.home_devices",
+ "Lists & Tasks": "plugins_category.lists_tasks",
+ "Calendar & Mail": "plugins_category.calendar_mail",
+ "Messaging": "plugins_category.messaging",
+ "Knowledge & Reading": "plugins_category.knowledge_reading",
+ "Media & Creativity": "plugins_category.media_creativity",
+ "Files & Photos": "plugins_category.files_photos",
+ "Developer": "plugins_category.developer",
+ "Custom": "plugins_category.custom",
+};
+
+/** Display label for a catalog category in the current UI language. */
+export function categoryLabel(category: string): string {
+ const key = CATEGORY_LABEL_KEYS[category];
+ return key ? translate(key) : category;
+}
+
export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
const qc = useQueryClient();
const setActiveSection = useEventStore((s) => s.setActiveSection);
@@ -748,7 +829,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
}).verification_uri_complete;
const userCode = (r as unknown as { user_code?: string }).user_code;
if (!verifyUrl || !userCode) {
- setConnectFailure("The sign-in session could not be created. Please try again.");
+ setConnectFailure(translate("plugins_view.err_session_failed"));
return false;
}
// Auto-open the pre-filled verify URL if available; user lands
@@ -770,7 +851,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
return true;
}
if (!r.open_url) {
- setConnectFailure("The sign-in page is unavailable. Please try again.");
+ setConnectFailure(translate("plugins_view.err_signin_page_unavailable"));
return false;
}
// Awaited: the bridge must dispatch before the pending dialog paints.
@@ -789,11 +870,11 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
} catch (e) {
const code = e instanceof Error ? e.message : "connect_failed";
const messages: Record<string, string> = {
- denied: "Sign-in was declined. You can try again when ready.",
- timeout: "Sign-in timed out. Please try again.",
- provider_unreachable: "The provider could not be reached. Please try again later.",
- port_in_use: "The sign-in callback is busy. Close the other sign-in attempt and try again.",
- misconfigured: "Browser sign-in is pending publisher setup. No developer setup is required from you.",
+ denied: translate("plugins_view.err_denied"),
+ timeout: translate("plugins_view.err_timeout"),
+ provider_unreachable: translate("plugins_view.err_provider_unreachable"),
+ port_in_use: translate("plugins_view.err_port_in_use"),
+ misconfigured: translate("plugins_view.err_misconfigured"),
};
// Known OAuth codes map to a short sentence; anything else is already a
// backend-provided human-readable detail (e.g. the 409 provisioning
@@ -827,8 +908,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
authMode: "pat_paste",
authConfig: { ...p.fallbackAuth, mode: "pat_paste" },
fallbackNotice:
- notice ??
- "Browser login needs the publisher client, which isn't provisioned yet — you can connect with a token meanwhile.",
+ notice ?? translate("plugins_view.fallback_notice"),
});
};
@@ -868,7 +948,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
return;
}
// hosted_mcp_allowlist (Vercel v2) — needs cloud proxy, deferred.
- setConnectFailure("This connection is pending publisher setup. Please try again when browser sign-in is available.");
+ setConnectFailure(translate("plugins_view.err_pending_publisher"));
};
const allPlugins = useMemo<Plugin[]>(
@@ -983,11 +1063,11 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
const dialogs = (
<>
{connectFailure && (
- <div role="alertdialog" aria-modal="true" aria-label="Connection unavailable" className="fixed inset-0 z-[60] flex items-center justify-center bg-scrim/70">
+ <div role="alertdialog" aria-modal="true" aria-label={translate("plugins_view.connection_unavailable")} className="fixed inset-0 z-[60] flex items-center justify-center bg-scrim/70">
<div className="max-w-md rounded-lg bg-popover p-5 text-sm text-foreground shadow-float">
- <h2 className="font-semibold">Connection unavailable</h2>
+ <h2 className="font-semibold">{translate("plugins_view.connection_unavailable")}</h2>
<p className="mt-2">{connectFailure}</p>
- <button type="button" onClick={() => setConnectFailure(null)} className="mt-4 rounded-md border border-border px-3 py-1.5">Close</button>
+ <button type="button" onClick={() => setConnectFailure(null)} className="mt-4 rounded-md border border-border px-3 py-1.5">{translate("common.close")}</button>
</div>
</div>
)}
@@ -999,7 +1079,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
setAddMode(null);
pushToast(
"success",
- fill(translate("custom_connector.added"), { name: result.plugin.display_name }),
+ fill(translate("plugins_view.plugin_added"), { plugin: result.plugin.display_name }),
);
void handleFreshInstall(result.plugin.id);
}}
@@ -1022,7 +1102,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
const name = removingPlugin.name;
setRemovingPlugin(null);
setSelectedId(null);
- pushToast("success", fill(translate("custom_connector.removed"), { name }));
+ pushToast("success", fill(translate("plugins_view.plugin_removed"), { plugin: name }));
void qc.refetchQueries({ queryKey: ["marketplace-plugins"] });
}}
/>
@@ -1332,7 +1412,7 @@ export function PluginsView({ inDialog = false }: { inDialog?: boolean } = {}) {
className="h-7 w-auto rounded-md px-2 py-0 text-micro"
options={[
{ value: "all", label: translate("plugins_view.all_categories") },
- ...categoryOrder.map((c) => ({ value: c, label: c })),
+ ...categoryOrder.map((c) => ({ value: c, label: categoryLabel(c) })),
]}
/>
)}
@@ -1398,7 +1478,7 @@ function PluginWindowCatalog({
const grouped = listFilter === "all" && !query.trim() && category === "all";
const heading = query.trim()
? fill(translate("plugins_view.matches"), { n: plugins.length })
- : category !== "all" ? category : tabs.find((tab) => tab.id === listFilter)?.label;
+ : category !== "all" ? categoryLabel(category) : tabs.find((tab) => tab.id === listFilter)?.label;
return (
<>
<div className="shrink-0 px-5 pb-4 pt-7 sm:px-7">
@@ -1440,7 +1520,7 @@ function PluginWindowCatalog({
{installed.length > 0 && <span className="flex -space-x-2" aria-hidden>
{installed.slice(0, 4).map((plugin) => <BrandTile key={plugin.id} plugin={plugin} size="sm" />)}
</span>}
- <span>{installed.length} {translate("plugins_view.filter_installed").toLocaleLowerCase()}</span>
+ <span>{fill(translate("plugins_view.installed_count"), { count: installed.length })}</span>
<ArrowRight className="h-3.5 w-3.5" aria-hidden />
</button>
<label className="flex h-10 items-center gap-2 rounded-xl border border-border/70 bg-secondary px-3 text-muted-foreground focus-within:ring-2 focus-within:ring-ring">
@@ -1463,7 +1543,7 @@ function PluginWindowCatalog({
testId="plugin-window-category"
className="h-8 w-auto max-w-full rounded-full bg-secondary px-3 text-xs"
options={[{ value: "all", label: translate("plugins_view.all_categories") },
- ...[...categories].sort((a, b) => WINDOW_CATEGORY_ORDER.indexOf(a) - WINDOW_CATEGORY_ORDER.indexOf(b)).map((name) => ({ value: name, label: name }))]} />
+ ...[...categories].sort((a, b) => WINDOW_CATEGORY_ORDER.indexOf(a) - WINDOW_CATEGORY_ORDER.indexOf(b)).map((name) => ({ value: name, label: categoryLabel(name) }))]} />
</div>
</div>
<ScrollArea className="min-h-0 flex-1">
@@ -1475,7 +1555,7 @@ function PluginWindowCatalog({
<ul aria-label={translate("plugins_view.title")}>
{plugins.map((plugin, index) => <li key={plugin.id}>
{grouped && (index === 0 || plugins[index - 1].category !== plugin.category) &&
- <h3 className={cn("px-2 pb-2 text-sm font-semibold text-foreground-strong", index ? "pt-5" : "pt-2")}>{plugin.category}</h3>}
+ <h3 className={cn("px-2 pb-2 text-sm font-semibold text-foreground-strong", index ? "pt-5" : "pt-2")}>{categoryLabel(plugin.category)}</h3>}
<div className="group flex min-h-[76px] items-center gap-3 rounded-xl px-2 py-3 hover:bg-secondary/70">
<button type="button" onClick={() => onOpen(plugin.id)} aria-label={plugin.name}
className="flex min-w-0 flex-1 items-center gap-3.5 rounded-lg text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
@@ -1483,7 +1563,7 @@ function PluginWindowCatalog({
<span className="min-w-0 flex-1">
<span className="block truncate text-[15px] font-medium leading-6 text-foreground-strong">{plugin.name}</span>
<span className="block truncate text-[13px] leading-5 text-muted-foreground" title={plugin.description}>{plugin.description}</span>
- {plugin.unavailableReason && <span className="block text-xs text-muted-foreground" title={plugin.unavailableReason}>Unsupported on this device</span>}
+ {plugin.unavailableReason && <span className="block text-xs text-muted-foreground" title={unavailableReasonText(plugin)}>{translate("plugins_view.unsupported_device")}</span>}
{plugin.status === "needs_reauth" && <span className="block text-xs text-warning"><ReauthExplanation plugin={plugin} inline /></span>}
<GrantExpiry plugin={plugin} />
</span>
@@ -1519,7 +1599,7 @@ function WindowConnectButton({ plugin, onConnect, onDisconnect }: { plugin: Plug
// already names the marketplace tab and the community badge, so a connected
// card saying "Added" read as done-before-authed. Connected says Connected,
// untouched says Connect.
- return <button type="button" disabled={busy || Boolean(plugin.unavailableReason)} title={plugin.unavailableReason} onClick={() => void act()}
+ return <button type="button" disabled={busy || Boolean(plugin.unavailableReason)} title={unavailableReasonText(plugin)} onClick={() => void act()}
aria-label={translate(connected ? "plugins_view.disconnect" : reconnect ? "plugins_view.reconnect" : "plugins_view.connect")}
className={cn("flex shrink-0 items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50",
connected ? "text-muted-foreground hover:bg-secondary" : "bg-secondary text-foreground hover:bg-accent-soft")}>
@@ -1546,7 +1626,7 @@ function statusTone(status: PluginStatus): "ok" | "off" | "warn" | "error" {
}
function statusLabel(plugin: Plugin): string {
- if (plugin.unavailableReason) return "Unsupported on this device";
+ if (plugin.unavailableReason) return translate("plugins_view.unsupported_device");
switch (plugin.status) {
case "connected":
return plugin.liveCallable
@@ -1671,7 +1751,7 @@ function PluginTableRow({
</div>
</Cell>
<Cell muted>
- <span className="truncate">{plugin.category}</span>
+ <span className="truncate">{categoryLabel(plugin.category)}</span>
</Cell>
<Cell>
<StatusDot tone={statusTone(plugin.status)} label={statusLabel(plugin)} />
@@ -1679,7 +1759,7 @@ function PluginTableRow({
<Cell align="right" stop>
<ConnectIconButton
status={plugin.status}
- unavailableReason={plugin.unavailableReason}
+ unavailableReason={unavailableReasonText(plugin)}
onConnect={() => onConnect(plugin)}
onDisconnect={() => onDisconnect(plugin.id)}
/>
@@ -1776,7 +1856,7 @@ function PluginDetail({
byline={
<span className="inline-flex items-center gap-2">
<StatusDot tone={statusTone(plugin.status)} label={statusLabel(plugin)} />
- <span>· {plugin.category}</span>
+ <span>· {categoryLabel(plugin.category)}</span>
{plugin.publisher && (
<span>· {fill(translate("plugins_view.by"), { publisher: plugin.publisher })}</span>
)}
@@ -1799,7 +1879,7 @@ function PluginDetail({
type="button"
onClick={() => void run()}
disabled={busy || Boolean(plugin.unavailableReason)}
- title={plugin.unavailableReason}
+ title={unavailableReasonText(plugin)}
aria-busy={busy}
className={cn(
"inline-flex h-8 items-center gap-1.5 rounded-md px-3 text-xs font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-60",
@@ -1833,7 +1913,7 @@ function PluginDetail({
}
/>
- {plugin.unavailableReason && <p className="mt-3 text-sm text-muted-foreground">{plugin.unavailableReason}</p>}
+ {plugin.unavailableReason && <p className="mt-3 text-sm text-muted-foreground">{unavailableReasonText(plugin)}</p>}
{plugin.status === "needs_reauth" ? (
<div className="mt-4 rounded-md bg-secondary px-3 py-2.5 text-xs">
<ReauthExplanation plugin={plugin} />
@@ -1856,14 +1936,14 @@ function PluginDetail({
<FactRows
rows={[
{ label: translate("plugins_view.col_status"), value: statusLabel(plugin) },
- { label: translate("plugins_view.fact_signin"), value: AUTH_LABELS[plugin.authMode] },
+ { label: translate("plugins_view.fact_signin"), value: translate(AUTH_LABELS[plugin.authMode]) },
{
label: translate("plugins_view.fact_connection"),
value: (
<span className={cn(plugin.longevity === "provider_limited" && "text-foreground")}>
- {LONGEVITY_LABEL[plugin.longevity]}
+ {translate(LONGEVITY_LABEL[plugin.longevity])}
{plugin.longevityNote ? (
- <span className="block text-xs text-muted-foreground">{plugin.longevityNote}</span>
+ <span className="block text-xs text-muted-foreground">{longevityNoteText(plugin)}</span>
) : null}
</span>
),
@@ -1873,7 +1953,7 @@ function PluginDetail({
value: family
? plugin.oauthClientConfigured
? fill(translate("plugins_view.oauth_client_own"), { family: family.label })
- : "Browser sign-in is pending publisher setup. No developer setup is required from you."
+ : translate("plugins_view.err_misconfigured")
: null,
},
{
@@ -1927,8 +2007,8 @@ function AttentionBanner({
const names = plugins.map((p) => p.name);
const one = plugins.length === 1;
const headline = one
- ? `${names[0]} needs reconnecting`
- : `${plugins.length} connections need reconnecting`;
+ ? fill(translate("plugins_view.attention_one"), { plugin: names[0] })
+ : fill(translate("plugins_view.attention_many"), { count: plugins.length });
return (
<div className="mb-4 flex items-center gap-3 rounded-lg bg-secondary px-3 py-2">
@@ -1940,13 +2020,15 @@ function AttentionBanner({
? // The banner is the first thing the user reads, so it states the
// actual cause rather than the old catch-all guess ("expired or
// was revoked"), which was wrong as often as it was right.
- `${
- plugins[0].reauthReason &&
- plugins[0].reauthReason in REAUTH_EXPLANATION
- ? REAUTH_EXPLANATION[plugins[0].reauthReason as ReauthReason]
- : "The authorization stopped working"
- } — reconnect to keep it working.`
- : `Reconnect to keep them working: ${names.join(", ")}`}
+ fill(translate("plugins_view.attention_one_detail"), {
+ reason: translate(
+ plugins[0].reauthReason &&
+ plugins[0].reauthReason in REAUTH_EXPLANATION
+ ? REAUTH_EXPLANATION[plugins[0].reauthReason as ReauthReason]
+ : "plugins_view.reauth_unknown",
+ ),
+ })
+ : fill(translate("plugins_view.attention_many_detail"), { plugins: names.join(", ") })}
</p>
</div>
<button
@@ -1954,7 +2036,7 @@ function AttentionBanner({
onClick={onJump}
className="inline-flex h-7 shrink-0 items-center gap-1.5 rounded-md bg-secondary px-2.5 text-xs font-medium text-foreground transition-colors hover:bg-popover"
>
- {one ? "Jump to it" : "Jump to first"}
+ {translate(one ? "plugins_view.jump_to_it" : "plugins_view.jump_to_first")}
<ArrowRight className="h-3.5 w-3.5" />
</button>
</div>
@@ -2048,13 +2130,13 @@ export function LongevityBadge({ plugin }: { plugin: Plugin }) {
const limited = plugin.longevity === "provider_limited";
return (
<span
- title={plugin.longevityNote ?? LONGEVITY_LABEL[plugin.longevity]}
+ title={plugin.longevityNote ?? translate(LONGEVITY_LABEL[plugin.longevity])}
className={cn(
"text-micro font-medium ",
limited ? "text-foreground/80" : "text-muted-foreground/45",
)}
>
- {LONGEVITY_LABEL[plugin.longevity]}
+ {translate(LONGEVITY_LABEL[plugin.longevity])}
</span>
);
}
@@ -2072,11 +2154,12 @@ export function LongevityBadge({ plugin }: { plugin: Plugin }) {
* grant every 7 days) — buried in a tooltip it never reached anyone.
*/
export function GrantExpiry({ plugin }: { plugin: Plugin }) {
+ const locale = useRunLocale();
const stamp = plugin.refreshExpiresAt;
const end = stamp ? Date.parse(stamp) : NaN;
if (plugin.status !== "connected" || !Number.isFinite(end)) return null;
const expired = end <= Date.now();
- const date = new Date(end).toLocaleString();
+ const date = new Date(end).toLocaleString(locale);
return (
<span className={cn("block text-xs", expired ? "text-warning" : "text-muted-foreground")}>
{fill(translate(expired ? "plugins_view.grant_expired" : "plugins_view.grant_ends"), { date })}
@@ -2086,12 +2169,13 @@ export function GrantExpiry({ plugin }: { plugin: Plugin }) {
export function ReauthExplanation({ plugin, inline }: { plugin: Plugin; inline?: boolean }) {
const reason = plugin.reauthReason;
- const explanation =
+ const explanation = translate(
reason && reason in REAUTH_EXPLANATION
? REAUTH_EXPLANATION[reason as ReauthReason]
: // Flagged before Jarvis recorded reasons, or by a version that did not.
// Say so plainly rather than guess at a cause.
- "The authorization stopped working";
+ "plugins_view.reauth_unknown",
+ );
const ago = flaggedAgo(plugin.reauthAt);
const headline = ago ? `${explanation} · ${ago}` : explanation;
const retrying = retriesItself(reason);
@@ -2107,8 +2191,8 @@ export function ReauthExplanation({ plugin, inline }: { plugin: Plugin; inline?:
className="truncate text-xs text-foreground"
title={
retrying
- ? `${headline}. Dodaios retries this once a day; reconnect to fix it now.`
- : `${headline}. This one cannot be retried automatically — reconnect to fix it.`
+ ? fill(translate("plugins_view.reauth_retrying"), { headline })
+ : fill(translate("plugins_view.reauth_no_retry"), { headline })
}
>
{headline}
@@ -2174,8 +2258,8 @@ export function ConnectIconButton({
onDisconnect();
}}
className="grid h-7 w-7 shrink-0 place-items-center rounded-full bg-secondary text-foreground-strong transition-colors hover:bg-popover hover:text-destructive"
- aria-label="Disconnect plugin"
- title="Disconnect"
+ aria-label={translate("plugins_view.disconnect_plugin")}
+ title={translate("plugins_view.disconnect")}
>
<Check className="h-3.5 w-3.5" />
</button>
@@ -2204,8 +2288,8 @@ export function ConnectIconButton({
"grid h-7 w-7 shrink-0 place-items-center rounded-full bg-secondary text-foreground transition-all hover:bg-popover group-hover:scale-105",
busy && "cursor-not-allowed opacity-60 group-hover:scale-100",
)}
- aria-label="Reconnect plugin"
- title={unavailableReason ?? "Reconnect"}
+ aria-label={translate("plugins_view.reconnect_plugin")}
+ title={unavailableReason ?? translate("plugins_view.reconnect")}
>
{busy ? (
<Loader2 className="h-3.5 w-3.5 animate-spin" />
@@ -2227,7 +2311,7 @@ export function ConnectIconButton({
busy && "cursor-not-allowed opacity-60 hover:bg-secondary hover:text-muted-foreground group-hover:scale-100",
)}
title={unavailableReason}
- aria-label="Connect plugin"
+ aria-label={translate("plugins_view.connect_plugin")}
>
{busy ? (
<Loader2 className="h-3.5 w-3.5 animate-spin" />
@@ -2265,17 +2349,17 @@ function CopyableUrl({ url, hint }: { url: string; hint?: string }) {
readOnly
value={url}
onFocus={(e) => e.currentTarget.select()}
- aria-label="Authorization link"
+ aria-label={translate("plugins_view.authorization_link")}
className="min-w-0 flex-1 rounded-md border border-border bg-background px-2.5 py-1.5 font-mono text-micro text-muted-foreground focus:border-border-strong focus:outline-none"
/>
<button
type="button"
onClick={copy}
className="inline-flex shrink-0 items-center gap-1.5 rounded-md border border-border bg-card px-3 text-micro font-medium text-foreground transition-colors hover:border-border-strong hover:text-foreground-strong"
- title="Copy link"
+ title={translate("plugins_view.copy_link")}
>
{copied ? <Check className="h-3 w-3 text-muted-foreground" /> : <Copy className="h-3 w-3" />}
- {copied ? "Copied" : "Copy"}
+ {translate(copied ? "plugins_view.copied" : "plugins_view.copy")}
</button>
</div>
{hint && (
@@ -2354,7 +2438,7 @@ function OAuthRedirectDialog({
const state = poll.data?.state ?? "pending";
const errorMessage =
state === "error"
- ? poll.data?.error ?? "Unknown error"
+ ? poll.data?.error ?? translate("plugins_view.unknown_error")
: poll.error instanceof Error
? poll.error.message
: null;
@@ -2372,17 +2456,17 @@ function OAuthRedirectDialog({
<header className="flex items-center justify-between border-b border-border px-5 py-4">
<div>
<h2 className="font-display text-base font-semibold tracking-tight">
- Connecting {pluginName}
+ {fill(translate("plugins_view.connecting_plugin"), { plugin: pluginName })}
</h2>
<p className="text-micro text-muted-foreground">
- Browser login
+ {translate("plugins_view.browser_login")}
</p>
</div>
<button
type="button"
onClick={onClose}
className="grid h-7 w-7 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
- aria-label="Close"
+ aria-label={translate("common.close")}
>
<X className="h-4 w-4" />
</button>
@@ -2394,27 +2478,22 @@ function OAuthRedirectDialog({
<Loader2 className="h-8 w-8 animate-spin text-foreground-strong" />
<div>
<p className="text-sm font-medium text-foreground">
- Authorize {PRODUCT_NAME} in your browser
+ {fill(translate("plugins_view.authorize_in_browser"), { product: PRODUCT_NAME })}
</p>
<p className="mt-1 text-xs leading-relaxed text-muted-foreground">
- Continue in the browser tab for {pluginName} — sign in if
- prompted, click "Authorize", then come back here. No tab
- visible? Open it again or copy the link below. The plugin
- stays "Not connected" until you finish there.
+ {fill(translate("plugins_view.continue_in_browser"), { plugin: pluginName })}
</p>
</div>
{redirectUri && (
<div className="w-full rounded-md border border-border bg-background px-3 py-2 text-left">
<p className="text-micro text-muted-foreground">
- Waiting for {pluginName} to call back at
+ {fill(translate("plugins_view.waiting_callback"), { plugin: pluginName })}
</p>
<code className="mt-0.5 block select-all break-all font-mono text-micro text-foreground">
{redirectUri}
</code>
<p className="mt-1 text-micro text-muted-foreground">
- If the provider shows an error instead of asking for
- approval, allow exactly this address in your provider
- app's redirect settings, then open the sign-in again.
+ {translate("plugins_view.redirect_hint")}
</p>
</div>
)}
@@ -2423,12 +2502,12 @@ function OAuthRedirectDialog({
onClick={() => void openExternalUrl(openUrl)}
className="inline-flex items-center gap-1.5 rounded-full bg-primary px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
>
- Open {pluginName} again
+ {fill(translate("plugins_view.open_plugin_again"), { plugin: pluginName })}
<ExternalLink className="h-3 w-3" />
</button>
<CopyableUrl
url={openUrl}
- hint="Or copy this link and paste it into your browser's address bar."
+ hint={translate("plugins_view.copy_link_hint_paste")}
/>
</div>
)}
@@ -2439,7 +2518,7 @@ function OAuthRedirectDialog({
<Check className="h-6 w-6" />
</div>
<p className="font-display text-base font-semibold tracking-tight text-foreground">
- {pluginName} connected
+ {fill(translate("plugins_view.plugin_connected"), { plugin: pluginName })}
</p>
</div>
)}
@@ -2457,7 +2536,7 @@ function OAuthRedirectDialog({
onClick={onClose}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
- {state === "pending" ? "Cancel" : "Close"}
+ {translate(state === "pending" ? "common.cancel" : "common.close")}
</button>
</footer>
</div>
@@ -2539,7 +2618,7 @@ function DeviceCodeDialog({
const state = poll.data?.state ?? "pending";
const errorMessage =
state === "error"
- ? poll.data?.error ?? "Unknown error"
+ ? poll.data?.error ?? translate("plugins_view.unknown_error")
: poll.error instanceof Error
? poll.error.message
: null;
@@ -2560,17 +2639,17 @@ function DeviceCodeDialog({
<header className="flex items-center justify-between border-b border-border px-5 py-4">
<div>
<h2 className="font-display text-base font-semibold tracking-tight">
- Connect {pluginName}
+ {fill(translate("plugins_view.connect_named"), { plugin: pluginName })}
</h2>
<p className="text-micro text-muted-foreground">
- Device flow
+ {translate("plugins_view.device_flow")}
</p>
</div>
<button
type="button"
onClick={onClose}
className="grid h-7 w-7 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
- aria-label="Close"
+ aria-label={translate("common.close")}
>
<X className="h-4 w-4" />
</button>
@@ -2581,26 +2660,26 @@ function DeviceCodeDialog({
<>
<div>
<p className="text-micro text-muted-foreground">
- Step 1 — copy this code
+ {translate("plugins_view.device_step1")}
</p>
<button
type="button"
onClick={copyCode}
className="group mt-2 flex w-full items-center justify-between gap-2 rounded-lg border border-border bg-background px-4 py-3 transition-colors hover:border-border-strong hover:bg-secondary"
- title="Copy"
+ title={translate("plugins_view.copy")}
>
<span className="font-mono text-2xl font-semibold tracking-[0.3em] tabular-nums text-foreground">
{userCode}
</span>
<span className="text-micro text-muted-foreground group-hover:text-foreground-strong">
- {copied ? "Copied!" : "Copy"}
+ {translate(copied ? "plugins_view.copied_bang" : "plugins_view.copy")}
</span>
</button>
</div>
<div>
<p className="text-micro text-muted-foreground">
- Step 2 — paste it on {pluginName}
+ {fill(translate("plugins_view.device_step2"), { plugin: pluginName })}
</p>
<a
href={verificationUriComplete ?? verificationUri}
@@ -2612,20 +2691,20 @@ function DeviceCodeDialog({
}}
className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-primary px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
>
- Open {pluginName}
+ {fill(translate("plugins_view.open_plugin"), { plugin: pluginName })}
<ExternalLink className="h-3 w-3" />
</a>
<div className="mt-2">
<CopyableUrl
url={verificationUri}
- hint="Or copy this link, open it in your browser, and enter the code above."
+ hint={translate("plugins_view.copy_link_hint_code")}
/>
</div>
</div>
<div className="flex items-center gap-2 text-micro text-muted-foreground">
<Loader2 className="h-3 w-3 animate-spin text-muted-foreground" />
- Waiting for authorization…
+ {translate("plugins_view.waiting_authorization")}
{secondsLeft > 0 && (
<span className="ml-auto font-mono tabular-nums">
{String(mins).padStart(2, "0")}:
@@ -2642,7 +2721,7 @@ function DeviceCodeDialog({
<Check className="h-6 w-6" />
</div>
<p className="font-display text-base font-semibold tracking-tight text-foreground">
- {pluginName} connected
+ {fill(translate("plugins_view.plugin_connected"), { plugin: pluginName })}
</p>
</div>
)}
@@ -2660,7 +2739,7 @@ function DeviceCodeDialog({
onClick={onClose}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
- {state === "pending" ? "Cancel" : "Close"}
+ {translate(state === "pending" ? "common.cancel" : "common.close")}
</button>
</footer>
</div>
@@ -2735,7 +2814,7 @@ export function PkceConnectDialog({
const proceeded = await onProceed();
if (proceeded !== false) onClose();
} catch (e) {
- setErr("Could not save the connection settings. Please try again.");
+ setErr(translate("plugins_view.err_save_settings"));
} finally {
busyRef.current = false;
setBusy(false);
@@ -2760,10 +2839,14 @@ export function PkceConnectDialog({
id="pkce-connect-title"
className="font-display text-sm font-semibold tracking-tight"
>
- Connect {plugin.name}
+ {fill(translate("plugins_view.connect_named"), { plugin: plugin.name })}
</h2>
<p className="text-micro text-muted-foreground">
- {clientRequired ? "Browser sign-in is not available yet." : `You'll sign in with your ${fam?.label ?? "provider"} account in the browser.`}
+ {clientRequired
+ ? translate("plugins_view.pkce_browser_unavailable")
+ : fill(translate("plugins_view.pkce_signin_with"), {
+ family: fam?.label ?? translate("plugins_view.provider_fallback"),
+ })}
</p>
</div>
</header>
@@ -2772,10 +2855,10 @@ export function PkceConnectDialog({
{clientRequired ? (
<div className="rounded-md bg-secondary px-3 py-2 text-micro text-foreground">
<p>
- Browser sign-in is pending publisher setup. Connect today with
- your own free {fam?.label ?? "provider"} app — a few minutes,
- no code. Continue opens the real {plugin.name} login in your
- browser once the client below is filled in.
+ {fill(translate("plugins_view.pkce_pending_intro"), {
+ family: fam?.label ?? translate("plugins_view.provider_fallback"),
+ plugin: plugin.name,
+ })}
</p>
{fam && OAUTH_CLIENT_CONSOLE[fam.family] && (
<button
@@ -2783,7 +2866,7 @@ export function PkceConnectDialog({
onClick={() => void openExternalUrl(OAUTH_CLIENT_CONSOLE[fam.family])}
className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-primary px-3 py-1 text-micro font-semibold text-primary-foreground transition-all hover:bg-primary/90"
>
- Step 1 — open the {fam.label} app console
+ {fill(translate("plugins_view.pkce_step1"), { family: fam.label })}
<ExternalLink className="h-3 w-3" />
</button>
)}
@@ -2798,54 +2881,58 @@ export function PkceConnectDialog({
aria-expanded={showClient}
className="text-micro font-medium text-muted-foreground underline underline-offset-2 hover:text-foreground"
>
- {clientRequired ? "Your OAuth client" : "Use your own OAuth client (advanced)"}
+ {translate(clientRequired ? "plugins_view.pkce_your_client" : "plugins_view.pkce_own_client_advanced")}
</button>
{showClient && (
<div className="mt-2 space-y-2">
<p className="text-micro text-muted-foreground">
{clientRequired ? (
- <>
- Step 2 — paste the client from the app you just
- created{fam.family === "google" &&
- ". One client covers Gmail, Drive, Calendar and YouTube Music"}
- .
- </>
+ translate(
+ fam.family === "google"
+ ? "plugins_view.pkce_step2_google"
+ : "plugins_view.pkce_step2",
+ )
) : (
<>
- Optional expert override. Paste a client from your own{" "}
- {fam.label}{" "}
- {OAUTH_CLIENT_CONSOLE[fam.family] && (
- <a
- href={OAUTH_CLIENT_CONSOLE[fam.family]}
- target="_blank"
- rel="noreferrer"
- className="underline underline-offset-2 hover:text-foreground"
- >
- console
- </a>
- )}
- .{" "}
+ {withSlot(
+ fill(translate("plugins_view.pkce_override"), { family: fam.label }),
+ "console",
+ OAUTH_CLIENT_CONSOLE[fam.family] && (
+ <a
+ href={OAUTH_CLIENT_CONSOLE[fam.family]}
+ target="_blank"
+ rel="noreferrer"
+ className="underline underline-offset-2 hover:text-foreground"
+ >
+ {translate("plugins_view.pkce_console")}
+ </a>
+ ),
+ )}{" "}
{fam.family === "google" &&
- "One client covers Gmail, Drive, Calendar and YouTube Music."}
+ translate("plugins_view.pkce_google_one_client")}
</>
)}
</p>
{redirectUri && (
<div className="rounded-md border border-border bg-background px-2.5 py-2">
<p className="text-micro text-muted-foreground">
- {clientRequired ? "Step 3 — while" : "While"} creating the app, register this as its{" "}
- <span className="font-medium text-foreground">
- redirect URI
- </span>
- , character for character:
+ {withSlot(
+ translate(clientRequired ? "plugins_view.pkce_redirect_step3" : "plugins_view.pkce_redirect"),
+ "term",
+ <span className="font-medium text-foreground">
+ {translate("plugins_view.pkce_redirect_term")}
+ </span>,
+ )}
</p>
<code className="mt-1 block select-all break-all rounded bg-muted px-1.5 py-1 text-micro text-foreground">
{redirectUri}
</code>
<p className="mt-1 text-micro text-muted-foreground">
- It must be the numeric address, not{" "}
- <code className="text-micro">localhost</code>, and
- carry no trailing slash.
+ {withSlot(
+ translate("plugins_view.pkce_redirect_numeric"),
+ "localhost",
+ <code className="text-micro">localhost</code>,
+ )}
</p>
</div>
)}
@@ -2854,7 +2941,7 @@ export function PkceConnectDialog({
htmlFor="pkce-client-id"
className="block text-micro font-medium text-muted-foreground"
>
- Client ID
+ {translate("plugins_view.client_id")}
</label>
<input
id="pkce-client-id"
@@ -2862,8 +2949,9 @@ export function PkceConnectDialog({
onChange={(e) => setClientId(e.target.value)}
className="mt-1 h-8 w-full rounded-md border border-border bg-background px-2 text-xs text-foreground placeholder:text-faint-foreground focus:border-border-strong focus:outline-none"
placeholder={
- OAUTH_CLIENT_ID_PLACEHOLDER[fam.family] ??
- `Client ID from ${fam.label}`
+ OAUTH_CLIENT_ID_PLACEHOLDER[fam.family]
+ ? clientIdPlaceholder(OAUTH_CLIENT_ID_PLACEHOLDER[fam.family])
+ : fill(translate("plugins_view.client_id_from"), { family: fam.label })
}
/>
</div>
@@ -2872,7 +2960,7 @@ export function PkceConnectDialog({
htmlFor="pkce-client-secret"
className="block text-micro font-medium text-muted-foreground"
>
- Client Secret
+ {translate("plugins_view.client_secret")}
</label>
<input
id="pkce-client-secret"
@@ -2881,8 +2969,10 @@ export function PkceConnectDialog({
onChange={(e) => setClientSecret(e.target.value)}
className="mt-1 h-8 w-full rounded-md border border-border bg-background px-2 text-xs text-foreground placeholder:text-faint-foreground focus:border-border-strong focus:outline-none"
placeholder={
- OAUTH_NO_SECRET_NEEDED[fam.family] ??
- "optional for some providers"
+ translate(
+ OAUTH_NO_SECRET_NEEDED[fam.family] ??
+ "plugins_view.secret_optional_some",
+ )
}
/>
</div>
@@ -2898,11 +2988,9 @@ export function PkceConnectDialog({
)}
{onUseFallback && plugin.fallbackAuth && (
<details className="rounded-md border border-border px-3 py-2.5 text-micro text-muted-foreground">
- <summary className="cursor-pointer">Expert token alternative</summary>
+ <summary className="cursor-pointer">{translate("plugins_view.expert_token_alt")}</summary>
<p>
- The shared browser login isn't provisioned yet. You can
- connect with a provider token meanwhile — the browser flow
- stays the default and takes over automatically once ready.
+ {translate("plugins_view.expert_token_alt_body")}
</p>
<button
type="button"
@@ -2910,7 +2998,7 @@ export function PkceConnectDialog({
disabled={busy}
className="mt-1.5 font-medium text-foreground underline underline-offset-2 hover:text-foreground disabled:opacity-60"
>
- Paste a token instead
+ {translate("plugins_view.paste_token_instead")}
</button>
</details>
)}
@@ -2923,7 +3011,7 @@ export function PkceConnectDialog({
disabled={busy}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-60"
>
- Cancel
+ {translate("common.cancel")}
</button>
<button
type="button"
@@ -2932,7 +3020,7 @@ export function PkceConnectDialog({
className="inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-semibold text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60"
>
{busy && <Loader2 className="h-3 w-3 animate-spin" />}
- Continue
+ {translate("plugins_view.continue")}
</button>
</footer>
</div>
@@ -2987,10 +3075,10 @@ function DisconnectConfirmDialog({
id="disconnect-dialog-title"
className="font-display text-base font-semibold tracking-tight"
>
- Remove {plugin.name}?
+ {fill(translate("plugins_view.remove_named"), { plugin: plugin.name })}
</h2>
<p className="text-micro text-muted-foreground">
- Disconnect plugin
+ {translate("plugins_view.disconnect_plugin")}
</p>
</div>
</div>
@@ -2999,7 +3087,7 @@ function DisconnectConfirmDialog({
onClick={onCancel}
disabled={isPending}
className="grid h-7 w-7 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-30"
- aria-label="Cancel"
+ aria-label={translate("common.cancel")}
>
<X className="h-4 w-4" />
</button>
@@ -3007,9 +3095,11 @@ function DisconnectConfirmDialog({
<div className="px-5 py-5">
<p className="text-sm leading-relaxed text-muted-foreground">
- This disconnects{" "}
- <span className="font-medium text-foreground">{plugin.name}</span> and
- deletes its stored credentials. {assistantName} loses access until you reconnect it.
+ {withSlot(
+ fill(translate("plugins_view.disconnect_body"), { assistant: assistantName }),
+ "plugin",
+ <span className="font-medium text-foreground">{plugin.name}</span>,
+ )}
</p>
{errorMessage && (
<div className="mt-3 rounded-md bg-secondary px-3 py-2 text-xs text-destructive">
@@ -3025,7 +3115,7 @@ function DisconnectConfirmDialog({
disabled={isPending}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-30"
>
- Cancel
+ {translate("common.cancel")}
</button>
<button
type="button"
@@ -3036,10 +3126,10 @@ function DisconnectConfirmDialog({
{isPending ? (
<>
<Loader2 className="h-3 w-3 animate-spin" />
- Removing…
+ {translate("plugins_view.removing")}
</>
) : (
- "Remove"
+ translate("plugins_view.remove")
)}
</button>
</footer>
@@ -3095,7 +3185,7 @@ function RemovePluginDialog({
<header className="flex items-center gap-3 border-b border-border px-5 py-4">
<BrandTile plugin={plugin} />
<h2 id="remove-plugin-title" className="font-display text-base font-semibold tracking-tight">
- {fill(translate("custom_connector.remove_title"), { name: plugin.name })}
+ {fill(translate("plugins_view.remove_named"), { plugin: plugin.name })}
</h2>
</header>
<div className="px-5 py-5">
@@ -3169,13 +3259,13 @@ function InstanceBrowserDialog({ plugin, isPending, onClose, onSubmit }: {
event.preventDefault();
if (valid && !isPending) void onSubmit(address.trim());
}}>
- <h2 id="instance-browser-title" className="font-semibold">Connect {plugin.name}</h2>
- <p className="text-sm text-muted-foreground">Enter your instance address, then sign in and approve access in your browser.</p>
- <label className="block text-sm" htmlFor="instance-browser-address">Instance address</label>
+ <h2 id="instance-browser-title" className="font-semibold">{fill(translate("plugins_view.connect_named"), { plugin: plugin.name })}</h2>
+ <p className="text-sm text-muted-foreground">{translate("plugins_view.instance_intro")}</p>
+ <label className="block text-sm" htmlFor="instance-browser-address">{translate("plugins_view.instance_address")}</label>
<input id="instance-browser-address" type="url" autoFocus required value={address} disabled={isPending} onChange={(event) => setAddress(event.target.value)} placeholder="http://homeassistant.local:8123" className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm" />
<div className="flex justify-end gap-2">
- <button type="button" disabled={isPending} onClick={onClose} className="rounded-md border border-border px-3 py-2 text-sm">Cancel</button>
- <button type="submit" disabled={!valid || isPending} className="rounded-md bg-primary px-3 py-2 text-sm text-primary-foreground disabled:opacity-50">{isPending ? "Opening browser…" : "Continue in browser"}</button>
+ <button type="button" disabled={isPending} onClick={onClose} className="rounded-md border border-border px-3 py-2 text-sm">{translate("common.cancel")}</button>
+ <button type="submit" disabled={!valid || isPending} className="rounded-md bg-primary px-3 py-2 text-sm text-primary-foreground disabled:opacity-50">{translate(isPending ? "plugins_view.opening_browser" : "plugins_view.continue_in_browser_btn")}</button>
</div>
</form>
</div>
@@ -3223,13 +3313,13 @@ export function PatConnectDialog({
const res = await fetch("/api/marketplace/plugins/discord/identity");
if (!res.ok) {
const err = await res.json().catch(() => ({ detail: `HTTP ${res.status}` }));
- throw new Error(err.detail || `Could not read your Discord ID (HTTP ${res.status})`);
+ throw new Error(err.detail || `${translate("plugins_view.err_discord_id")} (HTTP ${res.status})`);
}
const data = await res.json();
- if (!data.user_id) throw new Error("Discord returned no user id.");
+ if (!data.user_id) throw new Error(translate("plugins_view.err_discord_no_id"));
setUserId(String(data.user_id));
} catch (e) {
- setDiscordIdError(e instanceof Error ? e.message : "Could not read your Discord ID.");
+ setDiscordIdError(e instanceof Error ? e.message : translate("plugins_view.err_discord_id"));
} finally {
setDiscordIdLoading(false);
}
@@ -3242,14 +3332,14 @@ export function PatConnectDialog({
const res = await fetch("/api/marketplace/plugins/discord/invite");
if (!res.ok) {
const err = await res.json().catch(() => ({ detail: `HTTP ${res.status}` }));
- throw new Error(err.detail || `Could not build the invite link (HTTP ${res.status})`);
+ throw new Error(err.detail || `${translate("plugins_view.err_discord_invite")} (HTTP ${res.status})`);
}
const data = await res.json();
- if (!data.invite_url) throw new Error("Discord returned no invite link.");
+ if (!data.invite_url) throw new Error(translate("plugins_view.err_discord_no_invite"));
await openExternalUrl(data.invite_url);
} catch (e) {
setDiscordInviteError(
- e instanceof Error ? e.message : "Could not build the invite link.",
+ e instanceof Error ? e.message : translate("plugins_view.err_discord_invite"),
);
} finally {
setDiscordInviteLoading(false);
@@ -3308,10 +3398,10 @@ export function PatConnectDialog({
id="pat-dialog-title"
className="font-display text-base font-semibold tracking-tight"
>
- Connect {plugin.name}
+ {fill(translate("plugins_view.connect_named"), { plugin: plugin.name })}
</h2>
<p className="text-micro text-muted-foreground">
- Access token · {AUTH_LABELS[plugin.authMode]}
+ {translate("plugins_view.access_token")} · {translate(AUTH_LABELS[plugin.authMode])}
</p>
</div>
</div>
@@ -3320,7 +3410,7 @@ export function PatConnectDialog({
onClick={onClose}
disabled={isPending}
className="grid h-7 w-7 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-30"
- aria-label="Close"
+ aria-label={translate("common.close")}
>
<X className="h-4 w-4" />
</button>
@@ -3335,7 +3425,7 @@ export function PatConnectDialog({
{auth.token_creation_url ? (
<Step
num={1}
- title={`Generate a token at ${plugin.name}`}
+ title={fill(translate("plugins_view.pat_generate"), { plugin: plugin.name })}
body={auth.instruction_md}
>
<a
@@ -3348,20 +3438,20 @@ export function PatConnectDialog({
}}
className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-primary px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
>
- Open {plugin.name} tokens
+ {fill(translate("plugins_view.pat_open_tokens"), { plugin: plugin.name })}
<ExternalLink className="h-3 w-3" />
</a>
<div className="mt-2">
<CopyableUrl
url={auth.token_creation_url}
- hint="Or copy this link and open it in your browser yourself."
+ hint={translate("plugins_view.copy_link_hint_open")}
/>
</div>
</Step>
) : (
// A custom connector: no page is known that issues its key, so
// the step only says which key and where it goes.
- <Step num={1} title={`Get the key for ${plugin.name}`} body={auth.instruction_md} />
+ <Step num={1} title={fill(translate("plugins_view.pat_get_key"), { plugin: plugin.name })} body={auth.instruction_md} />
)}
{instanceField && (
@@ -3383,7 +3473,7 @@ export function PatConnectDialog({
</Step>
)}
- <Step num={instanceField ? 3 : 2} title="Paste the token below">
+ <Step num={instanceField ? 3 : 2} title={translate("plugins_view.pat_paste_below")}>
<input
type="password"
autoComplete="off"
@@ -3394,7 +3484,9 @@ export function PatConnectDialog({
if (e.key === "Enter" && canSubmit) submit();
}}
placeholder={
- expectedPrefixes.length > 0 ? `${expectedPrefixes.join(" or ")}…` : "Token"
+ expectedPrefixes.length > 0
+ ? `${expectedPrefixes.join(translate("plugins_view.or_separator"))}…`
+ : translate("plugins_view.token")
}
className="mt-2 w-full rounded-md bg-input px-3 py-2 font-mono text-xs text-foreground placeholder:text-faint-foreground focus:border-border-strong focus:outline-none focus:ring-2 focus:ring-border-strong/30"
autoFocus
@@ -3402,20 +3494,23 @@ export function PatConnectDialog({
/>
{token && expectedPrefixes.length > 0 && !prefixOk && (
<p className="mt-1.5 text-micro text-foreground">
- Should start with{" "}
- <span className="font-mono">{expectedPrefixes.join(" or ")}</span>
+ {withSlot(
+ translate("plugins_view.pat_should_start"),
+ "prefix",
+ <span className="font-mono">{expectedPrefixes.join(translate("plugins_view.or_separator"))}</span>,
+ )}
</p>
)}
</Step>
{ownerLock && (
- <Step num={3} title="Lock the bot to you (recommended)">
+ <Step num={3} title={translate("plugins_view.owner_lock_title")}>
<input
type="text"
inputMode="numeric"
autoComplete="off"
spellCheck={false}
- aria-label="Your numeric user id"
+ aria-label={translate("plugins_view.owner_lock_aria")}
value={userId}
onChange={(e) => setUserId(e.target.value)}
onKeyDown={(e) => {
@@ -3426,8 +3521,7 @@ export function PatConnectDialog({
disabled={isPending}
/>
<p className="mt-1.5 text-micro text-muted-foreground">
- Only this user id can command the bot. Leave blank to let the
- first person who messages it claim access instead.
+ {translate("plugins_view.owner_lock_hint")}
</p>
{discordHelpers && (
<div className="mt-2 flex flex-wrap gap-2">
@@ -3437,7 +3531,7 @@ export function PatConnectDialog({
onClick={() => void fetchDiscordId()}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-30"
>
- {discordIdLoading ? "Looking up…" : "Fill in my Discord ID"}
+ {translate(discordIdLoading ? "plugins_view.looking_up" : "plugins_view.discord_fill_id")}
</button>
<button
type="button"
@@ -3445,7 +3539,7 @@ export function PatConnectDialog({
onClick={() => void openDiscordInvite()}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-30"
>
- {discordInviteLoading ? "Opening…" : "Add the bot to my server"}
+ {translate(discordInviteLoading ? "plugins_view.opening" : "plugins_view.discord_add_bot")}
</button>
</div>
)}
@@ -3456,7 +3550,7 @@ export function PatConnectDialog({
)}
{userIdTrimmed !== "" && !userIdOk && (
<p className="mt-1 text-micro text-foreground">
- User id must be digits only.
+ {translate("plugins_view.owner_lock_digits")}
</p>
)}
</Step>
@@ -3476,7 +3570,7 @@ export function PatConnectDialog({
disabled={isPending}
className="rounded-md border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-30"
>
- Cancel
+ {translate("common.cancel")}
</button>
<button
type="button"
@@ -3487,11 +3581,11 @@ export function PatConnectDialog({
{isPending ? (
<>
<Loader2 className="h-3 w-3 animate-spin" />
- Validating…
+ {translate("plugins_view.validating")}
</>
) : (
<>
- Connect
+ {translate("plugins_view.connect")}
<ArrowRight className="h-3 w-3" />
</>
)}
diff --git a/jarvis/ui/web/frontend/src/views/SelfModView.tsx b/jarvis/ui/web/frontend/src/views/SelfModView.tsx
index c7f9a3f3ce..4dda3ca08c 100644
--- a/jarvis/ui/web/frontend/src/views/SelfModView.tsx
+++ b/jarvis/ui/web/frontend/src/views/SelfModView.tsx
@@ -74,6 +74,7 @@ function isSensitivePath(path: string): boolean {
}
function RedactedBadge() {
+ const t = useT();
return (
<span
style={{
@@ -85,7 +86,7 @@ function RedactedBadge() {
fontSize: 11,
fontWeight: 600,
}}
- title="Wert maskiert (Plan-§AP-2 Defense-in-Depth)"
+ title={t("self_mod_view.value_redacted")}
>
***
</span>
@@ -128,8 +129,8 @@ function AuditFilters({
{ value: "", label: t("self_mod_view.all_actors") },
{ value: "hauptjarvis", label: t("self_mod_view.actor_main") },
{ value: "openclaw", label: "OpenClaw" },
- { value: "user", label: "User" },
- { value: "system", label: "System" },
+ { value: "user", label: t("self_mod_view.actor_user") },
+ { value: "system", label: t("self_mod_view.actor_system") },
]}
/>
<label>
@@ -147,6 +148,7 @@ function AuditFilters({
}
function AuditLogTable() {
+ const t = useT();
const [events, setEvents] = useState<AuditEvent[]>([]);
const [filter, setFilter] = useState<{
actor?: string;
@@ -172,15 +174,15 @@ function AuditLogTable() {
return (
<div>
<AuditFilters filter={filter} onChange={setFilter} />
- {loading && <p>Lade …</p>}
+ {loading && <p>{t("common.loading")}</p>}
<table style={{ width: "100%", borderCollapse: "collapse" }}>
<thead>
<tr style={{ borderBottom: "1px solid #444" }}>
- <th style={{ textAlign: "left", padding: 4 }}>Timestamp</th>
- <th style={{ textAlign: "left", padding: 4 }}>Actor</th>
- <th style={{ textAlign: "left", padding: 4 }}>Path</th>
- <th style={{ textAlign: "left", padding: 4 }}>Old → New</th>
- <th style={{ textAlign: "left", padding: 4 }}>Outcome</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_timestamp")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_actor")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_path")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_old_new")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_outcome")}</th>
</tr>
</thead>
<tbody>
@@ -200,11 +202,11 @@ function AuditLogTable() {
</td>
<td style={{ padding: 4, fontSize: 12 }}>
{e.ok ? (
- <span style={{ color: "#4f4" }}>OK</span>
+ <span style={{ color: "#4f4" }}>{t("self_mod_view.outcome_ok")}</span>
) : e.rolled_back ? (
- <span style={{ color: "#f80" }}>ROLLED BACK</span>
+ <span style={{ color: "#f80" }}>{t("self_mod_view.outcome_rolled_back")}</span>
) : (
- <span style={{ color: "#f44" }}>{e.error ?? "FAIL"}</span>
+ <span style={{ color: "#f44" }}>{e.error ?? t("self_mod_view.outcome_fail")}</span>
)}
</td>
</tr>
@@ -253,7 +255,7 @@ function AuditEventDetail({
<button onClick={onClose} style={{ marginBottom: 12 }}>
× {t("common.close")}
</button>
- <h3>Audit-Event</h3>
+ <h3>{t("self_mod_view.audit_event")}</h3>
{sensitive && (
<p style={{ color: "#fa0" }}>
⚠ {t("self_mod_view.sensitive_path_notice")}
@@ -271,6 +273,7 @@ function AuditEventDetail({
// ----------------------------------------------------------------------
function MutableSpecsList() {
+ const t = useT();
const [specs, setSpecs] = useState<MutableSpec[]>([]);
useEffect(() => {
fetch("/api/self-mod/mutable")
@@ -296,11 +299,14 @@ function MutableSpecsList() {
fontSize: 11,
}}
>
- {s.risk_tier.toUpperCase()}
+ {(s.risk_tier === "safe" || s.risk_tier === "ask"
+ ? t(`self_mod_view.risk_${s.risk_tier}`)
+ : String(s.risk_tier)
+ ).toUpperCase()}
</span>
{s.needs_restart && (
<span style={{ fontSize: 11, color: "#f80" }}>
- ↻ Restart
+ ↻ {t("self_mod_view.needs_restart")}
</span>
)}
</div>
@@ -318,6 +324,7 @@ function MutableSpecsList() {
// ----------------------------------------------------------------------
function BackupsList() {
+ const t = useT();
const [backups, setBackups] = useState<BackupRef[]>([]);
useEffect(() => {
fetch("/api/self-mod/backups")
@@ -329,10 +336,10 @@ function BackupsList() {
<table style={{ width: "100%", borderCollapse: "collapse" }}>
<thead>
<tr style={{ borderBottom: "1px solid #444" }}>
- <th style={{ textAlign: "left", padding: 4 }}>Filename</th>
- <th style={{ textAlign: "left", padding: 4 }}>Timestamp</th>
- <th style={{ textAlign: "left", padding: 4 }}>Size</th>
- <th style={{ textAlign: "left", padding: 4 }}>Age</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_filename")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_timestamp")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_size")}</th>
+ <th style={{ textAlign: "left", padding: 4 }}>{t("self_mod_view.col_age")}</th>
</tr>
</thead>
<tbody>
@@ -365,7 +372,7 @@ export default function SelfModView() {
const [tab, setTab] = useState<Tab>("history");
return (
<div style={{ padding: 16 }}>
- <h2>Self-Modification</h2>
+ <h2>{t("self_mod_view.title")}</h2>
<p style={{ fontSize: 13, color: "#aaa" }}>
{t("self_mod_view.intro_a")} {t("self_mod_view.intro_b")}{" "}
{assistantName} {t("self_mod_view.intro_c")}
@@ -384,7 +391,7 @@ export default function SelfModView() {
cursor: "pointer",
}}
>
- {tabId === "history" ? "History" : tabId === "mutable" ? "Settings" : "Backups"}
+ {t(`self_mod_view.tab_${tabId}`)}
</button>
))}
</nav>
diff --git a/jarvis/ui/web/frontend/src/views/SettingsView.tsx b/jarvis/ui/web/frontend/src/views/SettingsView.tsx
index b8bd845c53..167cf3243e 100644
--- a/jarvis/ui/web/frontend/src/views/SettingsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/SettingsView.tsx
@@ -26,9 +26,10 @@ import {
type WakeWordSaveResult,
} from "@/hooks/useWakeWord";
import { deriveAssistantName } from "@/lib/deriveAssistantName";
+import { backendMessage } from "@/lib/backendMessage";
import { WAKE_ENGINES, WAKE_ENGINE_I18N_KEY } from "@/constants/wakeEngines";
import { useEventStore } from "@/store/events";
-import { useT } from "@/i18n";
+import { fill, useT } from "@/i18n";
import { isAutopilotToastsEnabled, setAutopilotToastsEnabled } from "@/lib/autopilotToasts";
// The wake-word language pin — its OWN setting ([trigger.wake_word] language),
@@ -37,14 +38,14 @@ import { isAutopilotToastsEnabled, setAutopilotToastsEnabled } from "@/lib/autop
// wake word spoken in German must be possible, with neither following the
// other). Mirrors jarvis/ui/web/settings_routes.py::_WAKE_LANGUAGES minus
// "auto".
-type WakeLanguage = "en" | "de" | "es";
+type WakeLanguage = "en" | "de" | "es" | "pt";
// Concrete spoken languages only — "auto" is deliberately NOT offered here: the
// wake word must be pinned to the language the user actually speaks (an
// ambiguous "auto" silently derives a default from other settings, the exact
// trap that left German speakers deaf). A user on "auto" sees a "choose your
// language" placeholder until they pick.
-const WAKE_LANGUAGES: WakeLanguage[] = ["en", "de", "es"];
+const WAKE_LANGUAGES: WakeLanguage[] = ["en", "de", "es", "pt"];
interface WakeSelfTestResult {
ok: boolean;
@@ -56,6 +57,12 @@ interface WakeSelfTestResult {
mic_ok: boolean;
message: string;
hint: string;
+ // Stable codes for `message` / `hint` (jarvis/ui/web/settings_routes.py
+ // WAKE_MESSAGE_CODES / WAKE_HINT_CODES, plus the wake plan's codes); the UI
+ // translates them and falls back to the English sentences above.
+ message_code?: string;
+ message_params?: Record<string, string>;
+ hint_code?: string;
}
/**
@@ -320,7 +327,16 @@ function WakeWordPanel() {
});
setResult(res);
if (res.degraded) {
- pushToast("warning", res.message);
+ pushToast(
+ "warning",
+ backendMessage(
+ t,
+ "settings_view.wake_word.msg",
+ res.message_code,
+ res.message_params,
+ res.message,
+ ),
+ );
} else {
pushToast("success", t("settings_view.wake_word.saved"));
}
@@ -342,26 +358,37 @@ function WakeWordPanel() {
const res = await fetch("/api/settings/wake-word/download-model", {
method: "POST",
});
- const data: { ok?: boolean; present?: boolean; message?: string } = await res
+ const data: {
+ ok?: boolean;
+ present?: boolean;
+ message?: string;
+ message_code?: string;
+ } = await res
.json()
.catch(() => ({}));
- const backendMessage = typeof data.message === "string" ? data.message : "";
+ const downloadMessage = backendMessage(
+ t,
+ "settings_view.wake_word.msg",
+ data.message_code,
+ null,
+ typeof data.message === "string" ? data.message : "",
+ );
if (!res.ok) {
setWakeModelDownload({
state: "error",
- message: backendMessage || `HTTP ${res.status}`,
+ message: downloadMessage || `HTTP ${res.status}`,
});
return;
}
if (data.present) {
- setWakeModelDownload({ state: "done", message: backendMessage });
+ setWakeModelDownload({ state: "done", message: downloadMessage });
// Model is present now — re-save with the same phrase/engine so the
// panel re-resolves to vosk_kws and drops out of the degraded state.
await onSave();
} else {
setWakeModelDownload({
state: "error",
- message: backendMessage || t("settings_view.wake_word.download_model_error"),
+ message: downloadMessage || t("settings_view.wake_word.download_model_error"),
});
}
} catch (e) {
@@ -399,6 +426,15 @@ function WakeWordPanel() {
}
const showResultNote = selfTest.state === "done" && selfTest.data;
+ const wakeSaveMessage = result
+ ? backendMessage(
+ t,
+ "settings_view.wake_word.msg",
+ result.message_code,
+ result.message_params,
+ result.message,
+ )
+ : "";
return (
<SettingsSection
@@ -551,15 +587,33 @@ function WakeWordPanel() {
{showResultNote && selfTest.data && (
<SettingsNote>
<p className={selfTest.data.ok ? "text-success" : "text-destructive"}>
- {selfTest.data.message}
+ {backendMessage(
+ t,
+ "settings_view.wake_word.msg",
+ selfTest.data.message_code,
+ selfTest.data.message_params,
+ selfTest.data.message,
+ )}
</p>
{selfTest.data.hint && (
- <p className="mt-1 text-muted-foreground">{selfTest.data.hint}</p>
+ <p className="mt-1 text-muted-foreground">
+ {backendMessage(
+ t,
+ "settings_view.wake_word.hint",
+ selfTest.data.hint_code,
+ selfTest.data.message_params,
+ selfTest.data.hint,
+ )}
+ </p>
)}
<p className="mt-1 font-mono text-xs text-muted-foreground">
- engine: {selfTest.data.engine} · language: {selfTest.data.language}
- {selfTest.data.phrase_in_vocab === false ? " · not in vocabulary" : ""}
- {selfTest.data.mic_ok ? "" : " · mic quiet"}
+ {fill(t("settings_view.wake_word.diag_engine"), { engine: selfTest.data.engine })}
+ {" · "}
+ {fill(t("settings_view.wake_word.diag_language"), { language: selfTest.data.language })}
+ {selfTest.data.phrase_in_vocab === false
+ ? ` · ${t("settings_view.wake_word.diag_not_in_vocab")}`
+ : ""}
+ {selfTest.data.mic_ok ? "" : ` · ${t("settings_view.wake_word.diag_mic_quiet")}`}
</p>
</SettingsNote>
)}
@@ -569,13 +623,13 @@ function WakeWordPanel() {
<p className={result.degraded ? "text-warning" : "text-success"}>
{result.degraded
? t("settings_view.wake_word.degraded_warning")
- : result.message}
+ : wakeSaveMessage}
</p>
<p className="mt-1 font-mono text-xs text-muted-foreground">
- engine: {result.resolved_engine}
+ {fill(t("settings_view.wake_word.diag_engine"), { engine: result.resolved_engine })}
</p>
{result.degraded && result.message && (
- <p className="mt-1 text-muted-foreground">{result.message}</p>
+ <p className="mt-1 text-muted-foreground">{wakeSaveMessage}</p>
)}
{result.restart_required && (
<p className="mt-1 text-muted-foreground">
diff --git a/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx b/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx
index cf22527da1..5d896584b3 100644
--- a/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx
@@ -17,6 +17,7 @@ import { Badge } from "@/components/ui/badge";
import { ScrollArea } from "@/components/ui/scroll-area";
import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
useSkillSearch,
useSkillInstall,
@@ -27,7 +28,7 @@ import {
} from "@/hooks/useSkills";
// ----------------------------------------------------------------------
-// Dialog-Root
+// Dialog root
// ----------------------------------------------------------------------
interface SkillFinderDialogProps {
@@ -42,6 +43,7 @@ interface SkillFinderDialogProps {
*/
export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {
const t = useT();
+ const locale = useRunLocale();
const [query, setQuery] = useState("");
const [trust, setTrust] = useState<TrustFilter>("any");
const [minStars, setMinStars] = useState<number | null>(null);
@@ -60,7 +62,7 @@ export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {
const inputRef = useRef<HTMLInputElement>(null);
- // Fokus-Management + Escape-to-Close
+ // Focus management + Escape to close
useEffect(() => {
if (!open) return;
const t = setTimeout(() => inputRef.current?.focus(), 80);
@@ -131,7 +133,7 @@ export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {
</p>
</div>
</div>
- <Button size="icon" variant="ghost" onClick={onClose}>
+ <Button size="icon" variant="ghost" onClick={onClose} aria-label={t("common.close")}>
<X className="h-4 w-4" />
</Button>
</div>
@@ -144,7 +146,7 @@ export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {
ref={inputRef}
type="text"
value={query}
- placeholder='z.B. "PDFs zusammenfassen", "Git-Workflow automatisieren", "Meeting-Notizen"...'
+ placeholder={t("skill_finder_dialog.query_placeholder")}
onChange={(e) => setQuery(e.target.value)}
onKeyDown={(e) => {
if (e.key === "Enter") void runSearch();
@@ -160,12 +162,12 @@ export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {
{search.isPending ? (
<Loader2 className="h-3.5 w-3.5 animate-spin" />
) : (
- <>Suchen</>
+ <>{t("skill_finder_dialog.search")}</>
)}
</Button>
</div>
- {/* Dropdowns — interaktive Fragen */}
+ {/* Dropdowns — interactive questions */}
<div className="grid grid-cols-2 gap-3 md:grid-cols-4">
<DropdownPicker
label={t("skill_finder_dialog.filter_trust")}
@@ -206,10 +208,10 @@ export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {
}
options={[
{ value: "any", label: t("skill_finder_dialog.opt_any") },
- { value: "500", label: "500+" },
- { value: "1000", label: "1.000+" },
- { value: "3000", label: "3.000+" },
- { value: "10000", label: "10.000+" },
+ ...[500, 1000, 3000, 10000].map((n) => ({
+ value: String(n),
+ label: `${n.toLocaleString(locale)}+`,
+ })),
]}
/>
@@ -390,7 +392,7 @@ function DropdownPicker({
}
// ----------------------------------------------------------------------
-// Kandidaten-Karte
+// Candidate card
// ----------------------------------------------------------------------
const TRUST_COLORS: Record<string, string> = {
@@ -400,11 +402,12 @@ const TRUST_COLORS: Record<string, string> = {
experimental: "bg-rose-500/15 text-rose-400 border-rose-500/30",
};
+/** Translation keys for the catalog's trust levels. */
const TRUST_LABEL: Record<string, string> = {
- official: "offiziell",
- verified: "verifiziert",
- community: "community",
- experimental: "experimentell",
+ official: "skill_finder_dialog.trust_official",
+ verified: "skill_finder_dialog.trust_verified",
+ community: "skill_finder_dialog.trust_community",
+ experimental: "skill_finder_dialog.trust_experimental",
};
function CandidateCard({
@@ -433,7 +436,7 @@ function CandidateCard({
TRUST_COLORS[candidate.trust],
)}
>
- {TRUST_LABEL[candidate.trust] ?? candidate.trust}
+ {TRUST_LABEL[candidate.trust] ? t(TRUST_LABEL[candidate.trust]) : candidate.trust}
</Badge>
{candidate.stars !== null && candidate.stars > 0 && (
<span className="flex-shrink-0 text-micro text-muted-foreground">
@@ -465,7 +468,7 @@ function CandidateCard({
</div>
{candidate.reason && (
<div className="mt-2 text-micro italic text-muted-foreground">
- {candidate.reason} · Score {candidate.score.toFixed(2)}
+ {candidate.reason} · {t("skill_finder_dialog.score")} {candidate.score.toFixed(2)}
</div>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/views/SkillsView.tsx b/jarvis/ui/web/frontend/src/views/SkillsView.tsx
index 25d9d2b28e..120cf64cfc 100644
--- a/jarvis/ui/web/frontend/src/views/SkillsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/SkillsView.tsx
@@ -62,7 +62,8 @@ import {
import { FileTree, MarkdownBody, ModeButton } from "@/components/extensions/FileCard";
import { cn } from "@/lib/utils";
import { robustCopy } from "@/lib/clipboard";
-import { fill, translate, useT, useUiLanguage } from "@/i18n";
+import { fill, translate, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { PRODUCT_NAME } from "@/lib/branding";
import {
useSkillsList,
@@ -599,7 +600,7 @@ function SkillRow({
onDelete: () => void;
}) {
const t = useT();
- const locale = useUiLanguage();
+ const locale = useRunLocale();
const broken = isBrokenDraft(skill);
const on = isSkillOn(skill.state);
const selectable = selectionMode && !skill.is_builtin;
@@ -759,7 +760,7 @@ function SelectionToolbar({
{t("skills_view.select_hint")}
</span>
<span className="ml-auto text-xs text-muted-foreground">
- {checkedCount} {t("skills_view.selected")}
+ {fill(t("skills_view.selected_count"), { count: checkedCount })}
</span>
<Button
size="sm"
@@ -1368,7 +1369,7 @@ function AdminPassDialog({
if (e.key === "Escape") onCancel();
}}
className="mt-4 w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-border-strong"
- placeholder="Password"
+ placeholder={t("skills_view.password_placeholder")}
/>
{errorHint && (
<p className="mt-2 text-xs text-destructive">{errorHint}</p>
@@ -1514,14 +1515,15 @@ function EmptyList() {
interface LinkFieldSpec {
key: "homepage_url" | "source_url" | "docs_url";
+ /** Translation key, translated where rendered. */
label: string;
icon: typeof Home;
}
const LINK_FIELDS: LinkFieldSpec[] = [
- { key: "homepage_url", label: "Homepage", icon: Home },
- { key: "source_url", label: "Source", icon: Github },
- { key: "docs_url", label: "Docs", icon: BookOpen },
+ { key: "homepage_url", label: "skills_view.link_homepage", icon: Home },
+ { key: "source_url", label: "skills_view.link_source", icon: Github },
+ { key: "docs_url", label: "skills_view.link_docs", icon: BookOpen },
];
function SkillLinks({
@@ -1531,6 +1533,7 @@ function SkillLinks({
frontmatter: Record<string, unknown> | null;
health: Partial<Record<"homepage_url" | "source_url" | "docs_url", LinkHealthEntry | null>> | null;
}) {
+ const t = useT();
if (!frontmatter) return null;
const visible = LINK_FIELDS.filter((f) => Boolean(frontmatter[f.key]));
if (visible.length === 0) return null;
@@ -1550,7 +1553,7 @@ function SkillLinks({
title={url}
>
<Icon className="h-3 w-3 text-muted-foreground" />
- <span className="max-w-[180px] truncate">{f.label}</span>
+ <span className="max-w-[180px] truncate">{t(f.label)}</span>
<LinkHealthChip entry={h} />
<ExternalLink className="h-3 w-3 text-muted-foreground opacity-0 group-hover:opacity-100" />
</a>
@@ -1563,11 +1566,11 @@ function SkillLinks({
function LinkHealthChip({ entry }: { entry: LinkHealthEntry | null }) {
const t = useT();
const { color, label } = useMemo(() => {
- if (!entry) return { color: "bg-muted-foreground/40", label: "not checked" };
- if (entry.status === 0) return { color: "bg-destructive", label: "no network" };
+ if (!entry) return { color: "bg-muted-foreground/40", label: t("skills_view.link_not_checked") };
+ if (entry.status === 0) return { color: "bg-destructive", label: t("skills_view.link_no_network") };
if (entry.ok) return { color: "bg-muted-foreground", label: `HTTP ${entry.status}` };
return { color: "bg-destructive", label: `HTTP ${entry.status}` };
- }, [entry]);
+ }, [entry, t]);
const stale = entry && !entry.fresh;
return (
<span
diff --git a/jarvis/ui/web/frontend/src/views/TelephonyView.tsx b/jarvis/ui/web/frontend/src/views/TelephonyView.tsx
index 38bf3c8a72..8e24e74f8c 100644
--- a/jarvis/ui/web/frontend/src/views/TelephonyView.tsx
+++ b/jarvis/ui/web/frontend/src/views/TelephonyView.tsx
@@ -963,6 +963,7 @@ function ScriptsCard({ scripts }: { scripts: TelephonyScript[] }) {
}
function ScriptRow({ script }: { script: TelephonyScript }) {
+ const t = useT();
const [copied, setCopied] = useState(false);
const pushToast = useEventStore((s) => s.pushToast);
@@ -991,7 +992,7 @@ function ScriptRow({ script }: { script: TelephonyScript }) {
type="button"
onClick={() => void copy()}
className="shrink-0 text-muted-foreground transition-colors hover:text-primary"
- title="Copy command"
+ title={t("telephony_view.copy_command")}
>
{copied ? <Check className="h-3.5 w-3.5" /> : <Copy className="h-3.5 w-3.5" />}
</button>
diff --git a/jarvis/ui/web/frontend/src/views/WikiView.tsx b/jarvis/ui/web/frontend/src/views/WikiView.tsx
index fa68f064a4..4dc9d3f76a 100644
--- a/jarvis/ui/web/frontend/src/views/WikiView.tsx
+++ b/jarvis/ui/web/frontend/src/views/WikiView.tsx
@@ -22,7 +22,8 @@ import { BookOpen, Maximize2, Minimize2, Network, Search, X } from "lucide-react
import { useQuery } from "@tanstack/react-query";
import { cn } from "@/lib/utils";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { useEventStore } from "@/store/events";
import { useWikiPanelStore } from "@/store/wikiPanel";
import {
@@ -66,7 +67,7 @@ const IS_MAC =
export function WikiView(): JSX.Element {
const t = useT();
- const language = useUiLanguage();
+ const language = useRunLocale();
useWikiLive();
const [selectedSlug, setSelectedSlug] = useState<string | null>(null);
const [centreTab, setCentreTab] = useState<CentreTab>("graph");
diff --git a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
index 09d90c8646..240cda1bd1 100644
--- a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
@@ -28,7 +28,7 @@ import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Switch } from "@/components/ui/switch";
import { cn } from "@/lib/utils";
-import { translate, useT } from "@/i18n";
+import { fill, translate, useT } from "@/i18n";
import {
useDeleteWorkflow,
useRunDetail,
@@ -40,6 +40,7 @@ import {
type WorkflowRun,
type WorkflowRunStep,
} from "@/hooks/useWorkflows";
+import { uiLocale } from "@/lib/boardInsights";
// ---------------------------------------------------------------------
// Icons by step kind
@@ -54,9 +55,9 @@ const STEP_ICON: Record<string, typeof Clock> = {
telegram_send: Send,
};
-// Most step labels are proper nouns / loanwords (Brain, Harness, Tool, Shell,
-// Telegram) and stay as-is across locales; only "speak" carries a translatable
-// verb, resolved through the one i18n accessor.
+// Most step labels are proper nouns / loanwords (Brain, Harness, Shell,
+// Telegram) and stay as-is across locales; "speak" and "tool" are words and
+// resolve through the one i18n accessor.
function stepLabel(kind: string): string {
switch (kind) {
case "brain_prompt":
@@ -66,7 +67,7 @@ function stepLabel(kind: string): string {
case "speak":
return translate("workflows_view.step_speak");
case "tool_call":
- return "Tool";
+ return translate("workflows_view.step_tool");
case "shell_cmd":
return "Shell";
case "telegram_send":
@@ -92,7 +93,7 @@ export function WorkflowsView() {
<div className="flex h-full flex-col">
<ViewHeader
icon={<Workflow className="h-4 w-4 text-primary" />}
- title="Workflows"
+ title={t("workflows_view.title")}
subtitle={t("workflows_view.subtitle")}
right={
<Button
@@ -171,7 +172,7 @@ function DashboardStats({
<div className="flex items-center gap-4 border-b border-border px-6 py-3">
<StatBadge
icon={<Workflow className="h-3.5 w-3.5" />}
- label="Workflows"
+ label={t("workflows_view.title")}
value={String(summary?.total ?? 0)}
/>
<StatBadge
@@ -287,7 +288,7 @@ function WorkflowCard({
<LastRunBadge workflow={workflow} />
{workflow.created_by === "seed" && (
<Badge variant="outline" className="text-micro">
- Seed
+ {t("workflows_view.seed_badge")}
</Badge>
)}
</div>
@@ -296,7 +297,14 @@ function WorkflowCard({
</p>
<div className="mt-2 flex flex-wrap items-center gap-2 text-xs text-muted-foreground">
<span>
- {workflow.step_count} Step{workflow.step_count === 1 ? "" : "s"}
+ {fill(
+ t(
+ workflow.step_count === 1
+ ? "workflows_view.step_count_one"
+ : "workflows_view.step_count_other",
+ ),
+ { count: workflow.step_count },
+ )}
</span>
<NextRunLabel ns={workflow.next_run_at_ns} />
{workflow.tags.length > 0 && (
@@ -392,7 +400,7 @@ function WorkflowDetailBody({ workflowId }: { workflowId: string }) {
<div className="space-y-4 border-t border-border bg-background/30 px-5 py-4">
<div>
<div className="mb-2 text-micro uppercase tracking-wider text-muted-foreground">
- Steps ({steps.length})
+ {fill(t("workflows_view.steps_heading"), { count: steps.length })}
</div>
<ol className="space-y-1.5">
{steps.map((s, idx) => {
@@ -467,9 +475,20 @@ function RunRow({ run }: { run: WorkflowRun }) {
{formatShortTime(run.started_at_ns)}
</span>
<Badge variant="outline" className="text-micro">
- {run.state === "missed" ? t("workflows_view.run_missed") : run.state}
+ {run.state === "missed"
+ ? t("workflows_view.run_missed")
+ : run.state === "completed" ||
+ run.state === "failed" ||
+ run.state === "running" ||
+ run.state === "pending"
+ ? t(`workflows_view.run_state_${run.state}`)
+ : run.state}
</Badge>
- <span className="text-muted-foreground">{run.trigger}</span>
+ <span className="text-muted-foreground">
+ {run.trigger === "manual" || run.trigger === "cron" || run.trigger === "event"
+ ? t(`workflows_view.trigger_${run.trigger}`)
+ : run.trigger}
+ </span>
{run.state === "missed" ? (
<span className="ml-auto line-clamp-1 text-muted-foreground">
{t("workflows_view.run_missed_hint")}
@@ -527,6 +546,7 @@ function RunStepsDetail({ runId }: { runId: string }) {
// ---------------------------------------------------------------------
function TriggerBadge({ workflow }: { workflow: WorkflowSummary }) {
+ const t = useT();
if (workflow.trigger_type === "cron") {
return (
<Badge
@@ -540,7 +560,7 @@ function TriggerBadge({ workflow }: { workflow: WorkflowSummary }) {
}
return (
<Badge variant="secondary" className="text-micro">
- Manual
+ {t("workflows_view.trigger_manual")}
</Badge>
);
}
@@ -576,6 +596,7 @@ function LastRunBadge({ workflow }: { workflow: WorkflowSummary }) {
}
function NextRunLabel({ ns }: { ns: number | null }) {
+ const t = useT();
const [tick, setTick] = useState(0);
useEffect(() => {
const id = setInterval(() => setTick((x) => x + 1), 5000);
@@ -586,7 +607,7 @@ function NextRunLabel({ ns }: { ns: number | null }) {
// eslint-disable-next-line react-hooks/exhaustive-deps
<span className="text-muted-foreground" title={formatAbsolute(ns)} key={tick}>
<Clock className="mr-1 inline h-3 w-3" />
- Next in {formatFutureDelta(ns)}
+ {fill(t("workflows_view.next_in"), { delta: formatFutureDelta(ns) })}
</span>
);
}
@@ -636,7 +657,7 @@ function formatDelta(ns: number): string {
function formatShortTime(ns: number): string {
try {
const d = new Date(ns / 1e6);
- return d.toLocaleTimeString();
+ return d.toLocaleTimeString(uiLocale());
} catch {
return "—";
}
@@ -644,7 +665,7 @@ function formatShortTime(ns: number): string {
function formatAbsolute(ns: number): string {
try {
- return new Date(ns / 1e6).toLocaleString();
+ return new Date(ns / 1e6).toLocaleString(uiLocale());
} catch {
return "—";
}
diff --git a/jarvis/ui/web/frontend/src/views/assistant/format.ts b/jarvis/ui/web/frontend/src/views/assistant/format.ts
index dc8c5948c7..aa50df858f 100644
--- a/jarvis/ui/web/frontend/src/views/assistant/format.ts
+++ b/jarvis/ui/web/frontend/src/views/assistant/format.ts
@@ -3,6 +3,7 @@
* person says them ("today", "3 days ago") and the ledger's timestamps.
*/
import type { UiLanguage } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
const DAY_MS = 86_400_000;
@@ -27,9 +28,9 @@ export function relativeDay(ms: number | null, lang: UiLanguage, now: number = D
};
const days = Math.round((startOf(now) - startOf(ms)) / DAY_MS);
if (days >= 0 && days <= 30) {
- return new Intl.RelativeTimeFormat(lang, { numeric: "auto" }).format(-days, "day");
+ return new Intl.RelativeTimeFormat(localeForUiLanguage(lang), { numeric: "auto" }).format(-days, "day");
}
- return new Date(ms).toLocaleDateString(lang, { day: "numeric", month: "short", year: "numeric" });
+ return new Date(ms).toLocaleDateString(localeForUiLanguage(lang), { day: "numeric", month: "short", year: "numeric" });
}
/** A time of day for an entry from today, else the relative day. */
@@ -37,7 +38,7 @@ export function whenShort(ms: number | null, lang: UiLanguage, now: number = Dat
if (ms === null) return null;
const sameDay = new Date(ms).toDateString() === new Date(now).toDateString();
if (sameDay) {
- return new Date(ms).toLocaleTimeString(lang, { hour: "2-digit", minute: "2-digit" });
+ return new Date(ms).toLocaleTimeString(localeForUiLanguage(lang), { hour: "2-digit", minute: "2-digit" });
}
return relativeDay(ms, lang, now);
}
@@ -50,6 +51,6 @@ export function newest(times: readonly (number | null | undefined)[]): number |
/** `key_one` for exactly one, `key_other` otherwise, with `{0}` filled in. */
export function plural(t: (key: string) => string, key: string, count: number, lang?: UiLanguage): string {
- const n = lang ? count.toLocaleString(lang) : String(count);
+ const n = lang ? count.toLocaleString(localeForUiLanguage(lang)) : String(count);
return t(`${key}_${count === 1 ? "one" : "other"}`).replace("{0}", n);
}
diff --git a/jarvis/ui/web/frontend/src/views/computers/PairingAccess.tsx b/jarvis/ui/web/frontend/src/views/computers/PairingAccess.tsx
index 3df7d8ee9e..7844dcf400 100644
--- a/jarvis/ui/web/frontend/src/views/computers/PairingAccess.tsx
+++ b/jarvis/ui/web/frontend/src/views/computers/PairingAccess.tsx
@@ -5,10 +5,12 @@ import { useT } from "@/i18n";
import { pairedServersApi } from "@/lib/computersApi";
import { CopyField } from "./parts";
import { errorText } from "./wizard/shared";
+import { useRunLocale } from "@/components/runs/format";
/** Codes and revocation are explicit user actions; opening the dialog grants nothing. */
export function PairingAccess() {
const t = useT();
+ const runLocale = useRunLocale();
const [expanded, setExpanded] = useState(false);
const [invitation, setInvitation] = useState<{ code: string; expires_at: number } | null>(null);
const [busy, setBusy] = useState(false);
@@ -37,7 +39,7 @@ export function PairingAccess() {
{invitation && <>
<CopyField value={invitation.code} label={t("computers.cx_pairing_code")} copyLabel={t("computers.copy")} copiedLabel={t("computers.copied")} />
<CopyField value={`${window.location.origin}/#pairing_code=${encodeURIComponent(invitation.code)}`} label={t("computers.pair_link")} copyLabel={t("computers.copy")} copiedLabel={t("computers.copied")} />
- <p className="text-xs text-muted-foreground">{t("computers.pair_expires")} {new Date(invitation.expires_at * 1000).toLocaleTimeString()}</p>
+ <p className="text-xs text-muted-foreground">{t("computers.pair_expires")} {new Date(invitation.expires_at * 1000).toLocaleTimeString(runLocale)}</p>
</>}
{clients.data?.map((client) => <div key={client.id} className="flex items-center justify-between gap-2 text-sm">
<span>{client.name}</span><Button type="button" size="sm" variant="outline" disabled={busy} onClick={() => void act(client.id)}>{t("computers.pair_revoke")}</Button>
diff --git a/jarvis/ui/web/frontend/src/views/contacts/ContactDetail.tsx b/jarvis/ui/web/frontend/src/views/contacts/ContactDetail.tsx
index 31d60e91a1..a92cfef327 100644
--- a/jarvis/ui/web/frontend/src/views/contacts/ContactDetail.tsx
+++ b/jarvis/ui/web/frontend/src/views/contacts/ContactDetail.tsx
@@ -26,6 +26,7 @@ import { IdentityAvatar } from "@/components/identity/IdentityAvatar";
import { PROSE_BASE } from "@/components/outputs/MarkdownProse";
import { relationshipLabel } from "./constants";
import { updateContact, type Contact } from "./api";
+import { uiLocale } from "@/lib/boardInsights";
/**
* The detail (right) pane for the selected contact — a read view with actions:
@@ -429,12 +430,12 @@ function formatUpdated(iso: string | null): string | null {
if (!iso) return null;
const date = new Date(iso);
if (Number.isNaN(date.getTime())) return null;
- return date.toLocaleString(undefined, { dateStyle: "medium", timeStyle: "short" });
+ return date.toLocaleString(uiLocale(), { dateStyle: "medium", timeStyle: "short" });
}
function formatBirthday(iso: string): string {
// Parse as a plain date (no timezone shifts): "1990-04-12" stays April 12.
const [y, m, d] = iso.split("-").map(Number);
if (!y || !m || !d) return iso;
- return new Date(y, m - 1, d).toLocaleDateString(undefined, { dateStyle: "long" });
+ return new Date(y, m - 1, d).toLocaleDateString(uiLocale(), { dateStyle: "long" });
}
diff --git a/jarvis/ui/web/frontend/src/views/contacts/ContactEditDialog.tsx b/jarvis/ui/web/frontend/src/views/contacts/ContactEditDialog.tsx
index e4299e3a8c..1aa52d8191 100644
--- a/jarvis/ui/web/frontend/src/views/contacts/ContactEditDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/contacts/ContactEditDialog.tsx
@@ -535,6 +535,7 @@ function ListField({
errors?: (string | null)[];
hints?: (string | null)[];
}) {
+ const t = useT();
return (
<div className="space-y-1">
<span className="text-meta text-muted-foreground">
@@ -561,7 +562,7 @@ function ListField({
<button
type="button"
onClick={() => onChange(values.filter((_, j) => j !== i) || [])}
- aria-label="remove"
+ aria-label={t("contacts.remove")}
className="shrink-0 rounded-md border border-border px-2 text-muted-foreground hover:border-destructive/50 hover:text-destructive"
>
<X className="h-3.5 w-3.5" />
diff --git a/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx b/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx
index 19488d26ce..2897c7bd75 100644
--- a/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx
+++ b/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx
@@ -36,7 +36,7 @@ export function StatusTab() {
</div>
<p className="mt-2 text-xs text-muted-foreground">
{t("status_tab.intro_part1")} {assistantName}{" "}
- {t("status_tab.intro_part2")} <strong>minimal</strong>{" "}
+ {t("status_tab.intro_part2")} <strong>{t("permission_matrix.profile_minimal")}</strong>{" "}
{t("status_tab.intro_part3")}
</p>
</div>
@@ -153,18 +153,18 @@ function ProfileLegend() {
return (
<div className="grid gap-3 sm:grid-cols-3">
<ProfileCard
- name="minimal"
+ name={t("permission_matrix.profile_minimal")}
subline={t("status_tab.profile_minimal_subline")}
description={t("status_tab.profile_minimal_desc")}
isDefault
/>
<ProfileCard
- name="standard"
+ name={t("permission_matrix.profile_standard")}
subline={t("status_tab.profile_standard_subline")}
description={t("status_tab.profile_standard_desc")}
/>
<ProfileCard
- name="detailed"
+ name={t("permission_matrix.profile_detailed")}
subline={t("status_tab.profile_detailed_subline")}
description={t("status_tab.profile_detailed_desc")}
/>
@@ -183,6 +183,7 @@ function ProfileCard({
description: string;
isDefault?: boolean;
}) {
+ const t = useT();
return (
<div className="rounded-lg border border-border bg-card/40 p-4">
<div className="flex items-center justify-between">
@@ -191,7 +192,7 @@ function ProfileCard({
</span>
{isDefault && (
<span className="rounded-full border border-primary/40 bg-primary/10 px-1.5 py-0.5 text-micro uppercase tracking-wider text-primary">
- default
+ {t("status_tab.default_badge")}
</span>
)}
</div>
diff --git a/jarvis/ui/web/frontend/src/views/jarvisx/JarvisXView.tsx b/jarvis/ui/web/frontend/src/views/jarvisx/JarvisXView.tsx
index bfebb0032f..e2443a8170 100644
--- a/jarvis/ui/web/frontend/src/views/jarvisx/JarvisXView.tsx
+++ b/jarvis/ui/web/frontend/src/views/jarvisx/JarvisXView.tsx
@@ -47,6 +47,7 @@ import { useEventStore } from "@/store/events";
import { JarvisXConfirmDialog } from "@/views/jarvisx/JarvisXConfirmDialog";
import { JarvisXEditor } from "@/views/jarvisx/JarvisXEditor";
import { JarvisXSettingsPanel } from "@/views/jarvisx/JarvisXSettingsPanel";
+import { uiLocale } from "@/lib/boardInsights";
/**
* Jarvis X — screenshots and screen recordings, without the assistant.
@@ -69,8 +70,8 @@ function relativeTime(iso: string, t: (key: string) => string, now: number): str
const date = new Date(ms);
const sameDay = new Date(now).toDateString() === date.toDateString();
return sameDay
- ? date.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })
- : date.toLocaleDateString([], { day: "numeric", month: "short", hour: "2-digit", minute: "2-digit" });
+ ? date.toLocaleTimeString(uiLocale(), { hour: "2-digit", minute: "2-digit" })
+ : date.toLocaleDateString(uiLocale(), { day: "numeric", month: "short", hour: "2-digit", minute: "2-digit" });
}
export function JarvisXView() {
diff --git a/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
index 9c93819782..aac329cdd6 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
@@ -43,7 +43,8 @@ import {
type HfSort,
type ModelPullProgress,
} from "@/hooks/useLocalModels";
-import { useT, useUiLanguage } from "@/i18n";
+import { useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { openExternalUrl } from "@/lib/openExternal";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
@@ -98,7 +99,7 @@ type PullState = { progress: ModelPullProgress | null; error: string | null };
export function HuggingFacePanel({ providerId }: { providerId: string }) {
const t = useT();
- const locale = useUiLanguage();
+ const locale = useRunLocale();
const setActiveSection = useEventStore((s) => s.setActiveSection);
const enabledQuery = useHfEnabled(providerId);
diff --git a/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx
index 71fa95e071..2fafc22d88 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx
@@ -15,7 +15,8 @@
import { useMemo, useState } from "react";
import { Database, HardDrive, Layers, MoreHorizontal } from "lucide-react";
import { cn } from "@/lib/utils";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
ActionMenu,
Cell,
@@ -236,7 +237,7 @@ function DeleteDrawer({
export function InventoryPanel({ providerId }: InventoryPanelProps) {
const t = useT();
- const locale = useUiLanguage();
+ const locale = useRunLocale();
const k = (key: string) => t(`local_models.inventory.${key}`);
const inventory = useInventory(providerId);
diff --git a/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.test.tsx b/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.test.tsx
index a47a5b634e..683d867111 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.test.tsx
@@ -25,6 +25,7 @@ vi.mock("@/store/events", () => ({
}));
vi.mock("@/i18n", () => ({
+ useUiLanguage: () => "en",
// Identity translator: assertions match the keys themselves; fill() appends
// the variables so placeholders stay visible in the assertions.
useT: () => (key: string) => key,
diff --git a/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.tsx
index 73914533c8..a2ff76c07b 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/ServerPanel.tsx
@@ -65,6 +65,7 @@ import { fill, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import { verifyLines } from "./verifyLines";
+import { useRunLocale } from "@/components/runs/format";
/** Ollama's shipped default when OLLAMA_KEEP_ALIVE is not set. */
const KEEP_ALIVE_DEFAULT = "5m";
@@ -277,6 +278,7 @@ export function ServerPanel({
initialLogOpen?: boolean;
}) {
const t = useT();
+ const runLocale = useRunLocale();
const pushToast = useEventStore((s) => s.pushToast);
const { providers, refetch: refetchProviders } = useProviders();
const descriptor = useMemo(
@@ -606,7 +608,7 @@ export function ServerPanel({
{row.context_length ? (
<div className="text-xs text-muted-foreground tabular-nums">
{fill(t("local_models.server.context"), {
- tokens: row.context_length.toLocaleString(),
+ tokens: row.context_length.toLocaleString(runLocale),
})}
</div>
) : null}
diff --git a/jarvis/ui/web/frontend/src/views/local-models/localSetup.ts b/jarvis/ui/web/frontend/src/views/local-models/localSetup.ts
index 4429243dac..3b3f518b85 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/localSetup.ts
+++ b/jarvis/ui/web/frontend/src/views/local-models/localSetup.ts
@@ -28,9 +28,10 @@
* the summary; a role whose write fails is skipped with the reason and the
* flow goes on — one refused slot must not undo the other four.
*
- * Nothing here touches react-query or i18n: the caller repaints and renders
- * the sentences.
+ * Nothing here touches react-query, and only the one locally made error
+ * sentence goes through i18n: the caller repaints and renders the rest.
*/
+import { fill, translate } from "@/i18n";
import {
ollamaRuntime,
ollamaRuntimeInstall,
@@ -172,7 +173,9 @@ async function ensureServer(
if (s.running) return false;
if (s.host_kind === "remote")
throw new Error(
- s.error || s.detail || `The server at ${s.base_url} does not answer.`,
+ s.error ||
+ s.detail ||
+ fill(translate("local_models.overview.server_no_answer"), { url: s.base_url }),
);
if (!s.installed) {
await installRuntime(providerId, report, alive, pollMs);
diff --git a/jarvis/ui/web/frontend/src/views/profile/ActivityChart.tsx b/jarvis/ui/web/frontend/src/views/profile/ActivityChart.tsx
index 8ac16d43d0..662002d61b 100644
--- a/jarvis/ui/web/frontend/src/views/profile/ActivityChart.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/ActivityChart.tsx
@@ -14,7 +14,8 @@
import { useMemo, useState } from "react";
import { useBoardInsights } from "@/hooks/useBoardInsights";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { SERIES_IDS, summarize, type SeriesId, type WeekBar } from "@/views/profile/activity";
@@ -34,7 +35,7 @@ const UNIT_KEY: Record<SeriesId, string> = {
export function ActivityChart() {
const t = useT();
- const ui = useUiLanguage();
+ const ui = useRunLocale();
const insights = useBoardInsights();
const [series, setSeries] = useState<SeriesId>("all");
const [hovered, setHovered] = useState<number | null>(null);
diff --git a/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx b/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx
index 6c1cc8eaaa..5c3d5ca8da 100644
--- a/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx
@@ -18,7 +18,8 @@ import { Check, Pencil, Plus, Quote, X } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
-import { useT, useUiLanguage } from "@/i18n";
+import { useI18nStore, useT, useUiLanguage } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
import { useFieldEdit, type FieldOp } from "@/views/profile/api";
@@ -41,7 +42,7 @@ type T = (key: string) => string;
export function readableDate(iso: string): string {
const d = new Date(`${iso}T12:00:00`);
if (Number.isNaN(d.getTime())) return iso;
- return d.toLocaleDateString(undefined, { day: "numeric", month: "short", year: "numeric" });
+ return d.toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), { day: "numeric", month: "short", year: "numeric" });
}
/**
diff --git a/jarvis/ui/web/frontend/src/views/profile/MemorySection.tsx b/jarvis/ui/web/frontend/src/views/profile/MemorySection.tsx
index 324303f17a..12b6baf4c8 100644
--- a/jarvis/ui/web/frontend/src/views/profile/MemorySection.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/MemorySection.tsx
@@ -16,7 +16,8 @@ import type { ReactNode } from "react";
import { Button } from "@/components/ui/button";
import { useAgentInstructions } from "@/hooks/useAgentInstructions";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { useEventStore } from "@/store/events";
import { ProfileGroup, SettingRow } from "@/views/profile/ProfileGroup";
import { parseDoNotRecord, shortenCategory } from "@/views/profile/provenance";
@@ -123,7 +124,7 @@ export function MemorySection({
: t("profile_view.wiki_needs_name");
const fileDate = fileUpdatedMs
- ? new Date(fileUpdatedMs).toLocaleDateString(undefined, {
+ ? new Date(fileUpdatedMs).toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), {
day: "numeric",
month: "short",
year: "numeric",
diff --git a/jarvis/ui/web/frontend/src/views/profile/PortraitSection.tsx b/jarvis/ui/web/frontend/src/views/profile/PortraitSection.tsx
index 5890b13ea2..dd829e94b8 100644
--- a/jarvis/ui/web/frontend/src/views/profile/PortraitSection.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/PortraitSection.tsx
@@ -14,7 +14,8 @@ import { Loader2, RefreshCw, Sparkles } from "lucide-react";
import { Button } from "@/components/ui/button";
import { useBio, useBioFeedback, useBioRegenerate, type BioFeedbackKind } from "@/hooks/useBoard";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { useEventStore } from "@/store/events";
import { ProfileGroup } from "@/views/profile/ProfileGroup";
@@ -45,7 +46,7 @@ export function PortraitSection() {
const generatedAt = bio.data?.generated_at ?? null;
const cutOff = !!text && !isFinishedText(text);
const written = generatedAt
- ? new Date(generatedAt).toLocaleDateString(undefined, {
+ ? new Date(generatedAt).toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), {
day: "numeric",
month: "short",
year: "numeric",
diff --git a/jarvis/ui/web/frontend/src/views/profile/ProfileHero.tsx b/jarvis/ui/web/frontend/src/views/profile/ProfileHero.tsx
index 61eb8bae7d..73777b6cf7 100644
--- a/jarvis/ui/web/frontend/src/views/profile/ProfileHero.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/ProfileHero.tsx
@@ -19,6 +19,7 @@ import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
import { useBoardSummary } from "@/hooks/useBoard";
import { fill, useT, useUiLanguage } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { useEventStore } from "@/store/events";
import { AvatarButton } from "@/views/profile/AvatarButton";
import { clusterDataOf, useFieldEdit, type ProfileResponse } from "@/views/profile/api";
@@ -32,7 +33,7 @@ function shortDate(value: unknown, ui: string): string | null {
if (typeof value !== "string" || !value.trim()) return null;
const d = new Date(value);
if (Number.isNaN(d.getTime())) return null;
- return d.toLocaleDateString(ui, { day: "numeric", month: "short", year: "numeric" });
+ return d.toLocaleDateString(localeForUiLanguage(ui), { day: "numeric", month: "short", year: "numeric" });
}
function NameForm({ onDone }: { onDone?: () => void }) {
diff --git a/jarvis/ui/web/frontend/src/views/profile/ProfileInsights.tsx b/jarvis/ui/web/frontend/src/views/profile/ProfileInsights.tsx
index aaddc694a4..f0e55cf694 100644
--- a/jarvis/ui/web/frontend/src/views/profile/ProfileInsights.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/ProfileInsights.tsx
@@ -11,7 +11,8 @@ import { rankAgents } from "@/components/layout/SidebarAgents";
import { AgentSwatch } from "@/components/society/AgentSwatch";
import { useSocietyRoster } from "@/components/society/data";
import { useBoardInsights, type BoardInsights } from "@/hooks/useBoardInsights";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import { societyDisplayName } from "@/lib/societyDisplayName";
import { useEventStore } from "@/store/events";
import { agentLabel, chatProviderLabel, formatDay } from "@/lib/boardInsights";
@@ -24,7 +25,7 @@ const FAVOURITES_MAX = 8;
export function FavoriteAgents() {
const t = useT();
- const ui = useUiLanguage();
+ const ui = useRunLocale();
const assistantName = useEventStore((s) => s.assistantName);
const roster = useSocietyRoster();
@@ -147,7 +148,7 @@ export function profileFacts(data: BoardInsights, t: (key: string) => string, ui
export function InsightList() {
const t = useT();
- const ui = useUiLanguage();
+ const ui = useRunLocale();
const insights = useBoardInsights();
const rows = insights.data ? profileFacts(insights.data, t, ui) : [];
diff --git a/jarvis/ui/web/frontend/src/views/profile/ProfileStats.tsx b/jarvis/ui/web/frontend/src/views/profile/ProfileStats.tsx
index 074e90f2d0..d02804f262 100644
--- a/jarvis/ui/web/frontend/src/views/profile/ProfileStats.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/ProfileStats.tsx
@@ -6,7 +6,8 @@
*/
import { useBoardSummary } from "@/hooks/useBoard";
import { useBoardInsights } from "@/hooks/useBoardInsights";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
function Stat({
label,
@@ -38,7 +39,7 @@ function Stat({
export function ProfileStats() {
const t = useT();
- const ui = useUiLanguage();
+ const ui = useRunLocale();
const summary = useBoardSummary();
const insights = useBoardInsights();
diff --git a/jarvis/ui/web/frontend/src/views/profile/SourceCard.tsx b/jarvis/ui/web/frontend/src/views/profile/SourceCard.tsx
index 3f24bb8ff5..9b07abfbe0 100644
--- a/jarvis/ui/web/frontend/src/views/profile/SourceCard.tsx
+++ b/jarvis/ui/web/frontend/src/views/profile/SourceCard.tsx
@@ -26,7 +26,8 @@ import { EmptyState } from "@/components/ui/empty-state";
import { Textarea } from "@/components/ui/textarea";
import { PROSE_BASE, splitFrontMatter } from "@/components/outputs/MarkdownProse";
import { getWSClient } from "@/hooks/useWebSocket";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
import { fetchJson, type RawProfileResponse } from "@/views/profile/api";
@@ -233,7 +234,7 @@ export function SourceCard({ doc }: { doc: SourceDocument }) {
<Clock aria-hidden className="h-3.5 w-3.5 shrink-0" />
{t("profile_view.source_updated").replace(
"{0}",
- lastUpdate.toLocaleDateString(),
+ lastUpdate.toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui)),
)}
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/views/profile/api.ts b/jarvis/ui/web/frontend/src/views/profile/api.ts
index e68b471692..6f6fb6ea68 100644
--- a/jarvis/ui/web/frontend/src/views/profile/api.ts
+++ b/jarvis/ui/web/frontend/src/views/profile/api.ts
@@ -12,6 +12,7 @@ import { useMutation, useQueryClient } from "@tanstack/react-query";
import { useEventStore } from "@/store/events";
import type { ClusterId } from "@/views/profile/ledger";
+import { translate } from "@/i18n";
// ----------------------------------------------------------------------
// Response shapes — mirror jarvis/ui/web/profile_routes.py
@@ -78,7 +79,7 @@ export async function fetchJson<T>(url: string, init?: RequestInit): Promise<T>
const res = await fetch(url, init);
if (!res.ok) {
if (res.status === 503) {
- const data = await res.json().catch(() => ({ detail: "Profile system not ready." }));
+ const data = await res.json().catch(() => ({ detail: translate("profile_view.system_not_ready") }));
const err = new Error(data.detail ?? `HTTP ${res.status}`) as HttpError;
err.status = 503;
throw err;
diff --git a/jarvis/ui/web/frontend/src/views/profile/ledger.ts b/jarvis/ui/web/frontend/src/views/profile/ledger.ts
index 9198a09969..7e799de2ad 100644
--- a/jarvis/ui/web/frontend/src/views/profile/ledger.ts
+++ b/jarvis/ui/web/frontend/src/views/profile/ledger.ts
@@ -233,7 +233,8 @@ export function languageName(code: string, ui: string): string {
const tag = code.trim();
if (!/^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/i.test(tag)) return code;
try {
- return new Intl.DisplayNames([ui], { type: "language" }).of(tag) ?? code;
+ // A bare "pt" means Brazilian Portuguese in CLDR; the app's Portuguese is European.
+ return new Intl.DisplayNames([ui === "pt" ? "pt-PT" : ui], { type: "language" }).of(tag) ?? code;
} catch {
// Intl rejects some well-formed but unknown tags; the raw value is honest.
return code;
diff --git a/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx b/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
index 27a1d9bf71..5458115add 100644
--- a/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
@@ -16,7 +16,8 @@ import { KeyboardMap } from "@/views/settings/KeyboardMap";
import { detectKeyboardPlatform } from "@/views/settings/keyboardLayout";
import { useChordCapture } from "@/views/settings/useChordCapture";
import { useEventStore } from "@/store/events";
-import { useT } from "@/i18n";
+import { translate, useT } from "@/i18n";
+import { backendMessage } from "@/lib/backendMessage";
// The keyboard family (Mac vs PC modifier labels) is fixed for the session.
const _KB_PLATFORM = detectKeyboardPlatform();
@@ -63,9 +64,7 @@ export function formatCombo(combo: string): string {
space: "Space",
// Mouse buttons, named the way the hardware and the browser do (X1/X2 are
// Back/Forward in every application that uses them).
- mouse_middle: "Middle Click",
- mouse_x1: "Mouse Back",
- mouse_x2: "Mouse Fwd",
+ // Translated on use (see MOUSE_COMBO_LABEL_KEYS below), not here.
// Navigation / editing cluster + numpad operators (the backend key names).
up: "↑",
down: "↓",
@@ -94,10 +93,20 @@ export function formatCombo(combo: string): string {
// matter what the type says.
return (combo ?? "")
.split("+")
- .map((p) => labels[p] ?? numpad(p) ?? p.toUpperCase())
+ .map((p) => {
+ const mouseKey = MOUSE_COMBO_LABEL_KEYS[p];
+ return mouseKey ? translate(mouseKey) : labels[p] ?? numpad(p) ?? p.toUpperCase();
+ })
.join(" + ");
}
+/** Mouse-button tokens get descriptive words, so they follow the UI language. */
+const MOUSE_COMBO_LABEL_KEYS: Record<string, string> = {
+ mouse_middle: "settings_view.keybinds.mouse.middle_click",
+ mouse_x1: "settings_view.keybinds.mouse.back_combo",
+ mouse_x2: "settings_view.keybinds.mouse.forward_combo",
+};
+
/**
* Each action's i18n label key — used to mark a key "already used by <action>"
* and to name the other side of a collision the way the UI labels it.
@@ -558,7 +567,17 @@ export function KeybindRow({
onToggleToken={onToggleToken}
// Absent until the route serves the probe — see KeybindsConfig.
mouseSupported={config?.mouse_buttons?.supported ?? true}
- mouseReason={config?.mouse_buttons?.reason}
+ mouseReason={
+ config?.mouse_buttons?.reason
+ ? backendMessage(
+ t,
+ "settings_view.keybinds.mouse_reason",
+ config.mouse_buttons.reason_code,
+ null,
+ config.mouse_buttons.reason,
+ )
+ : undefined
+ }
/>
);
diff --git a/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx b/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
index cd8caac5ae..4abf9077f6 100644
--- a/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
@@ -189,7 +189,7 @@ export function KeyboardMap({
<div className="flex gap-1">
{MOUSE_CAPS.map((cap) => (
<div key={cap.code} className="w-[3.25rem]">
- <Key cap={cap} {...keyProps} />
+ <Key cap={cap.labelKey ? { ...cap, label: t(cap.labelKey) } : cap} {...keyProps} />
</div>
))}
</div>
diff --git a/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.test.tsx b/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.test.tsx
index 4ee9ba4097..4204f179a3 100644
--- a/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.test.tsx
@@ -48,12 +48,12 @@ describe("LanguagesGroup (Languages folded into Settings)", () => {
);
fireEvent.click(screen.getByTestId("ui-language"));
const ui = await waitFor(() => screen.getByTestId("ui-language-panel"));
- for (const code of ["en", "de", "es", "zh"]) {
+ for (const code of ["en", "de", "es", "zh", "pt"]) {
expect(ui.textContent).toContain(`languages_view.options.${code}.label`);
}
fireEvent.click(screen.getByTestId("reply-language"));
const reply = await waitFor(() => screen.getByTestId("reply-language-panel"));
- for (const code of ["auto", "en", "de", "es"]) {
+ for (const code of ["auto", "en", "de", "es", "pt"]) {
expect(reply.textContent).toContain(`languages_view.reply_options.${code}`);
}
});
@@ -91,12 +91,12 @@ describe("LanguagesGroup (Languages folded into Settings)", () => {
// list.
const firstAll = values.indexOf("af");
expect(firstAll).toBeGreaterThan(0);
- expect(values.slice(1, 5)).toEqual(["en", "de", "es", "zh"]);
+ expect(values.slice(1, 6)).toEqual(["en", "de", "es", "zh", "pt"]);
const commonBand = values.slice(1, firstAll);
expect(commonBand).not.toContain("hi");
expect(commonBand).not.toContain("ar");
expect(values.slice(-2)).toEqual(["hi", "ar"]);
- for (const code of ["en", "de", "es", "zh", "fr"]) {
+ for (const code of ["en", "de", "es", "zh", "pt", "fr"]) {
expect(values.indexOf(code)).toBeLessThan(firstAll);
expect(values.lastIndexOf(code)).toBeGreaterThan(firstAll);
}
diff --git a/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.tsx
index 4032b5a8ed..24dec3701d 100644
--- a/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/LanguagesGroup.tsx
@@ -23,8 +23,8 @@ import {
settingsSelectCls,
} from "@/views/settings/SettingsLayout";
-const UI_OPTIONS: UiLanguage[] = ["en", "de", "es", "zh"];
-const REPLY_OPTIONS: ReplyLanguage[] = ["auto", "en", "de", "es"];
+const UI_OPTIONS: UiLanguage[] = ["en", "de", "es", "zh", "pt"];
+const REPLY_OPTIONS: ReplyLanguage[] = ["auto", "en", "de", "es", "pt"];
/**
* "Languages" section of the General settings page: interface language,
diff --git a/jarvis/ui/web/frontend/src/views/settings/keyboardLayout.ts b/jarvis/ui/web/frontend/src/views/settings/keyboardLayout.ts
index ab8d032559..10e1748c01 100644
--- a/jarvis/ui/web/frontend/src/views/settings/keyboardLayout.ts
+++ b/jarvis/ui/web/frontend/src/views/settings/keyboardLayout.ts
@@ -42,6 +42,8 @@ export interface KeyCap {
* wins over the ``codeToModifierToken``/``codeToKeyToken`` lookup.
*/
token?: string;
+ /** i18n key for a descriptive cap (the mouse buttons); wins over ``label`` when rendered. */
+ labelKey?: string;
}
export type KeyRow = KeyCap[];
@@ -251,7 +253,7 @@ export function mouseButtonCode(button: number): string {
* middle button can start autoscroll.
*/
export const MOUSE_CAPS: KeyCap[] = [
- { code: mouseButtonCode(1), label: "Middle", token: "mouse_middle" },
- { code: mouseButtonCode(3), label: "Back", token: "mouse_x1" },
- { code: mouseButtonCode(4), label: "Forward", token: "mouse_x2" },
+ { code: mouseButtonCode(1), label: "Middle", labelKey: "settings_view.keybinds.mouse.middle", token: "mouse_middle" },
+ { code: mouseButtonCode(3), label: "Back", labelKey: "settings_view.keybinds.mouse.back", token: "mouse_x1" },
+ { code: mouseButtonCode(4), label: "Forward", labelKey: "settings_view.keybinds.mouse.forward", token: "mouse_x2" },
];
diff --git a/jarvis/ui/web/frontend/src/views/socials/brands.ts b/jarvis/ui/web/frontend/src/views/socials/brands.ts
index d02c603d65..40b69e474b 100644
--- a/jarvis/ui/web/frontend/src/views/socials/brands.ts
+++ b/jarvis/ui/web/frontend/src/views/socials/brands.ts
@@ -13,6 +13,8 @@
* LinkedIn is sourced from the simple-icons npm package via jsDelivr because the
* cdn.simpleicons.org endpoint 404s for it.
*/
+import { translate } from "@/i18n";
+
export interface BrandDef {
/** Display name for the platform dropdown. */
label: string;
@@ -80,7 +82,7 @@ export const PLATFORM_OPTIONS: readonly string[] = [
export function platformLabel(platform: string): string {
const brand = BRANDS[platform.toLowerCase()];
if (brand) return brand.label;
- if (platform === "website") return "Website / Other";
+ if (platform === "website") return translate("socials.website_other");
return platform.charAt(0).toUpperCase() + platform.slice(1);
}
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
index 4327728c74..f0a48defbb 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
@@ -58,7 +58,8 @@ import { BackLink, SoftButton, StatusDot } from "@/components/extensions/primiti
import { agentBrand, agentsBrand } from "@/lib/agentBrand";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
-import { fill, useT, useUiLanguage } from "@/i18n";
+import { fill, useT } from "@/i18n";
+import { useRunLocale } from "@/components/runs/format";
import {
buildStory,
deriveOutcome,
@@ -165,7 +166,7 @@ interface Props {
export function AgentInsight({ agent, onBack, onOpenOutput }: Props) {
const t = useT();
- const locale = useUiLanguage();
+ const locale = useRunLocale();
const assistantName = useEventStore((s) => s.assistantName);
const agentName = agentBrand(assistantName);
const missionId = agent.mission_id ?? missionIdFromTraceId(agent.trace_id);
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx
index f38fd9ffda..b8e370ef6e 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx
@@ -315,7 +315,7 @@ function ToolDetailSheet({
<div>
<div className="text-micro uppercase text-zinc-500 mb-1">
- Arguments
+ {t("tools_canvas.arguments")}
</div>
<pre className="rounded bg-zinc-800/60 p-2 text-xs whitespace-pre-wrap text-zinc-200 break-all">
{tool.args_preview || t("tools_canvas.empty")}
@@ -325,7 +325,7 @@ function ToolDetailSheet({
{tool.output_preview && (
<div>
<div className="text-micro uppercase text-zinc-500 mb-1">
- Output
+ {t("tools_canvas.output")}
</div>
<pre className="rounded bg-zinc-800/60 p-2 text-xs whitespace-pre-wrap text-zinc-200 break-all">
{tool.output_preview}
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/outcome.test.ts b/jarvis/ui/web/frontend/src/views/sub-agents/outcome.test.ts
index b95c76c26a..51ac8d3847 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/outcome.test.ts
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/outcome.test.ts
@@ -7,6 +7,7 @@ import {
deriveOutcome,
groupStory,
missionIdFromTraceId,
+ pickApprovedSummary,
splitReason,
} from "./outcome";
@@ -131,6 +132,50 @@ describe("deriveOutcome", () => {
expect(deriveOutcome(events, "en").cost_usd).toBe(0.02);
});
+ it("reads summary_local for es/pt missions and falls back to en, then de", () => {
+ const approved = (summary_local?: string, summary_en = "Done."): EventEnvelope[] => [
+ env({
+ event_type: "MissionApproved",
+ result_uri: "file:///out",
+ tokens_used: 10,
+ cost_usd: 0.02,
+ wall_ms: 5000,
+ summary_de: "Fertig.", // i18n-allow: German runtime-output fixture
+ summary_en,
+ ...(summary_local !== undefined ? { summary_local } : {}),
+ }),
+ ];
+ expect(deriveOutcome(approved("Concluído."), "pt").summary).toBe("Concluído."); // i18n-allow
+ expect(deriveOutcome(approved("Hecho."), "es").summary).toBe("Hecho."); // i18n-allow
+ expect(deriveOutcome(approved("Concluído."), "de").summary).toBe("Fertig."); // i18n-allow
+ expect(deriveOutcome(approved("Concluído."), "en").summary).toBe("Done."); // i18n-allow
+ expect(deriveOutcome(approved(undefined), "pt").summary).toBe("Done.");
+ expect(deriveOutcome(approved("", ""), "pt").summary).toBe("Fertig."); // i18n-allow
+ });
+
+ it("picks the approval summary by language, defaulting to en", () => {
+ const p = { summary_de: "Fertig.", summary_en: "Done.", summary_local: "Concluído." }; // i18n-allow
+ expect(pickApprovedSummary(p, "pt-PT")).toBe("Concluído."); // i18n-allow
+ expect(pickApprovedSummary(p, null)).toBe("Done.");
+ });
+
+ it("shows the approval line in the mission's dispatch language", () => {
+ const story = buildStory([
+ env({ event_type: "MissionDispatched", prompt: "x", parent_mission_id: null, priority: 0, language: "pt" }),
+ env({
+ event_type: "MissionApproved",
+ result_uri: "file:///out",
+ tokens_used: 1,
+ cost_usd: 0,
+ wall_ms: 1,
+ summary_de: "Fertig.", // i18n-allow: German runtime-output fixture
+ summary_en: "Done.",
+ summary_local: "Concluído.", // i18n-allow: Portuguese runtime-output fixture
+ }),
+ ]);
+ expect(story.find((s) => s.kind === "approved")?.text).toBe("Concluído."); // i18n-allow
+ });
+
it("has no terminal for a run still in flight", () => {
const out = deriveOutcome(quotaFailure().slice(0, 4), "en");
expect(out.terminal).toBeNull();
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/outcome.ts b/jarvis/ui/web/frontend/src/views/sub-agents/outcome.ts
index 75a3c15540..4cc2c91531 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/outcome.ts
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/outcome.ts
@@ -22,6 +22,7 @@
import type {
CriticVerdictReady,
EventEnvelope,
+ MissionApproved,
MissionFailed,
WorkerCorrectionRequired,
WorkerKilled,
@@ -200,6 +201,23 @@ export function classifyNote(note: string): {
return { kind: "narration", tool: null, text: trimmed };
}
+/**
+ * The approval summary in `language`: de/en have their own fields, any other
+ * language (es/pt) reads `summary_local`. Falls back to en, then de. With no
+ * known language the en summary is preferred.
+ */
+export function pickApprovedSummary(
+ p: Pick<MissionApproved, "summary_de" | "summary_en" | "summary_local">,
+ language: string | null,
+): string {
+ const lang = (language || "").toLowerCase().split(/[-_]/)[0];
+ let preferred: string | undefined;
+ if (lang === "de") preferred = p.summary_de;
+ else if (lang === "en" || !lang) preferred = p.summary_en;
+ else preferred = p.summary_local;
+ return preferred || p.summary_en || p.summary_de || "";
+}
+
function iterationOf(workerId: string | null | undefined): number | null {
if (!workerId) return null;
const m = /::iter(\d+)$/.exec(workerId);
@@ -301,7 +319,7 @@ export function deriveOutcome(
}
case "MissionApproved":
out.terminal = "approved";
- out.summary = (language === "de" ? p.summary_de : p.summary_en) || p.summary_en || p.summary_de || null;
+ out.summary = pickApprovedSummary(p, language) || null;
out.result_uri = p.result_uri || null;
out.wall_ms = p.wall_ms || null;
if (p.tokens_used) out.tokens_used = Math.max(out.tokens_used, p.tokens_used);
@@ -366,10 +384,13 @@ export function buildStory(events: EventEnvelope[]): StoryEntry[] {
verdict: null as CriticVerdictReady | null,
});
+ // The mission's dispatch language, so the approval line reads its summary.
+ let missionLanguage: string | null = null;
for (const env of events) {
const p = env.payload;
switch (p.event_type) {
case "MissionDispatched":
+ missionLanguage = p.language || null;
push(env, { ...base(env), kind: "dispatched", tone: "neutral", text: "", meta: { language: p.language } });
break;
case "MissionPlanReady":
@@ -472,7 +493,7 @@ export function buildStory(events: EventEnvelope[]): StoryEntry[] {
...base(env),
kind: "approved",
tone: TERMINAL_TONE.approved,
- text: p.summary_en || p.summary_de || "",
+ text: pickApprovedSummary(p, missionLanguage),
meta: {},
});
break;
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts b/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts
index f3e254ba2e..343ab69423 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts
@@ -29,6 +29,7 @@ import {
Youtube,
} from "lucide-react";
+import { translate } from "@/i18n";
import { agentBrandNow } from "@/lib/agentBrand";
export interface ToolAppearance {
@@ -40,9 +41,8 @@ export interface ToolAppearance {
iconColor: string;
}
-const DEFAULT: ToolAppearance = {
+const DEFAULT: Omit<ToolAppearance, "label"> = {
Icon: Play,
- label: "Tool",
bg: "bg-zinc-800",
ring: "ring-zinc-600",
iconColor: "text-zinc-300",
@@ -105,7 +105,7 @@ export function getToolAppearance(
if (tool === "multi_spawn" || tool === "multi-spawn") {
return {
Icon: Users,
- label: "Multi-Spawn",
+ label: translate("subagents_view.tool_multi_spawn"),
bg: "bg-purple-950",
ring: "ring-purple-500",
iconColor: "text-purple-300",
@@ -130,7 +130,7 @@ export function getToolAppearance(
) {
return {
Icon: Camera,
- label: "Screenshot",
+ label: translate("subagents_view.tool_screenshot"),
bg: "bg-pink-950",
ring: "ring-pink-500",
iconColor: "text-pink-300",
@@ -141,7 +141,7 @@ export function getToolAppearance(
if (tool === "search_web" || tool === "search-web") {
return {
Icon: Search,
- label: "Web Search",
+ label: translate("subagents_view.tool_web_search"),
bg: "bg-blue-950",
ring: "ring-blue-500",
iconColor: "text-blue-300",
@@ -224,7 +224,7 @@ export function getToolAppearance(
}
return {
Icon: AppWindow,
- label: "Open App",
+ label: translate("subagents_view.tool_open_app"),
bg: "bg-indigo-950",
ring: "ring-indigo-500",
iconColor: "text-indigo-300",
@@ -235,7 +235,7 @@ export function getToolAppearance(
if (tool === "type_text" || tool === "type-text") {
return {
Icon: Keyboard,
- label: "Type Text",
+ label: translate("subagents_view.tool_type_text"),
bg: "bg-slate-900",
ring: "ring-slate-500",
iconColor: "text-slate-300",
@@ -245,7 +245,7 @@ export function getToolAppearance(
if (tool === "remember") {
return {
Icon: MessageSquare,
- label: "Remember",
+ label: translate("subagents_view.tool_remember"),
bg: "bg-foreground",
ring: "ring-foreground",
iconColor: "text-foreground",
@@ -265,7 +265,7 @@ export function getToolAppearance(
if (tool === "dispatch_to_admin" || tool === "dispatch-to-admin") {
return {
Icon: Server,
- label: "Admin Op",
+ label: translate("subagents_view.tool_admin_op"),
bg: "bg-rose-950",
ring: "ring-rose-500",
iconColor: "text-rose-300",
diff --git a/jarvis/ui/web/frontend/src/views/voice/DictationHistoryGroup.tsx b/jarvis/ui/web/frontend/src/views/voice/DictationHistoryGroup.tsx
index c7b5410d6c..d2eb3dcead 100644
--- a/jarvis/ui/web/frontend/src/views/voice/DictationHistoryGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/voice/DictationHistoryGroup.tsx
@@ -9,7 +9,8 @@ import {
STT_FAILURE_REASONS,
type DictationEntry,
} from "@/hooks/useDictation";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
/**
@@ -374,7 +375,7 @@ function RowAction({
function formatTime(iso: string): string {
const date = new Date(iso);
if (Number.isNaN(date.getTime())) return "";
- return date.toLocaleTimeString(undefined, { hour: "numeric", minute: "2-digit" });
+ return date.toLocaleTimeString(localeForUiLanguage(useI18nStore.getState().ui), { hour: "numeric", minute: "2-digit" });
}
const KNOWN_OUTCOMES: ReadonlySet<string> = new Set(DICTATION_OUTCOMES);
diff --git a/jarvis/ui/web/frontend/src/views/voice/DictationStatsCard.tsx b/jarvis/ui/web/frontend/src/views/voice/DictationStatsCard.tsx
index b862726514..6dd1c50b4b 100644
--- a/jarvis/ui/web/frontend/src/views/voice/DictationStatsCard.tsx
+++ b/jarvis/ui/web/frontend/src/views/voice/DictationStatsCard.tsx
@@ -1,7 +1,8 @@
import { useMemo } from "react";
import type { DictationStats } from "@/hooks/useDictation";
-import { useT } from "@/i18n";
+import { useI18nStore, useT } from "@/i18n";
+import { localeForUiLanguage } from "@/components/runs/format";
import { cn } from "@/lib/utils";
/**
@@ -171,7 +172,7 @@ function lastDays(byDay: DictationStats["by_day"], count: number): DayBar[] {
const key = localKey(cursor);
out.push({
date: key,
- label: cursor.toLocaleDateString(undefined, { month: "short", day: "numeric" }),
+ label: cursor.toLocaleDateString(localeForUiLanguage(useI18nStore.getState().ui), { month: "short", day: "numeric" }),
words: words.get(key) ?? 0,
});
cursor.setDate(cursor.getDate() + 1);
@@ -188,7 +189,7 @@ function localKey(date: Date): string {
/** Locale-grouped integer; a non-finite server value degrades to a dash. */
function formatCount(value: number): string {
if (!Number.isFinite(value)) return "—";
- return Math.round(value).toLocaleString();
+ return Math.round(value).toLocaleString(localeForUiLanguage(useI18nStore.getState().ui));
}
/**
@@ -198,7 +199,7 @@ function formatCount(value: number): string {
function formatCompact(value: number): string {
if (!Number.isFinite(value)) return "—";
if (Math.abs(value) < 10_000) return formatCount(value);
- return new Intl.NumberFormat(undefined, {
+ return new Intl.NumberFormat(localeForUiLanguage(useI18nStore.getState().ui), {
notation: "compact",
maximumFractionDigits: 1,
}).format(value);
diff --git a/jarvis/ui/web/frontend/src/views/voice/LanguageTab.tsx b/jarvis/ui/web/frontend/src/views/voice/LanguageTab.tsx
index fd12d6925a..4f55ab7048 100644
--- a/jarvis/ui/web/frontend/src/views/voice/LanguageTab.tsx
+++ b/jarvis/ui/web/frontend/src/views/voice/LanguageTab.tsx
@@ -40,9 +40,18 @@ const POLISH_PROVIDER_LABELS: Record<string, string> = {
gemini: "Google Gemini",
openai: "OpenAI",
openrouter: "OpenRouter",
- ollama: "Ollama (local)",
};
+/** A polish provider's display label; Ollama names its local runtime in the UI language. */
+function polishProviderLabelOrNull(id: string, t: (key: string) => string): string | null {
+ if (id === "ollama") return t("voice.polish.ollama_local");
+ return POLISH_PROVIDER_LABELS[id] ?? null;
+}
+
+function polishProviderLabel(id: string, t: (key: string) => string): string {
+ return polishProviderLabelOrNull(id, t) ?? id;
+}
+
export interface LanguageTabProps {
/**
* Suppress this view's own `ViewHeader`.
@@ -482,7 +491,7 @@ export function LanguageTab({ hideHeader = false }: LanguageTabProps = {}) {
label:
id === "auto"
? t("voice.polish.provider_auto")
- : POLISH_PROVIDER_LABELS[id] ?? id,
+ : polishProviderLabel(id, t),
})),
},
]}
@@ -702,7 +711,7 @@ export function LanguageTab({ hideHeader = false }: LanguageTabProps = {}) {
className="mt-1 text-title font-semibold text-foreground"
data-testid="dictation-translate-provider-name"
>
- {POLISH_PROVIDER_LABELS[wordingProvider.family] ??
+ {polishProviderLabelOrNull(wordingProvider.family, t) ??
wordingProvider.label ??
wordingProvider.family}
</p>
diff --git a/jarvis/ui/web/marketplace_routes.py b/jarvis/ui/web/marketplace_routes.py
index 03d1a3a346..28f5a0069c 100644
--- a/jarvis/ui/web/marketplace_routes.py
+++ b/jarvis/ui/web/marketplace_routes.py
@@ -409,10 +409,18 @@ async def list_plugins(response: Response) -> dict[str, Any]:
item["reauth_at"] = meta.reauth_at
item["refresh_expires_at"] = meta.refresh_expires_at
item["unavailable_reason"] = None
+ item["unavailable_reason_code"] = ""
if spec.id == "amd_gpu" and spec.auth.mode == "local":
- from jarvis.marketplace.amd_mcp import amd_unavailable_reason
+ from jarvis.marketplace.amd_mcp import (
+ amd_unavailable_reason,
+ amd_unavailable_reason_code,
+ )
item["unavailable_reason"] = amd_unavailable_reason()
+ # Stable code so the UI shows the reason in the user's language.
+ item["unavailable_reason_code"] = amd_unavailable_reason_code(
+ item["unavailable_reason"]
+ )
if isinstance(spec.auth, OAuthPkceLoopbackAuth):
from jarvis.marketplace.connect_helpers import (
is_placeholder_client_id,
diff --git a/jarvis/ui/web/mcp_routes.py b/jarvis/ui/web/mcp_routes.py
index 45e4bf9700..3d286e6ff2 100644
--- a/jarvis/ui/web/mcp_routes.py
+++ b/jarvis/ui/web/mcp_routes.py
@@ -333,7 +333,7 @@ async def stop_mcp(name: str, request: Request) -> dict[str, Any]:
@router.post("/import-claude-desktop")
async def import_claude_desktop(request: Request) -> dict[str, Any]:
- count, names, note = mcp_state.import_claude_desktop()
+ count, names, note, note_code, note_params = mcp_state.import_claude_desktop_coded()
registry = _get_registry(request)
if registry is not None and count > 0:
@@ -347,7 +347,16 @@ async def import_claude_desktop(request: Request) -> dict[str, Any]:
except Exception as exc: # noqa: BLE001
log.warning("Custom spec %s could not be registered: %s", name, exc)
- return {"ok": True, "count": count, "added": names, "note": note}
+ return {
+ "ok": True,
+ "count": count,
+ "added": names,
+ "note": note,
+ # Stable code + fill-ins for ``note`` (CLAUDE_DESKTOP_IMPORT_NOTE_CODES)
+ # so the UI shows it in the user's language; ``note`` stays English.
+ "note_code": note_code,
+ "note_params": note_params,
+ }
class CredentialsPayload(BaseModel):
diff --git a/jarvis/ui/web/missions_routes.py b/jarvis/ui/web/missions_routes.py
index ed7141f41b..022376e1f7 100644
--- a/jarvis/ui/web/missions_routes.py
+++ b/jarvis/ui/web/missions_routes.py
@@ -32,7 +32,9 @@ from jarvis.missions.events import (
MissionApproved,
MissionCancelled,
MissionFailed,
+ MissionLanguage,
MissionTimedOut,
+ coerce_mission_language,
now_ms,
)
from jarvis.missions.isolation.worktree import resolve_outputs_root
@@ -45,6 +47,7 @@ from jarvis.missions.state_machine import (
)
from jarvis.missions.stream_evidence import clean_request_body
from jarvis.missions.tool_approvals import MissionToolApprovalCoordinator
+from jarvis.missions.voice.readback import approved_summary
from jarvis.ui.web.missions_worker import extract_worker_missions
logger = logging.getLogger(__name__)
@@ -113,7 +116,7 @@ class DispatchBody(BaseModel):
"""Payload for POST /dispatch."""
prompt: str
- language: Literal["de", "en"] = "de"
+ language: MissionLanguage = "de"
confirmed: bool = False # Phase-5 destructive_confirm gate (UI-Path)
@@ -298,7 +301,7 @@ async def get_mission_result(
result_uri: str | None = None
reason: str | None = None
if isinstance(terminal, MissionApproved):
- summary = terminal.summary_de if language == "de" else terminal.summary_en
+ summary = approved_summary(terminal, language)
result_uri = terminal.result_uri
elif isinstance(terminal, (MissionFailed, MissionCancelled)):
reason = terminal.reason
@@ -762,9 +765,7 @@ async def rerun_mission(
action = "restart"
source_actor_reason = "ui_restart"
- safe_language: Literal["de", "en"] = (
- language if language in ("de", "en") else "de"
- )
+ safe_language = coerce_mission_language(language)
new_mission_id = await mgr.dispatch(
prompt=prompt,
language=safe_language,
diff --git a/jarvis/ui/web/outputs_routes.py b/jarvis/ui/web/outputs_routes.py
index bc5fca8862..724e532c78 100644
--- a/jarvis/ui/web/outputs_routes.py
+++ b/jarvis/ui/web/outputs_routes.py
@@ -368,10 +368,12 @@ async def _terminal_outcome_details(
event_type = str(event_type)
if event_type == "MissionApproved":
language = output_language.lower().split("-", 1)[0]
+ # de/en have their own field; every other language reads the
+ # dispatch-language summary (es/pt missions) when one exists.
preferred_summary = {
"de": payload.get("summary_de"),
"en": payload.get("summary_en"),
- }.get(language)
+ }.get(language, payload.get("summary_local"))
return {
"terminal_event": event_type,
"terminal_reason": None,
diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.py
index b5952dbe59..ea33af75be 100644
--- a/jarvis/ui/web/provider_routes.py
+++ b/jarvis/ui/web/provider_routes.py
@@ -3841,7 +3841,7 @@ _REALTIME_PREVIEW_TIMEOUT_S = 30.0
# BCP-47 pronunciation pins for the sample languages. Gemini's prebuilt
# voices are language-agnostic; an unpinned call auto-detects per word and
# can code-switch mid-sentence, so the sample pins the language it speaks.
-_REALTIME_PREVIEW_LANG_CODES = {"de": "de-DE", "en": "en-US", "es": "es-ES"}
+_REALTIME_PREVIEW_LANG_CODES = {"de": "de-DE", "en": "en-US", "es": "es-ES", "pt": "pt-PT"}
async def _gemini_live_voice_sample(
@@ -4006,7 +4006,7 @@ _REALTIME_PREVIEW_SAMPLERS: dict[str, Any] = {
class RealtimeVoicePreviewBody(BaseModel):
voice: str = Field(default="", max_length=200)
- # The sample language to speak ("de" | "en" | "es"). Falls back to English.
+ # The sample language to speak ("de" | "en" | "es" | "pt"). Falls back to English.
language: str = Field(default="en", max_length=16)
# The realtime model to sample through where the sampler needs one
# (openai-realtime); "" = the adapter default. Validated when non-empty.
@@ -4622,6 +4622,11 @@ _TTS_PREVIEW_SAMPLES: dict[str, str] = {
"¡Hola! Soy tu asistente personal. "
"Así suena mi voz cuando hablo contigo y te ayudo con tus tareas."
),
+ "pt": (
+ "Olá! Sou o teu assistente pessoal. " # i18n-allow: Portuguese TTS preview output.
+ "É assim que soa a minha voz quando falo contigo " # i18n-allow
+ "e te ajudo com as tuas tarefas." # i18n-allow
+ ),
}
_TTS_PREVIEW_DEFAULT_LANG = "en"
@@ -4776,7 +4781,7 @@ class TtsPreviewBody(BaseModel):
provider: str = Field(default=_VOICE_PICKER_PROVIDER)
model: str = Field(default="", max_length=200)
voice: str = Field(default="", max_length=200)
- # The sample language to speak ("de" | "en" | "es"). Falls back to English.
+ # The sample language to speak ("de" | "en" | "es" | "pt"). Falls back to English.
language: str = Field(default=_TTS_PREVIEW_DEFAULT_LANG, max_length=16)
diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.py
index 950a52aed7..5679ed08d0 100644
--- a/jarvis/ui/web/provider_spec.py
+++ b/jarvis/ui/web/provider_spec.py
@@ -763,8 +763,9 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
"Speaks on this machine — no API key, no cloud account, nothing "
"sent anywhere. Piper is the established offline voice engine: "
"small neural voices that run faster than real time even without a "
- "graphics card. The download is about 200 MB and brings one voice "
- "each for German, English and Spanish. The voices sound good rather "
+ "graphics card. The download is about 270 MB and brings one voice "
+ "each for German, English, Spanish and European Portuguese. The "
+ "voices sound good rather "
"than indistinguishable from a person; a hosted provider is still "
"the more natural-sounding option."
),
diff --git a/jarvis/ui/web/settings_routes.py b/jarvis/ui/web/settings_routes.py
index 39bd07977a..e7db7a5c4c 100644
--- a/jarvis/ui/web/settings_routes.py
+++ b/jarvis/ui/web/settings_routes.py
@@ -537,7 +537,7 @@ def put_team_proxy(body: TeamProxyBody, request: Request) -> dict[str, object]:
# over /ws). Key-free same-origin route, like reply-language.
# ----------------------------------------------------------------------
-_UI_LANGUAGES: tuple[str, ...] = ("en", "de", "es", "zh")
+_UI_LANGUAGES: tuple[str, ...] = ("en", "de", "es", "pt", "zh")
class UiLanguageBody(BaseModel):
@@ -1014,7 +1014,7 @@ def _live_apply_wake_plan(request: Request, *, log_tag: str) -> bool:
# [trigger.wake_word] language and resolved by resolve_wake_language.
# ----------------------------------------------------------------------
-_WAKE_LANGUAGES: tuple[str, ...] = ("auto", "de", "en", "es")
+_WAKE_LANGUAGES: tuple[str, ...] = ("auto", "de", "en", "es", "pt")
class WakeLanguageBody(BaseModel):
@@ -1151,6 +1151,30 @@ def _local_microphone_capture_ready(request: Request) -> bool:
# state -> the reason vocabulary of the permission layer (PERMISSION_NEEDED_REASONS)
+#: Stable codes the wake-word routes return next to their English sentences.
+#: The desktop UI translates each one (``settings_view.wake_word.msg.<code>`` /
+#: ``settings_view.wake_word.hint.<code>``); the parity test
+#: ``tests/unit/ui/test_backend_message_codes.py`` keeps both sides in step.
+WAKE_MESSAGE_CODES: tuple[str, ...] = (
+ "no_phrase",
+ "not_in_vocab",
+ "no_microphone",
+ "mic_quiet",
+ "ready",
+ "activation_not_persisted",
+ "model_ready",
+ "model_download_failed",
+)
+WAKE_HINT_CODES: tuple[str, ...] = (
+ "type_phrase",
+ "download_or_hotkey",
+ "pick_real_word",
+ "connect_mic",
+ "speak_louder",
+ "allow_mic_dialog",
+ "allow_mic_settings",
+)
+
_MIC_STATE_REASON = {
"denied": "denied",
"restricted": "restricted",
@@ -1183,19 +1207,25 @@ def _microphone_block_fields(
if not message:
message = user_detail_for(PermissionId.MICROPHONE, reason)
if reason in ("restricted", "unavailable"):
- hint = ""
+ hint, hint_code = "", ""
elif reason == "not_determined":
# An app that has never asked is not listed in that pane yet: the test
# button is what makes macOS show its dialog, so point there first.
hint = "Press the test button and choose Allow in the macOS dialog."
+ hint_code = "allow_mic_dialog"
else:
hint = f"Allow Microphone access in {path}, then retry."
+ hint_code = "allow_mic_settings"
return {
"permission_required": True,
"permission": "microphone",
"can_open_settings": can_open,
"message": message,
"hint": hint,
+ # Translatable hint (``WAKE_HINT_CODES``); ``path`` fills the settings
+ # pane name. ``message`` is the permission layer's own sentence.
+ "hint_code": hint_code,
+ "message_params": {"path": str(path)},
}
@@ -1550,6 +1580,10 @@ async def put_wake_word(body: WakeWordBody, request: Request) -> dict[str, objec
# for it, so the UI should say so instead of leaving the user guessing.
"phrase_in_vocab": phrase_in_vocab,
"message": plan.message,
+ # Stable code + fill-in values for ``message`` so the UI can show it in
+ # the user's language (``WAKE_PLAN_MESSAGE_CODES``); ``message`` stays.
+ "message_code": plan.message_code,
+ "message_params": dict(plan.message_params),
"persisted": persisted,
# When live-applied, the running pipeline already swapped the detector;
# no restart needed. Otherwise it takes effect on the next voice start.
@@ -1662,6 +1696,7 @@ def set_wake_activation(body: WakeActivationBody, request: Request) -> dict[str,
if persisted
else f"The setting could not be saved to jarvis.toml. {LOG_HINT}"
),
+ "message_code": "" if persisted else "activation_not_persisted",
"permission": permission,
}
@@ -1689,6 +1724,7 @@ async def download_wake_model(request: Request) -> dict[str, object]:
else "Could not download the wake model right now; it will retry "
"automatically. The wake word uses the fallback path until then."
),
+ "message_code": "model_ready" if present else "model_download_failed",
}
@@ -1781,23 +1817,36 @@ async def wake_word_self_test(request: Request) -> dict[str, object]:
# Human-readable verdict + the single most useful next step.
ok = bool(plan.wake_available) and phrase_in_vocab is not False and mic_ok
+ # ``message_code`` / ``hint_code`` (+ ``message_params``) are the stable
+ # keys the desktop UI translates (``WAKE_SELF_TEST_CODES``); the English
+ # ``message`` / ``hint`` stay for the CLI and API callers.
+ message_params: dict[str, str] = {
+ "phrase": phrase, "engine": str(plan.engine), "language": str(language)
+ }
if not phrase:
message, hint = "No wake word set.", "Type a wake phrase first."
+ message_code, hint_code = "no_phrase", "type_phrase"
elif not plan.wake_available:
message, hint = plan.message, "Download the local model or use the hotkey."
+ message_code, hint_code = plan.message_code, "download_or_hotkey"
+ message_params = {**message_params, **dict(plan.message_params)}
elif phrase_in_vocab is False:
message = f"'{phrase}' is not in the {language} model's vocabulary."
hint = "Pick a real word of your language, or use a different phrase."
+ message_code, hint_code = "not_in_vocab", "pick_real_word"
elif no_device:
message, hint = "No microphone detected.", "Connect/enable a mic."
+ message_code, hint_code = "no_microphone", "connect_mic"
elif not mic_ok:
message, hint = "Mic signal is very quiet.", "Speak louder or raise input gain."
+ message_code, hint_code = "mic_quiet", "speak_louder"
else:
message = (
f"Ready: '{phrase}' on engine '{plan.engine}' "
f"(language '{language}'). Say it to wake."
)
hint = ""
+ message_code, hint_code = "ready", ""
return {
"ok": ok,
@@ -1813,6 +1862,9 @@ async def wake_word_self_test(request: Request) -> dict[str, object]:
"permission_required": False,
"message": message,
"hint": hint,
+ "message_code": message_code,
+ "message_params": message_params,
+ "hint_code": hint_code,
}
@@ -1925,7 +1977,7 @@ class KeybindBody(BaseModel):
def get_keybinds(request: Request) -> dict[str, object]:
from jarvis.core.config import TriggerConfig
from jarvis.core.config_writer import KEYBIND_TOML_KEY
- from jarvis.trigger.hotkey import mouse_hotkeys_available
+ from jarvis.trigger.hotkey import mouse_hotkeys_available, mouse_hotkeys_reason_code
cfg = _config(request)
trig = getattr(cfg, "trigger", None) if cfg is not None else None
@@ -1952,7 +2004,13 @@ def get_keybinds(request: Request) -> dict[str, object]:
action: str(getattr(d, field, "")) for action, field in KEYBIND_TOML_KEY.items()
},
"suggestions": _available_suggestions(current),
- "mouse_buttons": {"supported": mouse_ok, "reason": mouse_reason},
+ "mouse_buttons": {
+ "supported": mouse_ok,
+ "reason": mouse_reason,
+ # Stable code for ``reason`` (``MOUSE_HOTKEY_REASONS``) so the UI
+ # shows it in the user's language; ``reason`` stays English.
+ "reason_code": mouse_hotkeys_reason_code(mouse_reason),
+ },
"restart_required": restart_required,
}
diff --git a/jarvis/ui/web/telephony_routes.py b/jarvis/ui/web/telephony_routes.py
index 65b5c35b53..b2d02c8019 100644
--- a/jarvis/ui/web/telephony_routes.py
+++ b/jarvis/ui/web/telephony_routes.py
@@ -424,6 +424,22 @@ async def post_test(request: Request) -> JSONResponse:
# ---------------------------------------------------------------------------
+# Self-test transcript fed to the brain, and the canned spoken fallback, per
+# call language (de/en/es/pt; any other code uses English).
+_SELFTEST_TRANSCRIPT: dict[str, str] = {
+ "de": "Hallo Jarvis, funktioniert das Telefon?", # i18n-allow: German voice input
+ "en": "Hello Jarvis, is the phone working?",
+ "es": "Hola Jarvis, ¿funciona el teléfono?", # i18n-allow: Spanish voice input
+ "pt": "Olá Jarvis, o telefone está a funcionar?", # i18n-allow: PT voice input
+}
+_SELFTEST_FALLBACK: dict[str, str] = {
+ "de": "Ja, das Telefon funktioniert. Ich höre dich klar und deutlich.", # i18n-allow
+ "en": "Yes, the phone works. I can hear you loud and clear.",
+ "es": "Sí, el teléfono funciona. Te oigo alto y claro.", # i18n-allow: Spanish TTS
+ "pt": "Sim, o telefone funciona. Ouço-te alto e bom som.", # i18n-allow: PT TTS
+}
+
+
@router.post("/selftest")
async def post_selftest(request: Request) -> JSONResponse:
"""Run a fixed utterance through STT->Brain->TTS shape (no PSTN call).
@@ -434,13 +450,15 @@ async def post_selftest(request: Request) -> JSONResponse:
env), we fall back to a deterministic echo so the button still proves the
transcode + framing path. STT-on-a-WAV-fixture is a separate slow test.
"""
- transcript = "Hallo Jarvis, funktioniert das Telefon?"
response_text = ""
audio_bytes = 0
error: str | None = None
cfg = _resolve_cfg(request)
language_code = getattr(getattr(cfg, "tts", None), "language_code", "de-DE") or "de-DE"
+ short_lang = language_code.lower().split("-")[0]
+ phrase_lang = short_lang if short_lang in _SELFTEST_TRANSCRIPT else "en"
+ transcript = _SELFTEST_TRANSCRIPT[phrase_lang]
# Brain
try:
@@ -459,7 +477,7 @@ async def post_selftest(request: Request) -> JSONResponse:
error = f"brain: {internal_error('selftest brain call', exc, logger=log)}"
if not response_text:
- response_text = "Ja, das Telefon funktioniert. Ich höre dich klar und deutlich." # i18n-allow: canned voice-output fallback, synthesized via TTS below
+ response_text = _SELFTEST_FALLBACK[phrase_lang]
# Scrub + TTS -> count synthesized bytes after transcode to Twilio mu-law.
try:
@@ -467,9 +485,7 @@ async def post_selftest(request: Request) -> JSONResponse:
from jarvis.plugins.tts import build_tts_from_config
from jarvis.telephony.audio import tts_pcm_to_twilio_ulaw
- spoken = scrub_for_voice(
- response_text, language="en" if language_code.lower().startswith("en") else "de"
- ).cleaned
+ spoken = scrub_for_voice(response_text, language=phrase_lang).cleaned
tts = build_tts_from_config(cfg.tts) if cfg is not None else None
if tts is not None:
async for chunk in tts.synthesize(spoken, language_code=language_code):
diff --git a/jarvis/ui/window_watchdog.py b/jarvis/ui/window_watchdog.py
index 6023767478..2ce342e09b 100644
--- a/jarvis/ui/window_watchdog.py
+++ b/jarvis/ui/window_watchdog.py
@@ -344,7 +344,7 @@ class BlankWindowPolicy:
# The explanation page
# ---------------------------------------------------------------------------
-#: One entry per reason per language. German, Spanish and Chinese are product surface
+#: One entry per reason per language. German, Spanish, Chinese and Portuguese are product surface
#: (AGENTS.md §1): this page is shown TO the user, and it cannot reach the
#: bundle's i18n — the bundle is exactly what failed to load. The language is
#: picked in the page from ``navigator.language``, the same way
@@ -411,6 +411,21 @@ _TEXTS: dict[str, dict[str, str]] = {
"button": "重新加载",
"retrying": "正在重试…",
},
+ "pt": {
+ # i18n-allow: product surface, no bundle available here.
+ "title": "A janela ficou vazia.",
+ "backend_dead": (
+ "O Dodaios está a correr, mas a parte que serve esta "
+ "janela parou. Reiniciar a aplicação resolve."
+ ),
+ "backend_silent": (
+ "O Dodaios está ocupado e ainda não responde a esta janela. "
+ "Recarrega sozinha assim que voltar a responder."
+ ),
+ "view_empty": ("O Dodaios responde, mas a janela não carregou a página."),
+ "button": "Recarregar",
+ "retrying": "A tentar de novo…",
+ },
}
diff --git a/jarvis/voice/action_phrases.py b/jarvis/voice/action_phrases.py
index 5871264d01..4967ae711a 100644
--- a/jarvis/voice/action_phrases.py
+++ b/jarvis/voice/action_phrases.py
@@ -7,7 +7,7 @@ displayed VERBATIM, so it must be rendered in the turn's language HERE (live
bug 2026-06-15: an all-English computer-use turn ended with the German
"Erledigt." completion readback).
-Pure dict lookups — no LLM, no IO (AP-9 / AP-11). Languages: de / en / es;
+Pure dict lookups — no LLM, no IO (AP-9 / AP-11). Languages: de / en / es / pt;
an unknown language falls back to German (the historical default). The German
column is intentionally the same wording the paths used before, so a German
turn is byte-identical to the old behavior.
@@ -19,9 +19,9 @@ import re
from jarvis.core.turn_language import resolve_turn_language
_DEFAULT = "de"
-_SUPPORTED = ("de", "en", "es")
+_SUPPORTED = ("de", "en", "es", "pt")
-#: ``HarnessTask.env`` key carrying the turn's resolved output language (de/en/es)
+#: ``HarnessTask.env`` key carrying the turn's resolved output language (de/en/es/pt)
#: into the computer-use harness, so the in-harness verifier writes its spoken
#: ``proof`` in the user's language instead of defaulting to English (live bug
#: 2026-06-27: a German turn read back "Erledigt — The file explorer window is
@@ -46,6 +46,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Erledigt.", # i18n-allow
"en": "Done.",
"es": "Listo.",
+ "pt": "Feito.",
},
# The lookup ran, its answer never got spoken, and nothing could be built
# from what it returned. The floor under ``_wordless_success_line`` — and
@@ -66,6 +67,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"Tengo la información, pero no pude leerla en voz alta. "
"¿Lo intento otra vez?"
),
+ "pt": "Tenho a informação, mas não a consegui ler em voz alta. Tento outra vez?",
},
# The lookup ran and came back empty. The honest answer to a question with
# no hit — never ``cu_done``, which would report a finished job instead.
@@ -73,6 +75,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Dazu habe ich nichts gefunden.", # i18n-allow
"en": "I didn't find anything on that.",
"es": "No encontré nada sobre eso.", # i18n-allow
+ "pt": "Não encontrei nada sobre isso.", # i18n-allow
},
# Success WITH the verifier's on-screen observation forwarded (the SUCCESS
# sibling of cu_failed_reason). Lets an informational request actually be
@@ -84,21 +87,25 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Erledigt. {detail}", # i18n-allow
"en": "Done. {detail}",
"es": "Listo. {detail}",
+ "pt": "Feito. {detail}",
},
"cu_failed": {
"de": "Das am Bildschirm hat nicht geklappt.", # i18n-allow
"en": "That didn't work on screen.",
"es": "Eso no funcionó en la pantalla.",
+ "pt": "Isso não funcionou no ecrã.",
},
"cu_failed_reason": {
"de": "Das am Bildschirm hat nicht geklappt: {error}", # i18n-allow
"en": "That didn't work on screen: {error}",
"es": "Eso no funcionó en la pantalla: {error}",
+ "pt": "Isso não funcionou no ecrã: {error}",
},
"cu_crashed": {
"de": "Beim Erledigen am Bildschirm ist leider etwas schiefgegangen.", # i18n-allow
"en": "Something went wrong while doing it on screen.",
"es": "Algo salió mal al hacerlo en la pantalla.",
+ "pt": "Algo correu mal ao fazer isso no ecrã.",
},
# Computer-use failure readbacks keyed off the harness EXIT CODE. These are
# plain-language sentences for the case where the underlying layer gives us
@@ -113,16 +120,19 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe es am Bildschirm versucht, aber nicht hinbekommen.", # i18n-allow
"en": "I tried it on screen but couldn't get it done.",
"es": "Lo intenté en la pantalla, pero no pude completarlo.",
+ "pt": "Tentei no ecrã, mas não consegui concluir.",
},
"cu_exit_no_view": { # exit 1 — observe failure (no usable screenshot)
"de": "Ich konnte den Bildschirm nicht richtig sehen und habe abgebrochen.", # i18n-allow
"en": "I couldn't see the screen properly, so I stopped.",
"es": "No pude ver bien la pantalla, así que lo detuve.",
+ "pt": "Não consegui ver bem o ecrã, por isso parei.",
},
"cu_exit_confused": { # exit 2 — invalid model / parse response
"de": "Ich konnte keine gueltige Bildschirm-Antwort bekommen und habe gestoppt.", # i18n-allow
"en": "I couldn't get a valid screen-control response, so I stopped.",
"es": "No pude obtener una respuesta valida para controlar la pantalla, asi que me detuve.",
+ "pt": "Não consegui obter uma resposta válida para controlar o ecrã, por isso parei.",
},
# exit 3 — the vision-provider chain was EXHAUSTED: no screen-capable AI model
# was reachable (every candidate keyless / out-of-credit / rate-limited /
@@ -140,28 +150,36 @@ _PHRASES: dict[str, dict[str, str]] = {
"Please check your API keys or your credit in settings.",
"es": "Ahora mismo no tengo un modelo de IA que pueda ver la pantalla. "
"Revisa tus claves de API o tu saldo en los ajustes.",
+ "pt": (
+ "Neste momento não tenho um modelo de IA que consiga ver o ecrã. Verifica as tuas "
+ "chaves de API ou o teu saldo nas definições."
+ ),
},
"cu_exit_too_many_steps": { # exit 4 — step budget exhausted
"de": "Es hat am Bildschirm zu viele Schritte gebraucht, ich habe " # i18n-allow
"aufgehoert.", # i18n-allow
"en": "It took too many steps on screen, so I stopped.",
"es": "Hicieron falta demasiados pasos en la pantalla, así que lo detuve.",
+ "pt": "Foram precisos demasiados passos no ecrã, por isso parei.",
},
"cu_exit_action_failed": { # exit 8 — tool/action failure
"de": "Eine Aktion am Bildschirm ist fehlgeschlagen, ich habe abgebrochen.", # i18n-allow
"en": "An action on screen failed, so I stopped.",
"es": "Una acción en la pantalla falló, así que lo detuve.",
+ "pt": "Uma ação no ecrã falhou, por isso parei.",
},
"cu_exit_cancelled": { # exit 130 — cancel token (e.g. voice hangup)
"de": "Die Aktion am Bildschirm wurde abgebrochen.", # i18n-allow
"en": "The action on screen was cancelled.",
"es": "La acción en la pantalla se canceló.",
+ "pt": "A ação no ecrã foi cancelada.",
},
"cu_exit_needs_elevation": { # exit 9 — waited for admin confirmation, none came
"de": "Ich habe auf die Administrator-Bestaetigung gewartet, aber es kam " # i18n-allow
"keine, also habe ich gestoppt.", # i18n-allow
"en": "I waited for the administrator confirmation, but none came, so I stopped.",
"es": "Esperé la confirmación de administrador, pero no llegó, así que me detuve.",
+ "pt": "Esperei pela confirmação de administrador, mas não chegou, por isso parei.",
},
# exit 8 + "[cu] blocked_permission": the mission stopped because a macOS
# permission or a system dialog needs the person. ``cu_blocked_permission``
@@ -174,10 +192,14 @@ _PHRASES: dict[str, dict[str, str]] = {
"en": "I had to stop. {sentence}",
"es": "Tuve que parar: Dodaios necesita el permiso de {permission}. "
"Actívalo en {pane}. Después, vuelve a intentarlo.",
+ "pt": (
+ "Tive de parar: o Dodaios precisa da permissão de {permission}. Ativa-a em "
+ "{pane}. Depois, tenta outra vez."
+ ),
},
# The grant is on but unusable, a permission this session cannot ask for, and a
# macOS dialog that is still open: each one has its own remedy, none is "allow it
- # in Settings". de/es name the permission; en forwards the engine's sentence and
+ # in Settings". de/es/pt name the permission; en forwards the engine's sentence and
# only needs these as the fixed fallback.
"cu_blocked_restart_hint": {
"de": "Ich musste anhalten: Die Berechtigung {permission} wirkt " # i18n-allow
@@ -189,6 +211,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"es": "Tuve que parar: el permiso de {permission} puede que solo surta efecto "
"cuando Dodaios se cierre y se vuelva a abrir. "
"Reinicia la app y vuelve a intentarlo.",
+ "pt": (
+ "Tive de parar: a permissão de {permission} pode só ter efeito depois de o Dodaios "
+ "ser fechado e reaberto. Reinicia a app e tenta outra vez."
+ ),
},
"cu_blocked_unavailable": {
"de": "Ich musste anhalten: Dodaios kann in dieser Sitzung " # i18n-allow
@@ -197,6 +223,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"in this session.",
"es": "Tuve que parar: Dodaios no puede pedir el permiso de {permission} "
"en esta sesión.",
+ "pt": (
+ "Tive de parar: o Dodaios não pode pedir a permissão de {permission} nesta "
+ "sessão."
+ ),
},
"cu_blocked_waiting": {
"de": "Ich musste anhalten, weil macOS gerade nach der Berechtigung " # i18n-allow
@@ -206,6 +236,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"Answer the dialog, then try again.",
"es": "Tuve que parar porque macOS está preguntando por el permiso de "
"{permission}. Responde al diálogo y vuelve a intentarlo.",
+ "pt": (
+ "Tive de parar porque o macOS está a pedir a permissão de {permission}. Responde ao "
+ "diálogo e tenta outra vez."
+ ),
},
"cu_blocked_dialog": {
"de": "Ich musste anhalten, weil auf dem Mac ein Systemdialog offen ist. " # i18n-allow
@@ -214,6 +248,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"Answer it yourself, then try again.",
"es": "Tuve que parar porque hay un diálogo del sistema abierto en el Mac. "
"Respóndelo tú y vuelve a intentarlo.",
+ "pt": (
+ "Tive de parar porque há um diálogo do sistema aberto no Mac. Responde tu a ele e "
+ "tenta outra vez."
+ ),
},
"cu_blocked_restricted": {
"de": "Ich musste anhalten: Eine nötige Berechtigung ist auf diesem " # i18n-allow
@@ -224,6 +262,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"profile or a parental control. That cannot be changed from the app.",
"es": "Tuve que parar: un permiso necesario está restringido en este Mac por un "
"perfil o un control parental. No se puede cambiar desde la app.",
+ "pt": (
+ "Tive de parar: uma permissão necessária está restrita neste Mac por um perfil ou "
+ "por controlo parental. Não pode ser alterada a partir da app."
+ ),
},
"cu_blocked_generic": {
"de": "Ich musste anhalten, weil macOS eine Berechtigung für Dodaios " # i18n-allow
@@ -233,12 +275,17 @@ _PHRASES: dict[str, dict[str, str]] = {
"Allow it in System Settings under Privacy & Security, then try again.",
"es": "Tuve que parar porque macOS necesita un permiso para Dodaios. "
"Actívalo en Ajustes del Sistema, en Privacidad y seguridad, y vuelve a intentarlo.",
+ "pt": (
+ "Tive de parar porque o macOS precisa de uma permissão para o Dodaios. "
+ "Ativa-a nas Definições do Sistema, em Privacidade e segurança, e tenta outra vez."
+ ),
},
"cu_timeout": {
"de": "Das am Bildschirm hat zu lange gedauert " # i18n-allow
"(ueber {secs} Sekunden) und wurde abgebrochen.", # i18n-allow
"en": "That took too long on screen (over {secs} seconds) and was cancelled.",
"es": "Eso tardó demasiado en la pantalla (más de {secs} segundos) y se canceló.",
+ "pt": "Isso demorou demasiado no ecrã (mais de {secs} segundos) e foi cancelado.",
},
# open_app launch readbacks (deterministic local-action path). The German
# column keeps the exact historical wording.
@@ -246,16 +293,19 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Gestartet: {app}", # i18n-allow
"en": "Launched: {app}",
"es": "Iniciado: {app}",
+ "pt": "Iniciado: {app}",
},
"open_app_launched_raised": {
"de": "Gestartet und nach vorn geholt: {app}", # i18n-allow
"en": "Launched and brought to the front: {app}",
"es": "Iniciado y traído al frente: {app}",
+ "pt": "Iniciado e trazido para a frente: {app}",
},
"open_app_not_found": {
"de": "Anwendung '{app}' nicht gefunden.", # i18n-allow
"en": "Application '{app}' was not found.",
"es": "No se encontró la aplicación '{app}'.",
+ "pt": "A aplicação '{app}' não foi encontrada.",
},
# Computer-use is NOT wired on this machine — the honest counterpart of
# ``cu_dispatch_ack`` below, spoken INSTEAD of it. The harness only works
@@ -275,6 +325,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"es": "El control de pantalla está desactivado en este equipo. "
"Actívalo en la configuración con computer_use.enabled y "
"reiníciame una vez.",
+ "pt": (
+ "O controlo do ecrã está desativado neste computador. Ativa-o nas definições com "
+ "computer_use.enabled e reinicia-me uma vez."
+ ),
},
# Computer-use dispatch — the immediate optimistic ACK.
"cu_dispatch_ack": {
@@ -282,6 +336,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"und sage Bescheid, sobald es fertig ist.", # i18n-allow
"en": "On it. I'll handle that on screen and let you know when it's done.",
"es": "Voy. Lo hago directamente en la pantalla y te aviso cuando termine.",
+ "pt": "Vou já. Faço isso diretamente no ecrã e aviso-te quando terminar.",
},
# Computer-use pause: an OS elevation prompt (Windows Secure Desktop & co.)
# is up. A non-elevated process can neither see nor click it (UIPI), so we
@@ -295,6 +350,10 @@ _PHRASES: dict[str, dict[str, str]] = {
"prompt once, then I'll keep going.",
"es": "Esto requiere permisos de administrador. Confirma el aviso de "
"seguridad una vez y continúo.",
+ "pt": (
+ "Isto requer permissões de administrador. Confirma o aviso de segurança uma vez e eu "
+ "continuo."
+ ),
},
# Computer-use human handoff: a screen only the USER may complete is up — a
# login / password entry, a 2FA / one-time-code prompt, or a CAPTCHA. The
@@ -308,6 +367,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"verification, then I'll keep going.",
"es": "Este paso te necesita, inicia sesión o completa la "
"verificación y continúo.",
+ "pt": "Este passo precisa de ti, inicia sessão ou conclui a verificação e eu continuo.",
},
# Cost / budget guards on the computer-use branch.
"cost_cooldown": {
@@ -317,22 +377,29 @@ _PHRASES: dict[str, dict[str, str]] = {
"New requests resume once the cooldown ends.",
"es": "Enfriamiento de costes activo, el presupuesto diario se agotó. "
"Las nuevas solicitudes se reanudan al terminar el enfriamiento.",
+ "pt": (
+ "Pausa de custos ativa, o orçamento diário esgotou-se. Os novos pedidos são "
+ "retomados quando a pausa terminar."
+ ),
},
"task_budget": {
"de": "Task-Budget fuer diese Konversation ueberschritten.", # i18n-allow
"en": "The task budget for this conversation is exceeded.",
"es": "Se superó el presupuesto de tareas de esta conversación.",
+ "pt": "O orçamento de tarefas desta conversa foi excedido.",
},
"daily_budget": {
"de": "Tagesbudget ueberschritten.", # i18n-allow
"en": "The daily budget is exceeded.",
"es": "Se superó el presupuesto diario.",
+ "pt": "O orçamento diário foi excedido.",
},
# Direct local-action tool failure fallback.
"tool_failed": {
"de": "{tool} fehlgeschlagen.", # i18n-allow
"en": "{tool} failed.",
"es": "{tool} falló.",
+ "pt": "{tool} falhou.",
},
# Generic action-failure fallback — the deterministic line behind the
# context-aware composer for ANY failed action (local tool, recovered tool).
@@ -345,6 +412,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Das hat gerade nicht geklappt.", # i18n-allow
"en": "That didn't work just now.",
"es": "Eso no funcionó ahora mismo.",
+ "pt": "Isso não funcionou agora.",
},
# A stale re-render of an already-delivered answer was suppressed: the
# live model executed the leftover rendering order of an earlier delegate
@@ -356,6 +424,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Das hatte ich gerade schon beantwortet. Was genau möchtest du wissen?", # i18n-allow
"en": "I already answered that just now. What exactly would you like to know?",
"es": "Eso ya lo acabo de responder. ¿Qué querías saber exactamente?",
+ "pt": "Acabei de responder a isso. O que querias saber exatamente?",
},
# Action failure WITH a human reason forwarded (the speakable cause pulled
# from the tool's stderr/error — never a bare exit code).
@@ -363,6 +432,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Das hat nicht geklappt: {reason}", # i18n-allow
"en": "That didn't work: {reason}",
"es": "Eso no funcionó: {reason}",
+ "pt": "Isso não funcionou: {reason}",
},
# Delegated-turn failures with a KNOWN internal cause. The raw internal
# strings ("No configured Tool Model completed the delegated turn.") are
@@ -374,16 +444,19 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Keins meiner Modelle hat auf diese Anfrage geantwortet.", # i18n-allow
"en": "None of my models answered this request.",
"es": "Ninguno de mis modelos respondió a esta petición.",
+ "pt": "Nenhum dos meus modelos respondeu a este pedido.",
},
"delegate_no_result": {
"de": "Ich habe dazu kein belastbares Ergebnis zurückbekommen.", # i18n-allow
"en": "I got no grounded result back for that.",
"es": "No recibí ningún resultado sólido para eso.",
+ "pt": "Não recebi nenhum resultado fiável para isso.",
},
"delegate_failed_internal": {
"de": "Dabei ist intern etwas schiefgelaufen, ich habe sicher abgebrochen.", # i18n-allow
"en": "Something went wrong internally, so I stopped safely.",
"es": "Algo falló internamente, así que me detuve de forma segura.",
+ "pt": "Algo falhou internamente, por isso parei em segurança.",
},
# The realtime provider yielded control for an action, but this session has
# no executor to hand it to (no callable supervisor brain, or the request
@@ -395,6 +468,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Aktionen gehen gerade nicht, aber wir können weiter reden.", # i18n-allow
"en": "I can't run actions right now, but we can keep talking.",
"es": "Ahora mismo no puedo ejecutar acciones, pero podemos seguir hablando.",
+ "pt": "Neste momento não consigo executar ações, mas podemos continuar a conversar.",
},
# Every tool the model reached for was GATED — the user's words did not ask
# for it. Distinct from ``actions_unavailable`` above, which claims a
@@ -408,6 +482,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe dafür nichts ausgeführt. Sag mir, was ich tun soll.", # i18n-allow
"en": "I didn't run anything for that. Tell me what you want done.",
"es": "No ejecuté nada para eso. Dime qué quieres que haga.",
+ "pt": "Não executei nada para isso. Diz-me o que queres que eu faça.",
},
# The only thing that ran was a ``run-skill`` instruction load: the model
# read HOW to do it and then stopped, the tool that does the work was never
@@ -419,6 +494,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe die Anleitung dafür geladen, aber noch nichts ausgeführt.", # i18n-allow
"en": "I loaded the instructions for that, but I haven't carried them out yet.",
"es": "Cargué las instrucciones para eso, pero todavía no las ejecuté.",
+ "pt": "Carreguei as instruções para isso, mas ainda não as executei.",
},
# A local action that ran past its short deadline. Replaces the old
# tool-name-prefixed "X timeout after 3s" machine string (which leaked the
@@ -427,6 +503,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Das hat zu lange gedauert, also habe ich abgebrochen.", # i18n-allow
"en": "That took too long, so I stopped.",
"es": "Eso tardó demasiado, así que lo detuve.",
+ "pt": "Isso demorou demasiado, por isso parei.",
},
# Background sub-agent / worker could not be started. The spoken sibling of
# action_failed_* for the spawn paths — the opaque ``exit N`` / a hardcoded
@@ -435,11 +512,13 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich konnte den Hintergrund-Helfer gerade nicht starten.", # i18n-allow
"en": "I couldn't start the background helper just now.",
"es": "No pude iniciar el ayudante en segundo plano ahora mismo.",
+ "pt": "Não consegui iniciar o assistente em segundo plano agora.",
},
"spawn_failed_reason": {
"de": "Ich konnte den Hintergrund-Helfer nicht starten: {reason}", # i18n-allow
"en": "I couldn't start the background helper: {reason}",
"es": "No pude iniciar el ayudante en segundo plano: {reason}",
+ "pt": "Não consegui iniciar o assistente em segundo plano: {reason}",
},
# The mission was accepted but NOTHING will ever pick it up: the spoken ack
# already promised an answer, and the mission would sit PENDING until the
@@ -452,6 +531,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich kann die Aufgabe gerade nicht starten. Starte mich bitte neu.", # i18n-allow
"en": "I can't start the task right now. Please restart me.",
"es": "No puedo iniciar la tarea ahora. Reiníciame, por favor.",
+ "pt": "Não consigo iniciar a tarefa agora. Reinicia-me, por favor.",
},
# ``create_artifact`` handed the page to a background agent. The promise
# names the artifact and says the result will be announced — the tool's
@@ -462,6 +542,7 @@ _PHRASES: dict[str, dict[str, str]] = {
),
"en": "I'm building “{title}” in the background and will tell you when it's ready.",
"es": "Estoy creando «{title}» en segundo plano y te aviso cuando esté listo.",
+ "pt": "Estou a criar «{title}» em segundo plano e aviso-te quando estiver pronto.",
},
"artifact_revising": {
"de": ( # i18n-allow
@@ -469,6 +550,7 @@ _PHRASES: dict[str, dict[str, str]] = {
),
"en": "I'm revising “{title}” in the background and will tell you when it's ready.",
"es": "Estoy revisando «{title}» en segundo plano y te aviso cuando esté listo.",
+ "pt": "Estou a rever «{title}» em segundo plano e aviso-te quando estiver pronto.",
},
# Scheduled-routine failures (jarvis/workflows). A broken routine used to
# vanish into a log line, which is the maintainer's exact complaint: "you
@@ -481,6 +563,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"I'll try again at the next scheduled time.",
"es": "La rutina {name} no pudo iniciarse. "
"Lo intentaré en el próximo momento programado.",
+ "pt": "A rotina {name} não conseguiu arrancar. Vou tentar na próxima hora agendada.",
},
# The scheduler's own poll loop threw — EVERY scheduled routine is stalled,
# not just one, so this names no routine. It retries by itself, hence the
@@ -492,6 +575,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"I'll keep trying.",
"es": "Tus rutinas programadas no se están ejecutando ahora. "
"Seguiré intentándolo.",
+ "pt": "As tuas rotinas agendadas não estão a correr agora. Vou continuar a tentar.",
},
# A routine stopped mid-way. ``{step}`` is the author's own step label or the
# plain ordinal below — NEVER ``step_display_label``'s engineering fallback
@@ -503,6 +587,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"also habe ich sie angehalten.", # i18n-allow
"en": "The routine {name} got stuck at {step}, so I stopped it.",
"es": "La rutina {name} se atascó en {step}, así que la detuve.",
+ "pt": "A rotina {name} ficou presa em {step}, por isso parei-a.",
},
# The reason trails in its own sentence rather than after a colon: it is
# forwarded text and may well end in a full stop of its own.
@@ -513,11 +598,13 @@ _PHRASES: dict[str, dict[str, str]] = {
"The reason: {reason}",
"es": "La rutina {name} se atascó en {step}, así que la detuve. "
"El motivo: {reason}",
+ "pt": "A rotina {name} ficou presa em {step}, por isso parei-a. O motivo: {reason}",
},
"workflow_step_ordinal": {
"de": "Schritt {n}", # i18n-allow
"en": "step {n}",
"es": "el paso {n}",
+ "pt": "o passo {n}",
},
# Fills the ``{name}`` slot when a routine row carries no name. Worded to
# stay grammatical inside the sentences above ("Die Routine ohne Namen
@@ -527,6 +614,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "ohne Namen", # i18n-allow
"en": "without a name",
"es": "sin nombre",
+ "pt": "sem nome",
},
# Deterministic wiki-write fast path (spec A1-A3). The saving line is a
# PROGRESS ack — it must never claim the write already happened; the
@@ -535,32 +623,38 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich schreibe das jetzt ins Wiki.", # i18n-allow
"en": "Writing that to the wiki now.",
"es": "Lo estoy escribiendo en la wiki.",
+ "pt": "Estou a escrever isso na wiki.",
},
"wiki_saved": {
"de": "Im Wiki gespeichert.", # i18n-allow
"en": "Saved to the wiki.",
"es": "Guardado en la wiki.",
+ "pt": "Guardado na wiki.",
},
"wiki_saved_detail": {
"de": "Im Wiki gespeichert: {detail}.", # i18n-allow
"en": "Saved to the wiki: {detail}.",
"es": "Guardado en la wiki: {detail}.",
+ "pt": "Guardado na wiki: {detail}.",
},
"wiki_save_failed": {
"de": "Das Speichern im Wiki hat nicht geklappt.", # i18n-allow
"en": "Saving to the wiki did not work.",
"es": "No se pudo guardar en la wiki.",
+ "pt": "Não foi possível guardar na wiki.",
},
"wiki_save_failed_reason": {
"de": "Das Speichern im Wiki hat nicht geklappt: {reason}", # i18n-allow
"en": "Saving to the wiki did not work: {reason}",
"es": "No se pudo guardar en la wiki: {reason}",
+ "pt": "Não foi possível guardar na wiki: {reason}",
},
"wiki_nothing_to_save": {
"de": "Mir ist nicht klar, was ich ins Wiki schreiben soll. Sag es mir " # i18n-allow
"bitte noch einmal mit Inhalt.", # i18n-allow
"en": "I am not sure what to write to the wiki. Please say it again with the content.",
"es": "No tengo claro qué escribir en la wiki; dímelo otra vez con el contenido.",
+ "pt": "Não tenho a certeza do que escrever na wiki; diz-mo outra vez com o conteúdo.",
},
# No "I am writing the task now" phrase belongs here. One existed for a few
# hours on 2026-07-27 to fill the prompt writer's 10-21 s, and the realtime
@@ -575,21 +669,25 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ist bei {terminal}.", # i18n-allow
"en": "Sent to {terminal}.",
"es": "Enviado a {terminal}.",
+ "pt": "Enviado para {terminal}.",
},
"ide_prompt_sent_files": {
"de": "Ist bei {terminal}, mit {count} Dateien dazu.", # i18n-allow
"en": "Sent to {terminal}, with {count} files attached.",
"es": "Enviado a {terminal}, con {count} archivos adjuntos.",
+ "pt": "Enviado para {terminal}, com {count} ficheiros anexados.",
},
"ide_prompt_sent_one_file": {
"de": "Ist bei {terminal}, samt {file}.", # i18n-allow
"en": "Sent to {terminal}, along with {file}.",
"es": "Enviado a {terminal}, junto con {file}.",
+ "pt": "Enviado para {terminal}, juntamente com {file}.",
},
"ide_terminal_not_running": {
"de": "{terminal} läuft gerade nicht ({status}). Ich habe nichts geschickt.", # i18n-allow
"en": "{terminal} is not running right now ({status}). I sent nothing.",
"es": "{terminal} no está en marcha ahora ({status}). No envié nada.",
+ "pt": "{terminal} não está a correr agora ({status}). Não enviei nada.",
},
# Fan-out: ONE order handed to SEVERAL panes. The partial and the
# nobody-reached cases are separate keys on purpose — the live 2026-07-26
@@ -599,16 +697,19 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ist bei {names}.", # i18n-allow
"en": "Sent to {names}.",
"es": "Enviado a {names}.",
+ "pt": "Enviado para {names}.",
},
"ide_prompt_sent_partial": {
"de": "Ist bei {names}. Zu {failed} bin ich nicht durchgekommen.", # i18n-allow
"en": "Sent to {names}. I could not reach {failed}.",
"es": "Enviado a {names}. No pude llegar a {failed}.",
+ "pt": "Enviado para {names}. Não consegui chegar a {failed}.",
},
"ide_prompt_sent_nobody": {
"de": "Ich bin zu {failed} nicht durchgekommen, es läuft nichts.", # i18n-allow
"en": "I could not reach {failed}, so nothing is running.",
"es": "No pude llegar a {failed}, así que no hay nada en marcha.",
+ "pt": "Não consegui chegar a {failed}, por isso não há nada em curso.",
},
# Typed into the input box but never submitted — looks identical to a
# running agent until you ask it something (the 2026-07-25 popup trap).
@@ -616,6 +717,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Bei {names} steht der Text nur im Eingabefeld.", # i18n-allow
"en": "On {names} the text is only sitting in the input box.",
"es": "En {names} el texto solo está en el cuadro de entrada.",
+ "pt": "Em {names} o texto está apenas na caixa de entrada.",
},
# Joining call-signs for speech. A comma-separated list read aloud sounds
# like an enumeration that never ends; the last pair needs the conjunction.
@@ -623,6 +725,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "{head} und {last}", # i18n-allow
"en": "{head} and {last}",
"es": "{head} y {last}",
+ "pt": "{head} e {last}",
},
# Opening more panes by voice ("spawn five more Claude Code terminals").
# The names are always read back: they are how the user addresses the new
@@ -632,26 +735,31 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "{names} ist offen.", # i18n-allow
"en": "{names} is open.",
"es": "{names} está abierta.",
+ "pt": "{names} está aberto.",
},
"ide_terminals_spawned": {
"de": "{count} neue Terminals: {names}.", # i18n-allow
"en": "{count} new terminals: {names}.",
"es": "{count} terminales nuevas: {names}.",
+ "pt": "{count} terminais novos: {names}.",
},
"ide_terminals_briefing_queued": {
"de": "Ich übergebe ihnen die Aufgabe, sobald die Terminals bereit sind.", # i18n-allow
"en": "I will hand them the task as soon as the terminals are ready.",
"es": "Les entregaré la tarea en cuanto las terminales estén listas.",
+ "pt": "Entrego-lhes a tarefa assim que os terminais estiverem prontos.",
},
"ide_terminals_closed": {
"de": "{count} Terminals geschlossen: {names}.", # i18n-allow
"en": "Closed {count} terminals: {names}.",
"es": "Cerré {count} terminales: {names}.",
+ "pt": "Fechei {count} terminais: {names}.",
},
"ide_terminals_none_to_close": {
"de": "Es sind keine passenden Terminals offen.", # i18n-allow
"en": "There are no matching open terminals.",
"es": "No hay terminales abiertas que coincidan.",
+ "pt": "Não há terminais abertos que correspondam.",
},
# Fewer than asked for, because a pane failed to start mid-batch. Named
# separately from the plain success so the shortfall is impossible to miss.
@@ -659,11 +767,13 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Nur {count} ließen sich öffnen: {names}.", # i18n-allow
"en": "Only {count} could be opened: {names}.",
"es": "Solo se pudieron abrir {count}: {names}.",
+ "pt": "Só foi possível abrir {count}: {names}.",
},
"ide_terminals_open_failed": {
"de": "Ich konnte kein Terminal öffnen.", # i18n-allow
"en": "I could not open a terminal.",
"es": "No pude abrir ninguna terminal.",
+ "pt": "Não consegui abrir nenhum terminal.",
},
# The name came through garbled and lands between two coding CLIs. Asked
# rather than guessed (maintainer directive 2026-07-28): a needless question
@@ -672,11 +782,13 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe {spoken} verstanden. Meintest du {first} oder {second}?", # i18n-allow
"en": "I heard {spoken}. Did you mean {first} or {second}?",
"es": "Escuché {spoken}: ¿te refieres a {first} o a {second}?",
+ "pt": "Ouvi {spoken}: referes-te a {first} ou a {second}?",
},
"ide_terminal_kind_unclear_one": {
"de": "Ich habe {spoken} verstanden. Meintest du {first}?", # i18n-allow
"en": "I heard {spoken}. Did you mean {first}?",
"es": "Escuché {spoken}: ¿te refieres a {first}?",
+ "pt": "Ouvi {spoken}: referes-te a {first}?",
},
# A coding CLI this workspace does not offer was named in a fleet request.
# Said out loud rather than dropped: a name nobody recognises used to fall
@@ -686,6 +798,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Für {name} gibt es keine Terminal-Art. Verfügbar: {available}.", # i18n-allow
"en": "There is no {name} terminal kind. Available: {available}.",
"es": "No hay un tipo de terminal {name}. Disponibles: {available}.",
+ "pt": "Não existe nenhum tipo de terminal {name}. Disponíveis: {available}.",
},
# No workspace was open, so one was opened in the most recent folder. The
# folder is named on purpose: it is an assumption, and hearing it is how the
@@ -694,6 +807,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe {folder} geöffnet: {names}.", # i18n-allow
"en": "I opened {folder}: {names}.",
"es": "Abrí {folder}: {names}.",
+ "pt": "Abri {folder}: {names}.",
},
# A call-sign the transcript almost matched. Both variants REPEAT what was
# heard: the user's own word is the only thing that lets them tell a
@@ -703,11 +817,13 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe {spoken} verstanden. Meinst du {name}?", # i18n-allow
"en": "I heard {spoken}. Did you mean {name}?",
"es": "Entendí {spoken}: ¿te refieres a {name}?",
+ "pt": "Percebi {spoken}: referes-te a {name}?",
},
"ide_terminal_clarify_many": {
"de": "Ich habe {spoken} verstanden. Meinst du {names}?", # i18n-allow
"en": "I heard {spoken}. Did you mean {names}?",
"es": "Entendí {spoken}: ¿te refieres a {names}?",
+ "pt": "Percebi {spoken}: referes-te a {names}?",
},
# The user says a briefing never arrived, but the pane's own receipt says it
# did. Answering with the CLOCK TIME is the point: it is the one thing that
@@ -721,6 +837,7 @@ _PHRASES: dict[str, dict[str, str]] = {
),
"en": "{name} got the task at {time}. I am not sending it twice.",
"es": "{name} recibió la tarea a las {time}: no la envío dos veces.",
+ "pt": "{name} recebeu a tarefa às {time}: não a envio duas vezes.",
},
# The separator for the final pair of an alternative list ("Maggie or Max").
# A phrase entry rather than a literal, so the choice is offered in the
@@ -729,6 +846,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": " oder ", # i18n-allow
"en": " or ",
"es": " o ",
+ "pt": " ou ",
},
# The separator for the final pair of a LIST ("Alex and Blake"). Distinct
# from ``join_or`` because the two questions mean opposite things: "Max or
@@ -737,6 +855,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": " und ", # i18n-allow
"en": " and ",
"es": " y ",
+ "pt": " e ",
},
# Panes were briefed AND one call-sign of the same breath stayed unclear.
# The two halves are said in one sentence on purpose: the user has to hear
@@ -745,6 +864,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich habe außerdem {spoken} verstanden. Meinst du {names}?", # i18n-allow
"en": "I also heard {spoken}. Did you mean {names}?",
"es": "También entendí {spoken}: ¿te refieres a {names}?",
+ "pt": "Também percebi {spoken}: referes-te a {names}?",
},
# The user addressed several panes and only one call-sign survived speech
# recognition. Saying which one was placed is the load-bearing half: it is
@@ -753,6 +873,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Ich konnte nur {names} zuordnen. Wer sollte noch ran?", # i18n-allow
"en": "I could only place {names}. Who else did you mean?",
"es": "Solo pude identificar a {names}: ¿quién más?",
+ "pt": "Só consegui identificar {names}: quem mais?",
},
"ide_terminals_nowhere": {
"de": ( # i18n-allow
@@ -767,14 +888,18 @@ _PHRASES: dict[str, dict[str, str]] = {
"No hay ningún espacio de trabajo abierto ni uno reciente. "
"Elige una carpeta en el IDE agéntico."
),
+ "pt": (
+ "Não há nenhum espaço de trabalho aberto nem nenhum recente. Escolhe uma pasta no "
+ "IDE agêntico."
+ ),
},
}
def resolve_phrase_language(reply_language: str | None, user_text: str) -> str:
- """Resolve de/en/es for a deterministic action phrase.
+ """Resolve de/en/es/pt for a deterministic action phrase.
- An explicit ``brain.reply_language`` pin (de/en/es) wins; otherwise the
+ An explicit ``brain.reply_language`` pin (de/en/es/pt) wins; otherwise the
turn's language is detected from ``user_text``; ambiguous text keeps the
historical German default. Mirrors ``BrainManager._direct_ack_language`` so
every non-LLM spoken path resolves language the same way.
@@ -1028,6 +1153,7 @@ _REASON_FAMILIES: tuple[tuple[re.Pattern[str], dict[str, str]], ...] = (
"Verbinde es in der Plugins-Ansicht.", # i18n-allow
"en": "{subject} is not connected. Connect it in the Plugins view.",
"es": "{subject} no está conectado. Conéctalo en la vista de Plugins.",
+ "pt": "{subject} não está ligado. Liga-o na vista de Plugins.",
},
),
(
@@ -1040,6 +1166,7 @@ _REASON_FAMILIES: tuple[tuple[re.Pattern[str], dict[str, str]], ...] = (
"Verbinde es in der Plugins-Ansicht neu.", # i18n-allow
"en": "The sign-in for {subject} expired. Reconnect it in the Plugins view.",
"es": "La sesión de {subject} caducó. Vuelve a conectarlo en la vista de Plugins.",
+ "pt": "A sessão de {subject} expirou. Volta a ligá-lo na vista de Plugins.",
},
),
(
@@ -1048,6 +1175,7 @@ _REASON_FAMILIES: tuple[tuple[re.Pattern[str], dict[str, str]], ...] = (
"de": "Ich kenne keinen Skill namens {subject}.", # i18n-allow
"en": "I don't know a skill called {subject}.",
"es": "No conozco ninguna skill llamada {subject}.",
+ "pt": "Não conheço nenhuma skill chamada {subject}.",
},
),
(
@@ -1058,6 +1186,7 @@ _REASON_FAMILIES: tuple[tuple[re.Pattern[str], dict[str, str]], ...] = (
"de": "Der Skill {subject} ist noch ein Entwurf. Gib ihn erst frei.", # i18n-allow
"en": "The skill {subject} is still a draft. Promote it first.",
"es": "La skill {subject} sigue siendo un borrador. Actívala primero.",
+ "pt": "A skill {subject} ainda é um rascunho. Ativa-a primeiro.",
},
),
(
@@ -1069,6 +1198,7 @@ _REASON_FAMILIES: tuple[tuple[re.Pattern[str], dict[str, str]], ...] = (
"Schalte ihn erst wieder ein.", # i18n-allow
"en": "The skill {subject} is switched off. Switch it back on first.",
"es": "La skill {subject} está desactivada. Vuelve a activarla primero.",
+ "pt": "A skill {subject} está desativada. Volta a ativá-la primeiro.",
},
),
)
@@ -1089,6 +1219,7 @@ _PERMISSION_CAUSE_TEMPLATES: dict[str, str] = {
"de": "Dodaios hat die Berechtigung {name} gerade nicht.", # i18n-allow
"en": _PERMISSION_CAUSE_EN,
"es": "Dodaios no tiene ahora el permiso de {name}.",
+ "pt": "O Dodaios não tem neste momento a permissão de {name}.",
}
#: How each language names a permission (the macOS UI labels; unverified on a real Mac).
_PERMISSION_CAUSE_NAMES: dict[str, dict[str, str]] = {
@@ -1096,26 +1227,31 @@ _PERMISSION_CAUSE_NAMES: dict[str, dict[str, str]] = {
"de": "Mikrofon", # i18n-allow
"en": "Microphone",
"es": "Micrófono",
+ "pt": "Microfone",
},
"accessibility": {
"de": "Bedienungshilfen", # i18n-allow
"en": "Accessibility",
"es": "Accesibilidad",
+ "pt": "Acessibilidade",
},
"screen_recording": {
"de": "Bildschirmaufnahme", # i18n-allow
"en": "Screen Recording",
"es": "Grabación de pantalla",
+ "pt": "Gravação de ecrã",
},
"input_monitoring": {
"de": "Eingabeüberwachung", # i18n-allow
"en": "Input Monitoring",
"es": "Monitorización de entrada",
+ "pt": "Monitorização de entrada",
},
"automation": {
"de": "Automatisierung", # i18n-allow
"en": "Automation",
"es": "Automatización",
+ "pt": "Automatização",
},
}
_PERMISSION_CAUSE_NAMES["event_posting"] = _PERMISSION_CAUSE_NAMES["accessibility"]
@@ -1129,11 +1265,13 @@ _PERMISSION_FIXED_CAUSES: dict[str, dict[str, str]] = {
"de": "Dodaios hat angehalten, weil ein Systemdialog offen ist.", # i18n-allow
"en": "Dodaios paused because a macOS system dialog is open.",
"es": "Dodaios se detuvo porque hay un cuadro de diálogo del sistema abierto.",
+ "pt": "O Dodaios parou porque há uma caixa de diálogo do sistema aberta.",
},
"A macOS permission is missing right now.": {
"de": "Eine macOS-Berechtigung fehlt gerade.", # i18n-allow
"en": "A macOS permission is missing right now.",
"es": "Falta un permiso de macOS en este momento.",
+ "pt": "Falta uma permissão do macOS neste momento.",
},
}
@@ -1288,7 +1426,7 @@ _CU_BLOCKED_PERMISSION_RE = re.compile(
#: The engine's exit code for a tool/action failure; ``blocked_permission`` rides it.
_CU_TOOL_EXIT_CODE = 8
-#: How the localized (de/es) phrase names a permission, found by keyword in the
+#: How the localized (de/es/pt) phrase names a permission, found by keyword in the
#: engine's English sentence: ``(keyword, {lang: (permission name, settings pane)})``.
#: The pane names are the macOS UI labels (UNVERIFIED on a real Mac: they move
#: between macOS versions).
@@ -1304,6 +1442,10 @@ _BLOCKED_PERMISSION_NAMES: tuple[tuple[str, dict[str, tuple[str, str]]], ...] =
"Accesibilidad",
"Ajustes del Sistema > Privacidad y seguridad > Accesibilidad",
),
+ "pt": (
+ "Acessibilidade",
+ "Definições do Sistema > Privacidade e segurança > Acessibilidade",
+ ),
},
),
(
@@ -1319,6 +1461,11 @@ _BLOCKED_PERMISSION_NAMES: tuple[tuple[str, dict[str, tuple[str, str]]], ...] =
"Ajustes del Sistema > Privacidad y seguridad > "
"Grabación de pantalla y audio del sistema",
),
+ "pt": (
+ "Gravação de ecrã e áudio do sistema",
+ "Definições do Sistema > Privacidade e segurança > Gravação de ecrã e áudio do "
+ "sistema",
+ ),
},
),
(
@@ -1332,6 +1479,10 @@ _BLOCKED_PERMISSION_NAMES: tuple[tuple[str, dict[str, tuple[str, str]]], ...] =
"Supervisión de entradas",
"Ajustes del Sistema > Privacidad y seguridad > Supervisión de entradas",
),
+ "pt": (
+ "Monitorização de entrada",
+ "Definições do Sistema > Privacidade e segurança > Monitorização de entrada",
+ ),
},
),
(
@@ -1345,6 +1496,10 @@ _BLOCKED_PERMISSION_NAMES: tuple[tuple[str, dict[str, tuple[str, str]]], ...] =
"Micrófono",
"Ajustes del Sistema > Privacidad y seguridad > Micrófono",
),
+ "pt": (
+ "Microfone",
+ "Definições do Sistema > Privacidade e segurança > Microfone",
+ ),
},
),
(
@@ -1358,6 +1513,10 @@ _BLOCKED_PERMISSION_NAMES: tuple[tuple[str, dict[str, tuple[str, str]]], ...] =
"Automatización",
"Ajustes del Sistema > Privacidad y seguridad > Automatización",
),
+ "pt": (
+ "Automatização",
+ "Definições do Sistema > Privacidade e segurança > Automatização",
+ ),
},
),
)
@@ -1394,15 +1553,15 @@ def _spoken_en(sentence: str) -> str:
def _spoken_pane(text: str, lang: str) -> str:
"""Replace the written Settings-path separators with speakable words."""
- and_word = {"de": "und", "es": "y"}.get(lang, "and")
- then_word = {"de": "dann", "es": "luego"}.get(lang, "then")
+ and_word = {"de": "und", "es": "y", "pt": "e"}.get(lang, "and")
+ then_word = {"de": "dann", "es": "luego", "pt": "depois"}.get(lang, "then")
return text.replace(" > ", f", {then_word} ").replace(" & ", f" {and_word} ")
def _blocked_permission_readback(lang: str, sentence: str) -> str:
"""The localized readback of a ``blocked_permission`` mission (no LLM, AP-11).
- English forwards the engine's own sentence (second person, speakable). de/es
+ English forwards the engine's own sentence (second person, speakable). de/es/pt
cannot (it is English), so they name the permission by keyword and pick the
remedy by REASON: a dialog still open, a restart, an unaskable permission or a
restriction each get their own phrase, and only a switch that is off says "allow
diff --git a/jarvis/voice/config_readback.py b/jarvis/voice/config_readback.py
index 64b7aa080f..f8836c39d5 100644
--- a/jarvis/voice/config_readback.py
+++ b/jarvis/voice/config_readback.py
@@ -7,7 +7,7 @@ brain must never freely phrase "done" for a change that was refused or rolled
back (the maintainer's original ask: "don't confirm something that wasn't done").
This renders that line directly from the ``set_config_value`` tool result, in
-de/en/es (every supported language — AGENTS.md "Runtime Output Language"). It is
+de/en/es/pt (every supported language — AGENTS.md "Runtime Output Language"). It is
separate from ``echo_confirmation.format_outcome`` (the two-turn confirm flow)
because the failure results here carry no ``PendingMutation``, only an
``error_kind``.
@@ -20,7 +20,7 @@ from typing import Any, Literal
from .echo_confirmation import is_sensitive_path
-_SUPPORTED = ("de", "en", "es")
+_SUPPORTED = ("de", "en", "es", "pt")
_DEFAULT = "de"
# outcome key -> {lang -> template}. ``{label}`` / ``{value}`` are filled for the
@@ -30,6 +30,7 @@ _PHRASES: dict[str, dict[str, str]] = {
"de": "Erledigt — {label} ist jetzt {value}.",
"en": "Done — {label} is now {value}.",
"es": "Listo — {label} ahora es {value}.",
+ "pt": "Feito — {label} agora é {value}.",
},
"applied_restart": {
"de": "Erledigt — {label} ist jetzt {value}. Starte Dodaios einmal neu, "
@@ -38,6 +39,8 @@ _PHRASES: dict[str, dict[str, str]] = {
"effect.",
"es": "Listo — {label} ahora es {value}. Reinicia Dodaios una vez para que "
"surta efecto.",
+ "pt": "Feito — {label} agora é {value}. Reinicia o Dodaios uma vez para "
+ "que tenha efeito.",
},
# Hard-refuse (secrets / self-lockout) — an honest decline, never a question.
"refused": {
@@ -46,22 +49,26 @@ _PHRASES: dict[str, dict[str, str]] = {
"en": "I won't change that by voice — please do that deliberately in "
"Settings.",
"es": "Eso no lo cambio por voz — hazlo a propósito en los Ajustes.",
+ "pt": "Isso não altero por voz — faz isso de propósito nas Definições.",
},
"unknown_setting": {
"de": "Das ist keine Einstellung, die ich ändern kann.", # i18n-allow
"en": "That isn't a setting I can change.",
"es": "Ese no es un ajuste que pueda cambiar.",
+ "pt": "Essa não é uma definição que eu possa alterar.",
},
"invalid_value": {
"de": "Das geht so nicht — die Einstellung bleibt unverändert.", # i18n-allow
"en": "That doesn't work — the setting stays unchanged.",
"es": "Eso no funciona — el ajuste queda sin cambios.",
+ "pt": "Assim não dá — a definição fica sem alterações.",
},
"rollback": {
"de": "Konnte ich nicht speichern, ich habe den vorherigen Stand " # i18n-allow
"wiederhergestellt.", # i18n-allow
"en": "I couldn't save it, I restored the previous state.",
"es": "No pude guardarlo, restauré el estado anterior.",
+ "pt": "Não consegui guardar, repus o estado anterior.",
},
}
@@ -83,11 +90,11 @@ def _lang(language: str | None) -> str:
def _value_for_speech(value: Any, lang: str) -> str:
"""Render a setting value for speech (bool localized, else stringified)."""
if isinstance(value, bool): # before int — bool is an int subtype
- on = {"de": "an", "en": "on", "es": "activado"}[lang]
- off = {"de": "aus", "en": "off", "es": "desactivado"}[lang]
+ on = {"de": "an", "en": "on", "es": "activado", "pt": "ativado"}[lang]
+ off = {"de": "aus", "en": "off", "es": "desactivado", "pt": "desativado"}[lang]
return on if value else off
if value is None:
- return {"de": "leer", "en": "empty", "es": "vacío"}[lang]
+ return {"de": "leer", "en": "empty", "es": "vacío", "pt": "vazio"}[lang]
return str(value)
@@ -98,7 +105,7 @@ def _label(description: str) -> str:
def config_readback(
- *, success: bool, output: Any, language: str | Literal["de", "en", "es"] = "de"
+ *, success: bool, output: Any, language: str | Literal["de", "en", "es", "pt"] = "de"
) -> str | None:
"""The honest spoken line for a ``set_config_value`` result, or ``None``.
@@ -114,7 +121,7 @@ def config_readback(
sens = is_sensitive_path(str(output.get("path", "")))
if sens:
value = {"de": "der neue Wert", "en": "the new value",
- "es": "el nuevo valor"}[lang]
+ "es": "el nuevo valor", "pt": "o novo valor"}[lang]
else:
value = _value_for_speech(output.get("new_value"), lang)
key = "applied_restart" if output.get("requires_restart") else "applied"
diff --git a/jarvis/voice/contextual_readback.py b/jarvis/voice/contextual_readback.py
index df3ab07099..132b8f6a81 100644
--- a/jarvis/voice/contextual_readback.py
+++ b/jarvis/voice/contextual_readback.py
@@ -105,7 +105,9 @@ _DIGITS_RE = re.compile(r"\d+")
# defense-in-depth check). Lowercased before comparison.
_CONTENT_WORD_RE = re.compile(r"[^\W\d_]{4,}", re.UNICODE)
-_LANGUAGE_NAMES = {"de": "German", "en": "English", "es": "Spanish"}
+_LANGUAGE_NAMES = {
+ "de": "German", "en": "English", "es": "Spanish", "pt": "European Portuguese",
+}
def build_readback_persona(language: str, *, instruction: str, facts_block: str) -> str:
diff --git a/jarvis/voice/echo_confirmation.py b/jarvis/voice/echo_confirmation.py
index bbb9f0fc21..2fc10f86e5 100644
--- a/jarvis/voice/echo_confirmation.py
+++ b/jarvis/voice/echo_confirmation.py
@@ -141,6 +141,59 @@ _AMBIGUOUS_PATTERNS_ES: tuple[str, ...] = (
r"\bni idea\b",
)
+# European Portuguese (Runtime Output Language doctrine: every supported
+# language gets its own patterns). As in Spanish, "para" is NOT a veto keyword:
+# it is the common preposition ("para enviar" = "to send"). "não sei" needs no
+# ambiguous entry — the veto pass sees "não" first (safety bias, Plan-§AP-12).
+# A bare "podes" ("can you") is NOT a confirmation: it opens questions such as
+# "podes repetir?" ("can you repeat that?"), which must never approve a pending
+# action. It counts only with a go-ahead verb, and "faz" ("do") only as the
+# whole reply or as "faz isso" / "faz lá" ("do that").
+_CONFIRM_PATTERNS_PT: tuple[str, ...] = (
+ r"\bsim\b",
+ r"\bclaro\b",
+ r"\bpode ser\b",
+ r"\bpodes (avan(ç|c)ar|continuar|enviar|fazer|mandar|seguir)\b",
+ r"\bfor(ç|c)a\b",
+ r"^\W*faz\W*$",
+ r"\bfaz (isso|l(á|a))\b",
+ r"\bavan(ç|c)a\b",
+ r"\bok\b",
+ r"\bokay\b",
+ r"\bcerto\b",
+ r"\bcorreto\b",
+ r"\bexato\b",
+ r"\bperfeito\b",
+ r"\bde acordo\b",
+ r"\bconfirm(o|ar|ado)?\b",
+ r"\bv(á|a) l(á|a)\b",
+)
+
+_VETO_PATTERNS_PT: tuple[str, ...] = (
+ r"\bn(ã|a)o\b",
+ r"\bcancela(r)?\b",
+ r"\baborta(r)?\b",
+ r"\bp(á|a)ra com isso\b",
+ r"\bdeixa estar\b",
+ r"\bdeixa l(á|a)\b",
+ r"\besquece\b",
+ r"\bnem pensar\b",
+ r"\balto\b",
+ r"\bbasta\b",
+ r"\berrado\b",
+ r"\bincorreto\b",
+ r"\bnegativo\b",
+)
+
+_AMBIGUOUS_PATTERNS_PT: tuple[str, ...] = (
+ r"\btalvez\b",
+ r"\bse calhar\b",
+ r"\bespera\b",
+ r"\bmomento\b",
+ r"\bsei l(á|a)\b",
+ r"\b(hum|hmm|hm|eh)\b",
+)
+
ResponseVerdict = Literal["confirm", "veto", "ambiguous", "unknown"]
@@ -165,6 +218,10 @@ def classify_response(transcript: str, *, language: str = "de") -> ResponseVerdi
veto_pats = _VETO_PATTERNS_ES
confirm_pats = _CONFIRM_PATTERNS_ES
ambig_pats = _AMBIGUOUS_PATTERNS_ES
+ elif language == "pt":
+ veto_pats = _VETO_PATTERNS_PT
+ confirm_pats = _CONFIRM_PATTERNS_PT
+ ambig_pats = _AMBIGUOUS_PATTERNS_PT
else:
veto_pats = _VETO_PATTERNS_DE
confirm_pats = _CONFIRM_PATTERNS_DE
@@ -245,17 +302,33 @@ def _voice_label(description: str) -> str:
return head.rstrip(",;:.!?")
-def _format_value_for_speech(value: Any) -> str:
+# Spoken words for primitive values, per supported reply language. An
+# unknown language code speaks English (AP-21), never German.
+_VALUE_WORDS: dict[str, dict[str, str]] = {
+ "de": {"on": "an", "off": "aus", "empty": "leer"}, # i18n-allow
+ "en": {"on": "on", "off": "off", "empty": "empty"},
+ "es": {"on": "activado", "off": "desactivado", "empty": "vacío"}, # i18n-allow
+ "pt": {"on": "ligado", "off": "desligado", "empty": "vazio"}, # i18n-allow
+}
+
+
+def _lang_key(language: str, table: dict[str, Any]) -> str:
+ """*language* when the table carries it, else English."""
+ return language if language in table else "en"
+
+
+def _format_value_for_speech(value: Any, language: str = "de") -> str:
"""Voice-friendly string from a primitive value.
Phase 7.4 keeps this simple — number verbalization ("one point three")
is Phase 7.6 (ideally TTS handles that itself). Here: stringify.
"""
+ words = _VALUE_WORDS[_lang_key(language, _VALUE_WORDS)]
if isinstance(value, bool):
# bool must be checked BEFORE int (bool is an int subtype).
- return "an" if value else "aus"
+ return words["on"] if value else words["off"]
if value is None:
- return "leer"
+ return words["empty"]
return str(value)
@@ -264,18 +337,18 @@ def _format_value_for_speech(value: Any) -> str:
# ----------------------------------------------------------------------
-_ECHO_TEMPLATE_DE = (
- "Verstanden — {label} wechselt von {old} zu {new}. Bestätigen?" # i18n-allow
-)
-_ECHO_TEMPLATE_EN = (
- "Got it — {label} switches from {old} to {new}. Confirm?"
-)
-_ECHO_TEMPLATE_SENSITIVE_DE = (
- "Verstanden — {label} auf einen neuen Wert. Bestätigen?" # i18n-allow
-)
-_ECHO_TEMPLATE_SENSITIVE_EN = (
- "Got it — {label} to a new value. Confirm?"
-)
+_ECHO_TEMPLATES: dict[str, str] = {
+ "de": "Verstanden — {label} wechselt von {old} zu {new}. Bestätigen?", # i18n-allow
+ "en": "Got it — {label} switches from {old} to {new}. Confirm?",
+ "es": "Entendido — {label} cambia de {old} a {new}. ¿Confirmas?", # i18n-allow
+ "pt": "Entendido — {label} muda de {old} para {new}. Confirmas?", # i18n-allow
+}
+_ECHO_TEMPLATES_SENSITIVE: dict[str, str] = {
+ "de": "Verstanden — {label} auf einen neuen Wert. Bestätigen?", # i18n-allow
+ "en": "Got it — {label} to a new value. Confirm?",
+ "es": "Entendido — {label} a un valor nuevo. ¿Confirmas?", # i18n-allow
+ "pt": "Entendido — {label} para um valor novo. Confirmas?", # i18n-allow
+}
def format_confirmation(
@@ -288,14 +361,13 @@ def format_confirmation(
value is omitted entirely — defense-in-depth against a TTS secret leak.
"""
label = _voice_label(pending.description)
+ lang = _lang_key(language, _ECHO_TEMPLATES)
if is_sensitive_path(pending.path):
- tmpl = _ECHO_TEMPLATE_SENSITIVE_DE if language == "de" else _ECHO_TEMPLATE_SENSITIVE_EN
- return tmpl.format(label=label)
- tmpl = _ECHO_TEMPLATE_DE if language == "de" else _ECHO_TEMPLATE_EN
- return tmpl.format(
+ return _ECHO_TEMPLATES_SENSITIVE[lang].format(label=label)
+ return _ECHO_TEMPLATES[lang].format(
label=label,
- old=_format_value_for_speech(pending.old_value),
- new=_format_value_for_speech(pending.new_value),
+ old=_format_value_for_speech(pending.old_value, lang),
+ new=_format_value_for_speech(pending.new_value, lang),
)
@@ -314,6 +386,99 @@ OutcomeKind = Literal[
"timeout", # TIMEOUT
]
+# Generic stand-ins for sensitive values / errors (no plaintext leak).
+_OUTCOME_WORDS: dict[str, dict[str, str]] = {
+ "de": {
+ "new_value": "der neue Wert", # i18n-allow
+ "old_value": "der vorherige Wert", # i18n-allow
+ "validation_failed": "Validierung schlug fehl", # i18n-allow
+ "unknown_error": "unbekannter Fehler", # i18n-allow
+ },
+ "en": {
+ "new_value": "the new value",
+ "old_value": "the previous value",
+ "validation_failed": "validation failed",
+ "unknown_error": "unknown error",
+ },
+ "es": {
+ "new_value": "el valor nuevo", # i18n-allow
+ "old_value": "el valor anterior", # i18n-allow
+ "validation_failed": "la validación falló", # i18n-allow
+ "unknown_error": "error desconocido", # i18n-allow
+ },
+ "pt": {
+ "new_value": "o valor novo", # i18n-allow
+ "old_value": "o valor anterior", # i18n-allow
+ "validation_failed": "a validação falhou", # i18n-allow
+ "unknown_error": "erro desconhecido", # i18n-allow
+ },
+}
+
+# Outcome sentences; placeholders {label}, {new}, {old}, {err}.
+_OUTCOME_TEMPLATES: dict[str, dict[str, str]] = {
+ "de": {
+ "safe_applied": "Geht klar — {label} jetzt {new}.", # i18n-allow
+ "applied": "Erledigt — {label} ist jetzt {new}.", # i18n-allow
+ "applied_restart": (
+ "Erledigt — {label} ist jetzt {new}. " # i18n-allow
+ "Bitte einmal Dodaios neustarten, damit's wirkt." # i18n-allow
+ ),
+ "validate_failed": "Geht nicht — {err}. Setting bleibt {old}.", # i18n-allow
+ "rollback": (
+ "Konnte nicht gespeichert werden, hab den vorherigen " # i18n-allow
+ "Zustand wiederhergestellt. {err}" # i18n-allow
+ ),
+ "vetoed": "Okay, lass ich.", # i18n-allow
+ "timeout": (
+ "Hab keine Antwort gehört, brech ich ab. Setting bleibt {old}." # i18n-allow
+ ),
+ },
+ "en": {
+ "safe_applied": "Got it — {label} is now {new}.",
+ "applied": "Done — {label} is now {new}.",
+ "applied_restart": (
+ "Done — {label} is now {new}. "
+ "Please restart Dodaios for the change to take effect."
+ ),
+ "validate_failed": "Can't do that — {err}. Setting stays {old}.",
+ "rollback": "Couldn't save it, reverted to the previous state. {err}",
+ "vetoed": "Okay, leaving it.",
+ "timeout": "No answer heard, aborting. Setting stays {old}.",
+ },
+ "es": {
+ "safe_applied": "Hecho — {label} ahora es {new}.", # i18n-allow
+ "applied": "Listo — {label} ahora es {new}.", # i18n-allow
+ "applied_restart": (
+ "Listo — {label} ahora es {new}. " # i18n-allow
+ "Reinicia Dodaios para que el cambio surta efecto." # i18n-allow
+ ),
+ "validate_failed": "No se puede — {err}. El ajuste sigue en {old}.", # i18n-allow
+ "rollback": (
+ "No se pudo guardar, he restaurado el estado anterior. {err}" # i18n-allow
+ ),
+ "vetoed": "Vale, lo dejo.", # i18n-allow
+ "timeout": (
+ "No he oído respuesta, lo cancelo. El ajuste sigue en {old}." # i18n-allow
+ ),
+ },
+ "pt": {
+ "safe_applied": "Feito — {label} agora é {new}.", # i18n-allow
+ "applied": "Pronto — {label} agora é {new}.", # i18n-allow
+ "applied_restart": (
+ "Pronto — {label} agora é {new}. " # i18n-allow
+ "Reinicia o Dodaios para a alteração ter efeito." # i18n-allow
+ ),
+ "validate_failed": "Não dá — {err}. A definição fica em {old}.", # i18n-allow
+ "rollback": (
+ "Não consegui guardar, repus o estado anterior. {err}" # i18n-allow
+ ),
+ "vetoed": "Está bem, deixo estar.", # i18n-allow
+ "timeout": (
+ "Não ouvi resposta, vou cancelar. A definição fica em {old}." # i18n-allow
+ ),
+ },
+}
+
def format_outcome(
kind: OutcomeKind,
@@ -330,74 +495,21 @@ def format_outcome(
message can contain the plaintext value via `repr()` and would
otherwise leak it (Plan-§AP-2).
"""
+ lang = _lang_key(language, _OUTCOME_TEMPLATES)
+ words = _OUTCOME_WORDS[lang]
label = _voice_label(pending.description)
is_sens = is_sensitive_path(pending.path)
- new_str = (
- "der neue Wert" if (is_sens and language == "de")
- else "the new value" if (is_sens and language == "en")
- else _format_value_for_speech(pending.new_value)
- )
- old_str = (
- "der vorherige Wert" if (is_sens and language == "de")
- else "the previous value" if (is_sens and language == "en")
- else _format_value_for_speech(pending.old_value)
- )
if is_sens:
+ new_str = words["new_value"]
+ old_str = words["old_value"]
# Generic phrase — no plaintext leak via the exception message.
- err = (
- "Validierung schlug fehl"
- if language == "de"
- else "validation failed"
- )
+ err = words["validation_failed"]
else:
- err = short_error or (
- "unbekannter Fehler" if language == "de" else "unknown error" # i18n-allow
- )
-
- if language == "de":
- if kind == "safe_applied":
- return f"Geht klar — {label} jetzt {new_str}."
- if kind == "applied":
- return f"Erledigt — {label} ist jetzt {new_str}."
- if kind == "applied_restart":
- return (
- f"Erledigt — {label} ist jetzt {new_str}. "
- "Bitte einmal Dodaios neustarten, damit's wirkt."
- )
- if kind == "validate_failed":
- return f"Geht nicht — {err}. Setting bleibt {old_str}." # i18n-allow
- if kind == "rollback":
- return (
- "Konnte nicht gespeichert werden, hab den vorherigen " # i18n-allow
- f"Zustand wiederhergestellt. {err}" # i18n-allow
- )
- if kind == "vetoed":
- return "Okay, lass ich."
- if kind == "timeout":
- return f"Hab keine Antwort gehört, brech ich ab. Setting bleibt {old_str}." # i18n-allow
- return ""
-
- # English
- if kind == "safe_applied":
- return f"Got it — {label} is now {new_str}."
- if kind == "applied":
- return f"Done — {label} is now {new_str}."
- if kind == "applied_restart":
- return (
- f"Done — {label} is now {new_str}. "
- "Please restart Dodaios for the change to take effect."
- )
- if kind == "validate_failed":
- return f"Can't do that — {err}. Setting stays {old_str}."
- if kind == "rollback":
- return (
- "Couldn't save it, reverted to the previous state. " + err
- )
- if kind == "vetoed":
- return "Okay, leaving it."
- if kind == "timeout":
- return f"No answer heard, aborting. Setting stays {old_str}."
- return ""
+ new_str = _format_value_for_speech(pending.new_value, lang)
+ old_str = _format_value_for_speech(pending.old_value, lang)
+ err = short_error or words["unknown_error"]
+ template = _OUTCOME_TEMPLATES[lang].get(kind, "")
+ return template.format(label=label, new=new_str, old=old_str, err=err)
def short_error_from_exception(exc: BaseException) -> str:
diff --git a/jarvis/voice/instant_ack.py b/jarvis/voice/instant_ack.py
index 8d0e2e0189..570fd3076a 100644
--- a/jarvis/voice/instant_ack.py
+++ b/jarvis/voice/instant_ack.py
@@ -32,7 +32,7 @@ Design constraints, each of which killed an earlier attempt:
canned "On it." — so the ACTION pool is deliberately empty and the class
is marked ``contextual``.
-German/Spanish strings below are runtime voice output (AGENTS.md §1).
+German/Spanish/Portuguese strings below are runtime voice output (AGENTS.md §1).
"""
from __future__ import annotations
@@ -52,7 +52,7 @@ from jarvis.brain.turn_planner import TurnPlan, TurnReason, is_lookup_shape
log = logging.getLogger(__name__)
-_SUPPORTED_LANGUAGES = ("de", "en", "es")
+_SUPPORTED_LANGUAGES = ("de", "en", "es", "pt")
_DEFAULT_LANGUAGE = "en"
#: Grace window for SHORT work: speak only if the turn is still running
@@ -167,6 +167,12 @@ _POOLS: dict[WorkClass, dict[str, tuple[str, ...]]] = {
"Estoy buscando información actual.",
"Una búsqueda rápida, un momento.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Estou a pesquisar isso online.",
+ "Um momento, vou ver online.",
+ "Estou a ir buscar informação atual.",
+ "Uma pesquisa rápida, um momento.",
+ ),
},
WorkClass.PERSONAL: {
"de": ( # i18n-allow: localized runtime voice output
@@ -187,6 +193,12 @@ _POOLS: dict[WorkClass, dict[str, tuple[str, ...]]] = {
"Busco eso en tus datos.",
"Reviso lo que tengo tuyo sobre eso.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Estou a ver os teus registos.",
+ "Um momento, vou ver nas tuas coisas.",
+ "Vou procurar isso nos teus dados.",
+ "Vou ver o que tenho teu sobre isso.",
+ ),
},
WorkClass.SCREEN: {
"de": ( # i18n-allow: localized runtime voice output
@@ -207,6 +219,12 @@ _POOLS: dict[WorkClass, dict[str, tuple[str, ...]]] = {
"Tomo la pantalla un momento.",
"Veo qué hay en pantalla.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Estou a olhar para o ecrã.",
+ "Um momento, vou ver o ecrã.",
+ "Fico com o ecrã por um momento.",
+ "Vou ver o que está no ecrã.",
+ ),
},
# ``{agent}`` is the wake-word-derived agent brand ("<Name>-Agent"),
# rendered by the caller — never a hardcoded product name (AGENTS.md §4).
@@ -229,9 +247,15 @@ _POOLS: dict[WorkClass, dict[str, tuple[str, ...]]] = {
"Pongo a un {agent} en ello.",
"Eso queda con un {agent} desde ahora.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Vou passar isso a um {agent}.",
+ "Um {agent} trata disso, eu depois aviso.",
+ "Vou pôr um {agent} a tratar disso.",
+ "Isso fica com um {agent} a partir de agora.",
+ ),
},
# ACTION: deliberately empty — an action ack must reference the request.
- WorkClass.ACTION: {"de": (), "en": (), "es": ()},
+ WorkClass.ACTION: {"de": (), "en": (), "es": (), "pt": ()},
}
# No-repeat memory per (class, language): back-to-back acks never share a
@@ -566,6 +590,106 @@ _INTENT_VERBS: dict[str, frozenset[str]] = {
"termino",
}
),
+ "pt": frozenset(
+ {
+ "abro",
+ "vou",
+ "procuro",
+ "pesquiso",
+ "vejo",
+ "verifico",
+ "leio",
+ "escrevo",
+ "envio",
+ "mando",
+ "ponho",
+ "mudo",
+ "altero",
+ "ligo",
+ "desligo",
+ "guardo",
+ "executo",
+ "anoto",
+ "ativo",
+ "desativo",
+ "inicio",
+ "arranco",
+ "consulto",
+ "preparo",
+ "reservo",
+ "pergunto",
+ "faco",
+ "comeco",
+ "passo",
+ "dou",
+ "fecho",
+ "movo",
+ "copio",
+ "apago",
+ "crio",
+ "instalo",
+ "atualizo",
+ "reinicio",
+ "paro",
+ "pauso",
+ "retomo",
+ "dito",
+ "gravo",
+ "agendo",
+ "lembro",
+ "termino",
+ "toco",
+ "trato",
+ "marco",
+ "abrir",
+ "procurar",
+ "pesquisar",
+ "ver",
+ "verificar",
+ "ler",
+ "escrever",
+ "enviar",
+ "mandar",
+ "mudar",
+ "alterar",
+ "ligar",
+ "desligar",
+ "guardar",
+ "executar",
+ "anotar",
+ "ativar",
+ "desativar",
+ "iniciar",
+ "arrancar",
+ "consultar",
+ "preparar",
+ "reservar",
+ "perguntar",
+ "fazer",
+ "comecar",
+ "passar",
+ "dar",
+ "fechar",
+ "mover",
+ "copiar",
+ "apagar",
+ "criar",
+ "instalar",
+ "atualizar",
+ "reiniciar",
+ "parar",
+ "pausar",
+ "retomar",
+ "ditar",
+ "gravar",
+ "agendar",
+ "lembrar",
+ "terminar",
+ "tocar",
+ "tratar",
+ "marcar",
+ }
+ ),
}
# Function words, politeness, and time adverbs a contextual line may use
@@ -825,6 +949,82 @@ _FREE_WORDS: dict[str, frozenset[str]] = {
"voy",
}
),
+ "pt": frozenset(
+ {
+ "eu",
+ "a",
+ "o",
+ "os",
+ "as",
+ "um",
+ "uma",
+ "uns",
+ "umas",
+ "em",
+ "no",
+ "na",
+ "nos",
+ "nas",
+ "num",
+ "numa",
+ "de",
+ "do",
+ "da",
+ "dos",
+ "das",
+ "ao",
+ "aos",
+ "para",
+ "pra",
+ "por",
+ "pelo",
+ "pela",
+ "com",
+ "te",
+ "ti",
+ "teu",
+ "tua",
+ "teus",
+ "tuas",
+ "agora",
+ "mesmo",
+ "ja",
+ "momento",
+ "ok",
+ "claro",
+ "isso",
+ "isto",
+ "disso",
+ "disto",
+ "e",
+ "que",
+ "se",
+ "me",
+ "lhe",
+ "rapido",
+ "rapidamente",
+ "sim",
+ "bem",
+ "sobre",
+ "desde",
+ "este",
+ "esta",
+ "esse",
+ "essa",
+ "aqui",
+ "ali",
+ "primeiro",
+ "depois",
+ "tudo",
+ "como",
+ "pediste",
+ "pedido",
+ "estou",
+ "seguida",
+ "entao",
+ "so",
+ }
+ ),
}
# A completion / result claim in an ack is the one thing that must never
@@ -850,7 +1050,14 @@ _RESULT_MARKER_RE = re.compile(
r"enviado|enviada|activado|activada)\b|"
r"\b(?:he|ya he)\s+(?:\w+\s+){0,3}"
r"(?:abierto|hecho|guardado|enviado|encontrado|revisado|terminado)\b|"
- r"\b(?:hecho|listo|terminado|encontrado)\b"
+ r"\b(?:hecho|listo|terminado|encontrado)\b|"
+ r"\b(?:esta|estao|ja esta|ja estao)\s+"
+ r"(?:aberto|aberta|pronto|pronta|feito|feita|guardado|guardada|"
+ r"enviado|enviada|ativado|ativada|ligado|ligada|desligado|desligada)\b|"
+ r"\b(?:tenho|ja tenho)\s+(?:\w+\s+){0,3}"
+ r"(?:aberto|feito|guardado|enviado|encontrado|verificado|terminado)\b|"
+ r"\b(?:abri|fiz|guardei|enviei|mandei|encontrei|verifiquei|terminei|"
+ r"liguei|desliguei|ativei|desativei|pus|feito|concluido)\b"
r")"
)
@@ -1050,6 +1257,11 @@ _PROGRESS_POOLS: dict[ToolActivity, dict[str, tuple[str, ...]]] = {
"La búsqueda sigue en marcha.",
"La consulta en línea necesita un momento más.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Ainda estou a pesquisar.",
+ "A pesquisa ainda está a decorrer.",
+ "A pesquisa online precisa de mais um momento.",
+ ),
},
ToolActivity.READ: {
"de": ( # i18n-allow: localized runtime voice output
@@ -1067,6 +1279,11 @@ _PROGRESS_POOLS: dict[ToolActivity, dict[str, tuple[str, ...]]] = {
"Todavía lo estoy revisando.",
"Sigo con ello, un momento.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Ainda estou a ler os teus registos.",
+ "Ainda estou a ver isso.",
+ "Continuo a ler, um momento.",
+ ),
},
ToolActivity.SCREEN: {
"de": ( # i18n-allow: localized runtime voice output
@@ -1084,6 +1301,11 @@ _PROGRESS_POOLS: dict[ToolActivity, dict[str, tuple[str, ...]]] = {
"El paso en pantalla sigue en marcha.",
"Un momento más en la pantalla.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Ainda estou a tratar do ecrã.",
+ "O passo no ecrã ainda está a decorrer.",
+ "Mais um momento no ecrã.",
+ ),
},
ToolActivity.OTHER: {
"de": ( # i18n-allow: localized runtime voice output
@@ -1101,9 +1323,14 @@ _PROGRESS_POOLS: dict[ToolActivity, dict[str, tuple[str, ...]]] = {
"Un momento más.",
"Ya casi está.",
),
+ "pt": ( # i18n-allow: localized runtime voice output
+ "Ainda estou a tratar disso.",
+ "Mais um momento.",
+ "Está quase.",
+ ),
},
# HANDOVER: no line of its own — the spawn reply states the handover.
- ToolActivity.HANDOVER: {"de": (), "en": (), "es": ()},
+ ToolActivity.HANDOVER: {"de": (), "en": (), "es": (), "pt": ()},
}
_RECENT_PROGRESS: dict[tuple[ToolActivity, str], deque[str]] = {}
@@ -1231,7 +1458,9 @@ def start_chat_instant_ack(
#: after the result, so a slow provider simply costs the ack, never the turn.
CONTEXTUAL_BUDGET_MS = 700
-_LANGUAGE_NAMES = {"de": "German", "en": "English", "es": "Spanish"}
+_LANGUAGE_NAMES = {
+ "de": "German", "en": "English", "es": "Spanish", "pt": "European Portuguese",
+}
def language_name(language: str) -> str:
diff --git a/jarvis/voice/number_speller.py b/jarvis/voice/number_speller.py
index b45c1116e3..de6fcc20ac 100644
--- a/jarvis/voice/number_speller.py
+++ b/jarvis/voice/number_speller.py
@@ -12,7 +12,8 @@ hot path. It never raises, and when ``num2words`` is unavailable (a minimal
install that did not pull the dependency) it is a transparent no-op so text
passes through unchanged instead of crashing the voice path.
-Locale-aware separators: German/Spanish use a comma decimal and dot thousands
+Locale-aware separators: German/Spanish/Portuguese use a comma decimal and dot
+thousands
("3,8" = three-point-eight, "1.000" = one thousand); English is the reverse.
Structured forms are recognised BEFORE the separator logic, because a dot is
@@ -40,12 +41,13 @@ except Exception: # noqa: BLE001 — any import failure degrades to a no-op
# Supported locales. Anything else falls through unchanged (honesty over a wrong
# guess — never spell a French number with German words).
-_SUPPORTED = ("de", "en", "es")
+_SUPPORTED = ("de", "en", "es", "pt")
# (decimal separator, thousands separator) per locale.
_SEPARATORS: dict[str, tuple[str, str]] = {
"de": (",", "."),
"es": (",", "."),
+ "pt": (",", "."),
"en": (".", ","),
}
@@ -55,15 +57,20 @@ _SEPARATORS: dict[str, tuple[str, str]] = {
_GROUPED_INT_RE: dict[str, re.Pattern[str]] = {
"de": re.compile(r"\d{1,3}(?:\.\d{3})+"),
"es": re.compile(r"\d{1,3}(?:\.\d{3})+"),
+ "pt": re.compile(r"\d{1,3}(?:\.\d{3})+"),
"en": re.compile(r"\d{1,3}(?:,\d{3})+"),
}
# Time connector between hour and minute words, per locale.
+# Portuguese inflects the hour noun ("uma hora" / "duas horas"), so its time is
+# assembled in ``_spell_time_pt`` instead of these tables.
_TIME_JOIN: dict[str, str] = {"de": " Uhr ", "en": " ", "es": " y "}
_TIME_JOIN_OCLOCK: dict[str, str] = {"de": " Uhr", "en": " o'clock", "es": " en punto"}
# The word spoken for the dot inside a version number or an IP address.
-_DOT_JOIN: dict[str, str] = {"de": " Punkt ", "en": " point ", "es": " punto "} # i18n-allow
+_DOT_JOIN: dict[str, str] = { # i18n-allow
+ "de": " Punkt ", "en": " point ", "es": " punto ", "pt": " ponto ", # i18n-allow
+}
# Month names for the date verbaliser — spoken output vocabulary.
_MONTHS: dict[str, tuple[str, ...]] = {
@@ -79,6 +86,10 @@ _MONTHS: dict[str, tuple[str, ...]] = {
"enero", "febrero", "marzo", "abril", "mayo", "junio",
"julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre",
),
+ "pt": ( # i18n-allow
+ "janeiro", "fevereiro", "março", "abril", "maio", "junho",
+ "julho", "agosto", "setembro", "outubro", "novembro", "dezembro",
+ ),
}
# German ordinals decline, and the ending follows the word governing the date:
@@ -98,6 +109,7 @@ _DATE_CUES: dict[str, frozenset[str]] = {
"de": _DE_CUES_DATIVE | _DE_CUES_ARTICLE,
"en": frozenset({"on", "by", "from", "since", "until", "till", "after", "before", "the"}),
"es": frozenset({"el", "del", "al", "desde", "hasta", "en", "para"}), # i18n-allow
+ "pt": frozenset({"a", "de", "em", "no", "dia", "desde", "até", "para"}), # i18n-allow
}
# A clock time, optionally followed by a German "Uhr" that we consume so the
@@ -129,6 +141,8 @@ def _norm_lang(language: str | None) -> str:
return "en"
if low.startswith("es"):
return "es"
+ if low.startswith("pt"):
+ return "pt"
if low.startswith("de"):
return "de"
return low # unknown → not in _SUPPORTED → passthrough
@@ -172,7 +186,25 @@ def _spell_number_token(token: str, lang: str) -> str | None:
return _spell_value(int(int_part), lang)
+def _spell_time_pt(hour: int, minute: int) -> str | None:
+ """European Portuguese clock time: "vinte horas e trinta", "uma hora"."""
+ h_word = _spell_value(hour, "pt")
+ if h_word is None:
+ return None
+ if h_word == "um" or h_word.endswith(" e um"): # the hour noun is feminine
+ h_word = h_word[:-2] + "uma"
+ noun = "hora" if hour == 1 else "horas" # i18n-allow
+ if minute == 0:
+ return f"{h_word} {noun}"
+ m_word = _spell_value(minute, "pt")
+ if m_word is None:
+ return None
+ return f"{h_word} {noun} e {m_word}"
+
+
def _spell_time(hour: str, minute: str, lang: str) -> str | None:
+ if lang == "pt":
+ return _spell_time_pt(int(hour), int(minute))
h_word = _spell_value(int(hour), lang)
if h_word is None:
return None
@@ -231,8 +263,8 @@ def _spell_date(day: int, month: int, year: int | None, lang: str, cue: str) ->
if ordinal is None:
return None
spoken = f"{month_name} {ordinal}"
- else: # Spanish speaks the day of the month as a cardinal
- cardinal = _spell_value(day, "es")
+ else: # Spanish and European Portuguese speak the day as a cardinal
+ cardinal = _spell_value(day, lang)
if cardinal is None:
return None
spoken = f"{cardinal} de {month_name}" # i18n-allow
@@ -241,7 +273,7 @@ def _spell_date(day: int, month: int, year: int | None, lang: str, cue: str) ->
year_word = _spell_year(year, lang)
if year_word is None:
return None
- if lang == "es":
+ if lang in ("es", "pt"):
return f"{spoken} de {year_word}" # i18n-allow
return f"{spoken} {year_word}"
diff --git a/jarvis/voice/parked_results.py b/jarvis/voice/parked_results.py
index b0f69f5770..154428ce88 100644
--- a/jarvis/voice/parked_results.py
+++ b/jarvis/voice/parked_results.py
@@ -52,7 +52,7 @@ SURFACE_PIPELINE: Final[str] = "pipeline"
SURFACE_CHAT: Final[str] = "chat"
SURFACE_CHANNEL: Final[str] = "channel"
-_SUPPORTED_LANGUAGES: Final[tuple[str, ...]] = ("de", "en", "es")
+_SUPPORTED_LANGUAGES: Final[tuple[str, ...]] = ("de", "en", "es", "pt")
_DEFAULT_LANGUAGE: Final[str] = "en"
_MAX_WAIT_QUERY_WORDS: Final[int] = 9
_TOPIC_MAX_WORDS: Final[int] = 8
@@ -209,10 +209,12 @@ def requested_result(items: Sequence[ParkedResult], query: str) -> ParkedResult
# request that merely contains "result" stays a real turn for the model.
_LEAD_IN: Final[str] = (
r"(?:(?:ja|yes|s[ií]|und|and|y|also|so|okay|ok|hey|hallo|hello|hola|"
- r"jarvis|bitte|please|por\s+favor|sag\s+mal|tell\s+me|dime)\s+)*"
+ r"jarvis|bitte|please|por\s+favor|sag\s+mal|tell\s+me|dime|"
+ r"sim|e|ent(?:ã|a)o|ol(?:á|a)|diz\s+me)\s+)*"
)
_TAIL: Final[str] = (
- r"(?:\s+(?:damit|dabei|schon|jetzt|denn|eigentlich|now|yet|already|ya|ahora|con\s+eso))*"
+ r"(?:\s+(?:damit|dabei|schon|jetzt|denn|eigentlich|now|yet|already|ya|ahora|con\s+eso|"
+ r"j(?:á|a)|agora|com\s+isso))*"
)
_PROGRESS_CORES: Final[tuple[str, ...]] = (
@@ -240,6 +242,13 @@ _PROGRESS_CORES: Final[tuple[str, ...]] = (
r"(?:ya\s+)?(?:has\s+terminado|terminaste|est(?:á|a)s\s+listo)",
r"cu(?:á|a)nto\s+(?:falta|tarda|queda)",
r"sigues\s+(?:trabajando|en\s+ello)",
+ # --- European Portuguese ---
+ r"como\s+vais",
+ r"como\s+vai\s+isso",
+ r"como\s+(?:(?:é|e)\s+que\s+)?est(?:á|a)\s+a\s+correr",
+ r"(?:j(?:á|a)\s+)?(?:acabaste|terminaste|est(?:á|a)\s+pronto)",
+ r"quanto\s+(?:tempo\s+)?(?:falta|demora)",
+ r"ainda\s+est(?:á|a)s\s+(?:a\s+trabalhar(?:\s+nisso)?|nisso)",
)
_RESULT_CORES: Final[tuple[str, ...]] = (
@@ -264,6 +273,11 @@ _RESULT_CORES: Final[tuple[str, ...]] = (
r"(?:ya\s+)?tienes\s+(?:el|un|alg(?:ú|u)n)?\s*resultado",
r"y\s+el\s+resultado",
r"cu(?:á|a)l\s+es\s+el\s+resultado",
+ # --- European Portuguese ---
+ r"o\s+que\s+(?:encontraste|descobriste|saiu(?:\s+da(?:í|i)|\s+disso)?)",
+ r"(?:j(?:á|a)\s+)?tens\s+(?:o|um|algum)?\s*resultado",
+ r"e\s+o\s+resultado",
+ r"qual\s+(?:(?:é|e)\s+)?o\s+resultado",
)
@@ -314,6 +328,10 @@ _TOPIC_STOPWORDS: Final[dict[str, frozenset[str]]] = {
"por favor puedes podrías me mi yo hey hola jarvis ok vale y luego "
"el la los las un una unos unas".split()
),
+ "pt": frozenset(
+ "por favor podes podias me mim eu hey olá jarvis ok pronto e depois "
+ "o a os as um uma uns umas".split()
+ ),
}
_ANCHOR_POOLS: Final[dict[str, tuple[str, ...]]] = {
@@ -332,6 +350,11 @@ _ANCHOR_POOLS: Final[dict[str, tuple[str, ...]]] = {
"Volviendo a {topic}: {result}",
"El resultado sobre {topic}: {result}",
),
+ "pt": (
+ "Sobre o teu pedido de há pouco – {topic}: {result}",
+ "Voltando a {topic}: {result}",
+ "O resultado sobre {topic}: {result}",
+ ),
}
_ANCHOR_POOLS_NO_TOPIC: Final[dict[str, tuple[str, ...]]] = {
"de": (
@@ -346,6 +369,10 @@ _ANCHOR_POOLS_NO_TOPIC: Final[dict[str, tuple[str, ...]]] = {
"Sobre tu petición de antes: {result}",
"Volviendo a lo de antes: {result}",
),
+ "pt": (
+ "Sobre o teu pedido de há pouco: {result}",
+ "Voltando ao que pediste há pouco: {result}",
+ ),
}
_RECENT_ANCHORS: dict[str, deque[str]] = {}
diff --git a/jarvis/voice/subscription_profile.py b/jarvis/voice/subscription_profile.py
index ceae859929..dbf3d01c3b 100644
--- a/jarvis/voice/subscription_profile.py
+++ b/jarvis/voice/subscription_profile.py
@@ -22,7 +22,9 @@ from jarvis.plugins.brain.codex import CodexBrain
CODEX_SUBSCRIPTION_VOICE_PROFILE = "codex-subscription-voice"
LEGACY_CODEX_REALTIME_PROVIDER = "codex-subscription-realtime"
-_LANGUAGE_NAMES = {"de": "German", "en": "English", "es": "Spanish"}
+_LANGUAGE_NAMES = {
+ "de": "German", "en": "English", "es": "Spanish", "pt": "European Portuguese",
+}
_MAX_HISTORY_MESSAGES = 6
_SUPPORTED_DESKTOP_PLATFORMS = frozenset({"win32", "darwin", "linux"})
diff --git a/jarvis/voice/tool_confirmation.py b/jarvis/voice/tool_confirmation.py
index ef934f0855..5741b70098 100644
--- a/jarvis/voice/tool_confirmation.py
+++ b/jarvis/voice/tool_confirmation.py
@@ -22,11 +22,11 @@ from __future__ import annotations
from jarvis.core.turn_language import DEFAULT_LOCALE, normalize_language_tag
-_PHRASE_LANGS: frozenset[str] = frozenset({"de", "en", "es"})
+_PHRASE_LANGS: frozenset[str] = frozenset({"de", "en", "es", "pt"})
def _phrase_lang(language: str | None) -> str:
- """Normalize a language tag to a phrase key ("de"/"en"/"es"), else default."""
+ """Normalize a language tag to a phrase key ("de"/"en"/"es"/"pt"), else default."""
code = normalize_language_tag(language)
return code if code in _PHRASE_LANGS else DEFAULT_LOCALE
@@ -43,16 +43,19 @@ _TOOL_QUESTIONS: dict[str, dict[str, str]] = {
"de": "Soll ich die E-Mail wirklich senden? Sag ja oder nein.",
"en": "Do you really want me to send the email? Say yes or no.",
"es": "¿Quieres que envíe el correo de verdad? Di sí o no.",
+ "pt": "Queres mesmo que envie o email? Diz sim ou não.",
},
"gmail_rest": {
"de": "Soll ich die E-Mail wirklich senden? Sag ja oder nein.",
"en": "Do you really want me to send the email? Say yes or no.",
"es": "¿Quieres que envíe el correo de verdad? Di sí o no.",
+ "pt": "Queres mesmo que envie o email? Diz sim ou não.",
},
"call-contact": {
"de": "Soll ich den Anruf wirklich starten? Sag ja oder nein.",
"en": "Do you really want me to place the call? Say yes or no.",
"es": "¿Quieres que haga la llamada de verdad? Di sí o no.",
+ "pt": "Queres mesmo que faça a chamada? Diz sim ou não.",
},
}
@@ -60,6 +63,7 @@ _GENERIC_QUESTION: dict[str, str] = {
"de": "Soll ich das wirklich ausführen? Sag ja oder nein.",
"en": "Do you really want me to do that? Say yes or no.",
"es": "¿Quieres que lo haga de verdad? Di sí o no.",
+ "pt": "Queres mesmo que faça isso? Diz sim ou não.",
}
@@ -75,6 +79,8 @@ _IMPACT_QUESTIONS: dict[str, dict[str, str]] = {
"Do you really want me to run it? Say yes or no."),
"es": ("Cuidado, este comando borraría algo ({commands}). "
"¿Quieres que lo ejecute de verdad? Di sí o no."),
+ "pt": ("Cuidado, este comando apagaria algo ({commands}). "
+ "Queres mesmo que o execute? Diz sim ou não."),
},
"modify": {
"de": ("Dieser Befehl würde etwas auf dem Computer verändern "
@@ -83,6 +89,8 @@ _IMPACT_QUESTIONS: dict[str, dict[str, str]] = {
"({commands}). Do you want me to run it? Say yes or no."),
"es": ("Este comando cambiaría algo en el equipo ({commands}). "
"¿Quieres que lo ejecute? Di sí o no."),
+ "pt": ("Este comando alteraria algo no computador ({commands}). "
+ "Queres que o execute? Diz sim ou não."),
},
"read": {
"de": ("Dieser Befehl liest nur Daten ({commands}). "
@@ -91,6 +99,8 @@ _IMPACT_QUESTIONS: dict[str, dict[str, str]] = {
"Do you want me to run it? Say yes or no."),
"es": ("Este comando solo lee datos ({commands}). "
"¿Quieres que lo ejecute? Di sí o no."),
+ "pt": ("Este comando só lê dados ({commands}). "
+ "Queres que o execute? Diz sim ou não."),
},
}
@@ -136,26 +146,31 @@ _OUTCOME: dict[str, dict[str, str]] = {
"de": "Erledigt.",
"en": "Done.",
"es": "Listo.",
+ "pt": "Feito.",
},
"vetoed": {
"de": "Okay, lass ich.",
"en": "Okay, leaving it.",
"es": "Vale, lo dejo.",
+ "pt": "Ok, deixo estar.",
},
"timeout": {
"de": "Hab keine Antwort gehört, ich lass es.",
"en": "No answer heard, leaving it.",
"es": "No te he oído, lo dejo.",
+ "pt": "Não ouvi resposta, deixo estar.",
},
"failed": {
"de": "Das hat nicht geklappt.",
"en": "That didn't work.",
"es": "Eso no funcionó.",
+ "pt": "Isso não funcionou.",
},
"unclear": {
"de": "Sag bitte einfach ja oder nein.",
"en": "Please just say yes or no.",
"es": "Di simplemente sí o no, por favor.",
+ "pt": "Diz só sim ou não, por favor.",
},
# Nobody could be asked at all — an unattended run (a scheduled workflow,
# a cron job, a one-shot CLI call) reached a consequential tool. Says why
@@ -168,6 +183,8 @@ _OUTCOME: dict[str, dict[str, str]] = {
"So I did not do it.",
"es": "Eso necesita tu aprobación y aquí nadie puede darla. "
"Así que no lo hice.",
+ "pt": "Isso precisa da tua aprovação e aqui ninguém a pode dar. "
+ "Por isso não o fiz.",
},
}
@@ -182,7 +199,7 @@ def format_confirm_outcome(
``kind`` ∈ {"done", "vetoed", "timeout", "failed", "unclear"}. ``tool_name``
is accepted for future tool-specific wording; the current phrasing is generic
- but always non-empty (AD-OE6) and covers de/en/es.
+ but always non-empty (AD-OE6) and covers de/en/es/pt.
``detail`` is appended only on ``kind="failed"``: a confirmed action that
fails with a bare "that didn't work" gives the user nothing to correct
diff --git a/jarvis/workflows/runner.py b/jarvis/workflows/runner.py
index 2e6936a501..cff9ca228b 100644
--- a/jarvis/workflows/runner.py
+++ b/jarvis/workflows/runner.py
@@ -519,11 +519,16 @@ class WorkflowRunner:
input_data: dict[str, Any],
) -> str:
text = _expand_template(step.text, outputs, input_data)
+ language = str(step.language or "").strip().lower()
+ if language in ("", "auto"):
+ # No pinned language: follow the ambient answer language at run
+ # time (reply pin, else the default locale), never a fixed one.
+ language = resolve_ambient_language()
await self._bus.publish(
AnnouncementRequested(
text=text,
priority=step.priority,
- language=step.language,
+ language=language,
source_layer="workflows.runner",
)
)
diff --git a/jarvis/workflows/schema.py b/jarvis/workflows/schema.py
index 19cbb43951..2f58094679 100644
--- a/jarvis/workflows/schema.py
+++ b/jarvis/workflows/schema.py
@@ -105,13 +105,18 @@ class SpeakStep(BaseModel):
If the TTS pipeline is running, the text is spoken. Otherwise
the event stays in the flight recorder and the step counts as successful.
+
+ ``language`` pins the spoken language of the step. ``"auto"`` (the
+ default) or an empty value follows the ambient answer language when the
+ step runs (``brain.reply_language`` pin, else the default locale), so a
+ workflow created without a language never speaks a hardcoded one.
"""
model_config = ConfigDict(frozen=True, extra="forbid")
kind: Literal["speak"] = "speak"
label: str = Field(default="", max_length=128)
text: str = Field(min_length=1, max_length=4096)
priority: Literal["normal", "interrupt"] = "normal"
- language: str = Field(default="de", max_length=8)
+ language: str = Field(default="auto", max_length=8)
class ToolCallStep(BaseModel):
diff --git a/packaging/macos/add_localizations.py b/packaging/macos/add_localizations.py
index 6a49656f7b..49ba888e32 100644
--- a/packaging/macos/add_localizations.py
+++ b/packaging/macos/add_localizations.py
@@ -1,4 +1,4 @@
-"""Write the German and Spanish ``InfoPlist.strings`` into a built ``Personal Jarvis.app``.
+"""Write the translated ``InfoPlist.strings`` into a built ``Personal Jarvis.app``.
PyInstaller's ``BUNDLE`` writes the base (English) ``Info.plist`` and, through
``jarvis.spec``, the ``CFBundleLocalizations`` key. The per-language strings that
diff --git a/scripts/ci/check_frozen_macos_app.py b/scripts/ci/check_frozen_macos_app.py
index fc1ce9a1f0..e385b1c279 100644
--- a/scripts/ci/check_frozen_macos_app.py
+++ b/scripts/ci/check_frozen_macos_app.py
@@ -24,7 +24,7 @@ It also asserts the privacy-permission declarations of the bundle:
``jarvis/core/macos_privacy_strings.py`` is in ``Info.plist`` with exactly that
text, and the keys that table lists as removed (camera, speech recognition,
system administration) are not;
-* the bundle is localised for German and Spanish: ``Info.plist`` declares
+* the bundle is localised for German, Spanish and European Portuguese: ``Info.plist`` declares
``CFBundleLocalizations`` and ``CFBundleDevelopmentRegion``, and
``Contents/Resources/<lang>.lproj/InfoPlist.strings`` exists for each language
with exactly the text of that table (``packaging/macos/add_localizations.py``
diff --git a/tests/contract/test_gpt_live.py b/tests/contract/test_gpt_live.py
index 1f4be1a7fb..85704ec08f 100644
--- a/tests/contract/test_gpt_live.py
+++ b/tests/contract/test_gpt_live.py
@@ -235,7 +235,7 @@ async def _pending_approval(runtime):
@pytest.mark.asyncio
[email protected]("answer", ["Ja.", "Sí", "Yes"])
[email protected]("answer", ["Ja.", "Sí", "Yes", "Sim", "Força, avança"])
async def test_approval_in_any_locale_survives_an_auto_session_language(ledger, answer):
# Live 2026-10-01: an "auto" session resolves to English, which rejected "Ja".
gateway = _ApprovalGateway()
@@ -263,6 +263,7 @@ async def test_veto_still_wins_over_a_listed_affirmation(ledger):
". Ja, send ihn", # i18n-allow: live 2026-10-01 transcript
"Ja. Ja, schick ihn los", # i18n-allow: spoken confirmation vocabulary
"okay, do it",
+ "Sim, faz isso",
],
)
async def test_a_short_spoken_go_ahead_approves(ledger, answer):
@@ -283,6 +284,8 @@ async def test_a_short_spoken_go_ahead_approves(ledger, answer):
"Ja, aber warte noch", # i18n-allow: spoken hedge vocabulary
"yes but change the target",
"Wieso nicht gepromptet hast", # i18n-allow: live 2026-10-01 transcript
+ "não, espera",
+ "sim, mas muda o destinatário",
],
)
async def test_a_hedge_veto_or_new_instruction_does_not_approve(ledger, answer):
diff --git a/tests/e2e/test_voice_review_pipeline.py b/tests/e2e/test_voice_review_pipeline.py
index a2e45c53f6..9c6d939c75 100644
--- a/tests/e2e/test_voice_review_pipeline.py
+++ b/tests/e2e/test_voice_review_pipeline.py
@@ -52,7 +52,9 @@ def _make_ctx() -> ExecutionContext:
return ExecutionContext(
trace_id=uuid4(),
user_utterance="e2e smoke",
- config={},
+ # The German AD-14 wording is asserted below; the turn language is
+ # stamped explicitly so the ambient default cannot change it.
+ config={"output_language": "de"},
memory_read=None,
)
diff --git a/tests/integration/test_control_routes.py b/tests/integration/test_control_routes.py
index 5532d87bfd..a77cb17009 100644
--- a/tests/integration/test_control_routes.py
+++ b/tests/integration/test_control_routes.py
@@ -114,6 +114,16 @@ def test_language_verb_sets_reply_and_ui_language(client) -> None:
assert loaded.ui.language == "es"
+def test_language_verb_sets_portuguese_reply_and_ui_language(client) -> None:
+ tc, _, _ = client
+ res = tc.put("/api/control/language", json={"reply_language": "pt"}, headers=AUTH)
+ assert res.status_code == 200 and res.json()["applied"] is True
+ assert res.json()["ui_language"]["value"] == "pt"
+ loaded = cfg_mod.load_config()
+ assert loaded.brain.reply_language == "pt"
+ assert loaded.ui.language == "pt"
+
+
def test_language_verb_auto_leaves_ui_untouched(client) -> None:
# "auto" only mirrors the reply language; it must not force an interface code.
tc, _, _ = client
diff --git a/tests/integration/test_settings_routes.py b/tests/integration/test_settings_routes.py
index e951368f67..5ba5c384f9 100644
--- a/tests/integration/test_settings_routes.py
+++ b/tests/integration/test_settings_routes.py
@@ -28,7 +28,7 @@ class _FakeBrain:
def set_reply_language(self, lang: str) -> None:
code = lang.strip().lower()
- if code not in {"auto", "de", "en", "es"}:
+ if code not in {"auto", "de", "en", "es", "pt"}:
raise ValueError(f"unknown reply language {lang!r}")
self._reply_language = code
@@ -61,7 +61,7 @@ def test_get_returns_current_language_and_options(server: WebServer) -> None:
assert resp.status_code == 200
body = resp.json()
assert body["language"] == "auto"
- assert set(body["options"]) == {"auto", "de", "en", "es"}
+ assert set(body["options"]) == {"auto", "de", "en", "es", "pt"}
def test_put_switches_live_brain(server: WebServer) -> None:
diff --git a/tests/integration/test_ui_language_route.py b/tests/integration/test_ui_language_route.py
index fb170272c4..48354dcb62 100644
--- a/tests/integration/test_ui_language_route.py
+++ b/tests/integration/test_ui_language_route.py
@@ -42,7 +42,7 @@ def test_get_returns_current_ui_language(ctx) -> None:
tc, _, _ = ctx
body = tc.get("/api/settings/ui-language").json()
assert body["language"] == "en"
- assert set(body["options"]) == {"en", "de", "es", "zh"}
+ assert set(body["options"]) == {"en", "de", "es", "pt", "zh"}
def test_put_persists_and_broadcasts(ctx) -> None:
@@ -66,6 +66,14 @@ def test_put_accepts_chinese(ctx) -> None:
assert any(ev.language == "zh" for ev in captured)
+def test_put_accepts_european_portuguese(ctx) -> None:
+ tc, config_file, captured = ctx
+ res = tc.put("/api/settings/ui-language", json={"language": "pt"})
+ assert res.status_code == 200, res.text
+ assert 'language = "pt"' in config_file.read_text(encoding="utf-8")
+ assert any(ev.language == "pt" for ev in captured)
+
+
def test_put_rejects_unknown_language(ctx) -> None:
tc, _, _ = ctx
assert tc.put("/api/settings/ui-language", json={"language": "fr"}).status_code == 400
diff --git a/tests/integration/test_worker_lazy_bootstrap.py b/tests/integration/test_worker_lazy_bootstrap.py
index 54f5438ac5..d7f2082fb5 100644
--- a/tests/integration/test_worker_lazy_bootstrap.py
+++ b/tests/integration/test_worker_lazy_bootstrap.py
@@ -117,7 +117,12 @@ async def test_post_hoc_set_mission_manager_makes_tool_functional() -> None:
# main's _build_mission_prompt enriches the prompt with the interpreted
# action ("build"), so assert containment rather than an exact raw match.
assert "build hello world" in call.kwargs["prompt"]
- assert call.kwargs["language"] == "de"
+ # A turn with no language follows the ambient answer language (reply pin,
+ # then locale) instead of a hard-coded German default.
+ from jarvis.missions.events import coerce_mission_language
+ from jarvis.voice.action_phrases import resolve_ambient_language
+
+ assert call.kwargs["language"] == coerce_mission_language(resolve_ambient_language())
assert call.kwargs["source_actor"] == "hauptjarvis"
diff --git a/tests/missions/test_capacity_wait_parity.py b/tests/missions/test_capacity_wait_parity.py
index 59f48cc3bb..973945e11b 100644
--- a/tests/missions/test_capacity_wait_parity.py
+++ b/tests/missions/test_capacity_wait_parity.py
@@ -51,7 +51,7 @@ def test_paid_fallback_reasons_cross_every_layer() -> None:
new_reasons = {"paid_daily_cap_reached", "paid_consent_revoked"}
assert new_reasons <= set(CAPACITY_WAIT_REASONS)
assert new_reasons <= _ts_union("CapacityWaitReason")
- for lang in ("de", "en"):
+ for lang in ("de", "en", "es", "pt"):
assert new_reasons <= set(CAPACITY_WAIT_PHRASES[lang])
@@ -69,13 +69,14 @@ def test_event_type_listed_in_ts() -> None:
assert "MissionWaitingCapacity" in _ts_union("EventType")
[email protected]("lang", ["de", "en"])
[email protected]("lang", ["de", "en", "es", "pt"])
def test_voice_phrases_cover_every_reason(lang: str) -> None:
assert set(CAPACITY_WAIT_REASONS) <= set(CAPACITY_WAIT_PHRASES[lang])
-def test_voice_phrase_tables_share_keys() -> None:
- assert set(CAPACITY_WAIT_PHRASES["de"]) == set(CAPACITY_WAIT_PHRASES["en"])
[email protected]("lang", ["en", "es", "pt"])
+def test_voice_phrase_tables_share_keys(lang: str) -> None:
+ assert set(CAPACITY_WAIT_PHRASES[lang]) == set(CAPACITY_WAIT_PHRASES["de"])
@pytest.mark.parametrize("lang", _LOCALES)
diff --git a/tests/missions/test_mission_approved_parity.py b/tests/missions/test_mission_approved_parity.py
new file mode 100644
index 0000000000..b2ff8b8993
--- /dev/null
+++ b/tests/missions/test_mission_approved_parity.py
@@ -0,0 +1,44 @@
+"""Python <-> TypeScript parity for mission languages and ``MissionApproved`` (AP-4).
+
+``summary_local`` carries the es/pt approval summary; the frontend type must
+declare every payload field the backend emits so the outcome view can read it.
+"""
+from __future__ import annotations
+
+import re
+from pathlib import Path
+
+from jarvis.missions.events import MISSION_LANGUAGES, MissionApproved
+
+_REPO = Path(__file__).resolve().parents[2]
+_TS = _REPO / "jarvis" / "ui" / "web" / "frontend" / "src" / "types" / "missions.ts"
+
+
+def _ts_fields(interface: str) -> set[str]:
+ text = _TS.read_text(encoding="utf-8")
+ m = re.search(rf"export interface {interface} extends BasePayload \{{(.*?)\n\}}", text, re.S)
+ assert m, f"{interface} interface not found in missions.ts"
+ return set(re.findall(r"^\s*([a-z_]+)\??:", m.group(1), re.M))
+
+
+def _py_fields(model: type) -> set[str]:
+ return set(model.model_fields)
+
+
+def test_mission_approved_fields_python_ts_parity() -> None:
+ py = _py_fields(MissionApproved)
+ ts = _ts_fields("MissionApproved")
+ assert py - ts == set(), f"fields missing in missions.ts: {py - ts}"
+ assert ts - py == set(), f"fields missing in events.py: {ts - py}"
+ assert "summary_local" in ts
+
+
+def test_mission_dispatch_languages_python_ts_parity() -> None:
+ text = _TS.read_text(encoding="utf-8")
+ m = re.search(
+ r"export interface MissionDispatched extends BasePayload \{.*?language: ([^;]+);",
+ text,
+ re.S,
+ )
+ assert m, "MissionDispatched.language not found in missions.ts"
+ assert set(re.findall(r'"([^"]+)"', m.group(1))) == set(MISSION_LANGUAGES)
diff --git a/tests/missions/test_mission_language_pt.py b/tests/missions/test_mission_language_pt.py
new file mode 100644
index 0000000000..e92f827f55
--- /dev/null
+++ b/tests/missions/test_mission_language_pt.py
@@ -0,0 +1,122 @@
+"""Every supported reply language is a mission language, end to end.
+
+A Portuguese (or Spanish) turn used to be capped to a German mission: the
+dispatch contract was ``Literal["de", "en"]`` and the readback tables carried
+de/en only, so a pt user heard the mission readback in German. These tests pin
+that the dispatch contract, the readback tables and the announcer cover every
+supported reply language.
+"""
+from __future__ import annotations
+
+from typing import get_args
+
+import pytest
+
+from jarvis.brain.manager import SUPPORTED_REPLY_LANGUAGES
+from jarvis.missions.events import (
+ MISSION_LANGUAGES,
+ MissionApproved,
+ MissionDispatched,
+ MissionLanguage,
+ coerce_mission_language,
+)
+from jarvis.missions.kontrollierer.deliverable import (
+ MISSION_COMPLETED_PHRASES,
+ build_delivered_summary,
+)
+from jarvis.missions.voice.readback import (
+ CAPACITY_WAIT_PHRASES,
+ FAILURE_REASON_PHRASES,
+ READBACK_TEMPLATES,
+ Lang,
+ MissionReadback,
+ approved_summary,
+ render_capacity_wait,
+)
+
+_SPOKEN = tuple(code for code in SUPPORTED_REPLY_LANGUAGES if code != "auto")
+
+
+def test_mission_languages_match_supported_reply_languages() -> None:
+ assert set(MISSION_LANGUAGES) == set(_SPOKEN)
+ assert set(get_args(MissionLanguage)) == set(_SPOKEN)
+ assert set(get_args(Lang)) == set(_SPOKEN)
+
+
+def test_dispatch_payload_accepts_portuguese() -> None:
+ assert MissionDispatched(prompt="x", language="pt").language == "pt"
+
+
+ ("value", "expected"),
+ [("pt", "pt"), ("ES", "es"), ("fr", "de"), (None, "de"), ("", "de")],
+)
+def test_coerce_mission_language(value: object, expected: str) -> None:
+ assert coerce_mission_language(value) == expected
+
+
[email protected]("lang", _SPOKEN)
+def test_every_readback_template_has_every_language(lang: str) -> None:
+ for key, by_lang in READBACK_TEMPLATES.items():
+ assert by_lang.get(lang), f"{key} has no {lang} template"
+
+
[email protected]("lang", _SPOKEN)
+def test_failure_and_capacity_tables_share_the_de_key_set(lang: str) -> None:
+ assert set(FAILURE_REASON_PHRASES[lang]) == set(FAILURE_REASON_PHRASES["de"])
+ assert set(CAPACITY_WAIT_PHRASES[lang]) == set(CAPACITY_WAIT_PHRASES["de"])
+
+
+def test_portuguese_readback_is_portuguese() -> None:
+ rb = MissionReadback()
+ assert rb.render_approved(summary="X", language="pt") in {"Feito. X", "Pronto. X"}
+ failed = rb.render_failed(reason="budget_exceeded", language="pt")
+ assert "O limite de custo foi atingido." in failed # i18n-allow
+ assert rb.render_cancelled(language="pt") == "Tarefa cancelada." # i18n-allow
+ assert rb.render_failed(reason="", language="pt").endswith("erro desconhecido") # i18n-allow
+ assert "esta ação" in rb.render_destructive_confirm(language="pt") # i18n-allow
+
+
+def test_portuguese_capacity_wait_has_no_german_or_english() -> None:
+ text = render_capacity_wait(
+ reason="provider_quota",
+ provider="",
+ steps_done=1,
+ steps_total=3,
+ files_saved=2,
+ checkpoint_saved=True,
+ language="pt",
+ )
+ assert text.startswith("A capacidade de fornecedor de IA") # i18n-allow
+ assert "Artefactos" in text
+ assert "KI-Anbieter" not in text and "AI provider" not in text
+
+
+def test_unknown_language_readback_speaks_english() -> None:
+ rb = MissionReadback()
+ assert rb.render_cancelled(language="fr") == "Task cancelled." # type: ignore[arg-type]
+
+
+def _approved(**summaries: str) -> MissionApproved:
+ return MissionApproved(
+ result_uri="mission://x", tokens_used=0, cost_usd=0.0, wall_ms=0,
+ summary_de=summaries.get("de", "DE"), summary_en=summaries.get("en", "EN"),
+ summary_local=summaries.get("local", ""),
+ )
+
+
+def test_approved_summary_prefers_the_local_summary_for_pt() -> None:
+ event = _approved(local="Feito. Guardei a.html como artefacto.") # i18n-allow
+ assert approved_summary(event, "pt") == "Feito. Guardei a.html como artefacto." # i18n-allow
+ assert approved_summary(event, "de") == "DE"
+ assert approved_summary(event, "en") == "EN"
+
+
+def test_approved_summary_falls_back_to_english_without_local() -> None:
+ assert approved_summary(_approved(), "pt") == "EN"
+
+
+def test_delivered_summary_and_completion_phrase_cover_portuguese(tmp_path) -> None:
+ out = build_delivered_summary([tmp_path / "a.html"], language="pt")
+ assert out == "Feito. Guardei a.html como artefacto." # i18n-allow
+ assert set(MISSION_COMPLETED_PHRASES) == set(_SPOKEN)
diff --git a/tests/missions/test_stream_evidence.py b/tests/missions/test_stream_evidence.py
index 63f0c4740c..1924220e31 100644
--- a/tests/missions/test_stream_evidence.py
+++ b/tests/missions/test_stream_evidence.py
@@ -614,6 +614,17 @@ def test_readonly_answer_rejects_worker_clarification_as_a_result() -> None:
) is None
+def test_portuguese_worker_clarification_is_not_a_result() -> None:
+ clarification = (
+ "Pergunta rápida antes de começar: queres uma apresentação " # i18n-allow: fixture
+ "ou um relatório escrito?" # i18n-allow: fixture
+ )
+ assert is_clarification_only_answer(clarification)
+ assert not is_clarification_only_answer(
+ "O relatório está pronto: as três fontes concordam no essencial." # i18n-allow: fixture
+ )
+
+
# --- informational_file_answer: research request answered in a prose document --
#
# Root cause of mission_019ecb56 (2026-06-15): "recherchiere AI-News" is an
diff --git a/tests/missions/test_voice_announcer.py b/tests/missions/test_voice_announcer.py
index 08566a5072..c3d64ed169 100644
--- a/tests/missions/test_voice_announcer.py
+++ b/tests/missions/test_voice_announcer.py
@@ -583,3 +583,59 @@ async def test_stop_unsubscribes(store_and_bus) -> None:
)
assert len(captured) == 0
+
+
+# ---------------------------------------------------------------------------
+# European Portuguese: a pt mission is announced in Portuguese end to end
+# ---------------------------------------------------------------------------
+
+
+async def test_portuguese_mission_announces_in_portuguese(store_and_bus) -> None:
+ store, bus = store_and_bus
+ speech_bus = EventBus()
+ captured = _collect_announcements(speech_bus)
+ announcer = MissionAnnouncer(bus=bus, store=store, speech_bus=speech_bus)
+ await announcer.start()
+
+ approved = await _seed_voice_mission(store, language="pt")
+ await store.append_and_publish(
+ EventEnvelope(
+ mission_id=approved,
+ source_actor="kontrollierer",
+ ts_ms=now_ms(),
+ payload=MissionApproved(
+ result_uri=f"mission://{approved}",
+ tokens_used=0,
+ cost_usd=0.0,
+ wall_ms=0,
+ summary_de="Mission abgeschlossen.",
+ summary_en="Mission completed.",
+ summary_local="Missão concluída.", # i18n-allow: PT TTS
+ ),
+ )
+ )
+ failed = await _seed_voice_mission(store, language="pt")
+ await store.append_and_publish(
+ EventEnvelope(
+ mission_id=failed,
+ source_actor="kontrollierer",
+ ts_ms=now_ms(),
+ payload=MissionFailed(reason="budget_exceeded", last_state="RUNNING"),
+ )
+ )
+ cancelled = await _seed_voice_mission(store, language="pt")
+ await store.append_and_publish(
+ EventEnvelope(
+ mission_id=cancelled,
+ source_actor="ui",
+ ts_ms=now_ms(),
+ payload=MissionCancelled(reason="user"),
+ )
+ )
+
+ texts = [a.text for a in captured]
+ assert texts[0] == "Missão concluída." # i18n-allow
+ assert texts[1] == "A missão falhou. O limite de custo foi atingido." # i18n-allow
+ assert texts[2] == "Missão cancelada." # i18n-allow
+ assert {a.language for a in captured} == {"pt"}
diff --git a/tests/missions/test_voice_readback.py b/tests/missions/test_voice_readback.py
index dbb2e65efc..c157d2fcb2 100644
--- a/tests/missions/test_voice_readback.py
+++ b/tests/missions/test_voice_readback.py
@@ -260,7 +260,7 @@ def test_failure_reason_phrases_shared_with_announcer() -> None:
assert "attempts_timed_out" in FAILURE_REASON_PHRASES["en"]
assert all(
"review_time_budget_exhausted" in FAILURE_REASON_PHRASES[language]
- for language in ("de", "en", "es")
+ for language in ("de", "en", "es", "pt")
)
assert set(FAILURE_REASON_PHRASES["de"]) == set(FAILURE_REASON_PHRASES["en"])
diff --git a/tests/review/test_dispatch_tool.py b/tests/review/test_dispatch_tool.py
index 11b4ebc705..0a7caddad6 100644
--- a/tests/review/test_dispatch_tool.py
+++ b/tests/review/test_dispatch_tool.py
@@ -9,6 +9,8 @@ import asyncio
from pathlib import Path
from uuid import uuid4
+from jarvis.core.bus import EventBus
+from jarvis.core.events import AnnouncementRequested
from jarvis.core.protocols import ExecutionContext
from jarvis.core.review.audit import ReviewAudit
from jarvis.core.review.checks import (
@@ -24,7 +26,12 @@ from jarvis.core.review.verdict import (
ReviewStatus,
ReviewVerdict,
)
-from jarvis.plugins.tool.dispatch_with_review import DispatchWithReviewTool
+from jarvis.plugins.tool.dispatch_with_review import (
+ VOICE_FALLBACK_FILLERS,
+ VOICE_HOLDING_PHRASES,
+ VOICE_OUTCOME_TEMPLATES,
+ DispatchWithReviewTool,
+)
# ----------------------------------------------------------------------
# Helpers
@@ -167,6 +174,74 @@ def test_execute_success_returns_tool_result(tmp_path: Path) -> None:
assert result.output["final_verdict"]["score"] == 0.95
+def test_voice_phrase_tables_cover_every_reply_language() -> None:
+ from jarvis.core.turn_language import _REPLY_PINS
+
+ for table in (VOICE_HOLDING_PHRASES, VOICE_OUTCOME_TEMPLATES, VOICE_FALLBACK_FILLERS):
+ assert set(table) == set(_REPLY_PINS)
+ keys = set(VOICE_OUTCOME_TEMPLATES["en"])
+ for lang, templates in VOICE_OUTCOME_TEMPLATES.items():
+ assert set(templates) == keys, lang
+ assert "{summary}" in templates["success"]
+ assert "{top_issue}" in templates["cap_fired"]
+ assert "{summary}" in templates["fail"]
+
+
+def test_execute_speaks_the_turn_output_language(tmp_path: Path) -> None:
+ """The holding phrase and the completion phrase follow
+ ``ctx.config["output_language"]`` (pt here), never a fixed German."""
+ bus = EventBus()
+ captured: list[AnnouncementRequested] = []
+
+ async def _on_announce(event: AnnouncementRequested) -> None:
+ captured.append(event)
+
+ bus.subscribe(AnnouncementRequested, _on_announce)
+ audit = ReviewAudit(path=tmp_path / "review.log")
+ tool = DispatchWithReviewTool(
+ bus=bus,
+ runs_root=tmp_path / "runs",
+ audit_log_path=tmp_path / "review.log",
+ pipeline=_make_pipeline_with_pass(audit),
+ )
+ ctx = ExecutionContext(
+ trace_id=uuid4(),
+ user_utterance="escreve um script", # i18n-allow: simulated Portuguese user turn
+ config={"output_language": "pt"},
+ memory_read=None,
+ )
+
+ result = asyncio.run(
+ tool.execute(
+ {"task": "write a python script that prints hello world"},
+ ctx,
+ )
+ )
+
+ assert [e.text for e in captured] == [VOICE_HOLDING_PHRASES["pt"]]
+ assert captured[0].language == "pt"
+ assert result.output["voice_completion_phrase"] == "Feito — all good"
+
+
+def test_execute_unknown_output_language_falls_back_to_english(tmp_path: Path) -> None:
+ audit = ReviewAudit(path=tmp_path / "review.log")
+ tool = DispatchWithReviewTool(
+ runs_root=tmp_path / "runs",
+ audit_log_path=tmp_path / "review.log",
+ pipeline=_make_pipeline_with_pass(audit),
+ )
+ ctx = ExecutionContext(
+ trace_id=uuid4(),
+ user_utterance="x",
+ config={"output_language": "xx"},
+ memory_read=None,
+ )
+ result = asyncio.run(
+ tool.execute({"task": "write a python script that prints hello world"}, ctx)
+ )
+ assert result.output["voice_completion_phrase"] == "Done — all good"
+
+
def test_execute_cap_fired_returns_warnings(tmp_path: Path) -> None:
audit = ReviewAudit(path=tmp_path / "review.log")
tool = DispatchWithReviewTool(
diff --git a/tests/unit/agent_chat/test_controls.py b/tests/unit/agent_chat/test_controls.py
index d99780a5df..201ced102b 100644
--- a/tests/unit/agent_chat/test_controls.py
+++ b/tests/unit/agent_chat/test_controls.py
@@ -430,3 +430,16 @@ def test_message_uses_executor_exact_text_sender_and_idempotency(monkeypatch: An
assert any(e["kind"] == "tool_result" for e in svc.store.list_events(sid))
asyncio.run(scenario())
+
+
[email protected]("locale", ["en", "de", "es", "pt"])
+def test_command_request_accepts_every_slash_locale(locale: str) -> None:
+ # Mirrors ChatCommands.tsx: every interface language with its own slash
+ # dictionary sends its code, and the request must not reject it.
+ req = CommandRequest(command="status", request_id="r1", locale=locale)
+ assert req.locale == locale
+
+
+def test_command_request_rejects_an_unknown_locale() -> None:
+ with pytest.raises(ValueError):
+ CommandRequest(command="status", request_id="r1", locale="xx")
diff --git a/tests/unit/agent_chat/test_secret_requests.py b/tests/unit/agent_chat/test_secret_requests.py
index 302bd0393b..c82c27d446 100644
--- a/tests/unit/agent_chat/test_secret_requests.py
+++ b/tests/unit/agent_chat/test_secret_requests.py
@@ -15,6 +15,8 @@ ASKS = [
"Do you have a GitHub personal access token?",
"Schick mir bitte deinen API-Schlüssel.", # i18n-allow
"Por favor, envíame la contraseña de la base de datos.", # i18n-allow
+ "Preciso da tua chave de API da OpenAI para terminar a app.", # i18n-allow
+ "Cola aqui a palavra-passe da base de dados, por favor.", # i18n-allow
"请提供你的 API 密钥。", # i18n-allow
]
@@ -24,6 +26,7 @@ QUIET = [
"Done: the summary is in report.md.",
"A bot token identifies your Discord application.",
"Der Discord-Bot-Token ist gespeichert und Discord hat ihn akzeptiert.", # i18n-allow
+ "A app lê a chave a partir de OPENAI_API_KEY e está a funcionar.", # i18n-allow
]
@@ -40,4 +43,5 @@ def test_using_or_explaining_a_secret_is_not_a_request(text: str) -> None:
def test_a_claim_that_a_secret_is_stored_is_spotted() -> None:
assert claims_stored_secret("Der Bot-Token ist bereits sicher gespeichert.") # i18n-allow
assert claims_stored_secret("Your API key is already stored.")
+ assert claims_stored_secret("O token do bot já está guardado.") # i18n-allow
assert not claims_stored_secret("The bot is online.")
diff --git a/tests/unit/agent_chat/test_turn_completion.py b/tests/unit/agent_chat/test_turn_completion.py
index e10cd1fda7..45a5d7395a 100644
--- a/tests/unit/agent_chat/test_turn_completion.py
+++ b/tests/unit/agent_chat/test_turn_completion.py
@@ -28,6 +28,8 @@ QUESTION = {"question": "Which project?", "options": ["Reading tracker", "Budget
"Ich schlage vor, zuerst einen Entwurf zu machen.",
), # i18n-allow
("Por favor crea el archivo.", "Si quieres, puedo crearlo."), # i18n-allow
+ ("Cria o ficheiro, por favor.", "Se quiseres, posso criá-lo."), # i18n-allow
+ ("Podes criar o relatório?", "Qual projeto devo usar?"), # i18n-allow
("Please create a project overview.", "Which project should I use?"),
],
)
@@ -46,6 +48,8 @@ def test_offer_and_unstructured_blocking_question_are_not_execution(user_request
("Please create a plan.", "I suggest these steps."),
("Did you create the file?", "I can create it if you want."),
("Summarize this text: please create a file.", "I can create it if you want."),
+ ("Cria um plano com exemplo.", "Posso sugerir estes passos."), # i18n-allow
+ ("Cria o ficheiro.", "Criei o ficheiro. Queres mais alguma coisa?"), # i18n-allow
],
)
def test_advice_plans_and_actual_results_do_not_start_unrequested_work(user_request, reply):
diff --git a/tests/unit/agentic_ide/test_clarify.py b/tests/unit/agentic_ide/test_clarify.py
index 884f12ca46..3d999825e7 100644
--- a/tests/unit/agentic_ide/test_clarify.py
+++ b/tests/unit/agentic_ide/test_clarify.py
@@ -206,6 +206,7 @@ ASKS = [
("Kannst du bitte Mags prompten?", ["Alex", "Max", "Maggie"]),
("Dena soll die Tests fixen", None),
("Kannst du Ellice beauftragen, den Bug zu fixen", None),
+ ("Ilies deve corrigir os testes", None), # i18n-allow: pt speech input
]
# "But not, for example: 'can you tell me what Elon Musk is doing right now?'
@@ -224,6 +225,9 @@ STAYS_OUT = [
"schick das an Alexander Müller weiter",
"lass die Tests laufen und fixe die Fehler",
"Das soll man mal fixen",
+ "Diz-me o que o Elon Musk faz", # i18n-allow: pt speech input
+ "como está o tempo hoje", # i18n-allow: pt speech input
+ "podes corrigir o erro por favor", # i18n-allow: pt speech input
]
@@ -286,6 +290,11 @@ def test_a_misheard_collective_address_cannot_brief_the_whole_workspace() -> Non
# A handover verb and a name and nothing else is NOT workspace evidence.
("Sag mir was Elon Musk gerade macht", False),
("wie ist das Wetter", False),
+ ("diz ao Max para corrigir os testes", True), # i18n-allow: pt input
+ ("o Max deve corrigir os testes", True), # i18n-allow: pt input
+ ("o Max tem de rever o código", True), # i18n-allow: pt input
+ ("quero dar instruções ao terminal", True), # i18n-allow: pt input
+ ("diz-me como está o tempo", False), # i18n-allow: pt input
],
)
def test_workspace_gate(spoken: str, expected: bool) -> None:
@@ -318,6 +327,9 @@ def test_an_all_lowercase_transcript_still_refuses_function_words() -> None:
"What has Ellis done?",
"How far is Ellis?",
"Que ha hecho Ellis?",
+ "O que fez o Ellis?", # i18n-allow: pt speech input under test
+ "Em que ponto está o Ellis?", # i18n-allow: pt speech input under test
+ "O Ellis já está pronto?", # i18n-allow: pt speech input under test
],
)
def test_a_status_question_addresses_the_workspace(spoken: str) -> None:
@@ -342,6 +354,7 @@ def test_a_garbled_call_sign_in_a_status_question_asks() -> None:
# a human being — the surname is the only thing that tells them apart.
"Sag mir was Elon Musk gerade macht",
"Was hat Angela Merkel gemacht?",
+ "O que fez a Angela Merkel?", # i18n-allow: pt speech input under test
],
)
def test_a_status_question_about_a_person_stays_out_of_the_workspace(
@@ -349,3 +362,11 @@ def test_a_status_question_about_a_person_stays_out_of_the_workspace(
) -> None:
assert addresses_workspace(spoken) is False
assert _outcome(spoken) == "silent"
+
+
+def test_portuguese_function_words_are_never_call_signs() -> None:
+ """An all-lowercase pt sentence never turns a function word into a name."""
+ need = detect_clarification(
+ "podes por favor corrigir o erro no ficheiro", names=PANES # i18n-allow
+ )
+ assert need is None
diff --git a/tests/unit/agentic_ide/test_intent_portuguese.py b/tests/unit/agentic_ide/test_intent_portuguese.py
new file mode 100644
index 0000000000..3646c47810
--- /dev/null
+++ b/tests/unit/agentic_ide/test_intent_portuguese.py
@@ -0,0 +1,184 @@
+"""European Portuguese speech input reaches the same workspace intents as the
+other supported locales — and ordinary Portuguese sentences stay out of them.
+
+Every utterance below is spoken input under test (AGENTS.md §1 list #4).
+"""
+from __future__ import annotations
+
+import pytest
+
+from jarvis.agentic_ide import intent
+from jarvis.agentic_ide.names import spoken_positions
+
+NAMES = ["Alex", "Blake", "Casey", "Dana"]
+
+
+ ("utterance", "terminal"),
+ [
+ ("Diz ao Alex para correr os testes", "Alex"), # i18n-allow
+ ("O Blake deve rever o provider do vosk", "Blake"), # i18n-allow
+ ("A Casey tem de corrigir o bug do áudio", "Casey"), # i18n-allow
+ ("Pede à Dana que reveja o código", "Dana"), # i18n-allow
+ ("Deixa o Alex investigar o bug no caminho do wake", "Alex"), # i18n-allow
+ ("Quero que o Blake faça uma revisão do módulo", "Blake"), # i18n-allow
+ ("Que a Dana corrija os testes", "Dana"), # i18n-allow
+ ("Instrui o terminal Casey a fazer um deep dive", "Casey"), # i18n-allow
+ ],
+)
+def test_addressing_shapes(utterance: str, terminal: str) -> None:
+ found = intent.detect(utterance, names=NAMES)
+ assert found is not None, utterance
+ assert found.terminal == terminal
+ assert found.kind == intent.KIND_PROMPT
+
+
+ ("utterance", "terminal"),
+ [
+ ("O que está o Alex a fazer?", "Alex"), # i18n-allow
+ ("O que fez a Dana?", "Dana"), # i18n-allow
+ ("O Blake já está pronto?", "Blake"), # i18n-allow
+ ("Em que ponto está a Casey?", "Casey"), # i18n-allow
+ ],
+)
+def test_questions_about_a_pane_are_reads(utterance: str, terminal: str) -> None:
+ found = intent.detect(utterance, names=NAMES)
+ assert found is not None, utterance
+ assert found.terminal == terminal
+ assert found.kind == intent.KIND_REPORT
+
+
+ "utterance",
+ [
+ "Como está o tempo hoje?", # i18n-allow
+ "Faz um deep dive aos meus custos da Google Cloud", # i18n-allow
+ "Dana é um nome bonito para uma criança", # i18n-allow
+ "Explica-me como funciona o Vosk", # i18n-allow
+ ],
+)
+def test_unrelated_turns_are_left_alone(utterance: str) -> None:
+ assert intent.detect(utterance, names=NAMES) is None
+ assert intent.owns_turn(utterance, names=NAMES) is False
+
+
+def test_naming_the_spawn_vehicle_still_wins() -> None:
+ assert intent.owns_turn(
+ "Lança uma missão em segundo plano que ajude a Dana", names=NAMES # i18n-allow
+ ) is False
+
+
+def test_a_collective_address_reaches_every_pane() -> None:
+ found = intent.detect_all("Diz a todos que parem os testes", names=NAMES) # i18n-allow
+ assert [item.terminal for item in found] == NAMES
+
+
+def test_an_exception_list_keeps_its_panes_out() -> None:
+ found = intent.detect_all(
+ "Instrui todos os terminais exceto o Blake a correr os testes", # i18n-allow
+ names=NAMES,
+ )
+ assert "Blake" not in [item.terminal for item in found]
+ assert len(found) == len(NAMES) - 1
+
+
+def test_an_enumeration_with_e_addresses_both() -> None:
+ found = intent.detect_all(
+ "Diz ao Alex e ao Blake para corrigirem os testes", names=NAMES # i18n-allow
+ )
+ assert [item.terminal for item in found] == ["Alex", "Blake"]
+
+
+ ("utterance", "count", "agent"),
+ [
+ ("Abre três terminais do Codex", 3, "codex"), # i18n-allow
+ ("Cria quatro terminais", 4, None), # i18n-allow
+ ("Mais dois terminais, por favor", 2, None), # i18n-allow
+ ("Abre um terminal do Claude", 1, "claude"), # i18n-allow
+ ("Abre outro terminal", 1, None), # i18n-allow
+ ],
+)
+def test_spoken_terminal_requests(utterance: str, count: int, agent: str | None) -> None:
+ found = intent.detect_spawn(utterance)
+ assert found is not None, utterance
+ assert found.count == count, utterance
+ assert found.agent == agent, utterance
+
+
+def test_a_mixed_fleet_keeps_both_groups() -> None:
+ found = intent.detect_spawn(
+ "Abre três terminais do Codex e dois do Claude", names=NAMES # i18n-allow
+ )
+ assert found is not None
+ assert [(g.count, g.agent) for g in found.groups] == [(3, "codex"), (2, "claude")]
+
+
+ "utterance",
+ [
+ "Como abro um terminal novo?", # i18n-allow
+ "Com que atalho posso abrir um separador do browser?", # i18n-allow
+ "Abre o painel de controlo", # i18n-allow
+ ],
+)
+def test_questions_and_other_panels_never_open_panes(utterance: str) -> None:
+ assert intent.detect_spawn(utterance) is None
+
+
+ ("utterance", "agent"),
+ [
+ ("Fecha todos os terminais", None), # i18n-allow
+ ("Podes fechar todos os terminais do Codex?", "codex"), # i18n-allow
+ ],
+)
+def test_a_real_close_request_closes(utterance: str, agent: str | None) -> None:
+ found = intent.detect_close_fleet(utterance)
+ assert found is not None
+ assert found.agent == agent
+
+
+ "utterance",
+ [
+ "Diz a todos os terminais para fecharem os ficheiros", # i18n-allow
+ "Os terminais estão todos fechados?", # i18n-allow
+ ],
+)
+def test_fleet_instructions_and_questions_never_close_the_workspace(utterance: str) -> None:
+ assert intent.detect_close_fleet(utterance) is None
+
+
+def test_positions_are_named_in_portuguese() -> None:
+ two = spoken_positions("prompt o terminal dois") # i18n-allow
+ third = spoken_positions("o terceiro terminal") # i18n-allow
+ assert [value for _, _, value in two] == [2]
+ assert [value for _, _, value in third] == [3]
+
+
+def test_undelivered_complaints_are_recognised() -> None:
+ assert intent.reports_undelivered("Não lhe enviaste nada") # i18n-allow
+ assert intent.reports_undelivered("Tenta outra vez") # i18n-allow
+ assert not intent.reports_undelivered("O Alex enviou o relatório?") # i18n-allow
+
+
+def test_split_and_plural_signals() -> None:
+ assert intent.wants_split("Dividam o trabalho entre vocês") # i18n-allow
+ assert intent.expects_several("Os dois devem fazer um deep dive") # i18n-allow
+ assert intent.distributes_tasks(
+ "um trata do backend, o outro fica com o frontend" # i18n-allow
+ )
+
+
+def test_portuguese_group_briefs_route_by_kind_and_trim_the_next_article() -> None:
+ """ "… e o codex deve …" leaves neither "e" nor "o" on the claudes' task."""
+ utterance = (
+ "Abre dois claudes e um codex. Os claudes devem corrigir os testes " # i18n-allow
+ "e o codex deve atualizar a documentação." # i18n-allow
+ )
+ assert intent.spawn_group_tasks(utterance) == {
+ "claude": "corrigir os testes", # i18n-allow
+ "codex": "atualizar a documentação", # i18n-allow
+ }
diff --git a/tests/unit/agentic_ide/test_prompt_composer.py b/tests/unit/agentic_ide/test_prompt_composer.py
index 06da4d3678..6fa6c8c15e 100644
--- a/tests/unit/agentic_ide/test_prompt_composer.py
+++ b/tests/unit/agentic_ide/test_prompt_composer.py
@@ -487,6 +487,9 @@ async def test_the_writer_call_disables_thinking() -> None:
("Der Fehler ist halt im Cache", "halt"),
("Mach das Layout eben und ruhig", "eben"),
("Abre este archivo y revisa el router", "este"),
+ ("Corrige o tipo de ficheiro no router", "tipo"), # i18n-allow
+ ("O build está pronto, corre os testes", "pronto"), # i18n-allow
+ ("Explica o que quer dizer este erro", "quer dizer"), # i18n-allow
],
)
def test_a_content_word_is_never_filtered_out(said: str, must_survive: str) -> None:
@@ -499,3 +502,12 @@ def test_real_hesitation_sounds_are_still_removed() -> None:
)
assert "ähm" not in cleaned # i18n-allow: the German filler under test
assert "Tests" in cleaned
+
+
+def test_portuguese_hesitation_sounds_are_removed() -> None:
+ cleaned = prompt_composer._clean_speech(
+ "humm corrige ãh os testes do login" # i18n-allow: pt speech input under test
+ )
+ assert "humm" not in cleaned
+ assert "ãh" not in cleaned # i18n-allow: the pt filler under test
+ assert "testes" in cleaned # i18n-allow: pt content word under test
diff --git a/tests/unit/agentic_ide/test_recap_engine.py b/tests/unit/agentic_ide/test_recap_engine.py
index e67b363598..8a31ddfaa8 100644
--- a/tests/unit/agentic_ide/test_recap_engine.py
+++ b/tests/unit/agentic_ide/test_recap_engine.py
@@ -425,6 +425,13 @@ def test_the_prompt_asks_for_the_interface_language(monkeypatch) -> None:
assert "Write both lines in German." in recap_engine.build_prompt(_pane(), _rows(10))
+def test_a_portuguese_interface_asks_for_european_portuguese(monkeypatch) -> None:
+ monkeypatch.setattr(recap_engine, "_ui_language", lambda: "pt")
+
+ prompt = recap_engine.build_prompt(_pane(), _rows(10))
+ assert "Write both lines in European Portuguese." in prompt
+
+
def test_an_unknown_interface_language_falls_back_to_english(monkeypatch) -> None:
"""A locale a newer build introduced must not produce an empty instruction."""
monkeypatch.setattr(recap_engine, "_ui_language", lambda: "fr")
diff --git a/tests/unit/agentic_ide/test_spawn_intent.py b/tests/unit/agentic_ide/test_spawn_intent.py
index f10bf2c358..d699e73b54 100644
--- a/tests/unit/agentic_ide/test_spawn_intent.py
+++ b/tests/unit/agentic_ide/test_spawn_intent.py
@@ -869,6 +869,30 @@ def test_work_in_front_of_the_first_kind_brief_disables_the_map() -> None:
assert intent.spawn_group_tasks(utterance) == {}
+ ("utterance", "task"),
+ [
+ (
+ "Open two claudes and one codex. Prompt the claudes to fix the tests for option A",
+ "fix the tests for option A",
+ ),
+ (
+ "Open two claudes. Prompt the claudes to keep the old API and treat it as",
+ "keep the old API and treat it as",
+ ),
+ (
+ "Open two claudes. Prompt the claudes to add a case for e",
+ "add a case for e",
+ ),
+ ],
+)
+def test_english_group_tasks_keep_words_that_are_portuguese_articles(
+ utterance: str, task: str
+) -> None:
+ """ "a", "as", "e", "o" end English tasks; only Portuguese input trims them."""
+ assert intent.spawn_group_tasks(utterance) == {"claude": task}
+
+
def test_a_cli_named_inside_another_groups_task_is_not_an_addressee() -> None:
""" "prompt the claudes to fix codex bugs" briefs the claudes, not Codex."""
utterance = "Open two claude terminals. Prompt the claudes to fix the codex integration bugs."
diff --git a/tests/unit/agentic_ide/test_task_kind.py b/tests/unit/agentic_ide/test_task_kind.py
index 086597f14a..c9b3c0ac31 100644
--- a/tests/unit/agentic_ide/test_task_kind.py
+++ b/tests/unit/agentic_ide/test_task_kind.py
@@ -20,23 +20,34 @@ from jarvis.agentic_ide.task_kind import (
("add a retry to the upload path", KIND_IMPLEMENT),
("baue einen Retry in den Upload-Pfad ein", KIND_IMPLEMENT), # i18n-allow
("implementa un reintento en la subida", KIND_IMPLEMENT),
+ ("adiciona uma nova tentativa ao envio", KIND_IMPLEMENT), # i18n-allow
+ ("cria um ficheiro de configuração", KIND_IMPLEMENT), # i18n-allow
+ ("apaga a pasta temporária", KIND_IMPLEMENT), # i18n-allow
("refactor the session registry", KIND_IMPLEMENT),
("fix the crash on an empty folder", KIND_IMPLEMENT),
# review
("review the ranking pipeline", KIND_REVIEW),
("mach ein Code-Review der Ranking-Pipeline", KIND_REVIEW), # i18n-allow
("revisa el pipeline de ranking", KIND_REVIEW),
+ ("revê o pipeline de ranking", KIND_REVIEW), # i18n-allow
+ ("avalia a qualidade do código", KIND_REVIEW), # i18n-allow
("audit the credential storage for leaks", KIND_REVIEW),
# investigate
("find out why the wake word stopped firing", KIND_INVESTIGATE),
# i18n-allow: German utterance under test
("finde heraus warum das Wake-Wort nicht mehr auslöst", KIND_INVESTIGATE), # i18n-allow
("averigua por qué falla el arranque", KIND_INVESTIGATE),
+ ("porque é que o arranque falha", KIND_INVESTIGATE), # i18n-allow
+ ("porque nao arranca o servidor", KIND_INVESTIGATE), # i18n-allow
+ ("descobre porque o ficheiro some", KIND_INVESTIGATE), # i18n-allow
("debug the stalled prompt submission", KIND_INVESTIGATE),
# question
("how does the file index rank candidates", KIND_QUESTION),
("wie funktioniert der File-Index", KIND_QUESTION),
("qué hace el índice de archivos", KIND_QUESTION),
+ ("o que faz o índice de ficheiros", KIND_QUESTION), # i18n-allow
+ ("como funciona o índice de ficheiros", KIND_QUESTION), # i18n-allow
+ ("onde fica a configuração", KIND_QUESTION), # i18n-allow
("explain the fallback chain", KIND_QUESTION),
],
)
diff --git a/tests/unit/artifacts/test_brief.py b/tests/unit/artifacts/test_brief.py
index 5864332809..87c235b673 100644
--- a/tests/unit/artifacts/test_brief.py
+++ b/tests/unit/artifacts/test_brief.py
@@ -120,6 +120,11 @@ def test_an_oversized_previous_page_is_clipped_head_and_tail() -> None:
assert len(brief.prompt) < MAX_PREVIOUS_HTML_CHARS + 30_000
+def test_a_portuguese_request_names_european_portuguese() -> None:
+ brief = build_artifact_brief("Uma página.", title="Página", language="pt") # i18n-allow
+ assert "European Portuguese" in brief.prompt
+
+
def test_brief_is_deterministic() -> None:
a = build_artifact_brief("Same.", title="Same", language="es")
b = build_artifact_brief("Same.", title="Same", language="es")
diff --git a/tests/unit/brain/test_ack_brain/test_persona_language.py b/tests/unit/brain/test_ack_brain/test_persona_language.py
index ec8ba46f64..d4b010334c 100644
--- a/tests/unit/brain/test_ack_brain/test_persona_language.py
+++ b/tests/unit/brain/test_ack_brain/test_persona_language.py
@@ -1,7 +1,7 @@
"""Language resolution + name-neutrality for the Flash-Brain preamble persona.
Added 2026-06-29 with the name-neutral + Spanish rework. Guards that the
-preamble resolves de/en/es natively, never bakes in a product name, and carries
+preamble resolves de/en/es/pt natively, never bakes in a product name, and carries
no em dashes (which render as hard TTS pauses).
"""
from __future__ import annotations
@@ -10,6 +10,7 @@ from jarvis.brain.ack_brain.persona_prompt import (
PERSONA_PROMPT_DE,
PERSONA_PROMPT_EN,
PERSONA_PROMPT_ES,
+ PERSONA_PROMPT_PT,
get_persona_prompt,
)
@@ -18,11 +19,13 @@ def test_get_persona_prompt_resolves_each_language() -> None:
assert get_persona_prompt("de") == PERSONA_PROMPT_DE
assert get_persona_prompt("en") == PERSONA_PROMPT_EN
assert get_persona_prompt("es") == PERSONA_PROMPT_ES
+ assert get_persona_prompt("pt") == PERSONA_PROMPT_PT
def test_get_persona_prompt_normalises_tags_and_falls_back_to_de() -> None:
assert get_persona_prompt("en-US") == PERSONA_PROMPT_EN
assert get_persona_prompt("es-ES") == PERSONA_PROMPT_ES
+ assert get_persona_prompt("pt-PT") == PERSONA_PROMPT_PT
assert get_persona_prompt("de-DE") == PERSONA_PROMPT_DE
# Unknown / empty / None falls back to German (the STT default on ambiguity).
assert get_persona_prompt("fr") == PERSONA_PROMPT_DE
@@ -33,12 +36,12 @@ def test_get_persona_prompt_normalises_tags_and_falls_back_to_de() -> None:
def test_preamble_personas_are_name_neutral() -> None:
# No baked-in product name: the assistant's name is runtime-derived from the
# wake word and owned by the deep brain.
- for prompt in (PERSONA_PROMPT_DE, PERSONA_PROMPT_EN, PERSONA_PROMPT_ES):
+ for prompt in (PERSONA_PROMPT_DE, PERSONA_PROMPT_EN, PERSONA_PROMPT_ES, PERSONA_PROMPT_PT):
assert "JARVIS" not in prompt
assert "Jarvis" not in prompt
def test_preamble_personas_have_no_em_dash() -> None:
- for prompt in (PERSONA_PROMPT_DE, PERSONA_PROMPT_EN, PERSONA_PROMPT_ES):
+ for prompt in (PERSONA_PROMPT_DE, PERSONA_PROMPT_EN, PERSONA_PROMPT_ES, PERSONA_PROMPT_PT):
assert "—" not in prompt # em dash
assert "–" not in prompt # en dash
diff --git a/tests/unit/brain/test_ack_generator.py b/tests/unit/brain/test_ack_generator.py
index 7ecc157043..d16432809f 100644
--- a/tests/unit/brain/test_ack_generator.py
+++ b/tests/unit/brain/test_ack_generator.py
@@ -349,7 +349,7 @@ class TestVariety:
class TestLanguageCoverage:
- @pytest.mark.parametrize("lang", ["de", "en", "es"])
+ @pytest.mark.parametrize("lang", ["de", "en", "es", "pt"])
def test_all_pools_carry_all_supported_languages(self, lang: str) -> None:
# Runtime-output-language doctrine: a phrase table missing a
# supported language silently degrades that language's turns.
@@ -373,6 +373,22 @@ class TestLanguageCoverage:
for token in ("Okay, einen Moment", "One moment", "Ich "): # i18n-allow: German leak-detection tokens
assert token not in ack
+ @pytest.mark.parametrize(
+ "tool",
+ [
+ "dispatch_to_harness", "run_shell", "search_web", "spawn_sub_jarvis",
+ "multi_spawn", "open_app", "run_skill", "gmail", "google_calendar",
+ "remember", "verify_via_curl", "start_preview_server",
+ "set_config_value", "cli_gh", "unknown_tool",
+ ],
+ )
+ def test_every_family_answers_in_european_portuguese(self, tool: str) -> None:
+ ack = generate_ack(tool, {"query": "x", "tasks": [1, 2]}, language="pt", picker=_fresh())
+ assert ack
+ leaks = ("Okay, einen Moment", "One moment", "Ich ", "Vale", "Listo") # i18n-allow
+ for token in leaks:
+ assert token not in ack
+
@pytest.mark.parametrize("hint", ["en", "EN", "en-US", "english", "en-GB"])
def test_english_hints_resolve_to_en(self, hint: str) -> None:
ack = generate_ack("run_shell", {}, language=hint, picker=_fresh())
@@ -388,6 +404,11 @@ class TestLanguageCoverage:
ack = generate_ack("run_shell", {}, language="es", picker=_fresh())
assert ack in _SHELL_ACK["es"]
+ @pytest.mark.parametrize("hint", ["pt", "PT", "pt-PT"])
+ def test_portuguese_hint_resolves_to_pt(self, hint: str) -> None:
+ ack = generate_ack("run_shell", {}, language=hint, picker=_fresh())
+ assert ack in _SHELL_ACK["pt"]
+
def test_none_language_defaults_to_de(self) -> None:
ack = generate_ack("run_shell", {}, language=None, picker=_fresh()) # type: ignore[arg-type]
assert ack in _SHELL_ACK["de"]
diff --git a/tests/unit/brain/test_action_honesty.py b/tests/unit/brain/test_action_honesty.py
index 0ca59be9d7..c2b68e08f1 100644
--- a/tests/unit/brain/test_action_honesty.py
+++ b/tests/unit/brain/test_action_honesty.py
@@ -181,6 +181,8 @@ def test_action_not_started_phrase_supports_every_runtime_language() -> None:
assert action_not_started_phrase("de")
assert action_not_started_phrase("en")
assert action_not_started_phrase("es")
+ assert action_not_started_phrase("pt")
+ assert action_not_started_phrase("pt") != action_not_started_phrase("en")
@pytest.mark.asyncio
@@ -241,7 +243,7 @@ def test_questions_and_hobby_talk_are_not_false_completions(text: str) -> None:
assert has_false_completion_claim(text) is False
[email protected]("language", ["de", "en", "es"])
[email protected]("language", ["de", "en", "es", "pt"])
def test_honesty_fallback_is_not_itself_a_false_completion(language: str) -> None:
phrase = action_not_started_phrase(language)
assert has_false_completion_claim(phrase) is False
diff --git a/tests/unit/brain/test_cu_fast_path_unwired.py b/tests/unit/brain/test_cu_fast_path_unwired.py
index ba5bbab2e3..c254c3b5b2 100644
--- a/tests/unit/brain/test_cu_fast_path_unwired.py
+++ b/tests/unit/brain/test_cu_fast_path_unwired.py
@@ -133,8 +133,8 @@ def test_cu_not_wired_is_translated_in_every_locale() -> None:
from jarvis.voice.action_phrases import _PHRASES
variants = _PHRASES["cu_not_wired"]
- assert set(variants) == {"de", "en", "es"}
- assert len(set(variants.values())) == 3, f"a locale was left untranslated: {variants}"
+ assert set(variants) == {"de", "en", "es", "pt"}
+ assert len(set(variants.values())) == 4, f"a locale was left untranslated: {variants}"
# The actionable half must survive translation in every locale.
assert all("computer_use.enabled" in text for text in variants.values())
diff --git a/tests/unit/brain/test_evidence_gate_refusal_language.py b/tests/unit/brain/test_evidence_gate_refusal_language.py
index 292982bfe0..3489a4e7ba 100644
--- a/tests/unit/brain/test_evidence_gate_refusal_language.py
+++ b/tests/unit/brain/test_evidence_gate_refusal_language.py
@@ -18,6 +18,7 @@ from jarvis.brain.evidence_gate import (
_REFUSAL_DE,
_REFUSAL_EN,
_REFUSAL_ES,
+ _REFUSAL_PT,
check_evidence_domain,
)
from jarvis.core.capabilities import CapabilityRegistry
@@ -46,17 +47,18 @@ def _refuse(text, *, language=""):
def test_every_locale_has_a_complete_refusal_table():
"""All locales are equal: no table may lag another (AGENTS.md §1)."""
- assert set(_REFUSAL_ES) == set(_REFUSAL_DE) == set(_REFUSAL_EN)
+ assert set(_REFUSAL_PT) == set(_REFUSAL_ES) == set(_REFUSAL_DE) == set(_REFUSAL_EN)
assert all(text.strip() for text in _REFUSAL_ES.values())
+ assert all(text.strip() for text in _REFUSAL_PT.values())
def test_resolved_language_wins_over_the_utterance_language():
for utterance in (DE_UTTERANCE, EN_UTTERANCE):
- for language in ("de", "en", "es"):
+ for language in ("de", "en", "es", "pt"):
v = _refuse(utterance, language=language)
assert v.kind == "honest_refusal"
assert v.refusal_text == {
- "de": _REFUSAL_DE, "en": _REFUSAL_EN, "es": _REFUSAL_ES,
+ "de": _REFUSAL_DE, "en": _REFUSAL_EN, "es": _REFUSAL_ES, "pt": _REFUSAL_PT,
}[language]["calendar"], (
f"utterance={utterance!r} language={language!r} "
f"got {v.refusal_text!r}"
@@ -71,6 +73,13 @@ def test_spanish_turn_is_refused_in_spanish():
assert v.refusal_text != _REFUSAL_EN["calendar"]
+def test_european_portuguese_turn_is_refused_in_portuguese():
+ v = _refuse(EN_UTTERANCE, language="pt-PT")
+
+ assert v.refusal_text == _REFUSAL_PT["calendar"]
+ assert v.refusal_text != _REFUSAL_ES["calendar"]
+
+
def test_bcp47_and_whisper_style_tags_are_accepted():
"""The resolver's own tag shapes (``es-ES``, ``spanish``) must not miss."""
for tag in ("es", "es-ES", "spanish", "Español"):
diff --git a/tests/unit/brain/test_local_action_gate.py b/tests/unit/brain/test_local_action_gate.py
index 7110e08b4a..5c379c373b 100644
--- a/tests/unit/brain/test_local_action_gate.py
+++ b/tests/unit/brain/test_local_action_gate.py
@@ -660,6 +660,20 @@ def test_unsupported_response_lang_en_in_plan() -> None:
assert "I can't do that yet" in plan.response_text
+ ("lang", "opening"),
+ [
+ ("pt", "Ainda não consigo fazer isso."), # i18n-allow: PT TTS
+ ("es", "Eso todavía no lo sé hacer."), # i18n-allow: Spanish TTS
+ ("fr", "I can't do that yet."),
+ ],
+)
+def test_unsupported_response_speaks_the_turn_language(lang: str, opening: str) -> None:
+ plan = match_local_action("schick eine email", lang=lang, _registry=_FAKE_REG)
+ assert plan is not None and plan.response_text is not None
+ assert plan.response_text.startswith(opening)
+
+
# ---------------------------------------------------------------------------
# Positive cases — these MUST NOT return UNSUPPORTED even with a registry
# that knows the verbs (because resolve_intent returns non-None for them).
diff --git a/tests/unit/brain/test_manager_spoken_phrases_pt.py b/tests/unit/brain/test_manager_spoken_phrases_pt.py
new file mode 100644
index 0000000000..cc1a32298c
--- /dev/null
+++ b/tests/unit/brain/test_manager_spoken_phrases_pt.py
@@ -0,0 +1,88 @@
+"""Fixed phrases the brain manager speaks itself follow the turn language.
+
+The CLI-failure readback, the "nothing found" reply and the navigation ack used
+a German-or-English switch, so a Portuguese or Spanish turn heard English.
+"""
+from __future__ import annotations
+
+import pytest
+
+from jarvis.brain.manager import (
+ _CLI_FAILURE_PHRASES,
+ _NAVIGATION_ACK,
+ _NOTHING_FOUND_PHRASE,
+ SUPPORTED_REPLY_LANGUAGES,
+ BrainManager,
+ _cli_failure_reason,
+)
+
+_SPOKEN = {code for code in SUPPORTED_REPLY_LANGUAGES if code != "auto"}
+
+
+def _manager(reply_language: str) -> BrainManager:
+ m = BrainManager.__new__(BrainManager)
+ m._reply_language = reply_language
+ m._turn_detected_lang = ""
+ m._conversation_language = ""
+ return m
+
+
+def test_phrase_tables_cover_every_reply_language() -> None:
+ for table in (_CLI_FAILURE_PHRASES, _NOTHING_FOUND_PHRASE, _NAVIGATION_ACK):
+ assert set(table) == _SPOKEN
+
+
+ ("output", "error", "expected"),
+ [
+ ({"stderr": "ERROR: denied"}, None, "O comando falhou: denied"), # i18n-allow
+ ({"exit_code": 2}, None, "O comando falhou com o código de erro 2."), # i18n-allow
+ (None, None, "O comando falhou."), # i18n-allow
+ ],
+)
+def test_cli_failure_reason_in_portuguese(output, error, expected) -> None:
+ assert _cli_failure_reason(output, error, language="pt") == expected
+
+
+def test_cli_failure_reason_unknown_language_speaks_english() -> None:
+ assert _cli_failure_reason(None, None, language="fr") == "The command failed."
+
+
+def test_spoken_reply_language_pin_and_detection() -> None:
+ assert _manager("pt")._spoken_reply_language("What is the weather?") == "pt"
+ text = "Podes ver o tempo em Lisboa amanhã, por favor?" # i18n-allow: PT fixture
+ assert _manager("auto")._spoken_reply_language(text) == "pt"
+ assert _manager("auto")._spoken_reply_language("Spotify.") == "en"
+
+
[email protected]("pin", ["auto", "de", "en", "es", "pt"])
[email protected]("conversation", ["", "de", "en", "es", "pt"])
+ "text",
+ [
+ "Spotify.",
+ "What is the weather?",
+ "Podes ver o tempo em Lisboa amanhã, por favor?", # i18n-allow: PT fixture
+ "Mach bitte das Licht an", # i18n-allow: German voice fixture
+ ],
+)
+def test_spoken_reply_language_agrees_with_the_turn_resolver(
+ pin: str, conversation: str, text: str
+) -> None:
+ """Canned phrases and the router resolve ONE language per turn (AGENTS.md)."""
+ from jarvis.core.turn_language import DEFAULT_LOCALE, resolve_output_language
+
+ m = _manager(pin)
+ m._conversation_language = conversation
+ m._turn_detected_lang = "unknown"
+ expected = resolve_output_language(
+ pin, "unknown", text, default=DEFAULT_LOCALE, conversation_language=conversation
+ )
+ assert m._spoken_reply_language(text) == expected
+
+
+def test_a_thin_turn_keeps_the_portuguese_conversation() -> None:
+ """ "Spotify." mid-conversation stays Portuguese, as the reply itself does."""
+ m = _manager("auto")
+ m._conversation_language = "pt"
+ assert m._spoken_reply_language("Spotify.") == "pt"
diff --git a/tests/unit/brain/test_output_filter.py b/tests/unit/brain/test_output_filter.py
index 91fbc1c6e2..05a14207a7 100644
--- a/tests/unit/brain/test_output_filter.py
+++ b/tests/unit/brain/test_output_filter.py
@@ -944,6 +944,30 @@ def test_fallback_phrase_localized_to_spanish() -> None:
assert dump.cleaned != FALLBACK_PHRASES["de"]
+def test_fallback_phrase_localized_to_european_portuguese() -> None:
+ """Same doctrine for pt: a pt-pinned user hears the pt fallback, not German."""
+ from jarvis.brain.output_filter import FALLBACK_PHRASES
+
+ assert "pt" in FALLBACK_PHRASES, "European Portuguese fallback phrase missing"
+ dump = scrub_for_voice("{'exit_code': 0, 'cost_usd': 0.0}", language="pt")
+ assert dump.fallback_used is True
+ assert dump.cleaned == FALLBACK_PHRASES["pt"]
+ trace = scrub_for_voice(
+ "Traceback (most recent call last):\n File x\nValueError: boom",
+ language="pt",
+ )
+ assert trace.fallback_used is True
+ assert trace.cleaned == FALLBACK_PHRASES["pt"]
+ assert dump.cleaned not in (FALLBACK_PHRASES["de"], FALLBACK_PHRASES["es"])
+
+
+def test_portuguese_serp_footer_is_deleted_whole() -> None:
+ text = "A nota 2 começa nos 34,5 pontos. Mais resultados de www.publico.pt"
+ result = scrub_for_voice(text, language="pt")
+ assert "publico" not in result.cleaned.lower()
+ assert "resultados" not in result.cleaned.lower()
+
+
def test_scrub_keeps_humanized_readback_with_quotes() -> None:
"""No false positive: a clean readback that merely quotes a UI label (and
contains an apostrophe + colon-free) must pass through untouched."""
@@ -1189,14 +1213,14 @@ def test_url_is_replaced_by_a_spoken_placeholder_not_deleted() -> None:
@pytest.mark.parametrize(
("language", "expected"),
- [("de", "der Website"), ("en", "the website"), ("es", "el sitio web")],
+ [("de", "der Website"), ("en", "the website"), ("es", "el sitio web"), ("pt", "o site")],
)
def test_url_placeholder_is_localized(language: str, expected: str) -> None:
"""Runtime-output-language doctrine: the placeholder table carries every
supported locale — a Spanish-pinned user never hears the German one."""
from jarvis.brain.output_filter import SOURCE_LINK_PLACEHOLDER
- assert set(SOURCE_LINK_PLACEHOLDER) >= {"de", "en", "es"}
+ assert set(SOURCE_LINK_PLACEHOLDER) >= {"de", "en", "es", "pt"}
result = scrub_for_voice("Mehr dazu auf https://example.org heute.", language=language)
assert expected in result.cleaned
assert "example.org" not in result.cleaned
diff --git a/tests/unit/brain/test_provider_down_phrase.py b/tests/unit/brain/test_provider_down_phrase.py
index d94fd46f36..d1d56ca861 100644
--- a/tests/unit/brain/test_provider_down_phrase.py
+++ b/tests/unit/brain/test_provider_down_phrase.py
@@ -36,12 +36,12 @@ _JARGON = (
class TestProviderDownPhrase:
- @pytest.mark.parametrize("lang", ["de", "en", "es"])
+ @pytest.mark.parametrize("lang", ["de", "en", "es", "pt"])
def test_three_variants_per_supported_language(self, lang: str) -> None:
assert len(_PROVIDER_DOWN_PHRASES[lang]) == 3
assert len(set(_PROVIDER_DOWN_PHRASES[lang])) == 3 # all distinct
- @pytest.mark.parametrize("lang", ["de", "en", "es"])
+ @pytest.mark.parametrize("lang", ["de", "en", "es", "pt"])
def test_rotation_is_deterministic_and_cycles(self, lang: str) -> None:
got = [_provider_down_phrase(lang, i) for i in range(6)]
assert got[0] == got[3] and got[1] == got[4] and got[2] == got[5]
@@ -53,7 +53,7 @@ class TestProviderDownPhrase:
def test_unknown_language_falls_back_to_german(self) -> None:
assert _provider_down_phrase("fr", 1) == _PROVIDER_DOWN_PHRASES["de"][1]
- @pytest.mark.parametrize("lang", ["de", "en", "es", "auto", "FR"])
+ @pytest.mark.parametrize("lang", ["de", "en", "es", "pt", "auto", "FR"])
def test_phrase_is_voice_safe_no_provider_jargon(self, lang: str) -> None:
for i in range(3):
low = _provider_down_phrase(lang, i).lower()
@@ -65,6 +65,10 @@ class TestProviderDownPhrase:
joined = " ".join(_PROVIDER_DOWN_PHRASES["es"])
assert any(c in joined for c in "áéíóúñ¿¡")
+ def test_portuguese_diacritics_preserved(self) -> None:
+ joined = " ".join(_PROVIDER_DOWN_PHRASES["pt"])
+ assert any(c in joined for c in "ãõçáéíóúâêô")
+
class TestNextProviderDownPhraseAutoDetect:
"""The METHOD ``_next_provider_down_phrase`` must speak the auto-detected
@@ -124,7 +128,7 @@ class TestCauseAwareProviderDownPhrase:
from jarvis.brain.manager import _PROVIDER_DOWN_CAUSE_PHRASES
for cause, table in _PROVIDER_DOWN_CAUSE_PHRASES.items():
- assert set(table) == {"de", "en", "es"}, cause
+ assert set(table) == {"de", "en", "es", "pt"}, cause
def test_cause_phrases_are_voice_safe(self) -> None:
from jarvis.brain.manager import _PROVIDER_DOWN_CAUSE_PHRASES
diff --git a/tests/unit/brain/test_reply_language.py b/tests/unit/brain/test_reply_language.py
index db2f9c9276..93ed20f1d9 100644
--- a/tests/unit/brain/test_reply_language.py
+++ b/tests/unit/brain/test_reply_language.py
@@ -38,7 +38,7 @@ def _manager(reply_language: str) -> BrainManager:
def test_normalize_accepts_known_languages() -> None:
- for code in ("auto", "de", "en", "es"):
+ for code in ("auto", "de", "en", "es", "pt"):
assert normalize_reply_language(code) == code
@@ -59,6 +59,7 @@ def test_directive_names_target_language() -> None:
assert "English" in _manager("en")._reply_language_directive()
assert "German" in _manager("de")._reply_language_directive()
assert "Spanish" in _manager("es")._reply_language_directive()
+ assert "European Portuguese" in _manager("pt")._reply_language_directive()
def test_directive_is_mandatory_and_keeps_proper_nouns() -> None:
@@ -70,8 +71,9 @@ def test_directive_is_mandatory_and_keeps_proper_nouns() -> None:
def test_auto_directive_mirrors_user_language() -> None:
d = _manager("auto")._reply_language_directive()
- # auto = mirror; must mention all three supported languages, no hard pin
+ # auto = mirror; must mention every supported language, no hard pin
assert "German" in d and "English" in d and "Spanish" in d
+ assert "European Portuguese" in d
assert "MANDATORY" not in d
@@ -119,6 +121,9 @@ def test_set_reply_language_updates_runtime() -> None:
m.set_reply_language("es")
assert m._reply_language == "es"
assert "Spanish" in m._build_system_prompt()
+ m.set_reply_language("pt")
+ assert m._reply_language == "pt"
+ assert "European Portuguese" in m._build_system_prompt()
def test_set_reply_language_rejects_unknown() -> None:
@@ -131,3 +136,52 @@ def test_set_reply_language_rejects_unknown() -> None:
def test_reply_language_property_reflects_value() -> None:
assert _manager("en").reply_language == "en"
+
+
+def test_every_manager_phrase_table_carries_european_portuguese() -> None:
+ """Every spoken table with a Spanish column also has a pt column with the
+ same placeholders and variant count (nested tables included), so a
+ pt-pinned turn never falls back to German."""
+ import string
+
+ import jarvis.brain.manager as manager
+
+ def fields(value: object) -> list[set[str]]:
+ texts = value if isinstance(value, tuple) else (value,)
+ return [
+ {f for _, f, _, _ in string.Formatter().parse(str(t)) if f} for t in texts
+ ]
+
+ def walk(table: dict, path: str) -> int:
+ checked = 0
+ if "es" in table and isinstance(table["es"], (str, tuple, dict)):
+ assert "pt" in table, path
+ if isinstance(table["es"], dict):
+ assert set(table["pt"]) == set(table["es"]), path
+ else:
+ assert fields(table["pt"]) == fields(table["es"]), path
+ checked += 1
+ for key, value in table.items():
+ if isinstance(value, dict):
+ checked += walk(value, f"{path}.{key}")
+ return checked
+
+ checked = sum(
+ walk(value, name)
+ for name, value in vars(manager).items()
+ if name.isupper() or name.startswith("_") and isinstance(value, dict)
+ if isinstance(value, dict)
+ )
+ assert checked >= 30
+
+
+def test_tool_use_loop_spoken_fallbacks_carry_european_portuguese() -> None:
+ from jarvis.brain.tool_use_loop import (
+ _ANTI_SILENCE_PHRASES,
+ _META_DEBUG_ACK_PHRASES,
+ _localized_phrase,
+ )
+
+ for table in (_ANTI_SILENCE_PHRASES, _META_DEBUG_ACK_PHRASES):
+ assert table["pt"] and table["pt"] not in (table["de"], table["es"])
+ assert _localized_phrase(table, "anything", "pt") == table["pt"]
diff --git a/tests/unit/brain/test_router_ack_language.py b/tests/unit/brain/test_router_ack_language.py
new file mode 100644
index 0000000000..364b3698dc
--- /dev/null
+++ b/tests/unit/brain/test_router_ack_language.py
@@ -0,0 +1,34 @@
+"""The router's tool ack speaks the turn's resolved output language.
+
+The ack used a private de/en heuristic with a German default, so a Portuguese
+or Spanish turn heard a German tool acknowledgement. It now resolves through
+``RouterBrain._output_locale`` (the one output-language resolver).
+"""
+from __future__ import annotations
+
+import pytest
+
+from jarvis.brain.router import RouterBrain
+from jarvis.core.bus import EventBus
+from jarvis.core.events import AnnouncementRequested
+
+
+async def test_tool_ack_uses_the_resolved_output_language(monkeypatch) -> None:
+ router = RouterBrain.__new__(RouterBrain)
+ bus = EventBus()
+ router._bus = bus
+ captured: list[AnnouncementRequested] = []
+
+ async def _on(event: AnnouncementRequested) -> None:
+ captured.append(event)
+
+ bus.subscribe(AnnouncementRequested, _on)
+ monkeypatch.setattr(RouterBrain, "_output_locale", lambda self, utterance: "pt")
+
+ emit = router._build_ack_emitter("procura o tempo em Lisboa") # i18n-allow: PT fixture
+ assert emit is not None
+ await emit("search_web", {"query": "tempo Lisboa"})
+
+ assert captured, "the search tool must be acknowledged"
+ assert captured[0].language == "pt"
diff --git a/tests/unit/brain/test_self_mod_tools.py b/tests/unit/brain/test_self_mod_tools.py
index fb9079ce9a..f5983c7217 100644
--- a/tests/unit/brain/test_self_mod_tools.py
+++ b/tests/unit/brain/test_self_mod_tools.py
@@ -214,7 +214,7 @@ class TestListMutableSettings:
by_path = {entry["path"]: entry for entry in result.output}
assert by_path["tts.speed"]["value_type"] == "float"
assert by_path["ui.language"]["value_type"] == "enum"
- assert set(by_path["ui.language"]["allowed_values"]) == {"en", "de", "es", "zh"}
+ assert set(by_path["ui.language"]["allowed_values"]) == {"en", "de", "es", "pt", "zh"}
def test_current_values_match_fixture(self, tools: dict[str, Any]) -> None:
result = _exec(tools["list_mutable_settings"], {})
diff --git a/tests/unit/brain/test_spawn_ack_language.py b/tests/unit/brain/test_spawn_ack_language.py
index f17df361f3..1248c1cc85 100644
--- a/tests/unit/brain/test_spawn_ack_language.py
+++ b/tests/unit/brain/test_spawn_ack_language.py
@@ -14,8 +14,9 @@ heuristic, which scored the English sentence 0-0 and broke the tie to German
truth the pipeline already uses for the turn language — instead of a private,
weaker detector.
-The spawn-announcement composer supports de/en only (ack-brain convention), so
-Spanish/unknown text under "auto" collapses to English (never silently German).
+The spawn-announcement composer speaks every supported reply language, so a
+pinned es/pt reply language passes through and Spanish/Portuguese text under
+"auto" keeps its language; unknown text collapses to English (never German).
"""
from __future__ import annotations
@@ -33,6 +34,8 @@ def _manager(reply_language: str) -> BrainManager:
"""A BrainManager with __init__ bypassed — only ``_reply_language`` matters."""
m = BrainManager.__new__(BrainManager)
m._reply_language = reply_language
+ m._turn_detected_lang = ""
+ m._conversation_language = ""
return m
@@ -55,9 +58,27 @@ def test_pinned_english_always_wins_over_german_text() -> None:
assert _manager("en")._spawn_ack_language(text) == "en"
-def test_spanish_auto_collapses_to_english_for_de_en_composer() -> None:
- # The composer speaks de/en only; Spanish must degrade to English, not German.
- assert _manager("auto")._spawn_ack_language("¿Qué ciudad me recomiendas?") == "en"
+def test_spanish_auto_keeps_spanish() -> None:
+ assert _manager("auto")._spawn_ack_language("¿Qué ciudad me recomiendas?") == "es"
+
+
+def test_portuguese_auto_keeps_portuguese() -> None:
+ text = "Podes dizer-me qual é a melhor cidade para visitar na Austrália?" # i18n-allow
+ assert _manager("auto")._spawn_ack_language(text) == "pt"
+
+
+def test_every_pinned_reply_language_passes_through() -> None:
+ from jarvis.brain.manager import SUPPORTED_REPLY_LANGUAGES
+
+ for code in SUPPORTED_REPLY_LANGUAGES:
+ if code == "auto":
+ continue
+ assert _manager(code)._spawn_ack_language(AUSTRALIA_EN) == code
+
+
+def test_pinned_portuguese_wins_over_german_text() -> None:
+ text = "Mach bitte das Licht im Wohnzimmer an" # i18n-allow: German voice fixture
+ assert _manager("pt")._spawn_ack_language(text) == "pt"
def test_ambiguous_utterance_does_not_default_to_german() -> None:
diff --git a/tests/unit/brain/test_spawn_announcement.py b/tests/unit/brain/test_spawn_announcement.py
index 35ebea667a..865c4e80c2 100644
--- a/tests/unit/brain/test_spawn_announcement.py
+++ b/tests/unit/brain/test_spawn_announcement.py
@@ -165,20 +165,54 @@ async def test_already_running_kind_uses_its_own_pool() -> None:
assert out_de in _rendered(_FALLBACK_ALREADY_RUNNING["de"])
assert out_en in _rendered(_FALLBACK_ALREADY_RUNNING["en"])
assert out_es in _rendered(_FALLBACK_ALREADY_RUNNING["es"])
+ out_pt = await composer.compose(
+ utterance="Vê o meu correio, por favor.",
+ language="pt",
+ kind="already_running",
+ )
+ assert out_pt in _rendered(_FALLBACK_ALREADY_RUNNING["pt"])
@pytest.mark.asyncio
-async def test_spanish_turn_uses_pool_and_skips_llm() -> None:
- """An 'es' turn has no native persona — it must serve the curated Spanish
- pool directly and never spend an LLM round-trip that would only reject."""
- provider = _FakeProvider(reply="LLM must not run for an es turn.")
+async def test_spanish_turn_uses_llm_with_spanish_directive() -> None:
+ """An 'es' turn runs the flash LLM with the Spanish output directive."""
+ reply = "Un Nova-Agent está revisando tu correo en segundo plano." # i18n-allow
+ provider = _FakeProvider(reply=reply)
composer = _composer(provider)
out = await composer.compose(
- utterance="Por favor, revisa mi correo en busca de facturas.",
+ utterance="Por favor, revisa mi correo en busca de facturas.", # i18n-allow
language="es",
)
- assert out in _rendered(_FALLBACK_SPAWN["es"])
- assert provider.calls == [], "es turn must skip the de/en-persona LLM path"
+ assert out == reply
+ assert len(provider.calls) == 1
+ assert "Spanish" in provider.calls[0]["persona_prompt"]
+
+
+async def test_portuguese_turn_uses_llm_with_pt_pt_directive() -> None:
+ """A 'pt' turn runs the flash LLM with the European Portuguese directive."""
+ reply = "Um Nova-Agent está a ver o teu correio em segundo plano." # i18n-allow
+ provider = _FakeProvider(reply=reply)
+ composer = _composer(provider)
+ out = await composer.compose(
+ utterance="Por favor, vê o meu correio à procura de faturas.", # i18n-allow
+ language="pt",
+ )
+ assert out == reply
+ assert len(provider.calls) == 1
+ assert "European Portuguese" in provider.calls[0]["persona_prompt"]
+
+
+async def test_portuguese_completion_claim_falls_back_to_pt_pool() -> None:
+ """A pt completion claim is a lie at spawn time: the pt pool speaks."""
+ provider = _FakeProvider(reply="O Nova-Agent já está feito com o teu correio.") # i18n-allow
+ composer = _composer(provider)
+ out = await composer.compose(
+ utterance="Por favor, vê o meu correio à procura de faturas.", # i18n-allow
+ language="pt",
+ )
+ assert out in _rendered(_FALLBACK_SPAWN["pt"])
def test_pool_phrases_pass_own_validation_and_ban_old_template() -> None:
@@ -190,6 +224,10 @@ def test_pool_phrases_pass_own_validation_and_ban_old_template() -> None:
("en", _FALLBACK_SPAWN["en"]),
("de", _FALLBACK_ALREADY_RUNNING["de"]),
("en", _FALLBACK_ALREADY_RUNNING["en"]),
+ ("es", _FALLBACK_SPAWN["es"]),
+ ("pt", _FALLBACK_SPAWN["pt"]),
+ ("es", _FALLBACK_ALREADY_RUNNING["es"]),
+ ("pt", _FALLBACK_ALREADY_RUNNING["pt"]),
):
for phrase in pool:
spoken = phrase.replace("{agent}", BRAND)
@@ -238,12 +276,31 @@ def test_es_pools_survive_voice_scrubbing() -> None:
)
+def test_pt_pools_survive_voice_scrubbing() -> None:
+ """The European Portuguese pools, like the Spanish ones, bypass
+ ``_validate``; every pt phrase must survive ``scrub_for_voice`` intact."""
+ from jarvis.brain.output_filter import scrub_for_voice
+
+ for pool in (
+ _FALLBACK_SPAWN["pt"],
+ _FALLBACK_ALREADY_RUNNING["pt"],
+ STILL_RUNNING_PHRASES["pt"],
+ ):
+ for phrase in pool:
+ cleaned = scrub_for_voice(
+ phrase, language="pt", ack_mode=True
+ ).cleaned.strip()
+ assert sum(c.isalnum() for c in cleaned) >= 3, (
+ f"pt phrase gutted by scrub_for_voice: {phrase!r} -> {cleaned!r}"
+ )
+
+
def test_pools_have_enough_distinct_variants() -> None:
- for lang in ("de", "en", "es"):
+ for lang in ("de", "en", "es", "pt"):
pool = _FALLBACK_SPAWN[lang]
assert len(pool) >= 6
assert len(set(pool)) == len(pool)
- for lang in ("de", "en", "es"):
+ for lang in ("de", "en", "es", "pt"):
pool = _FALLBACK_ALREADY_RUNNING[lang]
assert len(pool) >= 3
assert len(set(pool)) == len(pool)
@@ -265,6 +322,10 @@ _SUBSTANCE_CUES: dict[str, tuple[str, ...]] = {
"más grande", "momento", "chicha", "más de trabajo", "poco de tiempo",
"a fondo", "algo más", "más amplio", "momentito", "buen vistazo", "sólido",
),
+ "pt": (
+ "maior", "momento", "a fundo", "algum tempo", "sólido", "mais por trás",
+ "bocadinho",
+ ),
}
@@ -280,15 +341,15 @@ def test_spawn_pools_convey_substance() -> None:
def test_still_running_phrases_cover_all_languages() -> None:
- """The heartbeat pool covers de/en/es with several distinct variants and
+ """The heartbeat pool covers de/en/es/pt with several distinct variants and
never claims completion (the mission is still in flight)."""
- assert set(STILL_RUNNING_PHRASES) == {"de", "en", "es"}
+ assert set(STILL_RUNNING_PHRASES) == {"de", "en", "es", "pt"}
for lang, pool in STILL_RUNNING_PHRASES.items():
assert len(pool) >= 4, f"too few heartbeat variants for {lang}"
assert len(set(pool)) == len(pool)
for phrase in pool:
low = phrase.lower()
- assert not low.startswith(("erledigt", "fertig", "done", "listo")), (
+ assert not low.startswith(("erledigt", "fertig", "done", "listo", "feito")), (
f"heartbeat must not open with a completion claim: {phrase!r}"
)
diff --git a/tests/unit/ci/test_check_frozen_macos_app.py b/tests/unit/ci/test_check_frozen_macos_app.py
index 707fa886aa..cb89266dc1 100644
--- a/tests/unit/ci/test_check_frozen_macos_app.py
+++ b/tests/unit/ci/test_check_frozen_macos_app.py
@@ -367,7 +367,7 @@ def test_check_app_reports_a_bundle_built_without_the_localisation_step(tmp_path
app, read_modules=lambda _exe: ALL_MODULES, run_codesign=_codesign(ADHOC_REPORT)
)
- assert len(problems) == 2
+ assert len(problems) == len(macos_privacy_strings.LOCALIZED_LANGUAGES)
assert all("InfoPlist.strings is missing" in problem for problem in problems)
diff --git a/tests/unit/clis/test_capability_provider.py b/tests/unit/clis/test_capability_provider.py
index 0951e8f48e..a93616acf3 100644
--- a/tests/unit/clis/test_capability_provider.py
+++ b/tests/unit/clis/test_capability_provider.py
@@ -73,6 +73,10 @@ def test_refusal_hint_installed_not_connected():
assert "GWS" in hint_de and "installiert" in hint_de
hint_en = refusal_hint("calendar", fake, "en")
assert "GWS" in hint_en and "installed" in hint_en
+ hint_pt = refusal_hint("calendar", fake, "pt")
+ assert "GWS" in hint_pt and "ainda não está ligado" in hint_pt # i18n-allow
+ hint_es = refusal_hint("calendar", fake, "es")
+ assert "GWS" in hint_es and "aún no está conectado" in hint_es # i18n-allow
def test_refusal_hint_known_but_not_installed():
diff --git a/tests/unit/commands/test_registry_parity.py b/tests/unit/commands/test_registry_parity.py
index fa9ddbec4d..1daea40049 100644
--- a/tests/unit/commands/test_registry_parity.py
+++ b/tests/unit/commands/test_registry_parity.py
@@ -222,10 +222,33 @@ def test_registry_dicts_are_json_serializable_and_small() -> None:
assert len(payload.encode("utf-8")) < 100_000
[email protected]("locale", ["de", "en", "es"])
[email protected]("locale", ["de", "en", "es", "pt"])
def test_every_command_has_voice_aliases_for_all_supported_locales(locale) -> None:
"""Supported languages are equal (AGENTS.md §1) — no de/en-only bias."""
for cmd in get_registry():
assert cmd.voice_aliases.get(locale), (
f"{cmd.id}: missing {locale} voice alias"
)
+
+
[email protected]("locale", ["de", "en", "es", "pt"])
+def test_voice_aliases_are_unique_per_locale(locale) -> None:
+ """One spoken phrase must name exactly one command in each locale."""
+ owners: dict[str, str] = {}
+ for cmd in get_registry():
+ for alias in cmd.voice_aliases.get(locale, ()):
+ key = alias.casefold().strip()
+ assert key not in owners, (
+ f"{locale} alias {alias!r} used by both {owners[key]} and {cmd.id}"
+ )
+ owners[key] = cmd.id
+
+
+def test_voice_alias_locales_cover_reply_languages() -> None:
+ """Every concrete reply language has voice aliases on every command."""
+ from jarvis.commands.registry import REPLY_LANGUAGES
+
+ concrete = {lang for lang in REPLY_LANGUAGES if lang != "auto"}
+ for cmd in get_registry():
+ missing = concrete - set(cmd.voice_aliases)
+ assert not missing, f"{cmd.id}: no voice aliases for {sorted(missing)}"
diff --git a/tests/unit/core/test_turn_language.py b/tests/unit/core/test_turn_language.py
index 9d34cbd2f7..a05354e838 100644
--- a/tests/unit/core/test_turn_language.py
+++ b/tests/unit/core/test_turn_language.py
@@ -488,3 +488,142 @@ def test_output_language_validator_keeps_unknown_target_non_blocking() -> None:
assert result.status == "indeterminate"
assert result.resolved_language == "unknown"
assert result.should_block is False
+
+
+# ---------------------------------------------------------------------------
+# European Portuguese ("pt"): Portuguese shares accents and many function words
+# with Spanish, so only distinctive words and characters may decide it.
+# ---------------------------------------------------------------------------
+
+
+ ("tag", "expected"),
+ [
+ ("portuguese", "pt"),
+ ("Portuguese", "pt"),
+ ("pt", "pt"),
+ ("pt-PT", "pt"),
+ ("pt_BR", "pt"),
+ ("por", "pt"),
+ ("português", "pt"),
+ ],
+)
+def test_normalize_portuguese_tags(tag: str, expected: str) -> None:
+ assert normalize_language_tag(tag) == expected
+
+
+ ("text", "expected"),
+ [
+ ("Olá, podes abrir o ficheiro no ecrã?", "pt"),
+ ("Obrigado, isso está muito bom.", "pt"),
+ ("Hoje está muito calor e eu vou à praia.", "pt"),
+ ("Eu quero saber o tempo para amanhã em Lisboa", "pt"),
+ # Typed without accents.
+ ("Nao sei, voce pode fazer isso agora?", "pt"),
+ ("Está bem", "pt"),
+ # Spanish, German and English stay where they were.
+ ("¿Qué tiempo hace mañana en Madrid?", "es"),
+ ("Hola, puedes abrir el archivo por favor", "es"),
+ ("Gracias, eso está muy bien", "es"),
+ ("Está bien", "es"),
+ ("Kümmere dich um das Update", "de"), # i18n-allow: German voice fixture
+ ("Wie ist das Wetter morgen?", "de"), # i18n-allow: German voice fixture
+ ("What is the weather like today?", "en"),
+ ("open google.com please", "en"),
+ ],
+)
+def test_detect_portuguese_without_stealing_other_languages(
+ text: str, expected: str,
+) -> None:
+ assert detect_text_language(text) == expected
+
+
+def test_portuguese_and_spanish_token_sets_are_disjoint() -> None:
+ from jarvis.core import turn_language
+
+ sets = dict(turn_language._SETS)
+ codes = sorted(sets)
+ for i, first in enumerate(codes):
+ for second in codes[i + 1:]:
+ assert not sets[first] & sets[second], (first, second)
+
+
+def test_portuguese_pin_wins() -> None:
+ assert resolve_output_language(
+ "pt", "german", "Wie ist das Wetter?", # i18n-allow: German voice fixture
+ ) == "pt"
+ assert resolve_output_language(" PT ", None, "What time is it?") == "pt"
+
+
[email protected]("previous", ["de", "en", "es"])
+ ("text", "expected"),
+ [
+ ("Responde em português", "pt"),
+ ("Fala português, por favor.", "pt"),
+ ("Podes falar em português?", "pt"),
+ ("Escreve sempre em português", "pt"),
+ ("Please speak Portuguese.", "pt"),
+ ("Antworte bitte auf Portugiesisch", "pt"), # i18n-allow: spoken correction
+ ("Habla en portugués", "pt"),
+ ("Responde em inglês", "en"),
+ ("Fala alemão", "de"),
+ ("Muda para espanhol", "es"),
+ ],
+)
+def test_portuguese_language_request(previous: str, text: str, expected: str) -> None:
+ assert detect_language_request(text) == expected
+ assert resolve_output_language(
+ "auto", "es", text, conversation_language=previous,
+ ) == expected
+
+
+ "text",
+ ["Não fales em português", "Traduz isto para português: hello", "português"],
+)
+def test_portuguese_mentions_are_not_explicit_corrections(text: str) -> None:
+ assert detect_language_request(text) == ""
+
+
+ "text",
+ [
+ "Hoje o tempo está muito bom e eu vou abrir o ficheiro agora.",
+ "Não consegui encontrar isso, mas já estou a procurar outra vez.",
+ ],
+)
+def test_output_language_validator_accepts_portuguese_under_pt_pin(text: str) -> None:
+ result = validate_output_language(text, resolved_language="pt")
+
+ assert result.status == "match"
+ assert result.detected_language == "pt"
+ assert result.should_block is False
+
+
+ ("text", "detected_language"),
+ [
+ ("Hoy el tiempo está muy bien y quiero saber más del clima.", "es"),
+ ("The answer is in the wrong language and should not be spoken.", "en"),
+ ],
+)
+def test_output_language_validator_flags_wrong_language_under_pt_pin(
+ text: str, detected_language: str,
+) -> None:
+ result = validate_output_language(text, resolved_language="pt")
+
+ assert result.status == "mismatch"
+ assert result.detected_language == detected_language
+ assert result.should_block is True
+
+
+def test_output_language_validator_flags_portuguese_under_es_pin() -> None:
+ result = validate_output_language(
+ "Não consegui encontrar isso, mas já estou a procurar outra vez.",
+ resolved_language="es",
+ )
+
+ assert result.status == "mismatch"
+ assert result.detected_language == "pt"
diff --git a/tests/unit/cu/indicator/test_appshot_card.py b/tests/unit/cu/indicator/test_appshot_card.py
index 376d4f95f5..97bf8776f9 100644
--- a/tests/unit/cu/indicator/test_appshot_card.py
+++ b/tests/unit/cu/indicator/test_appshot_card.py
@@ -143,4 +143,4 @@ def test_the_card_hint_follows_the_app_language() -> None:
assert card_hint(Cfg) == _CARD_HINTS["de"]
Cfg.ui.language = "auto"
assert card_hint(Cfg) == _CARD_HINTS["en"]
- assert set(_CARD_HINTS) == {"de", "en", "es", "zh"}
+ assert set(_CARD_HINTS) == {"de", "en", "es", "zh", "pt"}
diff --git a/tests/unit/cu/indicator/test_controller.py b/tests/unit/cu/indicator/test_controller.py
index 095974ba12..ec8bcd27ea 100644
--- a/tests/unit/cu/indicator/test_controller.py
+++ b/tests/unit/cu/indicator/test_controller.py
@@ -149,7 +149,7 @@ def test_hint_table_covers_every_supported_locale() -> None:
supported = {
resolve_output_language(pin, "", "", default="en")
- for pin in ("de", "en", "es")
+ for pin in ("de", "en", "es", "pt")
}
assert supported == set(_ESC_HINTS.keys())
assert all(hint.strip() for hint in _ESC_HINTS.values())
diff --git a/tests/unit/dictation/test_cleanup.py b/tests/unit/dictation/test_cleanup.py
index 490c19e736..a2f792f008 100644
--- a/tests/unit/dictation/test_cleanup.py
+++ b/tests/unit/dictation/test_cleanup.py
@@ -41,6 +41,11 @@ from jarvis.dictation.cleanup import (
"es",
"Creo que deberíamos enviarlo.",
),
+ (
+ "Humm, acho que ãh devíamos enviá-lo amanhã.", # i18n-allow: pt fixture under test
+ "pt",
+ "Acho que devíamos enviá-lo amanhã.", # i18n-allow: pt fixture under test
+ ),
],
)
def test_removes_hesitation_sounds(text: str, language: str, expected: str) -> None:
@@ -74,6 +79,9 @@ def test_every_supported_language_has_rules() -> None:
# Spanish words that are demonstratives / connectives, not fillers.
("Este informe es bueno, pues claro.", "es"),
("O sea que vale, entonces seguimos.", "es"),
+ # European Portuguese discourse markers that are also content words.
+ ("Pois, o tipo de ficheiro está pronto, então seguimos.", "pt"), # i18n-allow
+ ("Portanto, quer dizer que o hum do ventilador parou.", "pt"), # i18n-allow
],
)
def test_content_words_are_never_removed(text: str, language: str) -> None:
@@ -160,6 +168,11 @@ def test_german_eh_survives_a_spanish_tag() -> None:
("eh", "es", "ordinary German for 'anyway'"),
("ah", "en", "a spoken interjection that carries meaning of its own"),
("um", "en", "one of the most common German prepositions"),
+ ("eh", "pt", "ordinary German for 'anyway'"),
+ ("hum", "pt", "an English noun and verb ('the hum of the fan')"),
+ ("um", "pt", "a German preposition and the Portuguese article"),
+ ("tipo", "pt", "the Portuguese noun 'type'"),
+ ("pronto", "pt", "the Portuguese adjective 'ready'"),
],
)
def test_a_filler_must_be_meaningless_in_every_supported_language(
@@ -228,6 +241,7 @@ def test_ceiling_is_configurable() -> None:
("de-DE", "de"),
("DE_de", "de"),
("en-US", "en"),
+ ("pt-PT", "pt"),
("auto", None),
("unknown", None),
("", None),
@@ -249,6 +263,8 @@ def test_normalize_language(value: str | None, expected: str | None) -> None:
("Deutsch", "de"),
("Spanish", "es"),
("español", "es"),
+ ("Portuguese", "pt"),
+ ("português", "pt"), # i18n-allow: language name
("French", None), # a name we have no rules for is still a no-op
],
)
diff --git a/tests/unit/dictation/test_delivery_gates.py b/tests/unit/dictation/test_delivery_gates.py
index 6e40f13af7..e9e0f88892 100644
--- a/tests/unit/dictation/test_delivery_gates.py
+++ b/tests/unit/dictation/test_delivery_gates.py
@@ -283,9 +283,9 @@ async def test_a_user_pin_outranks_the_text() -> None:
@pytest.mark.asyncio
-async def test_a_tag_outside_de_en_es_is_kept_rather_than_coerced() -> None:
- """``detect_text_language`` only knows de/en/es, so letting it overrule a
- French tag would relabel that dictation as whichever of the three it scored
+async def test_a_tag_outside_the_supported_set_is_kept_rather_than_coerced() -> None:
+ """``detect_text_language`` only knows de/en/es/pt, so letting it overrule a
+ French tag would relabel that dictation as whichever of the four it scored
highest on — and then run THAT language's filler rules over it. Keeping the
tag makes the cleanup a documented no-op, which is the honest answer for
~95 of the 100 recognition languages.
@@ -295,7 +295,7 @@ async def test_a_tag_outside_de_en_es_is_kept_rather_than_coerced() -> None:
so a resolver that trusted the text here would clean French with Spanish
rules.
"""
- french = "Il faut que je vous envoie le document avec les chiffres tout de suite."
+ french = "Le rapport est sur la table, avec les notes de la réunion."
from jarvis.core.turn_language import detect_text_language
assert detect_text_language(french) == "es", "fixture no longer bites"
diff --git a/tests/unit/dictation/test_outcome_parity.py b/tests/unit/dictation/test_outcome_parity.py
index f2da005d8e..6ce5dd4d7c 100644
--- a/tests/unit/dictation/test_outcome_parity.py
+++ b/tests/unit/dictation/test_outcome_parity.py
@@ -37,7 +37,7 @@ _DICTATION_TS = _FRONTEND / "hooks" / "useDictation.ts"
_HISTORY_GROUP_TSX = _FRONTEND / "views" / "voice" / "DictationHistoryGroup.tsx"
_LOCALES = _FRONTEND / "i18n" / "locales"
-SUPPORTED_LOCALES = ("de", "en", "es")
+SUPPORTED_LOCALES = ("de", "en", "es", "pt")
def _ts_outcomes() -> list[str]:
diff --git a/tests/unit/dictation/test_polish_guards.py b/tests/unit/dictation/test_polish_guards.py
index 346a349e44..b87afe7a19 100644
--- a/tests/unit/dictation/test_polish_guards.py
+++ b/tests/unit/dictation/test_polish_guards.py
@@ -310,6 +310,18 @@ def test_a_counted_enumeration_may_become_a_numbered_list() -> None:
)
assert verdict(raw_es, polished_es, language="es") == ""
+ # The European Portuguese source below is the content UNDER TEST (§1 list #4).
+ raw_pt = (
+ "primeiro revemos a proposta segundo enviamos a fatura terceiro " # i18n-allow
+ "confirmamos a reunião" # i18n-allow
+ )
+ polished_pt = (
+ "1. Revemos a proposta.\n" # i18n-allow
+ "2. Enviamos a fatura.\n" # i18n-allow
+ "3. Confirmamos a reunião." # i18n-allow
+ )
+ assert verdict(raw_pt, polished_pt, language="pt") == ""
+
def test_an_uncounted_enumeration_may_become_a_bulleted_list() -> None:
"""A plain spoken listing may come back one item per line with "-" bullets;
@@ -612,6 +624,27 @@ def test_precision_mode_does_not_trade_the_verb_check_away() -> None:
assert "lost_verb" in DRIFT_REASONS
+def test_portuguese_ordinary_words_are_not_rare() -> None:
+ """The pt frequency table keeps everyday words out of the rare set."""
+ rare = rare_tokens(
+ "então acho que também podemos enviar isso amanhã ao Ricardo", # i18n-allow
+ language="pt",
+ )
+ assert "também" not in rare # i18n-allow: pt token under test
+ assert "amanhã" not in rare # i18n-allow: pt token under test
+ assert "ricardo" in rare
+
+
+def test_a_portuguese_negation_cut_is_a_lost_verb() -> None:
+ from jarvis.dictation.polish_guards import _lost_essential_word
+
+ assert _lost_essential_word(
+ "amanhã não envio o relatório", # i18n-allow: pt fixture under test
+ "Amanhã envio o relatório.", # i18n-allow: pt fixture under test
+ language="pt",
+ )
+
+
def test_a_language_with_no_verb_table_has_no_opinion() -> None:
"""Silence beats a veto — the rule every other word list here follows.
diff --git a/tests/unit/dictation/test_polish_parity.py b/tests/unit/dictation/test_polish_parity.py
index df84aff7f1..7e7e8f0abe 100644
--- a/tests/unit/dictation/test_polish_parity.py
+++ b/tests/unit/dictation/test_polish_parity.py
@@ -60,7 +60,7 @@ _HISTORY_GROUP_TSX = _FRONTEND / "views" / "voice" / "DictationHistoryGroup.tsx"
_TIER_SECTION_TSX = _FRONTEND / "components" / "providers" / "ProviderTierSection.tsx"
_LOCALES = _FRONTEND / "i18n" / "locales"
-SUPPORTED_LOCALES = ("de", "en", "es")
+SUPPORTED_LOCALES = ("de", "en", "es", "pt")
# The tiers the TypeScript union carries that ``provider_spec.Tier`` does not.
# ``computer-use`` is an OVERLAY selection, not a provider tier: the Computer-Use
diff --git a/tests/unit/dictation/test_stt_failure_parity.py b/tests/unit/dictation/test_stt_failure_parity.py
index 15c4a8d6aa..76b1255444 100644
--- a/tests/unit/dictation/test_stt_failure_parity.py
+++ b/tests/unit/dictation/test_stt_failure_parity.py
@@ -37,7 +37,7 @@ _DICTATION_TS = _FRONTEND / "hooks" / "useDictation.ts"
_HISTORY_GROUP_TSX = _FRONTEND / "views" / "voice" / "DictationHistoryGroup.tsx"
_LOCALES = _FRONTEND / "i18n" / "locales"
-SUPPORTED_LOCALES = ("de", "en", "es")
+SUPPORTED_LOCALES = ("de", "en", "es", "pt")
#: The live 429 the maintainer was shown, verbatim from the log. Kept as a
#: literal so the classifier is pinned against a REAL provider error rather than
diff --git a/tests/unit/google_cli/test_auth_service.py b/tests/unit/google_cli/test_auth_service.py
index b50a89a22d..5e4f8f162e 100644
--- a/tests/unit/google_cli/test_auth_service.py
+++ b/tests/unit/google_cli/test_auth_service.py
@@ -69,6 +69,9 @@ def test_status_connected(tmp_path, monkeypatch):
assert st.cli_kind == "gemini"
assert st.user_email == "[email protected]"
assert "google subscription" in st.message.lower()
+ assert st.message_code == "connected_subscription_email"
+ assert st.message_params["email"] == "[email protected]"
+ assert st.to_dict()["message_code"] == "connected_subscription_email"
def test_status_not_installed(monkeypatch):
diff --git a/tests/unit/harness/test_cu_verifier_proof_language.py b/tests/unit/harness/test_cu_verifier_proof_language.py
index 1edf6fa09f..1ab0e8edc7 100644
--- a/tests/unit/harness/test_cu_verifier_proof_language.py
+++ b/tests/unit/harness/test_cu_verifier_proof_language.py
@@ -176,6 +176,7 @@ def test_proof_language_directive_names_each_language() -> None:
assert "german" in _proof_language_directive("de").lower()
assert "english" in _proof_language_directive("en").lower()
assert "spanish" in _proof_language_directive("es").lower()
+ assert "european portuguese" in _proof_language_directive("pt").lower()
def test_proof_language_directive_mentions_proof_field() -> None:
diff --git a/tests/unit/mcp/test_adapter_capability_language.py b/tests/unit/mcp/test_adapter_capability_language.py
index 3b0874c887..6b04010193 100644
--- a/tests/unit/mcp/test_adapter_capability_language.py
+++ b/tests/unit/mcp/test_adapter_capability_language.py
@@ -76,6 +76,11 @@ class TestVerbsFromDescriptionMultilingual:
verbs = _verbs_from_description(_LIST_DESCRIPTION)
assert "listar" in verbs
+ def test_portuguese_forms_included(self) -> None:
+ verbs = _verbs_from_description(_LIST_DESCRIPTION)
+ assert "listar" in verbs
+ assert "mostra" in verbs # i18n-allow: speech-input vocabulary under test
+
def test_fallback_stays_use(self) -> None:
assert _verbs_from_description("Frobnicate the widget.") == ("use",)
@@ -123,3 +128,10 @@ class TestGermanUtteranceResolvesToMcpCapability:
cap = self._registry().resolve_intent("Can you list all my notebooks?")
assert cap is not None
assert cap.id == "mcp.notebooklm-mcp/notebook_list"
+
+ def test_portuguese_list_phrasing_resolves(self) -> None:
+ cap = self._registry().resolve_intent(
+ "Mostra-me todos os meus notebooks" # i18n-allow: speech-input phrasing under test
+ )
+ assert cap is not None
+ assert cap.source == "mcp"
diff --git a/tests/unit/mcp/test_import_claude_desktop_codes.py b/tests/unit/mcp/test_import_claude_desktop_codes.py
new file mode 100644
index 0000000000..0b008964bb
--- /dev/null
+++ b/tests/unit/mcp/test_import_claude_desktop_codes.py
@@ -0,0 +1,50 @@
+"""``import_claude_desktop_coded`` names each English note with a stable code."""
+
+from __future__ import annotations
+
+import json
+
+from jarvis.mcp import state
+
+
+def _isolate(monkeypatch, tmp_path) -> None:
+ monkeypatch.setenv("JARVIS_DATA_DIR", str(tmp_path / "data"))
+ monkeypatch.delenv("JARVIS_MCP_CONFIG", raising=False)
+ monkeypatch.setattr(state, "MCP_JSON_PATH", tmp_path / "project" / "mcp.json")
+
+
+def test_missing_appdata_has_a_code(monkeypatch, tmp_path) -> None:
+ _isolate(monkeypatch, tmp_path)
+ monkeypatch.delenv("APPDATA", raising=False)
+ count, added, note, code, params = state.import_claude_desktop_coded()
+ assert (count, added, code, params) == (0, [], "appdata_missing", {})
+ assert note == "APPDATA variable not set."
+
+
+def test_missing_config_names_the_path(monkeypatch, tmp_path) -> None:
+ _isolate(monkeypatch, tmp_path)
+ monkeypatch.setenv("APPDATA", str(tmp_path / "appdata"))
+ _count, _added, note, code, params = state.import_claude_desktop_coded()
+ assert code == "config_not_found"
+ assert params["path"] in note
+
+
+def test_import_counts_added_and_skipped(monkeypatch, tmp_path) -> None:
+ _isolate(monkeypatch, tmp_path)
+ appdata = tmp_path / "appdata"
+ (appdata / "Claude").mkdir(parents=True)
+ (appdata / "Claude" / "claude_desktop_config.json").write_text(
+ json.dumps({"mcpServers": {"one": {"command": "a"}, "two": {"command": "b"}}}),
+ encoding="utf-8",
+ )
+ monkeypatch.setenv("APPDATA", str(appdata))
+ state.save_config({"mcpServers": {"two": {"command": "b", "enabled": False}}})
+
+ count, added, note, code, params = state.import_claude_desktop_coded()
+
+ assert (count, added) == (1, ["one"])
+ assert code == "imported_with_skipped"
+ assert params == {"added": "1", "skipped": "1"}
+ assert note == "1 new servers imported, 1 skipped (already exist)."
+ # The legacy three-value API is unchanged.
+ assert state.import_claude_desktop()[2] == "0 new servers imported, 2 skipped (already exist)."
diff --git a/tests/unit/memory/learning/test_explicit_memory.py b/tests/unit/memory/learning/test_explicit_memory.py
index 287139084a..9babb460e7 100644
--- a/tests/unit/memory/learning/test_explicit_memory.py
+++ b/tests/unit/memory/learning/test_explicit_memory.py
@@ -83,6 +83,16 @@ def _memory(book: JarvisNotebook) -> list[Any]:
("Merk dir das nicht.", None), # i18n-allow
("Can you tell me what you remember about me?", None),
("What time is it? Thanks.", None),
+ # European Portuguese
+ (
+ "Lembra-te de que bebo o café sem açúcar.", # i18n-allow
+ "bebo o café sem açúcar.", # i18n-allow
+ ),
+ (
+ "Quero relatórios curtos. Lembra-te disso.", # i18n-allow
+ "Quero relatórios curtos", # i18n-allow
+ ),
+ ("Lembra-te isso não.", None), # i18n-allow
],
)
def test_a_remember_request_is_found_where_people_put_it(said: str, wanted: str | None) -> None:
diff --git a/tests/unit/memory/learning/test_jarvis_learning.py b/tests/unit/memory/learning/test_jarvis_learning.py
index f88fcf058e..de4ae93929 100644
--- a/tests/unit/memory/learning/test_jarvis_learning.py
+++ b/tests/unit/memory/learning/test_jarvis_learning.py
@@ -312,6 +312,11 @@ async def test_ordinary_requests_cost_no_model_call(book: JarvisNotebook) -> Non
"Das ist falsch, der Termin ist am Freitag", # i18n-allow
"We are preparing the launch for November",
"Ich plane nächstes Jahr nach Lissabon zu ziehen", # i18n-allow
+ "A minha filha começa a escola na próxima semana", # i18n-allow
+ "Trabalho como carpinteiro em Braga", # i18n-allow
+ "Chama-me Rubi, por favor", # i18n-allow
+ "Isso está errado, a reunião é na sexta", # i18n-allow
+ "Prefiro respostas curtas", # i18n-allow
],
)
def test_personal_turns_are_picked(text: str) -> None:
@@ -320,6 +325,19 @@ def test_personal_turns_are_picked(text: str) -> None:
assert has_signal(text)
+ "text",
+ [
+ "Abre o ficheiro de configuração", # i18n-allow
+ "Qual é o tempo para amanhã?", # i18n-allow
+ ],
+)
+def test_portuguese_requests_are_not_picked(text: str) -> None:
+ from jarvis.memory.learning.signals import has_signal
+
+ assert not has_signal(text)
+
+
async def test_one_call_per_conversation_sees_only_the_picked_turns(
book: JarvisNotebook,
) -> None:
diff --git a/tests/unit/memory/test_profile_capture.py b/tests/unit/memory/test_profile_capture.py
index 47c9c7e34c..bc5aa9a832 100644
--- a/tests/unit/memory/test_profile_capture.py
+++ b/tests/unit/memory/test_profile_capture.py
@@ -55,6 +55,19 @@ POSITIVE: tuple[tuple[str, str, str, object], ...] = (
("I hate it when people are vague.", "values", "pet_peeves", None),
("Gib mir Feedback bitte immer direkt.", "relationship", "feedback_pref", "direct"),
("Stör mich nicht, wenn ich fokussiert bin.", "work_style", "focus_mode", "deep-work"),
+ # European Portuguese
+ ("Chamo-me Ruben.", "identity", "name", "Ruben"), # i18n-allow
+ ("O meu nome é Ruben Lütke.", "identity", "name", "Ruben Lütke"), # i18n-allow
+ ("Chama-me só Chefe.", "identity", "preferred_address", "Chefe"), # i18n-allow
+ ("Os meus pronomes são ele/dele.", "identity", "pronouns", "ele/dele"), # i18n-allow
+ ("O meu fuso horário é Europe/Lisbon.", "identity", "timezone", "Europe/Lisbon"), # i18n-allow
+ ("Também falo espanhol.", "identity", "languages", "es"), # i18n-allow
+ ("Fala comigo em português.", "identity", "primary_language", "pt"), # i18n-allow
+ ("Sem emojis, por favor.", "communication", "emoji_ok", False), # i18n-allow
+ ("Sê direto comigo.", "communication", "directness", "direct"), # i18n-allow
+ ("Sê breve.", "communication", "verbosity", "short"), # i18n-allow
+ ("Trata-me por tu.", "communication", "formality", "casual"), # i18n-allow
+ ("Odeio quando as pessoas são vagas.", "values", "pet_peeves", None), # i18n-allow
)
@@ -100,6 +113,11 @@ NEGATIVE: tuple[str, ...] = (
"Ich brauche noch Milch.",
"Der Termin ist um drei.",
"Hallo, wie geht es dir?",
+ "Como te chamas?", # i18n-allow
+ "O meu irmão chama-se Jonas.", # i18n-allow
+ "Chama-me mais tarde.", # i18n-allow
+ "Abre o navegador.", # i18n-allow
+ "Qual é o meu fuso horário?", # i18n-allow
)
diff --git a/tests/unit/memory/wiki/test_grounding.py b/tests/unit/memory/wiki/test_grounding.py
index a70c876ba7..2220fffefb 100644
--- a/tests/unit/memory/wiki/test_grounding.py
+++ b/tests/unit/memory/wiki/test_grounding.py
@@ -106,6 +106,8 @@ def test_non_attitude_fact_families_stay_untouched() -> None:
"Ich spiele jeden Samstag Golf mit meinen Freunden.", # i18n-allow: input vocabulary under test
"Ich bin sehr gerne draussen auf Golfplaetzen unterwegs.", # i18n-allow: input vocabulary under test
"Juego al golf cada sabado con mis amigos.",
+ "Jogo golfe todos os sábados com os meus amigos.", # i18n-allow: pt input under test
+ "Costumo ir ao campo de golfe com os amigos.", # i18n-allow: input vocabulary under test
],
)
def test_multilingual_behavioral_reports_classify_behavioral(evidence: str) -> None:
@@ -123,6 +125,28 @@ def test_multilingual_topic_question_stays_blocked() -> None:
) is None
+def test_portuguese_topic_question_stays_blocked() -> None:
+ assert _classify(
+ "The user is interested in Monaco.",
+ "O que há para ver no Mónaco?", # i18n-allow: input vocabulary under test
+ subjects=(_USER, "monaco"),
+ ) is None
+
+
+def test_portuguese_explicit_interest_classifies_explicit() -> None:
+ assert _classify(
+ "The user loves golf.",
+ "Adoro jogar golfe com os meus amigos.", # i18n-allow: input vocabulary under test
+ ) == "explicit"
+
+
+def test_portuguese_negative_interest_does_not_ground_a_positive_claim() -> None:
+ assert _classify(
+ "The user likes golf.",
+ "Não gosto de golfe.", # i18n-allow: input vocabulary under test
+ ) is None
+
+
def test_cessation_habit_claim_classifies_explicit() -> None:
assert _classify(
"The user no longer plays golf.",
@@ -140,6 +164,8 @@ def test_cessation_habit_claim_classifies_explicit() -> None:
"Ich spiele nicht mehr Golf.", # i18n-allow: input vocabulary under test
"Ich habe mit Golf aufgehoert.", # i18n-allow: input vocabulary under test
"Ya no juego al golf.",
+ "Já não jogo golfe.", # i18n-allow: input vocabulary under test
+ "Deixei de jogar golfe no ano passado.", # i18n-allow: input vocabulary under test
],
)
def test_multilingual_cessation_claims_classify_explicit(evidence: str) -> None:
diff --git a/tests/unit/memory/wiki/test_prompt.py b/tests/unit/memory/wiki/test_prompt.py
index f93eccd774..9ee4ad94f0 100644
--- a/tests/unit/memory/wiki/test_prompt.py
+++ b/tests/unit/memory/wiki/test_prompt.py
@@ -468,7 +468,7 @@ def test_consolidator_prompt_elevates_explicit_persistence_requests() -> None:
system, user = build_consolidator_prompt([candidate], {})
assert "Explicit persistence requests are binding" in system
- assert "English, German, and Spanish" in system
+ assert "English, German, Spanish, and European Portuguese" in system
assert 'MUST be "add" or "update"' in system
assert "exact fact already" in system
assert "unsupported by user evidence" in system
diff --git a/tests/unit/packaging/test_macos_privacy_strings.py b/tests/unit/packaging/test_macos_privacy_strings.py
index 2b33f97af1..06ccbec30b 100644
--- a/tests/unit/packaging/test_macos_privacy_strings.py
+++ b/tests/unit/packaging/test_macos_privacy_strings.py
@@ -351,7 +351,7 @@ def test_the_folder_strings_do_not_promise_saving_or_creating() -> None:
assert "works with files" in lowered, key
-# --- German and Spanish: both bundles ship the same InfoPlist.strings -----------
+# --- German, Spanish, Portuguese: both bundles ship the same InfoPlist.strings --
def _parse_strings(text: str) -> dict[str, str]:
@@ -369,9 +369,9 @@ def _parse_strings(text: str) -> dict[str, str]:
def test_the_localised_tables_cover_exactly_the_required_keys() -> None:
- assert table_module.LOCALIZATIONS == ("en", "de", "es")
+ assert table_module.LOCALIZATIONS == ("en", "de", "es", "pt-PT")
assert table_module.DEVELOPMENT_REGION == "en"
- assert table_module.LOCALIZED_LANGUAGES == ("de", "es")
+ assert table_module.LOCALIZED_LANGUAGES == ("de", "es", "pt-PT")
english = table_module.usage_descriptions()
for language in table_module.LOCALIZED_LANGUAGES:
localised = table_module.localized_usage_descriptions(language)
@@ -399,10 +399,15 @@ def test_localised_dicts_are_fresh_copies() -> None:
)
keys = table_module.localization_plist_keys()
keys["CFBundleLocalizations"].append("fr")
- assert table_module.localization_plist_keys()["CFBundleLocalizations"] == ["en", "de", "es"]
+ assert table_module.localization_plist_keys()["CFBundleLocalizations"] == [
+ "en",
+ "de",
+ "es",
+ "pt-PT",
+ ]
[email protected]("language", ["de", "es"])
[email protected]("language", ["de", "es", "pt-PT"])
def test_the_strings_file_round_trips_the_table(language: str) -> None:
text = table_module.info_plist_strings_text(language)
@@ -431,6 +436,7 @@ def test_write_localizations_creates_one_lproj_per_language(tmp_path: Path) -> N
assert sorted(path.relative_to(resources).as_posix() for path in written) == [
"de.lproj/InfoPlist.strings",
"es.lproj/InfoPlist.strings",
+ "pt-PT.lproj/InfoPlist.strings",
]
for language in table_module.LOCALIZED_LANGUAGES:
raw = (resources / f"{language}.lproj" / "InfoPlist.strings").read_bytes()
@@ -443,7 +449,11 @@ def test_write_localizations_is_repeatable(tmp_path: Path) -> None:
table_module.write_localizations(tmp_path)
table_module.write_localizations(tmp_path)
- assert sorted(path.name for path in tmp_path.iterdir()) == ["de.lproj", "es.lproj"]
+ assert sorted(path.name for path in tmp_path.iterdir()) == [
+ "de.lproj",
+ "es.lproj",
+ "pt-PT.lproj",
+ ]
def test_the_spec_declares_the_localisations(
@@ -451,7 +461,7 @@ def test_the_spec_declares_the_localisations(
) -> None:
info = _exec_spec(monkeypatch, spec_root)["info_plist"]
- assert info["CFBundleLocalizations"] == ["en", "de", "es"]
+ assert info["CFBundleLocalizations"] == ["en", "de", "es", "pt-PT"]
assert info["CFBundleDevelopmentRegion"] == "en"
assert plistlib.loads(plistlib.dumps(info)) == info
@@ -459,7 +469,7 @@ def test_the_spec_declares_the_localisations(
def test_the_managed_bundle_declares_the_same_localisations() -> None:
info = mab._bundle_plist()
- assert info["CFBundleLocalizations"] == ["en", "de", "es"]
+ assert info["CFBundleLocalizations"] == ["en", "de", "es", "pt-PT"]
assert info["CFBundleDevelopmentRegion"] == "en"
# No format bump: a bump would rebuild every installed bundle and re-ask every
# permission after an ad-hoc rebuild (see the comment above _BUNDLE_FORMAT_VERSION).
diff --git a/tests/unit/plugins/tool/test_delegate_to_agent.py b/tests/unit/plugins/tool/test_delegate_to_agent.py
index 20b46b187e..45558edf1d 100644
--- a/tests/unit/plugins/tool/test_delegate_to_agent.py
+++ b/tests/unit/plugins/tool/test_delegate_to_agent.py
@@ -524,3 +524,25 @@ async def test_status_resolves_a_misheard_name(voice_team):
status = SocietyStatusTool(runtime_resolver=lambda: rt)
res = await status.execute({"agent": "Java Scout", "turn_language": "en"}, _ctx("x"))
assert res.success and res.output == "Jarvis-Scout has nothing to do right now."
+
+
+def test_every_spoken_table_carries_european_portuguese() -> None:
+ """All locales rank equally: each spoken table that has a Spanish column
+ also has a pt column with the same placeholders, so a pt turn never falls
+ back to English."""
+ import string
+
+ from jarvis.plugins.tool import delegate_to_agent as module
+
+ def fields(text: str) -> set[str]:
+ return {f for _, f, _, _ in string.Formatter().parse(text) if f}
+
+ tables = [
+ value
+ for value in vars(module).values()
+ if isinstance(value, dict) and "es" in value and isinstance(value["es"], str)
+ ]
+ assert len(tables) >= 16
+ for table in tables:
+ assert "pt" in table, table
+ assert fields(table["pt"]) == fields(table["es"]), table
diff --git a/tests/unit/plugins/tool/test_spawn_worker_ack.py b/tests/unit/plugins/tool/test_spawn_worker_ack.py
index f33ffb1d63..3690db27c6 100644
--- a/tests/unit/plugins/tool/test_spawn_worker_ack.py
+++ b/tests/unit/plugins/tool/test_spawn_worker_ack.py
@@ -328,14 +328,11 @@ async def test_ctx_output_language_overrides_stale_brain_arg() -> None:
@pytest.mark.asyncio
-async def test_spanish_turn_caps_mission_language_to_de_but_acks_in_es() -> None:
- """An "es" turn must not thread "es" into the de/en-only mission contract.
-
- MissionManager.dispatch + the mission voice readback are de/en only, so the
- mission language is capped to "de" for a Spanish turn (the spoken ACK itself
- is still Spanish via the composer). Threading "es" into dispatch would
- violate its Literal["de","en"] contract and the completion readback has no
- "es" template.
+async def test_spanish_turn_dispatches_and_acks_in_es() -> None:
+ """An "es" turn dispatches a Spanish mission and acks in Spanish.
+
+ MissionManager.dispatch and the mission voice readback speak every
+ supported reply language, so the completion readback follows the turn.
"""
mgr = _FakeMissionManager()
announcer = _FakeAnnouncer()
@@ -351,7 +348,26 @@ async def test_spanish_turn_caps_mission_language_to_de_but_acks_in_es() -> None
await _drain_background_tasks()
assert announcer.calls[0]["language"] == "es"
- assert mgr.dispatch_calls[0]["language"] == "de"
+ assert mgr.dispatch_calls[0]["language"] == "es"
+
+
+async def test_portuguese_turn_dispatches_and_acks_in_pt() -> None:
+ mgr = _FakeMissionManager()
+ announcer = _FakeAnnouncer()
+ tool = SpawnWorkerTool(bus=EventBus(), manager=mgr, announcer=announcer)
+ utter = "Abre o meu Gmail e procura faturas novas" # i18n-allow: PT fixture
+ ctx = ExecutionContext(
+ trace_id=uuid4(),
+ user_utterance=utter,
+ config={"output_language": "pt"},
+ memory_read=None,
+ )
+ await tool.execute({"utterance": utter, "action": "vê o Gmail"}, ctx) # i18n-allow
+ await _drain_background_tasks()
+
+ assert announcer.calls[0]["language"] == "pt"
+ assert mgr.dispatch_calls[0]["language"] == "pt"
@pytest.mark.asyncio
diff --git a/tests/unit/plugins/tool/test_spawn_worker_cooldown.py b/tests/unit/plugins/tool/test_spawn_worker_cooldown.py
index 780289764f..d064b59b65 100644
--- a/tests/unit/plugins/tool/test_spawn_worker_cooldown.py
+++ b/tests/unit/plugins/tool/test_spawn_worker_cooldown.py
@@ -318,6 +318,7 @@ def test_suppress_acks_are_short_and_unique() -> None:
"de": ("schon", "läuft", "dabei", "dran", "bereits", "arbeit"), # i18n-allow
"en": ("already", "still", "running", "working", "progress"),
"es": ("marcha", "sigo", "proceso", "está", "ya tiene"), # i18n-allow
+ "pt": ("curso", "ainda", "já", "trabalhar", "está com"),
}[lang]
for ack in pool:
assert 5 <= len(ack) <= 60, (
diff --git a/tests/unit/plugins/tts/test_inworld_tts.py b/tests/unit/plugins/tts/test_inworld_tts.py
index 7f8c561283..6ab1fa6a3b 100644
--- a/tests/unit/plugins/tts/test_inworld_tts.py
+++ b/tests/unit/plugins/tts/test_inworld_tts.py
@@ -17,6 +17,7 @@ import pytest
from jarvis.plugins.tts.inworld_tts import (
INWORLD_TTS_SAMPLE_RATE,
InworldTTS,
+ _normalize_language,
strip_wav_header,
)
@@ -55,6 +56,11 @@ def tts(patched_secret) -> InworldTTS:
return InworldTTS(allow_sapi5_fallback=False)
+def test_portuguese_is_normalized_to_european_portuguese():
+ assert _normalize_language("pt") == "pt-PT"
+ assert _normalize_language("pt-PT") == "pt-PT"
+
+
def test_strip_wav_header_removes_riff_but_leaves_raw_pcm():
pcm = b"\x11\x22" * 500
wav = base64.b64decode(_wav_b64(pcm))
diff --git a/tests/unit/plugins/tts/test_piper_local.py b/tests/unit/plugins/tts/test_piper_local.py
index bcc00171b5..1e3c6c4835 100644
--- a/tests/unit/plugins/tts/test_piper_local.py
+++ b/tests/unit/plugins/tts/test_piper_local.py
@@ -209,7 +209,7 @@ def test_callback_capable_engine_yields_incremental_audio(
def test_voices_cover_every_supported_reply_language() -> None:
"""The catalog must not leave a supported language mute.
- ``[brain].reply_language`` offers de/en/es, and the resolver can land on any
+ ``[brain].reply_language`` offers de/en/es/pt, and the resolver can land on any
of them per turn. A missing voice there is not a gap in a nice-to-have — it
is the assistant going silent mid-conversation.
"""
@@ -217,7 +217,7 @@ def test_voices_cover_every_supported_reply_language() -> None:
languages = {SHERPA_BUNDLES[v].language for v in PIPER_DEFAULT_VOICES}
- assert {"de", "en", "es"} <= languages
+ assert {"de", "en", "es", "pt"} <= languages
def test_default_voices_share_one_speaker_profile() -> None:
diff --git a/tests/unit/plugins/tts/test_portuguese_voices.py b/tests/unit/plugins/tts/test_portuguese_voices.py
new file mode 100644
index 0000000000..5631a61b71
--- /dev/null
+++ b/tests/unit/plugins/tts/test_portuguese_voices.py
@@ -0,0 +1,165 @@
+"""A European Portuguese turn ("pt" / "pt-PT") speaks with a Portuguese voice.
+
+Every TTS family that picks a voice or a language code per reply language must
+map ``pt`` to a Portuguese voice instead of falling through to the German or
+English default. No network: voice resolution and payload normalisation are
+pure, and the factory test only needs a fake credential lookup.
+"""
+from __future__ import annotations
+
+import pytest
+
+import jarvis.core.config as cfg
+import jarvis.plugins.tts as tts_pkg
+from jarvis.core.config import TTSConfig
+from jarvis.plugins.tts import curated_catalog as cc
+from jarvis.plugins.tts.cartesia_tts import DEFAULT_VOICE_ID_PT, CartesiaTTS
+from jarvis.plugins.tts.cartesia_tts import _normalize_language as cartesia_lang
+from jarvis.plugins.tts.gemini_flash_tts import _sapi5_voice_preferences
+from jarvis.plugins.tts.grok_voice_tts import _normalize_language as grok_lang
+from jarvis.plugins.tts.inworld_tts import DEFAULT_VOICE_PT, InworldTTS
+from jarvis.plugins.tts.inworld_tts import _normalize_language as inworld_lang
+
+
+def _keys(*env_names: str):
+ have = set(env_names)
+
+ def fake(candidates: tuple[tuple[str, str], ...]) -> str | None:
+ for _keyring, env in candidates:
+ if env in have:
+ return "KEY"
+ return None
+
+ return fake
+
+
+# ---- Inworld ---------------------------------------------------------------
+
+
+def test_inworld_pt_turn_picks_the_portuguese_default_voice() -> None:
+ tts = InworldTTS()
+ assert tts._resolve_voice("Olá.", None, "pt-PT") == DEFAULT_VOICE_PT
+ assert DEFAULT_VOICE_PT == "Leonor"
+ assert inworld_lang("pt") == "pt-PT"
+
+
+def test_inworld_pt_voice_is_configurable() -> None:
+ tts = InworldTTS(default_voice_pt="Heitor")
+ assert tts._resolve_voice("Olá.", None, "pt") == "Heitor"
+ assert tts.list_voices("pt-PT") == ["Heitor"]
+ assert "Heitor" in tts.list_voices()
+
+
+def test_inworld_factory_reads_voice_pt_from_subtable(monkeypatch) -> None:
+ monkeypatch.setattr(cfg, "get_secret_any", _keys("INWORLD_API_KEY"))
+ built = tts_pkg.build_tts_from_config(
+ TTSConfig(provider="inworld", inworld={"voice_pt": "Madalena"})
+ )
+ assert isinstance(built, InworldTTS)
+ assert built._resolve_voice("Olá.", None, "pt-PT") == "Madalena"
+
+
+# ---- Cartesia --------------------------------------------------------------
+
+
+def test_cartesia_pt_turn_picks_the_portuguese_voice_and_language() -> None:
+ tts = CartesiaTTS()
+ assert tts._resolve_voice("Olá.", None, "pt-PT") == DEFAULT_VOICE_ID_PT
+ assert cartesia_lang("pt-PT") == "pt"
+
+
+def test_cartesia_factory_reads_voice_id_pt_from_subtable(monkeypatch) -> None:
+ monkeypatch.setattr(cfg, "get_secret_any", _keys("CARTESIA_API_KEY"))
+ built = tts_pkg.build_tts_from_config(
+ TTSConfig(provider="cartesia", cartesia={"voice_id_pt": "PT-PT-UUID"})
+ )
+ assert isinstance(built, CartesiaTTS)
+ assert built._resolve_voice("Olá.", None, "pt-PT") == "PT-PT-UUID"
+ assert built.list_voices("pt") == ["PT-PT-UUID"]
+
+
+# ---- Grok + SAPI5 ----------------------------------------------------------
+
+
+def test_grok_keeps_the_european_subtag() -> None:
+ assert grok_lang("pt-PT") == "pt-pt"
+
+
+ ("code", "first"),
+ [("pt-PT", "Portugal"), ("pt", "Portugal"), ("es-ES", "Spain"), ("de-DE", "German")],
+)
+def test_sapi5_prefers_the_regional_voice(code: str, first: str) -> None:
+ prefs = _sapi5_voice_preferences(code)
+ assert prefs[0] == first
+ assert prefs[-1] == "English"
+
+
+def test_sapi5_unknown_language_uses_english() -> None:
+ assert _sapi5_voice_preferences(None) == ("English",)
+
+
+# ---- Curated catalog -------------------------------------------------------
+
+
+ ("family", "model_id"),
+ [
+ ("inworld", "inworld-tts-2"),
+ ("cartesia", "sonic-3.5"),
+ ("gemini-flash-tts", "gemini-3.1-flash-tts-preview"),
+ ("elevenlabs", "eleven_flash_v2_5"),
+ ("grok-voice", "grok-voice-tts-1.0"),
+ ],
+)
+def test_documented_portuguese_models_list_pt(family: str, model_id: str) -> None:
+ models = cc.allowed_models(family=family, language="pt-PT")
+ assert any(m.model_id == model_id for m in models)
+
+
+def test_inworld_curates_a_european_portuguese_voice() -> None:
+ pt = cc.allowed_voices("inworld", "inworld-tts-2", language="pt")
+ assert any(v.id == "Leonor" and v.language == "pt" for v in pt)
+ assert cc.voice_gender("Leonor") == cc.FEMININE
+ assert cc.voice_gender("Heitor") == cc.MASCULINE
+
+
+# ---- Piper (local) ---------------------------------------------------------
+
+
+def test_piper_ships_a_european_portuguese_default_voice() -> None:
+ from jarvis.speech.local_models import PIPER_DEFAULT_VOICES, SHERPA_BUNDLES
+
+ bundle = SHERPA_BUNDLES["vits-piper-pt_PT-tugao-medium"]
+ assert bundle.language == "pt"
+ assert bundle.required_files[0] == "pt_PT-tugao-medium.onnx"
+ assert bundle.archive_url is not None
+ assert bundle.archive_url.endswith("/vits-piper-pt_PT-tugao-medium.tar.bz2")
+ assert "vits-piper-pt_PT-tugao-medium" in PIPER_DEFAULT_VOICES
+
+
+def test_piper_download_size_covers_every_default_voice() -> None:
+ """Four ~67 MB voices (de/en/es/pt): the card and the docs say 270 MB."""
+ from pathlib import Path
+
+ from jarvis.speech.local_models import PIPER_DEFAULT_VOICES, get_local_provider
+
+ entry = get_local_provider("piper-local")
+ assert entry is not None
+ assert entry.bundles == PIPER_DEFAULT_VOICES
+ assert len(PIPER_DEFAULT_VOICES) == 4
+ assert entry.download_size == "about 270 MB"
+ doc = (
+ Path(__file__).resolve().parents[4]
+ / "docs/product/personalize-and-connect/languages-and-voices.md"
+ )
+ assert "downloads about 270 MB" in doc.read_text(encoding="utf-8")
+
+
+def test_piper_voice_is_on_the_writer_allowlist_and_picker() -> None:
+ from jarvis.brain.model_catalog import TTS_CATALOG
+ from jarvis.core.config_writer import _VOICES_FOR_PROVIDER
+
+ assert "vits-piper-pt_PT-tugao-medium" in _VOICES_FOR_PROVIDER["piper-local"]
+ _field, models = TTS_CATALOG["piper-local"]
+ assert any(m.id == "vits-piper-pt_PT-tugao-medium" for m in models)
diff --git a/tests/unit/realtime/test_session.py b/tests/unit/realtime/test_session.py
index e1f9c1bac0..4c32d94b1e 100644
--- a/tests/unit/realtime/test_session.py
+++ b/tests/unit/realtime/test_session.py
@@ -9145,7 +9145,7 @@ async def test_the_handshake_notice_follows_the_pinned_reply_language():
English (or German) that the call is ending.
"""
seen = {}
- for pin in ("de", "en", "es"):
+ for pin in ("de", "en", "es", "pt"):
jsons = []
sess = _no_metered_fallback_session(
_UnreachableProvider(
@@ -9163,7 +9163,7 @@ async def test_the_handshake_notice_follows_the_pinned_reply_language():
seen[pin] = notice["text"]
await sess.end(reason="test")
- assert len(set(seen.values())) == 3, (
+ assert len(set(seen.values())) == 4, (
f"each supported locale needs its own wording, got {seen}"
)
diff --git a/tests/unit/safety/test_explicit_intent.py b/tests/unit/safety/test_explicit_intent.py
index c082147354..3438035e8f 100644
--- a/tests/unit/safety/test_explicit_intent.py
+++ b/tests/unit/safety/test_explicit_intent.py
@@ -22,6 +22,7 @@ from jarvis.safety.tool_executor import ToolExecutor
"Do not delete /tmp/keep-me",
"Bitte lösche /tmp/keep-me nicht",
"No borres /tmp/keep-me",
+ "Não apagues /tmp/keep-me", # i18n-allow: pt voice input
'The instructions say "delete /tmp/keep-me"',
"Did you delete /tmp/keep-me?",
"I deleted /tmp/keep-me yesterday",
@@ -58,6 +59,8 @@ def test_compound_or_ambiguous_shell_keeps_confirmation(command):
"please remove the file /tmp/keep-me",
"Bitte lösche die Datei /tmp/keep-me",
"borra el archivo /tmp/keep-me",
+ "apaga o ficheiro /tmp/keep-me", # i18n-allow: pt voice input
+ "por favor elimina a pasta /tmp/keep-me", # i18n-allow: pt voice input
],
)
def test_exact_single_deletion_is_authorized(utterance):
diff --git a/tests/unit/screen_context/test_intent.py b/tests/unit/screen_context/test_intent.py
index f5606c9d79..512c3fb05b 100644
--- a/tests/unit/screen_context/test_intent.py
+++ b/tests/unit/screen_context/test_intent.py
@@ -74,6 +74,14 @@ from jarvis.screen_context.models import VisualIntent
"haz una captura de pantalla",
"analiza esta captura de pantalla",
"que ves en mi monitor",
+ # -- European Portuguese
+ "Vê o meu ecrã.",
+ "O que está no ecrã?",
+ "Consegues ver isto?",
+ "Dá uma vista de olhos.",
+ "Tira-me uma captura de ecrã.",
+ "O que diz aí?",
+ "Lê a mensagem de erro",
],
)
def test_unambiguous_requests_capture(utterance: str) -> None:
@@ -100,6 +108,10 @@ def test_unambiguous_requests_capture(utterance: str) -> None:
"Bitte den Knopf auf meinem Bildschirm anklicken", # i18n-allow: DE input
"Schau dir das an und scrolle dann nach unten", # i18n-allow: DE input
"pulsa el botón en mi pantalla",
+ "Clica no botão no meu ecrã",
+ "Fecha esta janela.",
+ "Abre esta página no meu ecrã",
+ "Explica o que está no meu ecrã e depois fecha a janela.",
"Explain this, then close the window.",
],
)
@@ -214,6 +226,7 @@ def test_past_actions_and_action_advice_never_drive_the_desktop(utterance: str)
"schau dir dieses Fenster an",
"was steht da in diesem Dialog?",
"mira esta ventana",
+ "Olha para esta janela",
],
)
def test_window_scope_is_detected(utterance: str) -> None:
@@ -232,6 +245,8 @@ def test_window_scope_is_detected(utterance: str) -> None:
"kannst du das mal prüfen?", # i18n-allow: DE input
"que es esto?",
"puedes revisar?",
+ "O que é isto?",
+ "podes verificar?",
],
)
def test_weak_signals_ask_instead_of_capturing(utterance: str) -> None:
@@ -291,6 +306,10 @@ def test_weak_signals_ask_instead_of_capturing(utterance: str) -> None:
"schauen wir mal",
"ya veo, gracias",
"vamos a ver que pasa",
+ "Qual é a capital de Portugal?",
+ "Vamos lá ver o que acontece",
+ "Estou a ver, obrigado",
+ "Dá uma vista de olhos aos preços dos voos",
],
)
def test_non_visual_turns_are_left_alone(utterance: str) -> None:
@@ -308,6 +327,8 @@ def test_non_visual_turns_are_left_alone(utterance: str) -> None:
"Wie kann ich dir meinen Bildschirm zeigen?", # i18n-allow: DE input
"Was passiert, wenn ich Screenshot sage?", # i18n-allow: DE input
"Como puedes ver mi pantalla?", # i18n-allow: ES input
+ "Como podes ver o meu ecrã?",
+ "Como é que posso fazer uma captura de ecrã?",
],
)
def test_product_questions_are_not_capture_consent(utterance: str) -> None:
@@ -352,3 +373,4 @@ def test_clarifying_question_falls_back_for_an_unknown_locale() -> None:
def test_clarifying_question_accepts_a_full_bcp47_tag() -> None:
assert clarifying_question("de-DE") == clarifying_question("de")
assert clarifying_question("es_ES") == clarifying_question("es")
+ assert clarifying_question("pt-PT") == clarifying_question("pt") != clarifying_question("en")
diff --git a/tests/unit/self_mod/test_schema_introspect.py b/tests/unit/self_mod/test_schema_introspect.py
index b53272c2c2..0136b6f366 100644
--- a/tests/unit/self_mod/test_schema_introspect.py
+++ b/tests/unit/self_mod/test_schema_introspect.py
@@ -188,7 +188,7 @@ class TestDescribeField:
def test_enum_literal(self) -> None:
d = describe_field("ui.language")
assert d["value_type"] == "enum"
- assert set(d["allowed_values"]) == {"en", "de", "es", "zh"}
+ assert set(d["allowed_values"]) == {"en", "de", "es", "pt", "zh"}
def test_undeclared_extra_key_is_graceful(self) -> None:
# ui.theme is an extra="allow" key — no declared type to read.
@@ -221,7 +221,7 @@ class TestDescribeField:
def test_enum_literal_lists_allowed_values(self) -> None:
d = describe_field("ui.language")
assert d["value_type"] == "enum"
- assert set(d["allowed_values"]) == {"en", "de", "es", "zh"}
+ assert set(d["allowed_values"]) == {"en", "de", "es", "pt", "zh"}
def test_undeclared_extra_key_is_graceful(self) -> None:
# A key under an extra="allow" section that the schema does not declare
diff --git a/tests/unit/sessions/test_chat_titles.py b/tests/unit/sessions/test_chat_titles.py
index cf780bb17d..e4f543d030 100644
--- a/tests/unit/sessions/test_chat_titles.py
+++ b/tests/unit/sessions/test_chat_titles.py
@@ -32,6 +32,7 @@ from jarvis.sessions.chat_titles import (
["Was geht ab", "ähm, nichts", "ähm", ", ähm, ähm"],
["Was geht ab", "Nicht so viel", ". Hallo"],
["Hi. What's good up", "Mm."],
+ ["Olá, tudo bem?", "hum"], # i18n-allow: pt voice input
[""],
[],
],
@@ -52,6 +53,8 @@ def test_greetings_and_fragments_have_no_topic(utterances: list[str]) -> None:
(["Hey George, hallo", "Can you please summarize my inbox"], "Summarize my inbox"),
(["Hi, was geht ab? Kannst du bitte schnell sagen, was alles zu tun ist?"],
"Sagen, was alles zu tun ist"),
+ (["Olá, tudo bem? Podes por favor resumir a minha caixa de entrada"], # i18n-allow
+ "Resumir a minha caixa de entrada"), # i18n-allow
],
)
def test_the_request_survives_its_lead_in(utterances: list[str], title: str) -> None:
diff --git a/tests/unit/setup/test_macos_app_bundle.py b/tests/unit/setup/test_macos_app_bundle.py
index 67b11f837b..2a2b9a0429 100644
--- a/tests/unit/setup/test_macos_app_bundle.py
+++ b/tests/unit/setup/test_macos_app_bundle.py
@@ -492,9 +492,9 @@ def test_build_native_bundle_layout_and_clang_invocation(
assert info["JarvisBundleFormatVersion"] == _BUNDLE_FORMAT_VERSION
assert "other apps" in info["NSAppleEventsUsageDescription"].lower()
- # The German and Spanish dialog text is laid out with the bundle, before signing.
- assert info["CFBundleLocalizations"] == ["en", "de", "es"]
- for language in ("de", "es"):
+ # The German, Spanish and Portuguese dialog text is laid out with the bundle, before signing.
+ assert info["CFBundleLocalizations"] == ["en", "de", "es", "pt-PT"]
+ for language in ("de", "es", "pt-PT"):
strings = bundle / "Contents" / "Resources" / f"{language}.lproj" / "InfoPlist.strings"
assert "NSMicrophoneUsageDescription" in strings.read_text(encoding="utf-8")
executable = bundle / "Contents" / "MacOS" / "PersonalJarvis"
diff --git a/tests/unit/setup/test_prefetch_vosk.py b/tests/unit/setup/test_prefetch_vosk.py
index d4b9c0dc5c..bd51119e02 100644
--- a/tests/unit/setup/test_prefetch_vosk.py
+++ b/tests/unit/setup/test_prefetch_vosk.py
@@ -35,7 +35,7 @@ def test_full_prefetch_downloads_every_onboarding_language(monkeypatch):
monkeypatch.setattr(
prefetch,
"_supported_vosk_languages",
- lambda: ("en", "de", "es"),
+ lambda: ("en", "de", "es", "pt"),
)
monkeypatch.setattr(prefetch, "_faster_whisper_available", lambda: False)
@@ -45,7 +45,7 @@ def test_full_prefetch_downloads_every_onboarding_language(monkeypatch):
)
assert rc == 0
- assert seen == ["en", "de", "es"]
+ assert seen == ["en", "de", "es", "pt"]
def test_full_prefetch_continues_after_one_language_fails(monkeypatch):
@@ -59,7 +59,7 @@ def test_full_prefetch_continues_after_one_language_fails(monkeypatch):
monkeypatch.setattr(
prefetch,
"_supported_vosk_languages",
- lambda: ("en", "de", "es"),
+ lambda: ("en", "de", "es", "pt"),
)
monkeypatch.setattr(prefetch, "_faster_whisper_available", lambda: False)
@@ -69,7 +69,7 @@ def test_full_prefetch_continues_after_one_language_fails(monkeypatch):
)
assert rc == 1
- assert seen == ["en", "de", "es"]
+ assert seen == ["en", "de", "es", "pt"]
def test_vosk_none_result_marks_prefetch_failed(monkeypatch):
diff --git a/tests/unit/skills/test_authoring_request.py b/tests/unit/skills/test_authoring_request.py
index 4e7ad2c45d..e3bba809b2 100644
--- a/tests/unit/skills/test_authoring_request.py
+++ b/tests/unit/skills/test_authoring_request.py
@@ -81,6 +81,13 @@ LIVE_UTTERANCE = (
"erstell mir einen workflow der abends die tickets zusammenfasst", # i18n-allow: test input
"create a routine that reads my calendar",
"crea una rutina que lea mi correo", # i18n-allow: test input
+ "cria-me um skill que leia o meu correio", # i18n-allow: test input
+ "cria uma rotina que resuma o slack às segundas", # i18n-allow: test input
+ "quero que construas uma nova automatização para os emails", # i18n-allow: test input
+ "cria uma skill que leia o meu calendário", # i18n-allow: test input
+ "cria um skill que leia o meu correio", # i18n-allow: test input
+ "cria um workflow para os relatórios", # i18n-allow: test input
+ "faz-me um workflow que resuma as tarefas", # i18n-allow: test input
],
)
def test_authoring_requests_are_detected(utterance: str) -> None:
@@ -119,6 +126,13 @@ def test_authoring_requests_are_detected(utterance: str) -> None:
"starte die morgenroutine", # i18n-allow: test input
"was steht heute in meiner routine", # i18n-allow: test input
"erinnere mich an meine routine", # i18n-allow: test input
+ "como crio um skill", # i18n-allow: test input
+ "cria uma lista dos meus skills", # i18n-allow: test input
+ "kümmere dich um die skills", # i18n-allow: test input
+ # German "um" is a preposition, never the Portuguese article
+ "Schreib mir, was ich tun muss, um Skills zu aktivieren", # i18n-allow: test input
+ "Mach das, um Workflows zu starten", # i18n-allow: test input
+ "erklär mir, wie ich vorgehe, um Routinen zu nutzen", # i18n-allow: test input
"",
],
)
@@ -142,6 +156,8 @@ def test_non_authoring_requests_are_ignored(utterance: str) -> None:
"disable the youtube music skill",
"remove the skill I created yesterday",
"desactiva el skill de spotify", # i18n-allow: test input
+ "desativa o skill do spotify", # i18n-allow: test input
+ "mostra-me os meus skills", # i18n-allow: test input
],
)
def test_lifecycle_requests_are_detected(utterance: str) -> None:
diff --git a/tests/unit/skills/test_explicit_request.py b/tests/unit/skills/test_explicit_request.py
index c00778ed6f..04f3ba482e 100644
--- a/tests/unit/skills/test_explicit_request.py
+++ b/tests/unit/skills/test_explicit_request.py
@@ -58,6 +58,23 @@ def test_german_use_verb_and_kebab_name() -> None:
assert decision.source == SOURCE_TRIGGER
+def test_portuguese_use_verb_resolves() -> None:
+ hit = resolve_explicit_skill_request(
+ "executa o skill morning routine", _REGISTRY # i18n-allow
+ )
+ assert hit is not None
+ assert hit[0].name == "morning-routine"
+
+
+def test_portuguese_question_about_a_skill_never_runs_it() -> None:
+ assert (
+ resolve_explicit_skill_request(
+ "quando executa o skill deep work mode", _REGISTRY # i18n-allow
+ )
+ is None
+ )
+
+
def test_spoken_name_without_hyphens_resolves() -> None:
hit = resolve_explicit_skill_request(
"Jarvis, starte den Skill Morning Routine", _REGISTRY # i18n-allow
diff --git a/tests/unit/skills/test_trigger_matcher.py b/tests/unit/skills/test_trigger_matcher.py
index 6c9d20feb5..c2dcdc760e 100644
--- a/tests/unit/skills/test_trigger_matcher.py
+++ b/tests/unit/skills/test_trigger_matcher.py
@@ -100,6 +100,28 @@ def test_match_voice_no_match(registry: SkillRegistry):
assert m.match_voice("komplett anderes zeug", lang="de") is None
+VOICE_PT_ANCHORED = """---
+schema_version: "1"
+name: voice_pt
+triggers:
+ - type: voice
+ pattern: "^abre a reuni[aã]o$"
+ language: ["pt"]
+---
+body
+"""
+
+
+def test_portuguese_courtesy_glue_is_stripped(tmp_path: Path):
+ _write_skill(tmp_path, "voice_pt", VOICE_PT_ANCHORED)
+ reg = SkillRegistry(tmp_path)
+ reg.reload_sync()
+ m = TriggerMatcher(reg)
+ sk = m.match_voice("Olá, abre a reunião por favor", lang="pt") # i18n-allow
+ assert sk is not None
+ assert sk.name == "voice_pt"
+
+
def test_match_voice_auto_lang(registry: SkillRegistry):
m = TriggerMatcher(registry)
sk = m.match_voice("starte meeting", lang="auto")
diff --git a/tests/unit/society/test_portuguese_input.py b/tests/unit/society/test_portuguese_input.py
new file mode 100644
index 0000000000..cdcb1cb91c
--- /dev/null
+++ b/tests/unit/society/test_portuguese_input.py
@@ -0,0 +1,56 @@
+"""European Portuguese speech input reaches the same society intents as the
+other supported languages, and ordinary pt sentences stay out of them."""
+
+from __future__ import annotations
+
+import pytest
+
+from jarvis.society.intent import (
+ explicitly_requests_worker,
+ is_inventory_question,
+ is_team_management_request,
+)
+from jarvis.society.message_routing import is_internal_message_request
+
+
+ "text",
+ [
+ "Que agentes tens?", # i18n-allow: pt voice input
+ "Quantos agentes temos?", # i18n-allow: pt voice input
+ "Mostra-me os meus agentes", # i18n-allow: pt voice input
+ "¿Qué agentes tienes?", # i18n-allow: es voice input still recognised
+ "Welche Agenten hast du?", # i18n-allow: de voice input still recognised
+ ],
+)
+def test_inventory_questions(text: str) -> None:
+ assert is_inventory_question(text)
+
+
+def test_an_assignment_is_not_an_inventory_question() -> None:
+ assert not is_inventory_question(
+ "Que agentes tens? Dá esta tarefa ao Scout." # i18n-allow: pt voice input
+ )
+
+
+def test_team_management_request() -> None:
+ assert is_team_management_request(
+ "Cria um agente para os meus emails." # i18n-allow: pt voice input
+ )
+
+
+def test_explicit_worker_request() -> None:
+ assert explicitly_requests_worker(
+ "Lança uma missão em segundo plano para isto." # i18n-allow: pt voice input
+ )
+
+
+def test_internal_message_request() -> None:
+ assert is_internal_message_request(
+ "Escreve uma mensagem ao Gmail agent.", # i18n-allow: pt voice input
+ ["Gmail agent"],
+ )
+ assert not is_internal_message_request(
+ "Envia um email à Alice pelo Gmail.", # i18n-allow: pt voice input
+ ["Gmail agent"],
+ )
diff --git a/tests/unit/society/test_routine_intent.py b/tests/unit/society/test_routine_intent.py
index 7fa3427b99..8836f8f1f9 100644
--- a/tests/unit/society/test_routine_intent.py
+++ b/tests/unit/society/test_routine_intent.py
@@ -12,6 +12,7 @@ from jarvis.society.routine_intent import requests_routine_creation
"Kannst du mir eine Routine erstellen?", # i18n-allow: input fixture
"Erstelle die Routine.", # i18n-allow: input fixture
"Create a daily routine that checks GitHub issues.",
+ "Cria essa rotina.", # i18n-allow: input fixture
],
)
def test_explicit_routine_creation_is_recognized(utterance: str) -> None:
@@ -25,6 +26,8 @@ def test_explicit_routine_creation_is_recognized(utterance: str) -> None:
"Die Routine wurde erstellt.", # i18n-allow: input fixture
"Show my routines.",
"Create a skill for daily checks.",
+ "Como crio uma rotina?", # i18n-allow: input fixture
+ "Mostra as minhas rotinas.", # i18n-allow: input fixture
],
)
def test_non_creation_turns_do_not_trigger_a_write(utterance: str) -> None:
diff --git a/tests/unit/society/test_routine_intent_recurring.py b/tests/unit/society/test_routine_intent_recurring.py
index d06d3c78b5..d4e748bba8 100644
--- a/tests/unit/society/test_routine_intent_recurring.py
+++ b/tests/unit/society/test_routine_intent_recurring.py
@@ -16,6 +16,9 @@ ROUTINE_REQUESTS = [
"Remind me every Monday to pay rent",
"dame un resumen cada mañana a las ocho", # i18n-allow
"Erstelle eine Routine für den Gmail Agenten", # i18n-allow
+ "dá-me um resumo todas as manhãs às oito", # i18n-allow
+ "Lembra-me todas as segundas de pagar a renda", # i18n-allow
+ "podes resumir os meus emails todos os dias", # i18n-allow
]
NOT_ROUTINE = [
@@ -24,6 +27,8 @@ NOT_ROUTINE = [
"Wie kann ich jeden Tag um 8 ein Briefing bekommen?", # i18n-allow
"Was steht heute im Kalender?", # i18n-allow
"Erstelle einen Skill, der mir jeden Morgen um 6 die Mails vorliest", # i18n-allow
+ "Eu corro todas as manhãs", # i18n-allow
+ "Como posso receber um relatório todos os dias?", # i18n-allow
]
diff --git a/tests/unit/speech/test_hangup.py b/tests/unit/speech/test_hangup.py
index 332f379547..90f88fcfd3 100644
--- a/tests/unit/speech/test_hangup.py
+++ b/tests/unit/speech/test_hangup.py
@@ -9,6 +9,8 @@ from jarvis.speech.hangup import (
HANGUP_RE,
HangupConfirmation,
contains_end_signal,
+ hangup_cancelled_reply,
+ hangup_confirmation_question,
is_legacy_farewell,
strip_end_signal,
supports_semantic_hangup,
@@ -159,6 +161,7 @@ def test_is_legacy_farewell_rejects_other_text() -> None:
"I think we're done here, thanks.", "That is all for now.",
"I need to go", "No more questions", "Eso es todo por hoy, gracias.",
"Creo que hemos terminado", "No necesito nada más",
+ "Obrigado, é tudo por hoje.", "Acho que terminámos", "Não preciso de mais nada",
])
def test_semantic_closure_requires_positive_user_evidence(text: str) -> None:
assert supports_semantic_hangup(text)
@@ -170,6 +173,7 @@ def test_semantic_closure_requires_positive_user_evidence(text: str) -> None:
"We are not done", "We're done with step one, now continue with step two",
'Translate "we are done" into German', "We're done?", "No hemos terminado",
"Ich glaube wir sind nicht fertig", "Das war's mit dem Fehler, mach weiter", # i18n-allow
+ "Ainda não terminámos", "Desliga a luz da sala", "Obrigado",
])
def test_task_completion_and_quoted_closings_are_not_session_closure(text: str) -> None:
assert not supports_semantic_hangup(text)
@@ -178,6 +182,7 @@ def test_task_completion_and_quoted_closings_are_not_session_closure(text: str)
@pytest.mark.parametrize("text", [
"Leg auf", "auflegen bitte", "Tschüss Jarvis", "hang up", "Goodbye", # i18n-allow
"Danke, das war alles", "That's it for today", "Cuelga", "Adiós", # i18n-allow
+ "Desliga", "Adeus, Jarvis!", "Até logo", "Tchau",
])
def test_end_call_gate_accepts_the_users_own_closing(text: str) -> None:
assert user_asked_to_hang_up(text)
@@ -186,6 +191,7 @@ def test_end_call_gate_accepts_the_users_own_closing(text: str) -> None:
@pytest.mark.parametrize("text", [
"", None, "Ja", "Ja.", "Yes", "Sí", "Okay", "Alles klar", "Mach das", # i18n-allow
"Danke", "Thanks", "Hey George, hallo", # i18n-allow
+ "Sim", "Faz isso",
])
def test_end_call_gate_refuses_a_model_hang_up_without_user_evidence(text) -> None:
# Live 2026-10-01: the model answered a spoken "Ja" with end_call.
@@ -254,3 +260,20 @@ def test_padded_confirmation_still_requires_the_complete_answer(answer, expected
padding = " \t\n" * 1000
assert guard.observe(padding + answer + padding, "answer") == expected
assert guard.observe("yes", "later-approval") == ""
+
+
[email protected]("answer, expected", [
+ ("Sim, desliga.", "confirmed"),
+ ("Sim, por favor", "confirmed"),
+ ("Não", "cancelled"),
+ ("Sim, mas continua a falar", ""),
+])
+def test_portuguese_answers_to_the_hangup_question(answer, expected):
+ guard = HangupConfirmation()
+ guard.arm("request")
+ assert guard.observe(answer, "answer") == expected
+
+
+def test_portuguese_hangup_question_and_cancel_reply():
+ assert hangup_confirmation_question("pt-PT") == "Queres mesmo desligar?"
+ assert hangup_cancelled_reply("pt") == "Ok, continuamos a falar."
diff --git a/tests/unit/speech/test_phrase_language.py b/tests/unit/speech/test_phrase_language.py
index 8295a6ea3d..45b4d2b9a8 100644
--- a/tests/unit/speech/test_phrase_language.py
+++ b/tests/unit/speech/test_phrase_language.py
@@ -26,6 +26,7 @@ from jarvis.speech.pipeline import (
_ACTION_DONE_PHRASE,
_BRAIN_UNAVAILABLE_PHRASE,
_CLARIFY_QUESTION_PHRASE,
+ _REALTIME_UNAVAILABLE_PHRASE,
_STT_UNAVAILABLE_PHRASE,
_TIMEOUT_NO_ANSWER_PHRASE,
_TIMEOUT_TOOL_STALL_PHRASE,
@@ -97,6 +98,10 @@ def _make_pipe(
("spanish", "es"),
("es", "es"),
("es-ES", "es"),
+ # European Portuguese, same contract.
+ ("portuguese", "pt"),
+ ("pt", "pt"),
+ ("pt-PT", "pt"),
# Unknown / missing → DEFAULT_LOCALE fallback.
("", "en"),
(None, "en"),
@@ -119,8 +124,9 @@ def test_all_canned_phrase_tables_cover_de_en_es() -> None:
_TIMEOUT_NO_ANSWER_PHRASE,
_CLARIFY_QUESTION_PHRASE,
_ACTION_DONE_PHRASE,
+ _REALTIME_UNAVAILABLE_PHRASE,
):
- assert {"de", "en", "es"} <= set(table), table
+ assert {"de", "en", "es", "pt"} <= set(table), table
@pytest.mark.asyncio
@@ -170,6 +176,20 @@ def test_smalltalk_fallback_is_german_for_whisper_language_name() -> None:
assert "geht's gut" in answer, answer # the German variant, not "I'm good"
+ ("prompt", "lang", "expected"),
+ [
+ ("como estás?", "portuguese", "Estou bem. O que fazemos a seguir?"), # i18n-allow
+ ("tudo bem contigo?", "pt", "Estou bem. O que fazemos a seguir?"), # i18n-allow
+ ("¿qué tal estás?", "spanish", "Estoy bien. ¿Qué hacemos ahora?"), # i18n-allow
+ ],
+)
+def test_smalltalk_fallback_speaks_spanish_and_portuguese(
+ prompt: str, lang: str, expected: str
+) -> None:
+ assert _smalltalk_fallback_for_non_substantive(prompt, lang) == expected
+
+
@pytest.mark.asyncio
async def test_english_speaker_still_gets_english_phrases() -> None:
# Regression guard: the fix must not over-rotate — a genuinely English
@@ -177,3 +197,17 @@ async def test_english_speaker_still_gets_english_phrases() -> None:
pipe = _make_pipe(clarify_enabled=True)
await pipe._handle_silent_brain_turn("english")
assert pipe._spoken == [(_CLARIFY_QUESTION_PHRASE["en"], "en")], pipe._spoken
+
+
+async def test_clarify_question_is_portuguese_for_whisper_language_name() -> None:
+ pipe = _make_pipe(clarify_enabled=True)
+ await pipe._handle_silent_brain_turn("portuguese")
+ assert pipe._spoken == [(_CLARIFY_QUESTION_PHRASE["pt"], "pt")], pipe._spoken
+
+
+def test_bcp47_maps_portuguese_to_portugal() -> None:
+ assert pipeline_mod.SpeechPipeline._bcp47("pt") == "pt-PT"
+ assert set(pipeline_mod.SpeechPipeline._BG_READBACK_PHRASES["pt"]) == set(
+ pipeline_mod.SpeechPipeline._BG_READBACK_PHRASES["en"]
+ )
diff --git a/tests/unit/speech/test_wake_model_fetch.py b/tests/unit/speech/test_wake_model_fetch.py
index 107d897e90..aad6940fa0 100644
--- a/tests/unit/speech/test_wake_model_fetch.py
+++ b/tests/unit/speech/test_wake_model_fetch.py
@@ -24,6 +24,8 @@ def test_lang_normalization():
assert wmf.vosk_lang_for("de-DE") == "de"
assert wmf.vosk_lang_for("de") == "de"
assert wmf.vosk_lang_for("es") == "es"
+ assert wmf.vosk_lang_for("pt") == "pt"
+ assert wmf.vosk_lang_for("pt-PT") == "pt"
assert wmf.vosk_lang_for("auto") == "en" # DEFAULT_LOCALE fallback
assert wmf.vosk_lang_for(None) == "en"
assert wmf.vosk_lang_for("fr") == "en" # unsupported -> default
@@ -53,6 +55,46 @@ def test_ensure_downloads_extracts_and_resolves(tmp_path, monkeypatch):
assert Path(resolved).name.startswith("vosk-model-small-de")
+def _fake_legacy_model_zip() -> bytes:
+ """The legacy flat layout vosk-model-small-pt-0.3 ships: final.mdl at the
+ model root, no am/ or conf/ subdir."""
+ buf = io.BytesIO()
+ with zipfile.ZipFile(buf, "w") as z:
+ z.writestr("vosk-model-small-pt-0.3/final.mdl", b"x")
+ z.writestr("vosk-model-small-pt-0.3/HCLr.fst", b"y")
+ z.writestr("vosk-model-small-pt-0.3/Gr.fst", b"z")
+ return buf.getvalue()
+
+
+def test_portuguese_model_is_pinned():
+ spec = wmf.VOSK_MODELS["pt"]
+ assert spec.zip_name == "vosk-model-small-pt-0.3.zip"
+ assert len(spec.sha256) == 64
+
+
+def test_ensure_accepts_legacy_flat_layout_for_portuguese(tmp_path, monkeypatch):
+ monkeypatch.setenv("JARVIS__MEMORY__DATA_DIR", str(tmp_path))
+ data = _fake_legacy_model_zip()
+ monkeypatch.setitem(
+ wmf.VOSK_MODELS, "pt",
+ wmf.VoskModelSpec(
+ zip_name="vosk-model-small-pt-0.3.zip",
+ sha256=hashlib.sha256(data).hexdigest(),
+ ),
+ )
+
+ def fake_get(url: str) -> bytes:
+ assert url.endswith("vosk-model-small-pt-0.3.zip")
+ return data
+
+ out = wmf.ensure_vosk_model("pt-PT", data_dir=str(tmp_path), http_get=fake_get)
+ assert out is not None
+ assert wmf.vosk_model_present("pt", data_dir=str(tmp_path))
+ resolved = resolve_vosk_model_path("pt")
+ assert resolved is not None
+ assert Path(resolved).name == "vosk-model-small-pt-0.3"
+
+
def test_ensure_is_idempotent_noop_when_present(tmp_path, monkeypatch):
calls = {"n": 0}
data = _fake_model_zip()
@@ -128,7 +170,7 @@ def test_resolve_wake_language_pin_beats_stt_and_ui():
def test_resolve_wake_language_ui_change_never_moves_a_pinned_wake_language():
"""Switching the app display language must not move a pinned wake word."""
- for ui_lang in ("en", "de", "es"):
+ for ui_lang in ("en", "de", "es", "pt"):
cfg = SimpleNamespace(
trigger=_pin("de"),
stt=SimpleNamespace(language="auto"),
diff --git a/tests/unit/telephony/test_session.py b/tests/unit/telephony/test_session.py
index cf906e93d9..047344e4a6 100644
--- a/tests/unit/telephony/test_session.py
+++ b/tests/unit/telephony/test_session.py
@@ -278,3 +278,12 @@ async def test_declining_telephone_hangup_does_not_arm_a_later_yes():
for _ in range(3):
await _drive_one_utterance(session)
assert not session.ended
+
+
+def test_portuguese_call_greets_and_falls_back_in_portuguese() -> None:
+ session = _make_session(_Sink(), language_code="pt-PT")
+ assert session._lang_short() == "pt"
+ assert session._default_greeting() == "Olá, em que posso ajudar?" # i18n-allow
+ assert session._fallback_phrase() == "Desculpa, não percebi. Podes repetir?" # i18n-allow
+ session.assistant_name = "Nova"
+ assert session._default_greeting() == "Olá, sou Nova. Em que posso ajudar?" # i18n-allow
diff --git a/tests/unit/test_codex_auth.py b/tests/unit/test_codex_auth.py
index 1ad3294674..fc9dbf9963 100644
--- a/tests/unit/test_codex_auth.py
+++ b/tests/unit/test_codex_auth.py
@@ -115,6 +115,8 @@ def test_status_not_installed_when_binary_missing(monkeypatch: pytest.MonkeyPatc
assert status.connected is False
assert status.mode == "unknown"
assert status.message # never empty — UI shows this instead of "loading"
+ assert status.message_code == "not_installed"
+ assert status.to_dict()["message_code"] == "not_installed"
def test_status_detects_chatgpt_from_auth_json(
diff --git a/tests/unit/ui/test_backend_message_codes.py b/tests/unit/ui/test_backend_message_codes.py
new file mode 100644
index 0000000000..5533d6dfe7
--- /dev/null
+++ b/tests/unit/ui/test_backend_message_codes.py
@@ -0,0 +1,160 @@
+"""Parity: every message code the backend sends has a translation in the UI.
+
+Several routes and events return a stable ``*_code`` next to an English
+sentence; the desktop UI renders ``<namespace>.<code>`` from its locale files
+and falls back to the English sentence for a code it does not know. A code
+without a translation therefore degrades silently to English, which is exactly
+the drift this test catches (AP-4: Python code tables <-> locale JSON).
+
+Where the English sentence is static, the ``en`` translation must also match
+the backend sentence word for word, so the two cannot drift apart.
+"""
+from __future__ import annotations
+
+import json
+import re
+from pathlib import Path
+
+import pytest
+
+from jarvis.board.achievements import ACHIEVEMENTS
+from jarvis.codex_auth import CODEX_STATUS_MESSAGE_CODES
+from jarvis.google_cli.auth_service import GOOGLE_CLI_STATUS_MESSAGE_CODES
+from jarvis.marketplace.amd_mcp import AMD_UNAVAILABLE_REASONS, amd_unavailable_reason_code
+from jarvis.mcp.state import CLAUDE_DESKTOP_IMPORT_NOTE_CODES
+from jarvis.speech.wake_phrase import WAKE_PLAN_MESSAGE_CODES, resolve_wake_plan
+from jarvis.trigger.hotkey import MOUSE_HOTKEY_REASONS, mouse_hotkeys_reason_code
+from jarvis.ui.web.settings_routes import WAKE_HINT_CODES, WAKE_MESSAGE_CODES
+
+_REPO = Path(__file__).resolve().parents[3]
+_LOCALES = _REPO / "jarvis" / "ui" / "web" / "frontend" / "src" / "i18n" / "locales"
+_LANGS = ("en", "de", "es", "zh", "pt")
+_PLACEHOLDER = re.compile(r"\{(\w+)\}")
+
+#: Codes the realtime/live sessions attach to sentences they author themselves.
+_VOICE_BACKEND_ERROR_CODES = ("voice_connection_lost", "subscription_request_failed")
+
+
+def _locale(lang: str) -> dict:
+ return json.loads((_LOCALES / f"{lang}.json").read_text(encoding="utf-8"))
+
+
+def _lookup(tree: dict, dotted: str) -> object:
+ node: object = tree
+ for part in dotted.split("."):
+ if not isinstance(node, dict) or part not in node:
+ return None
+ node = node[part]
+ return node
+
+
+def _fill(template: str, params: dict[str, str]) -> str:
+ return _PLACEHOLDER.sub(lambda m: params.get(m.group(1), m.group(0)), template)
+
+
+_TABLES: list[tuple[str, tuple[str, ...]]] = [
+ ("settings_view.wake_word.msg", WAKE_PLAN_MESSAGE_CODES + WAKE_MESSAGE_CODES),
+ ("settings_view.wake_word.hint", WAKE_HINT_CODES),
+ ("settings_view.keybinds.mouse_reason", tuple(MOUSE_HOTKEY_REASONS)),
+ ("apikeys_codex.status_msg", CODEX_STATUS_MESSAGE_CODES),
+ ("apikeys_antigravity.status_msg", GOOGLE_CLI_STATUS_MESSAGE_CODES),
+ ("mcps_view.import_note", CLAUDE_DESKTOP_IMPORT_NOTE_CODES),
+ ("plugins_view.unavailable_reason", tuple(AMD_UNAVAILABLE_REASONS)),
+ ("voice.backend_error", _VOICE_BACKEND_ERROR_CODES),
+ ("use_web_socket.achievement_title", tuple(a.id for a in ACHIEVEMENTS)),
+]
+
+
[email protected]("lang", _LANGS)
[email protected](("namespace", "codes"), _TABLES, ids=[t[0] for t in _TABLES])
+def test_every_backend_code_has_a_translation(
+ lang: str, namespace: str, codes: tuple[str, ...]
+) -> None:
+ tree = _locale(lang)
+ en = _locale("en")
+ missing = [c for c in codes if not isinstance(_lookup(tree, f"{namespace}.{c}"), str)]
+ assert not missing, f"{lang}: no translation for {namespace}.{missing}"
+ for code in codes:
+ value = _lookup(tree, f"{namespace}.{code}")
+ source = _lookup(en, f"{namespace}.{code}")
+ assert sorted(_PLACEHOLDER.findall(value)) == sorted(_PLACEHOLDER.findall(source)), (
+ f"{lang} {namespace}.{code}: placeholders differ from en"
+ )
+ # `{name}` is the assistant-name token in the UI; a backend value must
+ # never ride on it.
+ assert "{name}" not in value
+
+
+def test_static_english_sentences_match_the_backend() -> None:
+ en = _locale("en")
+ for code, sentence in MOUSE_HOTKEY_REASONS.items():
+ assert _lookup(en, f"settings_view.keybinds.mouse_reason.{code}") == sentence
+ assert mouse_hotkeys_reason_code(sentence) == code
+ for code, sentence in AMD_UNAVAILABLE_REASONS.items():
+ assert _lookup(en, f"plugins_view.unavailable_reason.{code}") == sentence
+ assert amd_unavailable_reason_code(sentence) == code
+ for spec in ACHIEVEMENTS:
+ assert _lookup(en, f"use_web_socket.achievement_title.{spec.id}") == spec.title
+ assert mouse_hotkeys_reason_code("some other sentence") == ""
+ assert amd_unavailable_reason_code(None) == ""
+
+
+def test_seed_catalog_longevity_notes_are_translated_verbatim() -> None:
+ """A shipped plugin's longevity note is translated by plugin id; the ``en``
+ entry must equal the catalog's own note, so an edited note cannot keep
+ showing a stale translation unnoticed."""
+ raw = json.loads(
+ (_REPO / "jarvis" / "marketplace" / "seed_catalog.json").read_text(encoding="utf-8")
+ )
+ plugins = raw.get("plugins", raw) if isinstance(raw, dict) else raw
+ notes = {}
+ for plugin in plugins:
+ note = plugin.get("longevity_note") or (
+ (plugin.get("extensions") or {}).get("io.github.personaljarvis", {}).get(
+ "longevity_note"
+ )
+ )
+ if note:
+ notes[plugin["id"]] = note
+ assert notes
+ for lang in _LANGS:
+ table = _lookup(_locale(lang), "plugins_view.longevity_note")
+ assert isinstance(table, dict)
+ assert set(table) == set(notes), lang
+ en = _lookup(_locale("en"), "plugins_view.longevity_note")
+ assert en == notes
+
+
+class _WakeCfg:
+ def __init__(self, phrase: str) -> None:
+ self.phrase = phrase
+ self.engine = "auto"
+ self.custom_model_path = ""
+ self.fuzzy_match_ratio = 0.8
+
+
+ ("phrase", "whisper", "language", "code"),
+ [
+ ("Hey Nova", False, "de", "needs_local_model"),
+ ("", False, "de", "needs_local_model_no_phrase"),
+ ("Hey Nova", True, "de", "stt_match_unreliable"),
+ ("Hey Nova", True, None, "stt_match_unreliable_any_language"),
+ ],
+)
+def test_wake_plan_codes_render_the_backend_sentence(
+ phrase: str, whisper: bool, language: str | None, code: str
+) -> None:
+ """The ``en`` template filled with the plan's params reads exactly like the
+ plan's own English message."""
+ plan = resolve_wake_plan(
+ _WakeCfg(phrase),
+ local_whisper_available=whisper,
+ language=language,
+ vosk_available=False,
+ )
+ if not phrase and plan.message_code != code:
+ pytest.skip("an empty phrase resolves to the default wake phrase here")
+ assert plan.message_code == code
+ template = _lookup(_locale("en"), f"settings_view.wake_word.msg.{code}")
+ assert _fill(template, dict(plan.message_params)) == plan.message
diff --git a/tests/unit/ui/test_conductor_announcement_bridge.py b/tests/unit/ui/test_conductor_announcement_bridge.py
index 5e718ff0e7..ffb40ff3fe 100644
--- a/tests/unit/ui/test_conductor_announcement_bridge.py
+++ b/tests/unit/ui/test_conductor_announcement_bridge.py
@@ -184,7 +184,7 @@ async def test_an_unreadable_brain_still_gets_the_news_out() -> None:
assert heard.last.language == "en"
[email protected]("language", ["de", "en", "es"])
[email protected]("language", ["de", "en", "es", "pt"])
def test_every_supported_locale_has_both_sentences(language: str) -> None:
from jarvis.ui.desktop_app import _conductor_news_sentence
diff --git a/tests/unit/ui/test_keybinds_route.py b/tests/unit/ui/test_keybinds_route.py
index de77e3040a..660bc8e96b 100644
--- a/tests/unit/ui/test_keybinds_route.py
+++ b/tests/unit/ui/test_keybinds_route.py
@@ -304,7 +304,7 @@ def test_get_reports_mouse_button_support_from_the_capability_probe(monkeypatch)
only do that if the route SERVES the probe's verdict."""
_patch_mouse_probe(monkeypatch, True)
body = _client().get("/api/settings/keybinds").json()
- assert body["mouse_buttons"] == {"supported": True, "reason": ""}
+ assert body["mouse_buttons"] == {"supported": True, "reason": "", "reason_code": ""}
def test_get_reports_an_honest_english_reason_when_mouse_is_unsupported(
@@ -320,6 +320,16 @@ def test_get_reports_an_honest_english_reason_when_mouse_is_unsupported(
assert "Wayland" in body["mouse_buttons"]["reason"]
+def test_get_names_a_known_mouse_reason_with_its_code(monkeypatch) -> None:
+ """A probe sentence the UI can translate travels with its stable code."""
+ from jarvis.trigger.hotkey import MOUSE_HOTKEY_REASONS
+
+ _patch_mouse_probe(monkeypatch, False, MOUSE_HOTKEY_REASONS["wayland"])
+ body = _client().get("/api/settings/keybinds").json()
+ assert body["mouse_buttons"]["reason_code"] == "wayland"
+ assert body["mouse_buttons"]["reason"] == MOUSE_HOTKEY_REASONS["wayland"]
+
+
def test_put_refuses_a_mouse_shortcut_the_host_can_never_fire(monkeypatch) -> None:
"""Accepting it would leave the user with a shortcut that looks bound and
does nothing — the exact silent dishonesty the probe exists to prevent."""
diff --git a/tests/unit/ui/test_pet_notices.py b/tests/unit/ui/test_pet_notices.py
index 3eef89d41c..8499cddeb9 100644
--- a/tests/unit/ui/test_pet_notices.py
+++ b/tests/unit/ui/test_pet_notices.py
@@ -68,7 +68,7 @@ def test_jarvis_started_tasks_report_back() -> None:
def test_every_locale_has_its_own_labels() -> None:
for key, labels in notices.NOTICE_LABELS.items():
- assert set(labels) == {"en", "de", "es", "zh"}, key
+ assert set(labels) == {"en", "de", "es", "zh", "pt"}, key
assert notices.label("task_done", "fr") == "Task done" # unknown locale: English
diff --git a/tests/unit/ui/test_wake_word_route.py b/tests/unit/ui/test_wake_word_route.py
index 562834aa55..790f9cd5ab 100644
--- a/tests/unit/ui/test_wake_word_route.py
+++ b/tests/unit/ui/test_wake_word_route.py
@@ -102,7 +102,7 @@ def test_put_without_pipeline_reports_restart_required() -> None:
def test_get_wake_language_reports_pin_effective_and_options() -> None:
body = _client().get("/api/settings/wake-language").json()
assert body["language"] == "auto"
- assert body["options"] == ["auto", "de", "en", "es"]
+ assert body["options"] == ["auto", "de", "en", "es", "pt"]
# With no pin and no stt/ui signal the cascade lands on the default.
assert body["effective_language"] == "en"
diff --git a/tests/unit/voice/test_action_phrases.py b/tests/unit/voice/test_action_phrases.py
index f4a08b027e..b902689c51 100644
--- a/tests/unit/voice/test_action_phrases.py
+++ b/tests/unit/voice/test_action_phrases.py
@@ -21,6 +21,7 @@ class TestResolvePhraseLanguage:
def test_explicit_pin_wins(self) -> None:
assert resolve_phrase_language("en", "öffne den Explorer") == "en"
assert resolve_phrase_language("es", "open the explorer") == "es"
+ assert resolve_phrase_language("pt", "open the explorer") == "pt"
assert resolve_phrase_language("de", "open the explorer") == "de"
def test_auto_detects_from_text(self) -> None:
@@ -37,6 +38,23 @@ class TestActionPhrase:
assert action_phrase("cu_done", "en") == "Done."
assert action_phrase("cu_done", "de") == "Erledigt."
assert action_phrase("cu_done", "es") == "Listo."
+ assert action_phrase("cu_done", "pt") == "Feito."
+
+ def test_every_phrase_has_a_portuguese_column_with_the_spanish_placeholders(
+ self,
+ ) -> None:
+ # All locales rank equally: a missing pt column would silently serve the
+ # German fallback to a European Portuguese speaker.
+ import string
+
+ from jarvis.voice.action_phrases import _PHRASES
+
+ def fields(text: str) -> set[str]:
+ return {f for _, f, _, _ in string.Formatter().parse(text) if f}
+
+ for key, variants in _PHRASES.items():
+ assert "pt" in variants, key
+ assert fields(variants["pt"]) == fields(variants["es"]), key
def test_unknown_language_falls_back_to_german(self) -> None:
assert action_phrase("cu_done", "fr") == "Erledigt."
@@ -264,7 +282,7 @@ class TestNoCapableProviderPhrase:
"""
def test_exit_3_is_the_no_provider_phrase(self) -> None:
- for lang in ("de", "en", "es"):
+ for lang in ("de", "en", "es", "pt"):
out = cu_failure_readback(lang, error="exit 3", exit_code=3)
assert not _EXIT_TOKEN_RE.search(out), out
assert out == action_phrase("cu_exit_no_provider", lang)
@@ -299,9 +317,10 @@ class TestElevationPausePhrases:
de = action_phrase("cu_awaiting_elevation", "de")
en = action_phrase("cu_awaiting_elevation", "en")
es = action_phrase("cu_awaiting_elevation", "es")
- for text in (de, en, es):
+ pt = action_phrase("cu_awaiting_elevation", "pt")
+ for text in (de, en, es, pt):
assert len(text) > 10
- assert de != en != es
+ assert len({de, en, es, pt}) == 4
# It must tell the user WHAT to do: confirm an admin/security prompt.
assert "admin" in en.lower()
@@ -314,7 +333,7 @@ class TestElevationPausePhrases:
# exit 9 == waited for the admin confirmation, none came. It must be an
# elevation-specific human sentence — NOT the generic "didn't work" and
# NOT the misleading "couldn't see the screen" (exit 1).
- for lang in ("de", "en", "es"):
+ for lang in ("de", "en", "es", "pt"):
out = cu_failure_readback(lang, error="exit 9", exit_code=9)
assert not _EXIT_TOKEN_RE.search(out), out
assert out == action_phrase("cu_exit_needs_elevation", lang)
@@ -350,7 +369,7 @@ class TestBlockedPermissionReadback:
)
def test_profile_line_does_not_degrade_to_the_generic_phrase(self) -> None:
- for lang in ("de", "en", "es"):
+ for lang in ("de", "en", "es", "pt"):
out = cu_failure_readback(
lang, error=None, exit_code=8, detail=self._detail()
)
@@ -368,11 +387,15 @@ class TestBlockedPermissionReadback:
def test_german_and_spanish_name_the_permission_and_where_to_allow_it(self) -> None:
de = cu_failure_readback("de", error=None, exit_code=8, detail=self._detail())
es = cu_failure_readback("es", error=None, exit_code=8, detail=self._detail())
+ pt = cu_failure_readback("pt", error=None, exit_code=8, detail=self._detail())
assert "Bedienungshilfen" in de # i18n-allow: asserts the German phrase
assert "Accesibilidad" in es
+ assert "Acessibilidade" in pt
assert "Datenschutz" in de # i18n-allow: the Settings path is spoken, not just the name
assert "Privacidad" in es
- for out in (de, es):
+ assert "Privacidade" in pt
+ assert "depois" in pt # the ">" separator is spoken as a word
+ for out in (de, es, pt):
assert ">" not in out and "&" not in out # separators become words
assert "[cu]" not in out
assert "steps=" not in out
@@ -412,9 +435,9 @@ class TestBlockedPermissionReadback:
de = cu_failure_readback("de", error=None, exit_code=8, detail=self._detail(sentence))
assert de == action_phrase("cu_blocked_restricted", "de")
- def test_unrecognised_sentence_falls_back_to_the_fixed_phrase_in_de_and_es(self) -> None:
+ def test_unrecognised_sentence_falls_back_to_the_fixed_phrase_in_de_es_pt(self) -> None:
sentence = "A macOS permission is needed to continue, so the task stopped."
- for lang in ("de", "es"):
+ for lang in ("de", "es", "pt"):
out = cu_failure_readback(
lang, error=None, exit_code=8, detail=self._detail(sentence)
)
@@ -443,7 +466,7 @@ class TestBlockedPermissionReadback:
out = cu_failure_readback("en", error=None, exit_code=8, detail=self._PROFILE)
assert out == action_phrase("cu_exit_action_failed", "en")
- @pytest.mark.parametrize("lang", ["de", "es"])
+ @pytest.mark.parametrize("lang", ["de", "es", "pt"])
@pytest.mark.parametrize(
"permission",
["screen_recording", "accessibility", "input_monitoring", "microphone", "automation"],
@@ -472,8 +495,9 @@ class TestBlockedPermissionReadback:
# that is open / a permission that cannot be asked for.
assert out != action_phrase("cu_blocked_generic", lang)
assert "Settings" not in out and "Ajustes" not in out and "Systemeinstellungen" not in out
+ assert "Definições" not in out
- @pytest.mark.parametrize("lang", ["de", "es"])
+ @pytest.mark.parametrize("lang", ["de", "es", "pt"])
def test_a_switch_that_is_off_still_says_where_to_allow_it(self, lang: str) -> None:
from jarvis.platform.permission_service import user_detail_for
from jarvis.platform.permissions import PermissionId
@@ -483,7 +507,9 @@ class TestBlockedPermissionReadback:
assert out.startswith(
action_phrase("cu_blocked_permission", lang, permission="@@", pane="##").split("@@")[0]
), out
- assert "Mikrofon" in out or "Micrófono" in out # i18n-allow: asserts the phrase
+ assert any( # i18n-allow: asserts the phrase
+ name in out for name in ("Mikrofon", "Micrófono", "Microfone") # i18n-allow
+ )
def test_every_blocked_phrase_exists_in_all_languages(self) -> None:
for key in (
@@ -499,9 +525,9 @@ class TestBlockedPermissionReadback:
lang: action_phrase(
key, lang, sentence="S.", permission="P", pane="Pane"
)
- for lang in ("de", "en", "es")
+ for lang in ("de", "en", "es", "pt")
}
- assert len(set(texts.values())) == 3, key
+ assert len(set(texts.values())) == 4, key
assert all(len(text) > 10 for text in texts.values()), key
diff --git a/tests/unit/voice/test_action_phrases_permission_cause.py b/tests/unit/voice/test_action_phrases_permission_cause.py
index da38f2baa9..b1a0b90c28 100644
--- a/tests/unit/voice/test_action_phrases_permission_cause.py
+++ b/tests/unit/voice/test_action_phrases_permission_cause.py
@@ -62,7 +62,7 @@ def test_a_harness_output_dict_is_replaced_too() -> None:
_assert_clean(cause)
[email protected]("lang", ["de", "en", "es"])
[email protected]("lang", ["de", "en", "es", "pt"])
@pytest.mark.parametrize(("permission", "reason"), _PERMISSIONS)
def test_the_canned_floor_speaks_the_cause_in_the_turn_language(lang, permission, reason) -> None:
cause = extract_speakable_reason(_agent_text(permission, reason))
@@ -74,7 +74,7 @@ def test_the_canned_floor_speaks_the_cause_in_the_turn_language(lang, permission
assert "Dodaios does not have" not in line # not left in English
[email protected]("lang", ["de", "en", "es"])
[email protected]("lang", ["de", "en", "es", "pt"])
def test_the_computer_use_readback_never_speaks_the_agent_text(lang) -> None:
line = cu_failure_readback(lang, error=_agent_text("screen_recording", "denied"), exit_code=1)
@@ -104,7 +104,7 @@ def test_the_realtime_failure_line_gets_the_cause_not_the_agent_text() -> None:
@pytest.mark.asyncio
[email protected]("lang", ["de", "en", "es"])
[email protected]("lang", ["de", "en", "es", "pt"])
async def test_the_brain_failure_readback_never_speaks_the_agent_text(lang) -> None:
mgr = BrainManager.__new__(BrainManager)
mgr._reply_language = lang
diff --git a/tests/unit/voice/test_config_readback.py b/tests/unit/voice/test_config_readback.py
index 2bc948d78d..1e76f80ffb 100644
--- a/tests/unit/voice/test_config_readback.py
+++ b/tests/unit/voice/test_config_readback.py
@@ -53,6 +53,11 @@ class TestSuccess:
assert text is not None
assert "done" not in text.lower() # not English
+ def test_portuguese_is_supported(self) -> None:
+ out = _applied_dump(description="TTS speed", new_value=True)
+ text = config_readback(success=True, output=out, language="pt")
+ assert text == "Feito — TTS speed agora é ativado."
+
class TestHonestFailures:
def test_forbidden_is_an_honest_refusal_not_done(self) -> None:
diff --git a/tests/unit/voice/test_echo_confirmation_pt.py b/tests/unit/voice/test_echo_confirmation_pt.py
new file mode 100644
index 0000000000..5902bfe081
--- /dev/null
+++ b/tests/unit/voice/test_echo_confirmation_pt.py
@@ -0,0 +1,111 @@
+"""European Portuguese coverage for ``echo_confirmation.classify_response``.
+
+Runtime Output Language doctrine (AGENTS.md): the yes/no classifier must cover
+every supported language. Without its own branch ``language="pt"`` would fall
+into the German patterns, so a Portuguese "sim"/"não" would read as "unknown"
+and a pt-pinned user could not confirm or veto a consequential action by voice.
+Veto keeps priority over confirm (safety bias, Plan-§AP-12).
+"""
+from __future__ import annotations
+
+from uuid import uuid4
+
+import pytest
+
+from jarvis.core.self_mod.pending import PendingMutation
+from jarvis.voice.echo_confirmation import (
+ classify_response,
+ format_confirmation,
+ format_outcome,
+)
+
+
+ "text",
+ ["sim", "claro", "pode ser", "força", "faz", "faz isso", "faz lá.", "avança",
+ "ok", "certo", "de acordo", "confirmo", "vá lá", "podes enviar",
+ "podes avançar"],
+)
+def test_portuguese_confirm(text: str) -> None:
+ assert classify_response(text, language="pt") == "confirm"
+
+
+ "text",
+ ["podes repetir?", "podes dizer outra vez", "faz outra coisa",
+ "o que é que isso faz"],
+)
+def test_portuguese_question_or_new_instruction_is_not_a_confirmation(text: str) -> None:
+ # "podes ..." opens a question and "faz ..." a new instruction; neither may
+ # approve the action that is waiting for an answer.
+ assert classify_response(text, language="pt") != "confirm"
+
+
+ "text",
+ ["não", "nao", "cancela", "esquece", "deixa estar", "nem pensar", "basta",
+ "errado"],
+)
+def test_portuguese_veto(text: str) -> None:
+ assert classify_response(text, language="pt") == "veto"
+
+
[email protected]("text", ["talvez", "espera", "um momento", "se calhar"])
+def test_portuguese_ambiguous(text: str) -> None:
+ assert classify_response(text, language="pt") == "ambiguous"
+
+
+def test_portuguese_veto_beats_confirm() -> None:
+ # "não, sim" — the "não" must win (safety bias), same property as de/en/es.
+ assert classify_response("não, sim", language="pt") == "veto"
+
+
+def test_portuguese_nao_sei_is_veto_by_safety_bias() -> None:
+ # "não sei" ("I don't know") carries the veto token, so the consequential
+ # action is NOT executed — mirroring the Spanish "no sé" behaviour.
+ assert classify_response("não sei", language="pt") == "veto"
+
+
+def test_para_is_not_a_veto() -> None:
+ # "para" is the everyday preposition ("para enviar" = "to send").
+ assert classify_response("sim, para enviar", language="pt") == "confirm"
+
+
+def test_portuguese_unknown_when_no_pattern() -> None:
+ assert classify_response("a lua está bonita", language="pt") == "unknown"
+
+
+def _pending(path: str = "tts.speed", old: object = False, new: object = True) -> PendingMutation:
+ return PendingMutation(
+ id=uuid4(), path=path, old_value=old, new_value=new,
+ needs_confirmation=True, risk_tier="ask", requires_restart=False,
+ applied=False, backup_path=None, description="Modo rápido (hot-reload)", # i18n-allow
+ )
+
+
+def test_portuguese_echo_question() -> None:
+ assert format_confirmation(_pending(), language="pt") == (
+ "Entendido — Modo rápido muda de desligado para ligado. Confirmas?" # i18n-allow
+ )
+
+
+def test_portuguese_sensitive_echo_question_hides_the_value() -> None:
+ text = format_confirmation(_pending(path="api_key", new="sk-secret"), language="pt")
+ assert "sk-secret" not in text
+ assert text.endswith("para um valor novo. Confirmas?") # i18n-allow
+
+
+ ("kind", "expected"),
+ [
+ ("applied", "Pronto — Modo rápido agora é ligado."), # i18n-allow
+ ("vetoed", "Está bem, deixo estar."), # i18n-allow
+ ("timeout", "Não ouvi resposta, vou cancelar. A definição fica em desligado."),
+ ],
+)
+def test_portuguese_outcomes(kind: str, expected: str) -> None:
+ assert format_outcome(kind, _pending(), language="pt") == expected # type: ignore[arg-type]
+
+
+def test_unknown_language_outcome_speaks_english() -> None:
+ assert format_outcome("vetoed", _pending(), language="fr") == "Okay, leaving it."
diff --git a/tests/unit/voice/test_instant_ack.py b/tests/unit/voice/test_instant_ack.py
index 845eca721b..af6b1dad65 100644
--- a/tests/unit/voice/test_instant_ack.py
+++ b/tests/unit/voice/test_instant_ack.py
@@ -100,7 +100,7 @@ def test_none_plan_gets_no_ack():
# ---------------------------------------------------------------------------
[email protected]("language", ["de", "en", "es"])
[email protected]("language", ["de", "en", "es", "pt"])
@pytest.mark.parametrize(
"work_class", [WorkClass.RESEARCH, WorkClass.PERSONAL, WorkClass.SCREEN, WorkClass.MISSION]
)
@@ -115,13 +115,13 @@ def test_every_pooled_class_has_varied_lines_in_every_locale(work_class, languag
def test_action_pool_is_empty_by_design():
- for language in ("de", "en", "es"):
+ for language in ("de", "en", "es", "pt"):
assert instant_ack_pool(WorkClass.ACTION, language) == ()
assert pick_instant_ack_text(WorkClass.ACTION, language) == ""
def test_mission_lines_carry_the_dynamic_agent_brand_never_a_product_name():
- for language in ("de", "en", "es"):
+ for language in ("de", "en", "es", "pt"):
for line in instant_ack_pool(WorkClass.MISSION, language, agent_brand="Athena-Agent"):
assert "Athena-Agent" in line
assert "{agent}" not in line
@@ -177,6 +177,8 @@ def test_all_lines_are_normalized_for_transcript_matching():
("Opening Spotify for you now.", "Open Spotify", "en"),
("I'm telling T1 to run the tests.", "Tell T1 to run the tests", "en"),
("Abro Spotify.", "Abre Spotify", "es"),
+ ("Estou a abrir o Spotify.", "Abre o Spotify", "pt"),
+ ("Vou ligar à Ana agora.", "Liga à Ana", "pt"),
],
)
def test_contextual_intent_lines_pass(text, utterance, language):
@@ -219,6 +221,9 @@ def test_contextual_intent_lines_pass(text, utterance, language):
("I'm sending that to terminal one.", "Tell T1 to run the tests", "en", "invented words"),
("Done, Spotify is running.", "Open Spotify", "en", "completion"),
("Spotify ya está abierto.", "Abre Spotify", "es", "copula result claim"),
+ ("O Spotify já está aberto.", "Abre o Spotify", "pt", "copula result claim"),
+ ("Abri o Spotify.", "Abre o Spotify", "pt", "preterite result"),
+ ("Estou a tratar disso.", "Abre o Spotify", "pt", "stock filler, no subject"),
("I'm opening Spotify, Sir.", "Open Spotify", "en", "forbidden honorific"),
("The worker is opening Spotify.", "Open Spotify", "en", "forbidden internal name"),
("", "Open Spotify", "en", "empty"),
@@ -275,7 +280,7 @@ def test_tool_names_map_onto_progress_activities(tool_name, activity):
assert classify_tool_activity(tool_name) is activity
[email protected]("language", ["de", "en", "es"])
[email protected]("language", ["de", "en", "es", "pt"])
def test_progress_pools_exist_for_every_activity_except_handover(language):
for activity in ToolActivity:
pool = progress_pool(activity, language)
diff --git a/tests/unit/voice/test_localize_failure_reason.py b/tests/unit/voice/test_localize_failure_reason.py
index 7b7a14bcd7..79b5352a5c 100644
--- a/tests/unit/voice/test_localize_failure_reason.py
+++ b/tests/unit/voice/test_localize_failure_reason.py
@@ -38,6 +38,7 @@ CALENDAR_EXPIRED = (
("de", "Gmail ist nicht verbunden"), # i18n-allow: asserts the German product surface
("en", "Gmail is not connected"),
("es", "Gmail no está conectado"), # i18n-allow: asserts the Spanish product surface
+ ("pt", "Gmail não está ligado"),
],
)
def test_not_connected_speaks_the_turn_language(language, must_contain) -> None:
diff --git a/tests/unit/voice/test_number_speller.py b/tests/unit/voice/test_number_speller.py
index dcba487f92..c7379e0a4f 100644
--- a/tests/unit/voice/test_number_speller.py
+++ b/tests/unit/voice/test_number_speller.py
@@ -217,3 +217,36 @@ def test_version_and_thousands_spanish():
out = spell_out_numbers("Cuesta 1.500 euros.", "es")
assert not any(c.isdigit() for c in out)
assert "mil quinientos" in out
+
+
+@requires_num2words
+def test_portuguese_integer_and_decimal():
+ assert spell_out_numbers("Há 4 projetos.", "pt-PT") == "Há quatro projetos."
+ assert "três vírgula oito" in spell_out_numbers("Mede 3,8 cm.", "pt")
+
+
+@requires_num2words
+def test_portuguese_time_inflects_the_hour_noun():
+ assert spell_out_numbers("São 20:30.", "pt") == "São vinte horas e trinta."
+ assert spell_out_numbers("À 01:00.", "pt") == "À uma hora."
+ assert "vinte e uma horas" in spell_out_numbers("Às 21:00", "pt")
+
+
+@requires_num2words
+def test_full_date_portuguese():
+ out = spell_out_numbers("A reunião é a 17.08.2026.", "pt")
+ assert not any(c.isdigit() for c in out)
+ assert "dezassete de agosto de dois mil e vinte e seis" in out
+
+
+@requires_num2words
+def test_short_date_portuguese_needs_a_cue():
+ assert spell_out_numbers("No dia 5.3. chega.", "pt") == "No dia cinco de março chega."
+
+
+@requires_num2words
+def test_version_and_thousands_portuguese():
+ assert "um ponto dois ponto três" in spell_out_numbers("versão 1.2.3", "pt")
+ out = spell_out_numbers("Custa 1.500 euros.", "pt")
+ assert not any(c.isdigit() for c in out)
+ assert "mil e quinhentos" in out
diff --git a/tests/unit/voice/test_parked_results.py b/tests/unit/voice/test_parked_results.py
index 6832469889..78e664284b 100644
--- a/tests/unit/voice/test_parked_results.py
+++ b/tests/unit/voice/test_parked_results.py
@@ -119,6 +119,9 @@ def test_retrieve_for_prefers_the_named_result_then_the_oldest() -> None:
"still working on it?",
"cómo vas",
"¿ya has terminado?",
+ "Como vais?",
+ "Já acabaste?",
+ "Então, ainda estás a trabalhar nisso?",
],
)
def test_progress_questions_are_recognised(text: str) -> None:
@@ -136,6 +139,9 @@ def test_progress_questions_are_recognised(text: str) -> None:
"any results yet?",
"qué encontraste",
"ya tienes el resultado",
+ "O que encontraste?",
+ "E o resultado?",
+ "Já tens o resultado?",
],
)
def test_result_requests_are_recognised(text: str) -> None:
@@ -151,6 +157,7 @@ def test_result_requests_are_recognised(text: str) -> None:
"wie weit ist es bis Berlin",
"spiel Musik",
"the result of the match was surprising, tell me more about the team",
+ "abre o ficheiro com os resultados do projeto",
],
)
def test_real_requests_stay_native(text: str) -> None:
@@ -182,7 +189,7 @@ def test_reanchor_only_when_something_happened_in_between() -> None:
def test_reanchor_without_topic_uses_the_topicless_pool_and_every_locale() -> None:
- for language in ("de", "en", "es"):
+ for language in ("de", "en", "es", "pt"):
with_topic = anchor_pool(language)
without = anchor_pool(language, with_topic=False)
assert with_topic and without
diff --git a/tests/unit/voice/test_tool_confirmation.py b/tests/unit/voice/test_tool_confirmation.py
index 927e842bdf..2562b8c299 100644
--- a/tests/unit/voice/test_tool_confirmation.py
+++ b/tests/unit/voice/test_tool_confirmation.py
@@ -43,6 +43,11 @@ class TestFormatToolConfirmation:
assert "¿" in q
assert "correo" in q.lower() or "enviar" in q.lower()
+ def test_known_tool_pt_is_a_portuguese_question(self) -> None:
+ q = format_tool_confirmation("gmail", language="pt")
+ assert q.endswith("Diz sim ou não.")
+ assert "email" in q.lower() and "envie" in q.lower()
+
def test_unknown_tool_falls_back_to_a_generic_question(self) -> None:
q = format_tool_confirmation("some_unmapped_tool", language="de")
assert "?" in q
@@ -51,7 +56,7 @@ class TestFormatToolConfirmation:
assert "ja" in q.lower() # the confirm cue "Sag ja ..."
def test_generic_fallback_covers_all_three_languages(self) -> None:
- for lang in ("de", "en", "es"):
+ for lang in ("de", "en", "es", "pt"):
q = format_tool_confirmation("unmapped", language=lang)
assert "?" in q
assert q.strip() != ""
@@ -92,7 +97,7 @@ class TestImpactQuestions:
assert "löschen" not in read.lower() # i18n-allow — German surface quote
@pytest.mark.parametrize("level", ["destructive", "modify", "read"])
- @pytest.mark.parametrize("lang", ["de", "en", "es"])
+ @pytest.mark.parametrize("lang", ["de", "en", "es", "pt"])
def test_every_impact_level_covers_all_three_languages(
self, level: str, lang: str
) -> None:
@@ -151,7 +156,7 @@ class TestFormatConfirmOutcome:
assert msg.strip() != ""
@pytest.mark.parametrize("kind", ["done", "vetoed", "timeout", "failed"])
- @pytest.mark.parametrize("lang", ["de", "en", "es"])
+ @pytest.mark.parametrize("lang", ["de", "en", "es", "pt"])
def test_every_outcome_covers_all_three_languages(self, kind: str, lang: str) -> None:
msg = format_confirm_outcome(kind, "gmail", language=lang)
assert msg.strip() != ""
diff --git a/tests/unit/voice_engine/test_local_voice_parity.py b/tests/unit/voice_engine/test_local_voice_parity.py
index 7350bf67ce..657e34c67c 100644
--- a/tests/unit/voice_engine/test_local_voice_parity.py
+++ b/tests/unit/voice_engine/test_local_voice_parity.py
@@ -47,7 +47,7 @@ def test_typescript_mirrors_python(ts_name: str, python_values: tuple[str, ...])
assert _ts_tuple(ts_name) == tuple(python_values)
[email protected]("locale", ["en", "de", "es"])
[email protected]("locale", ["en", "de", "es", "pt"])
def test_every_rendered_value_has_a_label(locale: str) -> None:
view = json.loads((LOCALES / f"{locale}.json").read_text(encoding="utf-8"))["apikeys_view"]
needed = (
@@ -67,6 +67,6 @@ def test_locales_carry_the_same_local_voice_keys() -> None:
k for k in json.loads((LOCALES / f"{locale}.json").read_text(encoding="utf-8"))
["apikeys_view"] if k.startswith("local_voice_")
}
- for locale in ("en", "de", "es")
+ for locale in ("en", "de", "es", "pt")
}
- assert keys["de"] == keys["en"] == keys["es"]
+ assert keys["de"] == keys["en"] == keys["es"] == keys["pt"]
diff --git a/tests/unit/web/test_mic_level_route.py b/tests/unit/web/test_mic_level_route.py
index c862f7a85b..6505f913d0 100644
--- a/tests/unit/web/test_mic_level_route.py
+++ b/tests/unit/web/test_mic_level_route.py
@@ -270,3 +270,39 @@ def test_non_macos_routes_never_touch_the_permission_service(monkeypatch):
assert body["permission_required"] is False
assert gate.calls == []
+
+
+def test_wake_self_test_names_its_sentences_with_stable_codes(monkeypatch):
+ """Every self-test answer carries ``message_code`` / ``hint_code`` the UI
+ translates, next to the unchanged English sentences."""
+ import jarvis.speech.diagnose as d
+ from jarvis.speech.wake_phrase import WAKE_PLAN_MESSAGE_CODES
+ from jarvis.ui.web.settings_routes import WAKE_HINT_CODES, WAKE_MESSAGE_CODES
+
+ async def fake_measure(duration_s=3.0):
+ return -20.0
+
+ monkeypatch.setattr(d, "measure_mic_dbfs", fake_measure)
+ app, _gate = _macos_app(monkeypatch, PermissionOutcome.GRANTED)
+
+ body = TestClient(app).post("/api/settings/wake-word/self-test").json()
+
+ assert body["message"]
+ assert body["message_code"] in (*WAKE_MESSAGE_CODES, *WAKE_PLAN_MESSAGE_CODES)
+ assert body["hint_code"] in (*WAKE_HINT_CODES, "")
+ assert body["message_params"]["phrase"] == "Hey Nova"
+
+
+def test_macos_wake_self_test_denied_hint_has_a_code(monkeypatch):
+ import jarvis.speech.diagnose as d
+
+ async def forbidden_measure(duration_s=3.0):
+ raise AssertionError("must not measure without a grant")
+
+ monkeypatch.setattr(d, "measure_mic_dbfs", forbidden_measure)
+ app, _gate = _macos_app(monkeypatch, PermissionOutcome.DENIED)
+
+ body = TestClient(app).post("/api/settings/wake-word/self-test").json()
+
+ assert body["hint_code"] == "allow_mic_settings"
+ assert body["message_params"]["path"] in body["hint"]
diff --git a/tests/unit/web/test_realtime_voice_preview.py b/tests/unit/web/test_realtime_voice_preview.py
index e4de755f99..34734f9892 100644
--- a/tests/unit/web/test_realtime_voice_preview.py
+++ b/tests/unit/web/test_realtime_voice_preview.py
@@ -187,6 +187,37 @@ def test_unknown_sample_language_falls_back_to_english(
assert seen == [provider_routes._TTS_PREVIEW_SAMPLES["en"]]
+def test_portuguese_sample_is_pinned_to_european_portuguese(
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ monkeypatch.setattr(cfg_mod, "get_provider_secret", lambda _pid: "sk-test")
+ seen: list[tuple[str, str]] = []
+
+ async def sampler(
+ api_key: str, *, model: str, voice: str, text: str, language: str
+ ) -> tuple[bytes, int]:
+ seen.append((text, language))
+ return b"\x00\x01", 24_000
+
+ monkeypatch.setitem(
+ provider_routes._REALTIME_PREVIEW_SAMPLERS, "gemini-live", sampler
+ )
+
+ response = _preview(
+ TestClient(_app()), "gemini-live", voice="Puck", language="pt-PT"
+ )
+
+ assert response.status_code == 200
+ assert seen == [(provider_routes._TTS_PREVIEW_SAMPLES["pt"], "pt")]
+ assert provider_routes._REALTIME_PREVIEW_LANG_CODES["pt"] == "pt-PT"
+
+
+def test_every_sample_language_has_a_pronunciation_pin() -> None:
+ assert set(provider_routes._TTS_PREVIEW_SAMPLES) == set(
+ provider_routes._REALTIME_PREVIEW_LANG_CODES
+ )
+
+
def test_sampler_failure_is_clean_502(monkeypatch: pytest.MonkeyPatch) -> None:
monkeypatch.setattr(cfg_mod, "get_provider_secret", lambda _pid: "sk-test")
diff --git a/tests/unit/web/test_wake_download_route.py b/tests/unit/web/test_wake_download_route.py
index ee65c85f69..676bb19ef7 100644
--- a/tests/unit/web/test_wake_download_route.py
+++ b/tests/unit/web/test_wake_download_route.py
@@ -22,6 +22,7 @@ def test_download_model_ok(client):
body = r.json()
assert body["ok"] is True
assert body["present"] is True
+ assert body["message_code"] == "model_ready"
def test_download_model_failure_is_non_fatal(monkeypatch):
@@ -40,3 +41,4 @@ def test_download_model_failure_is_non_fatal(monkeypatch):
assert body["ok"] is False
assert body["present"] is False
assert body["message"]
+ assert body["message_code"] == "model_download_failed"
diff --git a/tests/unit/workflows/test_store_and_runner.py b/tests/unit/workflows/test_store_and_runner.py
index f25b4ce9a3..6ceaf12a69 100644
--- a/tests/unit/workflows/test_store_and_runner.py
+++ b/tests/unit/workflows/test_store_and_runner.py
@@ -594,3 +594,54 @@ async def test_runner_harness_dispatch_reaches_the_attached_manager(
("jarvis_agent", "bring the window to the front", True)
]
assert run["steps"][0]["output"] == "window focused"
+
+
+# ----------------------------------------------------------------------
+# Speak-step language
+# ----------------------------------------------------------------------
+
+
+def test_speak_step_language_defaults_to_auto() -> None:
+ assert SpeakStep(text="hi").language == "auto"
+
+
+ ("pinned", "expected"),
+ [("auto", "pt"), ("", "pt"), ("es", "es"), ("de", "de")],
+)
+async def test_speak_step_follows_ambient_language_unless_pinned(
+ store: WorkflowStore,
+ monkeypatch: pytest.MonkeyPatch,
+ pinned: str,
+ expected: str,
+) -> None:
+ """An unpinned speak step speaks the ambient answer language at run time;
+ an explicit language on the persisted step still wins."""
+ import asyncio
+
+ from jarvis.core.events import AnnouncementRequested
+ from jarvis.workflows import runner as runner_module
+
+ monkeypatch.setattr(runner_module, "resolve_ambient_language", lambda: "pt")
+ bus = EventBus()
+ spoken: list[AnnouncementRequested] = []
+ bus.subscribe(AnnouncementRequested, spoken.append)
+ runner = WorkflowRunner(store=store, bus=bus, brain=FakeBrain())
+
+ wf = WorkflowDef(
+ name="Speak",
+ trigger=ManualTrigger(),
+ steps=(SpeakStep(text="hello", language=pinned),),
+ )
+ wid = await store.upsert_workflow(wf)
+ run_id = await runner.trigger(wid)
+ for _ in range(50):
+ await asyncio.sleep(0.01)
+ run = await store.get_run(run_id)
+ if run and run["state"] == "completed":
+ break
+ else:
+ pytest.fail("Run did not finish within 500ms")
+
+ announcements = [e for e in spoken if e.text == "hello"]
+ assert [e.language for e in announcements] == [expected]