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 residual German quotes in generator.py/ack_generator.py/vision_gate.py

Ruben Lütkeb5dac4e9f41f
diff --git a/jarvis/brain/ack_brain/generator.py b/jarvis/brain/ack_brain/generator.py
index 6c2313d791..349c7295f2 100644
--- a/jarvis/brain/ack_brain/generator.py
+++ b/jarvis/brain/ack_brain/generator.py
@@ -161,7 +161,7 @@ _MONTH_RE = re.compile(
re.IGNORECASE,
)
# Spec §6 calls for `(.*)\s(ist|...)\s(.*)\.` — i.e. multi-word
-# subjects (German example: "Die Hauptstadt von Italien ist Rom." — "Rome
+# subjects (German example: "Die Hauptstadt von Italien ist Rom." — "Rome # i18n-allow: quoted German input example
# is the capital of Italy.") must match. The original tightening to
# `\S+` only caught single-word subjects and silently failed on the very
# examples the spec listed; broaden to `.+?` so a multi-word noun-phrase
diff --git a/jarvis/brain/ack_generator.py b/jarvis/brain/ack_generator.py
index ea5db1973b..0a75efc2b2 100644
--- a/jarvis/brain/ack_generator.py
+++ b/jarvis/brain/ack_generator.py
@@ -54,7 +54,7 @@ _VOICE_CONTROL_PATTERN = re.compile(
# allowing only trailing politeness modifiers ("bitte", "mal", "jetzt",
# "please") and punctuation. This stops narrative phrases like the German
# "lauter Applaus war zu hoeren" ("loud applause could be heard") or
- # "still im Gespraech" ("quiet in conversation") from triggering.
+ # "still im Gespraech" ("quiet in conversation") from triggering. # i18n-allow: quoted German input example
r"^\s*(?:"
# German
r"(?:mach\s+)?(?:lauter|leiser|laut|leise)(?:\s+machen)?"
diff --git a/jarvis/brain/vision_gate.py b/jarvis/brain/vision_gate.py
index aed1fbb441..7a236e0f9f 100644
--- a/jarvis/brain/vision_gate.py
+++ b/jarvis/brain/vision_gate.py
@@ -29,7 +29,7 @@ _VISUAL_MARKERS: tuple[str, ...] = (
# look / show verbs
"schau", "sieh", "siehst", "guck", "zeig mir", "zeig mal",
# screen / window / page nouns
- "auf dem bildschirm", "am bildschirm", "im bild", "auf dem screen",
+ "auf dem bildschirm", "am bildschirm", "im bild", "auf dem screen", # i18n-allow: German visual-reference input-matching vocabulary
"bildschirm", "dieses fenster", "das fenster", "diese seite", # i18n-allow: German visual-reference input-matching vocabulary
"die seite hier", "fehlermeldung", "knopf", "button", "menü", "menue", # i18n-allow: German visual-reference input-matching vocabulary
# "dialog" alone is a false positive in DE (= a conversation); require the