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): translate committed German to English in 11 more frontend/route files
Ruben Lütkea006ba284dab
diff --git a/jarvis/ui/web/frontend/src/views/SessionsView.tsx b/jarvis/ui/web/frontend/src/views/SessionsView.tsxindex bfcfbb865f..8eff2f1723 100644--- a/jarvis/ui/web/frontend/src/views/SessionsView.tsx+++ b/jarvis/ui/web/frontend/src/views/SessionsView.tsx@@ -1,9 +1,9 @@/**- * Transkriptions-View — Master-Detail-Layout fuer Voice-Sessions.+ * Transcription view — master-detail layout for voice sessions.*- * Linke Pane: SessionList (chronologisch). Rechte Pane: Detail mit Header- * + Turn-Timeline + Click-to-Copy. Live-Updates via useSessions-Hook,- * der auf VoiceSessionStarted/Ended-Bus-Events reagiert.+ * Left pane: SessionList (chronological). Right pane: detail with header+ * + turn timeline + click-to-copy. Live updates via the useSessions hook,+ * which reacts to VoiceSessionStarted/Ended bus events.*/import { Mic } from "lucide-react";import { useEffect, useState } from "react";@@ -21,16 +21,16 @@ export function SessionsView() {const sessionsQuery = useSessions();const [selectedId, setSelectedId] = useState<string | null>(null);- // Beim ersten erfolgreichen Load die neueste **abgeschlossene** Session- // auto-selektieren. Begruendung: ``list_sessions`` (store.py) listet auch- // laufende Sessions (``ended_ms === null``) — die erscheinen ganz oben,- // weil sie den juengsten ``started_ms`` haben. Wuerden wir sie- // auto-selektieren, sieht der User beim Tab-Wechsel waehrend einer- // laufenden Voice-Session eine *leere* Detail-Pane und denkt "die letzte- // Transkription ist weg". Wir bevorzugen die juengste Session mit- // ``ended_ms !== null`` (= komplett abgeschlossen mit Aggregaten);- // erst wenn es keine abgeschlossene gibt, fallen wir auf das erste- // Listenelement zurueck.+ // On the first successful load, auto-select the newest **finished**+ // session. Rationale: ``list_sessions`` (store.py) also lists sessions+ // still in progress (``ended_ms === null``) — those show up at the very+ // top because they have the most recent ``started_ms``. If we+ // auto-selected one of those, the user would see an *empty* detail pane+ // when switching tabs during an ongoing voice session and think "my last+ // transcript is gone". We prefer the newest session with+ // ``ended_ms !== null`` (= fully finished, with aggregates);+ // only when there is no finished session do we fall back to the first+ // list item.useEffect(() => {if (selectedId !== null) return;const list = sessionsQuery.data;diff --git a/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx b/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsxindex b9d286a3cb..196ae52c0e 100644--- a/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx+++ b/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx@@ -36,9 +36,9 @@ interface SkillFinderDialogProps {}/**- * Interaktiver Skill-Finder: Mini-Agent, der den kuratierten Katalog- * filtert und das Brain zum Ranken nutzt. Die Dropdown-Felder mappen- * auf Backend-Filter (trust, min_stars, category, language, max_risk).+ * Interactive skill finder: a mini-agent that filters the curated catalog+ * and uses the brain for ranking. The dropdown fields map to+ * backend filters (trust, min_stars, category, language, max_risk).*/export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {const t = useT();@@ -297,7 +297,7 @@ export function SkillFinderDialog({ open, onClose }: SkillFinderDialogProps) {}// -----------------------------------------------------------------------// Dropdown-Picker (native <details>-basiert, kein Radix-Dependency)+// Dropdown picker (native <details>-based, no Radix dependency)// ----------------------------------------------------------------------interface DropdownOption {diff --git a/jarvis/ui/web/frontend/src/views/SkillsView.tsx b/jarvis/ui/web/frontend/src/views/SkillsView.tsxindex 30a660a698..2e0520f348 100644--- a/jarvis/ui/web/frontend/src/views/SkillsView.tsx+++ b/jarvis/ui/web/frontend/src/views/SkillsView.tsx@@ -104,9 +104,9 @@ function isSkillOn(state: SkillState): boolean {return state === "active" || state === "validated";}-// In-memory Admin-Pass — haelt den Pass fuer die Session, damit der User ihn-// nicht bei jedem Edit neu eingibt. Absichtlich kein localStorage: wer die-// App schliesst, gibt den Pass beim naechsten Start neu ein.+// In-memory admin pass — holds the pass for the session so the user doesn't+// have to re-enter it on every edit. Deliberately not localStorage: whoever+// closes the app has to re-enter the pass on the next start.let sessionAdminPass: string | null = null;export function SkillsView() {@@ -869,9 +869,9 @@ function SkillDetailPanel({ name }: { name: string }) {const save = useSaveSkill();const setEnabled = useSetSkillEnabled();- // Link-Health nur laden, wenn das Frontmatter tatsaechlich URLs enthaelt —- // sonst wuerde der Endpoint fuer jedes Skill-Opening feuern, was vor allem- // bei grossen Skill-Listen unnoetigen HEAD-Traffic produziert.+ // Only load link health when the frontmatter actually contains URLs —+ // otherwise the endpoint would fire on every skill opening, which+ // produces unnecessary HEAD traffic especially with large skill lists.const hasLinks = useMemo(() => {const fm = data?.frontmatter as Record<string, unknown> | null | undefined;if (!fm) return false;@@ -891,7 +891,7 @@ function SkillDetailPanel({ name }: { name: string }) {} | null>(null);useEffect(() => {- // Reset den Draft + Resource-Viewer, wenn das geladene Skill wechselt+ // Reset the draft + resource viewer when the loaded skill changesif (data) {setDraft(buildSkillMdText(data));setDirty(false);@@ -1158,9 +1158,9 @@ function AdminPassDialog({// ----------------------------------------------------------------------/**- * Baut die SKILL.md-Textrepraesentation aus Frontmatter + Body. Die PUT-Route- * erwartet das vollstaendige File — wir rekonstruieren es hier clientseitig,- * statt das Backend einen separaten "nur-body"-Endpoint bieten zu lassen.+ * Builds the SKILL.md text representation from frontmatter + body. The PUT+ * route expects the complete file — we reconstruct it here client-side,+ * instead of having the backend offer a separate "body-only" endpoint.*/function buildSkillMdText(data: { body: string; frontmatter: Record<string, unknown> | null },@@ -1171,8 +1171,8 @@ function buildSkillMdText(}function serializeFrontmatter(fm: Record<string, unknown>): string {- // Minimaler YAML-Dumper — keine komplexen Cases (Refs, Ankers). Wir wissen,- // dass SkillFrontmatter nur primitive + Listen + flache Dicts enthaelt.+ // Minimal YAML dumper — no complex cases (refs, anchors). We know that+ // SkillFrontmatter only contains primitives + lists + flat dicts.const lines: string[] = [];const dump = (key: string, val: unknown, indent = 0): void => {const pad = " ".repeat(indent);@@ -1221,7 +1221,7 @@ function formatScalar(val: unknown): string {if (typeof val === "boolean" || typeof val === "number") return String(val);const str = String(val);if (/[:#\n]/.test(str) || str.trim() !== str || str === "") {- // Mit Doppelpunkten, Hashes oder Leerzeichen-Paddding → quoten+ // Quote when there are colons, hashes, or leading/trailing whitespacereturn JSON.stringify(str);}return str;diff --git a/jarvis/ui/web/frontend/src/views/TelephonyView.test.tsx b/jarvis/ui/web/frontend/src/views/TelephonyView.test.tsxindex 373824a9cd..3dda96f6c5 100644--- a/jarvis/ui/web/frontend/src/views/TelephonyView.test.tsx+++ b/jarvis/ui/web/frontend/src/views/TelephonyView.test.tsx@@ -221,6 +221,7 @@ describe("TelephonyView — save handler", () => {describe("TelephonyView — self-test voice", () => {it("renders the returned transcript and response_text without clipping", async () => {+ // i18n-allow: German voice self-test fixture — simulated Jarvis TTS response textconst LONG_RESPONSE ="Selbstverständlich, Sir. Ich habe die Verbindung geprüft und alles " +"funktioniert einwandfrei über die gesamte Sprach-Kette hinweg, vom " +@@ -230,7 +231,7 @@ describe("TelephonyView — self-test voice", () => {routes["/api/telephony/selftest"] = () => ({body: {ok: true,- transcript: "Hallo Jarvis, funktioniert das Telefon?",+ transcript: "Hallo Jarvis, funktioniert das Telefon?", // i18n-allow: simulated German STT transcript, content under testresponse_text: LONG_RESPONSE,audio_bytes: 48000,},diff --git a/jarvis/ui/web/frontend/src/views/WikiView.test.tsx b/jarvis/ui/web/frontend/src/views/WikiView.test.tsxindex 18d79a9743..d56faf0a4e 100644--- a/jarvis/ui/web/frontend/src/views/WikiView.test.tsx+++ b/jarvis/ui/web/frontend/src/views/WikiView.test.tsx@@ -148,7 +148,7 @@ describe("WikiView — empty state", () => {await waitFor(() => {expect(screen.getByTestId("wiki-empty-state")).toBeDefined();});- expect(screen.getByText(/Dein Wiki ist noch leer/i)).toBeDefined();+ expect(screen.getByText(/Your wiki is still empty/i)).toBeDefined();});});diff --git a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsxindex 367d70c55c..b266d20574 100644--- a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx+++ b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx@@ -321,12 +321,12 @@ function WorkflowCard({const isRunning = runMut.isPending && runMut.variables?.id === workflow.id;const handleRun = async () => {- // Simple-Input-Detection: wenn die Def Input-Variable referenziert,- // prompten wir synchron via browser-prompt. Fuer komplexere Inputs- // kommt spaeter ein echter Input-Dialog.- // Momentan einfach: wir wissen es nicht ohne den Definition-Payload zu- // laden → einfacher Fallback: Empty-Input. Die URL-Zusammenfassung (ein- // Seed) schlaegt dann mit "URL leer" fehl, was akzeptabel ist als MVP.+ // Simple input detection: if the def references an input variable,+ // we prompt synchronously via a browser prompt. A real input dialog+ // for more complex inputs comes later.+ // Kept simple for now: we don't know without loading the definition+ // payload → simple fallback: empty input. The URL summary (one of the+ // seeds) then fails with "URL empty", which is acceptable as an MVP.let input: Record<string, unknown> = {};if (workflow.name.toLowerCase().includes("url")) {const url = window.prompt(t("workflows_view.url_to_summarize"), "https://");diff --git a/jarvis/ui/web/frontend/src/views/friends/ChatTab.tsx b/jarvis/ui/web/frontend/src/views/friends/ChatTab.tsxindex c589475f63..9c591b3b3c 100644--- a/jarvis/ui/web/frontend/src/views/friends/ChatTab.tsx+++ b/jarvis/ui/web/frontend/src/views/friends/ChatTab.tsx@@ -7,9 +7,9 @@ import { useFriend, useFriends } from "@/hooks/useFriends";import { useT } from "@/i18n";/**- * Master-Detail-Layout fuer den Chat-Tab.- * Links: scrollbare FriendsList (FriendListItem)- * Rechts: ChatThread fuer den ausgewaehlten Friend+ * Master-detail layout for the chat tab.+ * Left: scrollable FriendsList (FriendListItem)+ * Right: ChatThread for the selected friend*/export function ChatTab() {const t = useT();diff --git a/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx b/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsxindex 2ae3eb58df..95e00a4501 100644--- a/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx+++ b/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx@@ -13,14 +13,14 @@ import {} from "@/hooks/useFriends";/**- * Status-Sharing-Konfiguration pro Friend.+ * Status sharing configuration per friend.*- * Phase F4 (live): pro Friend wird das aktive Sharing-Profile angezeigt- * und ueber 3-Radio-Selektion ge-PATCHt. Live-Status-Cards (vergangene- * Updates pro Friend) kommen mit dem WebSocket-Stream in F5.+ * Phase F4 (live): the active sharing profile is shown per friend+ * and PATCHed via a 3-radio selection. Live status cards (past+ * updates per friend) arrive with the WebSocket stream in F5.*- * Hard-Blacklist-Hinweis am Ende: rohe Utterances, Tool-Args, Stacktraces,- * Memory-Updates verlassen die Maschine NIE — egal welches Profile aktiv ist.+ * Hard-blacklist note at the end: raw utterances, tool args, stack traces,+ * and memory updates NEVER leave the machine — no matter which profile is active.*/export function StatusTab() {const t = useT();diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsxindex abae6d1030..7d13ea35b3 100644--- a/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx+++ b/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx@@ -1,10 +1,10 @@/**- * ToolsCanvas — Tools eines einzelnen Sub-Agents als Icon-Canvas.+ * ToolsCanvas — the tools of a single sub-agent as an icon canvas.*- * Ansicht wird aktiv, wenn der User einen Sub-Agent-Knoten in der- * SubAgentsView anklickt. Jeder Tool-Call wird als Icon-Node gerendert,- * Status via Rahmenfarbe (sky=running, emerald=completed, red=failed).- * Klick auf einen Tool-Knoten klappt einen Output-Preview unten auf.+ * The view becomes active when the user clicks a sub-agent node in+ * SubAgentsView. Every tool call is rendered as an icon node,+ * with status shown via border color (sky=running, emerald=completed, red=failed).+ * Clicking a tool node expands an output preview below it.*/import {Background,@@ -130,13 +130,13 @@ export function ToolsCanvas({}, [toolCalls]);const initialEdges = useMemo<Edge[]>(() => {- // Chrono-Pfeile: Tool-Call n → Tool-Call n+1 (innerhalb einer Reihe).+ // Chrono arrows: tool call n → tool call n+1 (within one row).const edges: Edge[] = [];const perRow = 4;for (let i = 0; i < toolCalls.length - 1; i++) {const rowI = Math.floor(i / perRow);const rowJ = Math.floor((i + 1) / perRow);- if (rowI !== rowJ) continue; // Kein Pfeil zwischen Reihen+ if (rowI !== rowJ) continue; // No arrow between rowsedges.push({id: `e-${i}-${i + 1}`,source: toolCalls[i].trace_id || `tool-${i}`,@@ -256,7 +256,7 @@ export function ToolsCanvas({);}-// ── Bottom-Sheet fuer Tool-Details ─────────────────────────────────+// ── Bottom sheet for tool details ─────────────────────────────────function ToolDetailSheet({tool,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.tsindex 0075c0bf5d..4a77442b48 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@@ -1,10 +1,10 @@/**- * Tool-Name → Icon + Farbe + Anzeige-Label.+ * Tool name → icon + color + display label.*- * Die Heuristik schaut zuerst auf den Tool-Namen (run_shell, search_web, ...)- * und verfeinert dann anhand des args_preview (open_app chrome → Chrome-Icon,- * dispatch_to_harness openclaw → OpenClaw). So bekommen wir einen- * erkennbaren Brand-artigen Look ohne extra Icon-Package.+ * The heuristic first looks at the tool name (run_shell, search_web, ...)+ * and then refines based on args_preview (open_app chrome → Chrome icon,+ * dispatch_to_harness openclaw → OpenClaw). This gives us a+ * recognizable, brand-like look without an extra icon package.*/import {AppWindow,@@ -32,7 +32,7 @@ import {export interface ToolAppearance {Icon: LucideIcon;label: string;- /** Tailwind-Klassen fuer den Node-Hintergrund + Rahmen. */+ /** Tailwind classes for the node background + border. */bg: string;ring: string;iconColor: string;@@ -51,7 +51,7 @@ function matches(haystack: string, needle: string): boolean {}/**- * Liefert Icon/Label/Farbe fuer ein Tool, basierend auf Namen + Argument-Preview.+ * Returns icon/label/color for a tool, based on the name + argument preview.*/export function getToolAppearance(toolName: string,diff --git a/jarvis/ui/web/frontier_routes.py b/jarvis/ui/web/frontier_routes.pyindex 3db17c970f..0c8d58455c 100644--- a/jarvis/ui/web/frontier_routes.py+++ b/jarvis/ui/web/frontier_routes.py@@ -1,9 +1,9 @@-"""Frontier-Routes — REST-API fuer Auto-Switch-Modal.+"""Frontier routes — REST API for the auto-switch modal.-GET /api/frontier/pending → Liste der Switches die der User noch nicht- mit OK quittiert hat. Frontend rendert ein blockierendes Modal.-POST /api/frontier/ack → Markiert alle pending Switches als geackt.- Modal schliesst.+GET /api/frontier/pending → the list of switches the user has not yet+ acknowledged with OK. The frontend renders a blocking modal.+POST /api/frontier/ack → marks all pending switches as acknowledged.+ The modal closes."""from __future__ import annotations@@ -21,18 +21,18 @@ router = APIRouter(prefix="/api/frontier", tags=["frontier"])@router.get("/pending")async def list_pending_switches() -> list[dict[str, Any]]:- """Liefert alle noch nicht-geackten Frontier-Switches.+ """Returns all frontier switches not yet acknowledged.- Frontend pollt das beim Mount + nach jedem WS-Reconnect, damit das- Modal nicht verloren geht falls der User die Tab waehrend des- Switches nicht offen hatte.+ The frontend polls this on mount + after every WS reconnect, so the+ modal isn't missed if the user didn't have the tab open during the+ switch."""return get_pending_switches_as_dict()@router.post("/ack")async def ack_switches() -> dict[str, int]:- """Markiert alle pending Switches als geackt (User hat OK gedrueckt).+ """Marks all pending switches as acknowledged (the user pressed OK).Returns ``{"acked": <count>}``."""