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.

fix(i18n): translate German artifact strings in provider routes

Ruben Lütke2b465abb4382
diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.py
index b1c8f22975..5700662739 100644
--- a/jarvis/ui/web/provider_routes.py
+++ b/jarvis/ui/web/provider_routes.py
@@ -566,7 +566,7 @@ async def _emit(request: Request, event: Any) -> None:
try:
await bus.publish(event)
except Exception as exc: # noqa: BLE001
- log.warning("Konnte Event nicht publishen: %s", exc)
+ log.warning("Could not publish event: %s", exc)
def _bus_from_brain(request: Request):
@@ -1745,7 +1745,7 @@ async def set_realtime_options(
) -> RealtimeOptionsSaveResponse:
"""Pin the model and/or voice for a realtime provider.
- Persists to ``[brain.providers.<id>].model`` / ``.voice`` (+ drift-soll)
+ Persists to ``[brain.providers.<id>].model`` / ``.voice`` (+ drift-soll) # i18n-allow: config-soll filename
and updates the in-memory config. If this provider owns the active realtime
call, that call is closed and reopened immediately; otherwise the selection
applies to the next session. No process restart is required. Only fields
@@ -1881,9 +1881,9 @@ async def codex_login(request: Request) -> dict[str, Any]:
except Exception as exc: # noqa: BLE001
raise HTTPException(
status_code=500,
- detail=f"codex login konnte nicht gestartet werden: {type(exc).__name__}: {exc}",
+ detail=f"codex login could not be started: {type(exc).__name__}: {exc}",
) from exc
- return {"ok": True, "pid": proc.pid, "message": "codex login wurde im Terminal gestartet"}
+ return {"ok": True, "pid": proc.pid, "message": "codex login was started in a terminal"}
@router.post("/codex/logout")
@@ -1895,7 +1895,7 @@ async def codex_logout(request: Request) -> dict[str, Any]:
ok, error = service.logout_blocking()
if not ok:
raise HTTPException(status_code=500, detail=error or "Codex logout failed")
- return {"ok": True, "message": "Codex wurde getrennt"}
+ return {"ok": True, "message": "Codex was disconnected"}
# M6: STT/TTS engines build ONCE at voice-pipeline bootstrap, so a key feeding them
@@ -2309,7 +2309,7 @@ async def set_tts_voice_selection(
"""Persist + live-apply the global TTS voice (``[tts] voice_de``/``voice_en``).
A TTS model ships several voices; this pins the chosen one. Reuses the shared
- ``_apply_tts_selection`` path (config-soll-synced write + a live rebuild of
+ ``_apply_tts_selection`` path (config-soll-synced write + a live rebuild of # i18n-allow: config-soll filename
the running SpeechPipeline's TTS) so the next spoken turn uses it without a
restart when voice is active.
"""
@@ -2764,7 +2764,7 @@ async def jarvis_agent_switch(body: SwitchBody, request: Request) -> dict[str, A
status_code=404,
detail=(
f"'{body.provider}' is not a Jarvis-Agent-capable provider. "
- f"Verfuegbar: {known}."
+ f"Available: {known}."
),
)
diff --git a/tests/unit/brain/test_self_control_standing.py b/tests/unit/brain/test_self_control_standing.py
index 9f4b2466b5..5002965751 100644
--- a/tests/unit/brain/test_self_control_standing.py
+++ b/tests/unit/brain/test_self_control_standing.py
@@ -1,7 +1,7 @@
"""The always-on self-control line must reach EVERY system prompt.
Forensic 2026-07-10: a keyword-free self-control utterance ("ich will dich
-ab jetzt Edith rufen koennen") missed _SELF_CONTROL_PATTERN, so the router
+ab jetzt Edith rufen koennen"; i18n-allow: quoted utterance) missed _SELF_CONTROL_PATTERN, so the router
LLM got no self-control guidance, answered in prose, and CLAIMED the wake-
word change without any tool call. The standing line closes that hole
without keyword whack-a-mole; these tests pin it.