The "Add demo targets" button, and the whole dialog behind it, were English-only. They appear on the German onboarding page and the targets list. Everything now follows the language toggle, with German as the default.
What changes
New i18n::texts::demo module:
the dialog's texts (button, explanation, the source-only note, loading and error messages, result labels, actions);
add_count for the confirm button, where German and English put the number in different places ("3 Prüfobjekt(e) hinzufügen" / "Add 3 target(s)");
summary for the result line.
Target kinds: the dialog now uses the shared kinds::target_type labels, and its own English-only kind_label is removed.
Result badges:demo_seed_outcome takes the language.
Reused texts: Cancel, Findings and Loading come from the existing texts.
Removed: the English-only SOURCE_ONLY_NOTE constant; common::NOT_AVAILABLE_HERE replaces it.
Checked
cargo fmt --all --check.
clippy with the CI flags for server and web.
Dashboard tests: 44 for server and 31 for web. They include new tests for the German result badges and for both languages' confirm button and result line.
The "Add demo targets" button, and the whole dialog behind it, were English-only. They appear on the German onboarding page and the targets list. Everything now follows the language toggle, with German as the default.
## What changes
- **New `i18n::texts::demo` module:**
- the dialog's texts (button, explanation, the source-only note, loading and error messages, result labels, actions);
- `add_count` for the confirm button, where German and English put the number in different places ("3 Prüfobjekt(e) hinzufügen" / "Add 3 target(s)");
- `summary` for the result line.
- **Target kinds:** the dialog now uses the shared `kinds::target_type` labels, and its own English-only `kind_label` is removed.
- **Result badges:** `demo_seed_outcome` takes the language.
- **Reused texts:** Cancel, Findings and Loading come from the existing texts.
- **Removed:** the English-only `SOURCE_ONLY_NOTE` constant; `common::NOT_AVAILABLE_HERE` replaces it.
## Checked
- `cargo fmt --all --check`.
- clippy with the CI flags for `server` and `web`.
- Dashboard tests: 44 for server and 31 for web. They include new tests for the German result badges and for both languages' confirm button and result line.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
The "Add demo targets" button and its dialog were English-only on the
German onboarding and targets pages. Their text now comes from the
i18n table (new `demo` module), the kind badges use the shared target
type labels, and the result badges follow the language.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit 12b7e9b6b8 into main2026-09-24 10:15:47 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The "Add demo targets" button, and the whole dialog behind it, were English-only. They appear on the German onboarding page and the targets list. Everything now follows the language toggle, with German as the default.
What changes
i18n::texts::demomodule:add_countfor the confirm button, where German and English put the number in different places ("3 Prüfobjekt(e) hinzufügen" / "Add 3 target(s)");summaryfor the result line.kinds::target_typelabels, and its own English-onlykind_labelis removed.demo_seed_outcometakes the language.SOURCE_ONLY_NOTEconstant;common::NOT_AVAILABLE_HEREreplaces it.Checked
cargo fmt --all --check.serverandweb.🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p