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.

chore(i18n): mark German test fixtures, neutralize docstring diacritic example

Ruben Lütke327b5b94cdad
diff --git a/jarvis/audio/devices.py b/jarvis/audio/devices.py
index 053cb7422b..713b13f302 100644
--- a/jarvis/audio/devices.py
+++ b/jarvis/audio/devices.py
@@ -81,7 +81,7 @@ def _canon(s: str) -> str:
"""Canonical form for name comparison: NFC-normalized + casefolded.
NFC guards against the same physical device enumerating under two
- Unicode spellings of a diacritic (e.g. a composed vs. decomposed "ö" in
+ Unicode spellings of a diacritic (e.g. a composed vs. decomposed "é" in
a localized name) between the time a name was persisted and a later
stream-open lookup — without it the exact-match branch would miss and
silently fall back to auto-headset.
diff --git a/tests/unit/brain/test_tool_use_loop.py b/tests/unit/brain/test_tool_use_loop.py
index 6821bfb9ff..3c2dfba0d9 100644
--- a/tests/unit/brain/test_tool_use_loop.py
+++ b/tests/unit/brain/test_tool_use_loop.py
@@ -188,7 +188,7 @@ class _AliasCallingBrain:
})
yield BrainDelta(finish_reason="tool_use")
return
- yield BrainDelta(content="Hier ist das Ergebnis.")
+ yield BrainDelta(content="Hier ist das Ergebnis.") # i18n-allow: German brain-output fixture under test
yield BrainDelta(finish_reason="stop")
@@ -222,7 +222,7 @@ async def test_underscore_alias_resolves_to_hyphenated_tool() -> None:
executor, # type: ignore[arg-type]
)
- result = await loop.run([], user_utterance="such mal im Wiki nach dem Projekt")
+ result = await loop.run([], user_utterance="such mal im Wiki nach dem Projekt") # i18n-allow: German utterance fixture under test
assert executor.calls, "'wiki_recall' must resolve to the registered 'wiki-recall'"
assert executor.calls[0][0].name == "wiki-recall"