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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
chore(i18n): mark German BIO_SYSTEM_PROMPT fragments as product surface
Ruben Lütke1e9339fc3b52
diff --git a/jarvis/board/prompts.py b/jarvis/board/prompts.pyindex c877df4a9a..e1b4edf612 100644--- a/jarvis/board/prompts.py+++ b/jarvis/board/prompts.py@@ -131,7 +131,7 @@ def _render_cold_start(days_observed: int) -> str:remaining = max(1, 7 - days_observed)return (f"COLD-START-HINWEIS: Du kennst den User erst seit {days_observed} Tagen. "- f"Schreibe kuerzer (2-3 Saetze) und beende mit "+ f"Schreibe kuerzer (2-3 Saetze) und beende mit " # i18n-allow: fragment of the German BIO_SYSTEM_PROMPT runtime prompt (Board bio is spoken/written German product output)f"\"Mehr in {remaining} {'Tag' if remaining == 1 else 'Tagen'}.\"\n")@@ -176,7 +176,7 @@ def _render_missions(missions: Any) -> str:return ""parts = [f"\nMISSIONS (letzte 30 Tage):",- f"- Abgeschlossen: {approved} | Fehlgeschlagen: {failed} | Abgebrochen: {aborted}",+ f"- Abgeschlossen: {approved} | Fehlgeschlagen: {failed} | Abgebrochen: {aborted}", # i18n-allow: German BIO_SYSTEM_PROMPT fragment]if overdue:previews = ", ".join(str(t)[:60] for t in overdue[:3])@@ -207,13 +207,13 @@ def _render_feedback(feedback: Any) -> str:if not isinstance(feedback, dict) or not feedback:return ""trifft = int(feedback.get("trifft", 0) or 0)- trifft_nicht = int(feedback.get("trifft_nicht", 0) or 0)+ trifft_nicht = int(feedback.get("trifft_nicht", 0) or 0) # i18n-allow: API/DB contract identifier (see board/profile.py), matched in logichaerter = int(feedback.get("haerter", 0) or 0)- if trifft + trifft_nicht + haerter == 0:+ if trifft + trifft_nicht + haerter == 0: # i18n-allow: same API/DB contract identifiersreturn ""parts = [f"\nFEEDBACK-VECTOR (letzte 4 Wochen):"]parts.append(- f"- Trifft: {trifft} | Trifft-nicht: {trifft_nicht} | Haerter-gefordert: {haerter}",+ f"- Trifft: {trifft} | Trifft-nicht: {trifft_nicht} | Haerter-gefordert: {haerter}", # i18n-allow: German BIO_SYSTEM_PROMPT fragment)if haerter > 0:parts.append(@@ -221,10 +221,10 @@ def _render_feedback(feedback: Any) -> str:"Senke die Hoeflichkeitsschwelle, behalte die Faktentreue. ""Mehr Mikro-Korrekturen, mehr Pointe.")- if trifft_nicht > trifft:+ if trifft_nicht > trifft: # i18n-allow: API/DB contract identifiers, matched in logicparts.append(- "- TON-ANPASSUNG: bisherige Charakter-Annahmen scheinen nicht zu treffen. "- "Sei bei dieser Bio konkreter an den Daten, weniger interpretativ."+ "- TON-ANPASSUNG: bisherige Charakter-Annahmen scheinen nicht zu treffen. " # i18n-allow: German BIO_SYSTEM_PROMPT fragment+ "Sei bei dieser Bio konkreter an den Daten, weniger interpretativ." # i18n-allow: German BIO_SYSTEM_PROMPT fragment)return "\n".join(parts) + "\n"@@ -235,7 +235,7 @@ def _render_feedback(feedback: Any) -> str:def _fmt_tools(tools: Any) -> str:if not tools:- return "— (noch keine Tool-Nutzung)"+ return "— (noch keine Tool-Nutzung)" # i18n-allow: German BIO_SYSTEM_PROMPT fragmentif isinstance(tools, list):return ", ".join(str(t) for t in tools[:8])return str(tools)@@ -245,7 +245,7 @@ def _fmt_ratio(completed: int, failed: int) -> str:completed = int(completed or 0)failed = int(failed or 0)if completed + failed <= 0:- return "— (noch keine Tasks)"+ return "— (noch keine Tasks)" # i18n-allow: German BIO_SYSTEM_PROMPT fragmentreturn f"{completed} ok / {failed} fail"diff --git a/jarvis/vision/uia_tree.py b/jarvis/vision/uia_tree.pyindex b9b310c041..e06ef85b36 100644--- a/jarvis/vision/uia_tree.py+++ b/jarvis/vision/uia_tree.py@@ -1,22 +1,21 @@-"""UIATreeSource — gepruneder UIA-Tree via pywinauto.+"""UIATreeSource — pruned UIA tree via pywinauto.-Der Ablauf:+The flow:-1. Aktives Fenster ermitteln (GetForegroundWindow + pywinauto-Wrapper).-2. Tree rekursiv bis `max_depth` traversieren und in `RawNode`-Liste flachlegen.-3. Pruning-Pipeline (ADR-0002): Depth -> Role -> OnScreen.-4. Wenn nach Pipeline > 150 Nodes: Retry mit Depth 5, dann 4.-5. Wenn immer noch > 150: `source="screenshot_only"`, Nodes leer.+1. Determine the active window (GetForegroundWindow + pywinauto wrapper).+2. Traverse the tree recursively up to `max_depth` and flatten it into a `RawNode` list.+3. Pruning pipeline (ADR-0002): Depth -> Role -> OnScreen.+4. If still > 150 nodes after the pipeline: retry with depth 5, then 4.+5. If still > 150: `source="screenshot_only"`, nodes empty.-Warum UIA-Tree kein AsyncIterator ist: Der Contract (`observe()`) gibt-genau eine Observation zurueck — Streaming ergibt auf Tree-Ebene keinen-Sinn, weil die Struktur pro Frame atomar ist.+Why the UIA tree is not an AsyncIterator: the contract (`observe()`) returns+exactly one Observation — streaming makes no sense at the tree level, because+the structure is atomic per frame.-Performance-Hinweis: Das Problem sind nicht die paar hundert interessanten-Nodes, sondern die 5.000-8.000-Node-Trees von Chrome/VSCode/Slack, durch-die wir traversieren MUESSEN, bevor wir filtern koennen. Deshalb ist die-Depth-Grenze kritisch — sie begrenzt die Traversal selbst, nicht nur das-Ergebnis.+Performance note: the problem isn't the few hundred interesting+nodes, it's the 5,000-8,000-node trees from Chrome/VSCode/Slack that we MUST+traverse before we can filter. That's why the depth limit is critical —+it bounds the traversal itself, not just the result."""from __future__ import annotations@@ -43,7 +42,7 @@ _DEPTH_RETRY_LADDER: tuple[int, ...] = (6, 5, 4)class UIATreeSource:- """Liest den UIAutomation-Tree des aktiven Fensters und prunet ihn."""+ """Reads the UIAutomation tree of the active window and prunes it."""name: str = "ui-tree"kind: Literal["screenshot", "ui_tree", "composite"] = "ui_tree"@@ -55,14 +54,14 @@ class UIATreeSource:interesting_roles: tuple[str, ...] = DEFAULT_INTERESTING_ROLES,min_on_screen_overlap: float = 0.5,monitor_bounds: tuple[int, int, int, int] | None = None,- # Dependency-Injection fuer Tests: eine Funktion, die Depth-Parameter- # akzeptiert und einen Tuple (root_title, pid, list[RawNode]) liefert.+ # Dependency injection for tests: a function that accepts a depth+ # parameter and returns a tuple (root_title, pid, list[RawNode]).traverser: Callable[..., tuple[str, int, list[RawNode]]] | None = None,) -> None:self._max_nodes = max_nodesself._interesting_roles = interesting_rolesself._min_overlap = min_on_screen_overlap- self._monitor_bounds = monitor_bounds # None = zur Laufzeit ermitteln+ self._monitor_bounds = monitor_bounds # None = detect at runtimeself._traverser = traverserself._closed = False@@ -75,7 +74,7 @@ class UIATreeSource:window_title_filter: str | None = None,) -> Observation:if self._closed:- raise RuntimeError("UIATreeSource ist geschlossen")+ raise RuntimeError("UIATreeSource is closed")if cancel_token is not None and cancel_token.is_cancelled():raise RuntimeError(f"cancelled: {cancel_token.reason}")@@ -83,7 +82,7 @@ class UIATreeSource:self._detect_primary_monitor_bounds)- # Retry-Ladder: bei Node-Overflow kuerzen wir die Depth.+ # Retry ladder: on node overflow we shorten the depth.nodes_before = 0depth_used = _DEPTH_RETRY_LADDER[0]pruned: list[RawNode] = []@@ -112,10 +111,10 @@ class UIATreeSource:overflow = len(pruned) > self._max_nodesif overflow:- # Kein brauchbarer UIA-Tree — fallback. Der Aufrufer entscheidet,- # ob er stattdessen einen Screenshot nimmt.+ # No usable UIA tree — fall back. The caller decides+ # whether to take a screenshot instead.logger.warning(- "UIA-Tree Pruning Overflow: %d Nodes nach Depth %d Retry-Ladder",+ "UIA tree pruning overflow: %d nodes after depth %d retry ladder",len(pruned),depth_used,)@@ -125,8 +124,8 @@ class UIATreeSource:nodes = tuple(self._to_uia_nodes(pruned))source = "ui_tree_only"- # Hash ueber die serialisierte Tree-Struktur, damit der Cache auch- # auf reinen UIA-Trees deduplizieren kann.+ # Hash over the serialized tree structure, so the cache can also+ # deduplicate on pure UIA trees.tree_hash = self._hash_tree(window_title, active_pid, nodes)return Observation(@@ -152,11 +151,11 @@ class UIATreeSource:@staticmethoddef _detect_primary_monitor_bounds() -> tuple[int, int, int, int]:- """Primary-Monitor-Bounds ermitteln.+ """Detect the primary monitor bounds.- Best effort: ohne Windows-API gibt's einen FullHD-Default. Der- ScreenshotSource hat DPI-Awareness bereits gesetzt — wir muessen- das hier nicht mehr.+ Best effort: without the Windows API there's a FullHD default. The+ ScreenshotSource has already set DPI awareness — we don't need to+ do that here again."""import os # noqa: PLC0415if os.name == "nt":@@ -168,9 +167,9 @@ class UIATreeSource:h = user32.GetSystemMetrics(1)return (0, 0, int(w), int(h))except Exception: # noqa: BLE001- # Fallback: FullHD. Der einzige Effekt ist, dass OnScreen-Filter- # konservativ arbeitet — das ist ok.- logger.debug("GetSystemMetrics nicht verfuegbar", exc_info=True)+ # Fallback: FullHD. The only effect is that the OnScreen filter+ # works conservatively — that's fine.+ logger.debug("GetSystemMetrics not available", exc_info=True)return (0, 0, 1920, 1080)@staticmethod@@ -178,21 +177,21 @@ class UIATreeSource:max_depth: int,window_title_filter: str | None,) -> tuple[str, int, list[RawNode]]:- """Flatten-Traversal ab Foreground-Window bis max_depth.+ """Flatten traversal from the foreground window down to max_depth.- Liefert (window_title, pid, nodes). Bei Fehlern (kein aktives Fenster,- UIA nicht verfuegbar) wird ein leeres Ergebnis zurueckgegeben —- niemals eine Exception, damit die Pipeline robust bleibt.+ Returns (window_title, pid, nodes). On errors (no active window,+ UIA unavailable) an empty result is returned —+ never an exception, so the pipeline stays robust."""try:from pywinauto.uia_element_info import UIAElementInfo # noqa: PLC0415except ImportError:- logger.warning("pywinauto nicht installiert — UIA-Tree leer")+ logger.warning("pywinauto not installed — UIA tree empty")return ("", 0, [])try:- # Foreground-Window finden. UIAElementInfo() ohne Argumente ist- # das Desktop-Root — wir brauchen das Foreground-Fenster.+ # Find the foreground window. UIAElementInfo() with no arguments is+ # the desktop root — we need the foreground window.import ctypes # noqa: PLC0415hwnd = ctypes.windll.user32.GetForegroundWindow()@@ -200,10 +199,10 @@ class UIATreeSource:return ("", 0, [])root = UIAElementInfo(hwnd)except Exception: # noqa: BLE001- logger.debug("Foreground-UIA-Lookup gescheitert", exc_info=True)+ logger.debug("Foreground UIA lookup failed", exc_info=True)return ("", 0, [])- # Titel + PID vom Root-Window.+ # Title + PID from the root window.try:window_title = str(root.name or "")except Exception: # noqa: BLE001@@ -213,28 +212,28 @@ class UIATreeSource:except Exception: # noqa: BLE001active_pid = 0- # Wenn Filter gesetzt und nicht passt, liefern wir trotzdem aus — der- # Engine-Layer entscheidet, ob er das Ergebnis verwerfen will. Das- # ist robuster als hart zu filtern.+ # If a filter is set and doesn't match, we still return it — the+ # engine layer decides whether to discard the result. That's+ # more robust than filtering hard here._ = window_title_filternodes: list[RawNode] = []try:_flatten(root, depth=0, max_depth=max_depth, parent_index=-1, out=nodes)except Exception: # noqa: BLE001- logger.warning("UIA-Traversal abgebrochen", exc_info=True)+ logger.warning("UIA traversal aborted", exc_info=True)return (window_title, active_pid, nodes)- # ---- Pruning + Serialisierung ------------------------------------------+ # ---- Pruning + Serialization ------------------------------------------@staticmethoddef _to_uia_nodes(raw: list[RawNode]) -> list[UIANode]:- """Konvertiert RawNode -> UIANode.+ """Converts RawNode -> UIANode.- ``parent_index`` wurde bereits in ``prune_tree`` (via- ``_remap_parent_indices``) auf den Subset-Index remapped — hier nur- noch kopieren.+ ``parent_index`` has already been remapped to the subset index in+ ``prune_tree`` (via ``_remap_parent_indices``) — here we just+ copy it over."""return [UIANode(@@ -257,11 +256,11 @@ class UIATreeSource:pid: int,nodes: tuple[UIANode, ...],) -> str:- """Stabiler Hash ueber Titel + PID + Tree-Struktur.+ """Stable hash over title + PID + tree structure.- Wir hashen (role, name, automation_id, bounds) pro Node — das- reicht, um zwei Trees als "identisch" zu erkennen, wenn User- nichts angeklickt hat.+ We hash (role, name, automation_id, bounds) per node — that's+ enough to recognize two trees as "identical" when the user+ hasn't clicked anything."""h = hashlib.sha256()h.update(window_title.encode("utf-8", errors="replace"))@@ -279,7 +278,7 @@ class UIATreeSource:# ----------------------------------------------------------------------------# Module-level Flatten-Helper — haengt an pywinauto UIAElementInfo+# Module-level flatten helper — hangs off pywinauto UIAElementInfo# ---------------------------------------------------------------------------def _flatten(@@ -290,7 +289,7 @@ def _flatten(parent_index: int,out: list[RawNode],) -> None:- """Rekursiver Flatten-Traverse. Haelt sich strikt an `max_depth`."""+ """Recursive flatten traversal. Strictly obeys `max_depth`."""if depth > max_depth:returntry:@@ -299,7 +298,7 @@ def _flatten(automation_id = str(getattr(element, "automation_id", "") or "")rect = getattr(element, "rectangle", None)if rect is not None:- # pywinauto rect hat .left/.top/.right/.bottom+ # pywinauto rect has .left/.top/.right/.bottomleft = int(getattr(rect, "left", 0))top = int(getattr(rect, "top", 0))right = int(getattr(rect, "right", 0))@@ -357,7 +356,7 @@ def _flatten(if depth >= max_depth:return- # Children iterieren. Bei Exception (seltene COM-Fehler) Teilbaum skippen.+ # Iterate children. On exception (rare COM errors) skip the subtree.try:children = list(element.children())except Exception: # noqa: BLE001@@ -373,40 +372,40 @@ def _flatten(# ----------------------------------------------------------------------------# Subtree-Stable-Hash — Foundation fuer Phase C (Multi-Action)+# Subtree stable hash — foundation for Phase C (Multi-Action)# ---------------------------------------------------------------------------def subtree_stable_hash(nodes: Sequence[UIANode]) -> str:- """Stabiler Strukturhash ueber einen UIA-Subtree.+ """Stable structural hash over a UIA subtree.- Hasht ausschliesslich die strukturell relevanten Felder:- ``role``, ``name``, ``automation_id`` und ``parent_index``. Damit ist- der Hash:+ Hashes only the structurally relevant fields:+ ``role``, ``name``, ``automation_id``, and ``parent_index``. This makes+ the hash:- - **stabil** bei Cursor-Bewegung, Focus-/Selection-/Hover-Toggle und- kleinen Bound-Verschiebungen (``bounds`` und ``enabled`` werden- bewusst ignoriert).- - **sensitiv** bei strukturellen Aenderungen: Element hinzugefuegt- oder entfernt, Window-Title/Role/Name geaendert, AutomationId- geaendert, Hierarchie umgebaut, Reihenfolge veraendert.+ - **stable** across cursor movement, focus/selection/hover toggles, and+ small bound shifts (``bounds`` and ``enabled`` are+ deliberately ignored).+ - **sensitive** to structural changes: an element added+ or removed, window title/role/name changed, automation ID+ changed, hierarchy restructured, order changed.- Reihenfolge der Nodes ist Teil der Hierarchie und fliesst implizit- ueber ``parent_index`` (das auf Tuple-Indizes zeigt) plus die- Position im Iteriervorgang ein — Reorder zweier Nodes aendert den- Hash also.+ The order of the nodes is part of the hierarchy and flows in implicitly+ via ``parent_index`` (which points to tuple indices) plus the+ position in the iteration — so reordering two nodes also changes the+ hash.- Returns: 64-Zeichen Hex-SHA256.+ Returns: 64-character hex SHA256."""h = hashlib.sha256()- # Versionsmarker, damit zukuenftige Hash-Schema-Aenderungen nicht- # heimlich kollidieren — wer das Schema aendert, bumpt den Marker.+ # Version marker, so future hash schema changes don't+ # silently collide — whoever changes the schema bumps the marker.h.update(b"uia-subtree-v1\x00")- # Anzahl Nodes als Trennzeichen vor dem Body, damit "leerer Tree"- # vom "Tree mit einem leeren Node" unterscheidbar bleibt.+ # Node count as a separator before the body, so "empty tree"+ # stays distinguishable from "tree with one empty node".h.update(len(nodes).to_bytes(4, "little", signed=False))for idx, n in enumerate(nodes):h.update(idx.to_bytes(4, "little", signed=False))- h.update(b"\x1f") # Unit-Separator zwischen Index und Body+ h.update(b"\x1f") # unit separator between index and bodyh.update(n.role.encode("utf-8", errors="replace"))h.update(b"\x00")h.update(n.name.encode("utf-8", errors="replace"))@@ -414,5 +413,5 @@ def subtree_stable_hash(nodes: Sequence[UIANode]) -> str:h.update(n.automation_id.encode("utf-8", errors="replace"))h.update(b"\x00")h.update(int(n.parent_index).to_bytes(4, "little", signed=True))- h.update(b"\x1e") # Record-Separator zwischen Nodes+ h.update(b"\x1e") # record separator between nodesreturn h.hexdigest()diff --git a/jarvis/voice/__init__.py b/jarvis/voice/__init__.pyindex f8c5802260..83bfa57827 100644--- a/jarvis/voice/__init__.py+++ b/jarvis/voice/__init__.py@@ -1,11 +1,10 @@-"""Voice-UX-Layer für die Self-Mod-Pipeline (Phase 7.4+).+"""Voice UX layer for the self-mod pipeline (Phase 7.4+).-`jarvis/voice/` ist neu in Phase 7.4 angelegt — separate vom-`jarvis/speech/`-Pipeline-Stack. Begründung: die Echo-Confirmation-ist eine UX-Schicht, die zwischen Brain-Tool-Output und TTS sitzt;-keine direkte Audio-IO. Phase 7.6 wird einen Adapter zwischen-`jarvis.speech.pipeline.SpeechPipeline` und `SelfModFlowController`-einbauen.+`jarvis/voice/` is newly introduced in Phase 7.4 — separate from the+`jarvis/speech/` pipeline stack. Rationale: the echo confirmation+is a UX layer that sits between the brain tool output and TTS;+no direct audio IO. Phase 7.6 will add an adapter between+`jarvis.speech.pipeline.SpeechPipeline` and `SelfModFlowController`."""from __future__ import annotationsdiff --git a/jarvis/voice/action_phrases.py b/jarvis/voice/action_phrases.pyindex 2097377031..4ac0d4e060 100644--- a/jarvis/voice/action_phrases.py+++ b/jarvis/voice/action_phrases.py@@ -303,7 +303,7 @@ _CU_REASON_PREFIX_RE = re.compile(#: anti-oscillation / toggle guards, or the latency "mission profile" summary —#: NOT the model's human ``fail`` reason. It must never be forwarded into a#: spoken/displayed readback. Live bug 2026-06-20 (Angela-Merkel x.com mission):-#: the user heard "Das am Bildschirm hat nicht geklappt: 3 identical screenshots+#: the user heard "Das am Bildschirm hat nicht geklappt: 3 identical screenshots # i18n-allow#: in a row at step 9 -- the click ..." followed by the raw#: "[cu] mission profile: steps=9 ..." telemetry line. The exit-code phrases#: (``cu_exit_*``) exist precisely so these cases degrade to a plain sentence.@@ -326,7 +326,7 @@ _CU_DIAGNOSTIC_RE = re.compile(#: verbatim. Live bug 2026-06-21 (Melbourne HTML turn): a "look at my screen and#: tell me which app is open" mission read out the full structural dump, INCLUDING#: the verbatim content of an unrelated parallel Claude-Code AskUserQuestion box-#: ("Eine Detail-Erkenntnis ... Der Melbourne-Guide rendert ..."). A genuine+#: ("Eine Detail-Erkenntnis ... Der Melbourne-Guide rendert ..."). A genuine # i18n-allow#: content answer ("the browser is open showing tab 'Gmail'", "newest messages:#: Alice 'hi'") carries none of these structural markers and is still forwarded._CU_VERIFIER_DUMP_RE = re.compile(diff --git a/jarvis/voice/config_readback.py b/jarvis/voice/config_readback.pyindex cd0cc15afa..34de6510a3 100644--- a/jarvis/voice/config_readback.py+++ b/jarvis/voice/config_readback.py@@ -41,25 +41,25 @@ _PHRASES: dict[str, dict[str, str]] = {},# Hard-refuse (secrets / self-lockout) — an honest decline, never a question."refused": {- "de": "Das ändere ich nicht per Stimme — das bitte bewusst in den "- "Einstellungen.",+ "de": "Das ändere ich nicht per Stimme — das bitte bewusst in den " # i18n-allow+ "Einstellungen.", # i18n-allow"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.",},"unknown_setting": {- "de": "Das ist keine Einstellung, die ich ändern kann.",+ "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.",},"invalid_value": {- "de": "Das geht so nicht — die Einstellung bleibt unverändert.",+ "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.",},"rollback": {- "de": "Konnte ich nicht speichern, ich habe den vorherigen Stand "- "wiederhergestellt.",+ "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.",},diff --git a/jarvis/voice/contextual_readback.py b/jarvis/voice/contextual_readback.pyindex 5ab72391d1..cdae488567 100644--- a/jarvis/voice/contextual_readback.py+++ b/jarvis/voice/contextual_readback.py@@ -90,11 +90,11 @@ _FORBIDDEN_VOCAB_RE = re.compile(# in-progress situation (dispatch ack: the work has not started), so reject the# candidate there. Shared shape with the spawn announcer's guard._COMPLETION_CLAIM_RE = re.compile(- r"(?:\b(?:ist|sind|wurde|wurden|is|are|was|were|has\s+been|have\s+been)\s+"- r"(?:bereits\s+|schon\s+|already\s+)?"- r"(?:erledigt|fertig|abgeschlossen|gesendet|verschickt|done|finished|"+ r"(?:\b(?:ist|sind|wurde|wurden|is|are|was|were|has\s+been|have\s+been)\s+" # i18n-allow+ r"(?:bereits\s+|schon\s+|already\s+)?" # i18n-allow+ r"(?:erledigt|fertig|abgeschlossen|gesendet|verschickt|done|finished|" # i18n-allowr"complete|completed|sent)\b"- r"|^\s*(?:erledigt|fertig|done|finished|completed|listo)\s*[.!]?\s*$)",+ r"|^\s*(?:erledigt|fertig|done|finished|completed|listo)\s*[.!]?\s*$)", # i18n-allowre.IGNORECASE,)