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): translate committed German to English in board/docs components (isolated drain, batch 07_3_jarvis)

Ruben Lütke80c674fef248
diff --git a/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx b/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx
index 8c70eeeda2..cb1c130344 100644
--- a/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx
@@ -10,12 +10,12 @@ import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
/**
- * "Wer ist dieser User?" — AI-generierte Selbstbeobachtung von Jarvis im
- * "Ich-Erzaehler"-Stil, beissend mit Augenzwinkern (Brainstorm 2026-05-02).
+ * "Who is this user?" — an AI-generated self-observation by Jarvis in
+ * first-person narrator style, biting with a wink (brainstorm 2026-05-02).
*
- * Drei Reagier-Buttons unter dem Text kalibrieren die naechste Bio-Generation
- * (Trifft / Trifft nicht / Haerter). Klicks werden NICHT sofort regeneriert —
- * sie fliessen als Tone-Vector in den Sonntags-Run.
+ * Three reaction buttons under the text calibrate the next bio generation
+ * (Correct / Incorrect / Harder). Clicks do NOT regenerate immediately —
+ * they flow as a tone vector into the Sunday run.
*/
export function AIProfileCard() {
const t = useT();
@@ -26,7 +26,7 @@ export function AIProfileCard() {
const data = bio.data;
const [lastFeedback, setLastFeedback] = useState<BioFeedbackKind | null>(null);
- // "Notiert."-Toast nach 2.5s wieder ausblenden, damit es nicht stehen bleibt.
+ // Hide the "Noted." toast again after 2.5s so it doesn't linger.
useEffect(() => {
if (!lastFeedback) return;
const t = setTimeout(() => setLastFeedback(null), 2500);
@@ -116,13 +116,13 @@ export function AIProfileCard() {
onClick={() => handleFeedback("trifft")}
/>
<FeedbackButton
- kind="trifft_nicht"
+ kind="trifft_nicht" // i18n-allow: API contract value matched in logic
icon={<X className="h-3 w-3" />}
label={t("board_view.feedback_incorrect")}
colorClass="border-rose-500/40 bg-rose-500/10 text-rose-300 hover:bg-rose-500/20"
- active={lastFeedback === "trifft_nicht"}
+ active={lastFeedback === "trifft_nicht"} // i18n-allow: API contract value matched in logic
disabled={feedback.isPending}
- onClick={() => handleFeedback("trifft_nicht")}
+ onClick={() => handleFeedback("trifft_nicht")} // i18n-allow: API contract value matched in logic
/>
<FeedbackButton
kind="haerter"
diff --git a/jarvis/ui/web/frontend/src/components/board/AchievementGrid.tsx b/jarvis/ui/web/frontend/src/components/board/AchievementGrid.tsx
index 064614c731..e5207cd56e 100644
--- a/jarvis/ui/web/frontend/src/components/board/AchievementGrid.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/AchievementGrid.tsx
@@ -6,18 +6,18 @@ import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
/**
- * Vollstaendige Trophaeen-Wand. Unlocked in Primary-Farbe, locked grayed
- * mit Lock-Icon. Kein Badge-Counter fuer andere Nutzer (Plan §0 — keine
- * oeffentlichen Like-Counts); die Wand ist privat, nur der User sieht sie.
+ * Full trophy wall. Unlocked in primary color, locked grayed out
+ * with a lock icon. No badge counter for other users (Plan §0 — no
+ * public like counts); the wall is private, only the user sees it.
*/
export function AchievementGrid() {
const t = useT();
const qc = useQueryClient();
const { data, isLoading } = useAchievements();
- // Live-Unlock via WS — wenn der Evaluator einen Unlock publisht,
- // invalidiert das den React-Query-Cache und die Karte fuellt sich
- // ohne Polling-Delay.
+ // Live unlock via WS — when the evaluator publishes an unlock,
+ // this invalidates the React-Query cache and the card fills in
+ // without a polling delay.
useEffect(() => {
const handler = () => qc.invalidateQueries({ queryKey: ["board", "achievements"] });
window.addEventListener("jarvis:achievement-unlocked", handler as EventListener);
diff --git a/jarvis/ui/web/frontend/src/components/board/BackendConnectionSection.tsx b/jarvis/ui/web/frontend/src/components/board/BackendConnectionSection.tsx
index b23cf2cd4c..665bd8772b 100644
--- a/jarvis/ui/web/frontend/src/components/board/BackendConnectionSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/BackendConnectionSection.tsx
@@ -5,15 +5,15 @@ import { robustCopy } from "@/lib/clipboard";
import { useT } from "@/i18n";
/**
- * Settings-Section: Backend-Connection (Plan §D-Spec).
+ * Settings section: backend connection (Plan §D spec).
*
- * - Disconnect-Button (Local-Only-Mode): toggled board.federation.enabled in-memory.
- * - Backend-URL: read-only Anzeige; permanente Aenderung erfolgt in jarvis.toml.
- * - Pubkey: anzeigen + kopieren.
+ * - Disconnect button (local-only mode): toggles board.federation.enabled in-memory.
+ * - Backend URL: read-only display; a permanent change happens in jarvis.toml.
+ * - Pubkey: display + copy.
*
- * Plan §D §0: KEIN Online-Indikator. Wir zeigen nur ob Federation
- * aktiviert ist (ein Setting), nicht ob die Backend-Verbindung gerade
- * "live" ist.
+ * Plan §D §0: NO online indicator. We only show whether federation
+ * is enabled (a setting), not whether the backend connection is currently
+ * "live".
*/
export function BackendConnectionSection() {
const t = useT();
diff --git a/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx b/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx
index 3e214c82bf..390e363325 100644
--- a/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx
@@ -12,15 +12,15 @@ interface HeatmapGridProps {
const ROWS = 7;
/**
- * Aktivitaets-Heatmap im Snake-Layout (Boustrophedon).
- * Startet OBEN LINKS bei der ersten aktiven Zelle und laeuft abwechselnd
- * nach rechts und links durch die Zeilen nach unten:
- * Reihe 1 (oben): links -> rechts
- * Reihe 2: rechts -> links
- * Reihe 3: links -> rechts
+ * Activity heatmap in a snake layout (boustrophedon).
+ * Starts TOP LEFT at the first active cell and alternates
+ * right and left through the rows going down:
+ * row 1 (top): left -> right
+ * row 2: right -> left
+ * row 3: left -> right
* ...
- * Fuehrende Null-Tage (heute/gestern ohne Aktivitaet) werden uebersprungen,
- * damit aktive Zellen am Anfang der Snake erscheinen.
+ * Leading zero-activity days (today/yesterday with no activity) are skipped,
+ * so active cells appear at the start of the snake.
*/
export function HeatmapGrid({ cells, weeks = 53, showLegend = true }: HeatmapGridProps) {
const t = useT();
@@ -37,7 +37,7 @@ export function HeatmapGrid({ cells, weeks = 53, showLegend = true }: HeatmapGri
const newest = new Date(cells[cells.length - 1].date + "T00:00:00");
const total = ROWS * cols;
- // Chronologisch absteigend: i=0 ist heute, i=total-1 ist aeltester Slot.
+ // Chronologically descending: i=0 is today, i=total-1 is the oldest slot.
const sequence: HeatmapCell[] = new Array(total);
for (let i = 0; i < total; i += 1) {
const day = new Date(newest);
@@ -54,8 +54,8 @@ export function HeatmapGrid({ cells, weeks = 53, showLegend = true }: HeatmapGri
};
}
- // Fuehrende Null-Tage ueberspringen, damit die Snake bei der ersten
- // aktiven Zelle anfaengt statt beim heutigen leeren Tag.
+ // Skip leading zero-activity days so the snake starts at the first
+ // active cell instead of at today's empty day.
let startOffset = 0;
while (
startOffset < sequence.length &&
@@ -65,8 +65,8 @@ export function HeatmapGrid({ cells, weeks = 53, showLegend = true }: HeatmapGri
}
if (startOffset >= total) startOffset = 0;
- // Boustrophedon von OBEN: k = Reihe von oben (k=0 oberste Zeile),
- // k=0 oben links->rechts, k=1 rechts->links, k=2 links->rechts, usw.
+ // Boustrophedon from the TOP: k = row from the top (k=0 topmost row),
+ // k=0 top left->right, k=1 right->left, k=2 left->right, etc.
const layout: HeatmapCell[][] = Array.from(
{ length: ROWS },
() => new Array<HeatmapCell>(cols),
diff --git a/jarvis/ui/web/frontend/src/components/board/PairDialog.tsx b/jarvis/ui/web/frontend/src/components/board/PairDialog.tsx
index a7d7fa78bf..bac79bc26f 100644
--- a/jarvis/ui/web/frontend/src/components/board/PairDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/PairDialog.tsx
@@ -14,13 +14,13 @@ interface PairDialogProps {
}
/**
- * Pair-Dialog mit zwei Modi:
- * - "Generate" — Owner erzeugt Token, zeigt URL + QR.
- * - "Accept" — Friend hat URL bekommen, fuegt sie ein.
+ * Pair dialog with two modes:
+ * - "Generate" — owner generates a token, shows URL + QR.
+ * - "Accept" — friend received the URL, pastes it in.
*
- * Modal ist non-blocking — schliesst auf Backdrop-Click. Plan §D §0:
- * KEIN Pop-Up das Feed-Scrolling unterbricht; aber dieses Modal wird
- * vom User explizit geoeffnet.
+ * Modal is non-blocking — closes on backdrop click. Plan §D §0:
+ * NO pop-up that interrupts feed scrolling; but this modal is
+ * explicitly opened by the user.
*/
export function PairDialog({ onClose }: PairDialogProps) {
const t = useT();
diff --git a/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx b/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx
index d4d77bcbc9..a85b775a31 100644
--- a/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx
@@ -16,7 +16,7 @@ const TONE: Record<NonNullable<StatsCardProps["tone"]>, string> = {
warn: "border-amber-500/30 bg-amber-500/5 text-amber-200",
};
-/** Kompakte grosse Zahl + Label fuer Board-Metriken. */
+/** Compact large number + label for board metrics. */
export function StatsCard({
label,
value,
diff --git a/jarvis/ui/web/frontend/src/components/board/ToolBarChart.tsx b/jarvis/ui/web/frontend/src/components/board/ToolBarChart.tsx
index 046d9efbe6..165b6890e0 100644
--- a/jarvis/ui/web/frontend/src/components/board/ToolBarChart.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ToolBarChart.tsx
@@ -16,10 +16,10 @@ interface ToolBarChartProps {
}
/**
- * Horizontales Bar-Chart der meistgenutzten Tools. Nimmt die Top-N und
- * sortiert absteigend. "Days used" = Anzahl verschiedener Tage in denen
- * das Tool mindestens ein Mal erfolgreich aufgerufen wurde (NICHT pro
- * Invocation — das wuerde Power-Tools wie ``bash`` verzerren).
+ * Horizontal bar chart of the most-used tools. Takes the top N and
+ * sorts descending. "Days used" = number of distinct days on which
+ * the tool was invoked successfully at least once (NOT per
+ * invocation — that would skew power tools like ``bash``).
*/
export function ToolBarChart({ histogram, limit = 15 }: ToolBarChartProps) {
const t = useT();
diff --git a/jarvis/ui/web/frontend/src/components/docs/Callout.tsx b/jarvis/ui/web/frontend/src/components/docs/Callout.tsx
index 5ba9e89304..a477ac222d 100644
--- a/jarvis/ui/web/frontend/src/components/docs/Callout.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/Callout.tsx
@@ -34,11 +34,11 @@ interface Props {
}
/**
- * Admonition-Block fuer info/warning/tip/note.
+ * Admonition block for info/warning/tip/note.
*
- * Aktivierung: in Markdown via `> [!info]`, `> [!warning]`, `> [!tip]`,
- * `> [!note]` als ersten Tag innerhalb eines blockquote. Standard-Markdown
- * blockquote ohne Tag bleibt als Default-blockquote (note-Variante).
+ * Activation: in Markdown via `> [!info]`, `> [!warning]`, `> [!tip]`,
+ * `> [!note]` as the first tag inside a blockquote. A standard Markdown
+ * blockquote without a tag stays a default blockquote (the note variant).
*/
export function Callout({ type = "note", children }: Props) {
const variant = VARIANTS[type];
@@ -57,11 +57,11 @@ export function Callout({ type = "note", children }: Props) {
}
/**
- * Heuristik: schaut auf den ersten Text-Knoten eines blockquote. Wenn er
- * mit ``[!info]``, ``[!warning]``, ``[!tip]`` oder ``[!note]`` beginnt
- * (GitHub-Markdown-Convention), liefert den Typ + den Rest als Children.
+ * Heuristic: looks at the first text node of a blockquote. If it
+ * starts with ``[!info]``, ``[!warning]``, ``[!tip]``, or ``[!note]``
+ * (GitHub Markdown convention), returns the type + the rest as children.
*
- * Kein Match -> ``null``, der Renderer faellt auf normales blockquote.
+ * No match -> ``null``, the renderer falls back to a normal blockquote.
*/
export function parseCalloutTag(
text: string,