Skip to content

i18n(cs): translate 120 labels and tooltips already looked up via tr() - #652

Merged
h-a-n-a-s-h-i merged 2 commits into
storytold:mainfrom
Losminek:cs-tooltips
Oct 13, 2026
Merged

h-a-n-a-s-h-i merged 2 commits into
storytold:mainfrom
Losminek:cs-tooltips

Conversation

@Losminek

Copy link
Copy Markdown
Contributor

Follow-up to #335 (Czech). 120 interface strings already go through tr() but had no Czech entry, so
a Czech user saw them in English. This PR adds those entries to crates/ui-egui/src/i18n/cs.rs only.

What changes

  • Ribbon tooltips and menu items (101), cell/header context menus (11), formula bar (3), sheet tabs and
    status controls (5), notice dismissal (1).
  • No new tr() call sites, no other language touched, no code changes. Extra Czech-only keys are fine
    for translations_are_unique_and_preserve_unknown_text (it requires the Japanese master keys in
    every language, not the reverse).

How it was made and checked

AI-assisted translation with an independent review pass (every key matched against its call site;
terms follow the existing Czech catalog and Excel conventions: Průřez for slicers, Rukopis, Deník
akcí…). Not yet proofread by a native speaker; corrections are welcome.

Clean environment, --locked: cargo fmt --all -- --check clean; cargo clippy -p gridcraft-ui-egui --all-targets -- -D warnings clean; cargo test -p gridcraft-ui-egui: 590 passed, 1 failed — the
failure is translations_are_unique_and_preserve_unknown_text reporting the French row for
"Different First Page", which is missing on current main as well; Czech passes.

🤖 Generated with Claude Code

Ribbon tooltips and menu items, cell and header context menus, formula
bar, sheet tabs and status controls had no Czech entry and fell back to
English. Catalog-only: cs.rs, no new tr() call sites, no other language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Losminek

Copy link
Copy Markdown
Contributor Author

Note on the red CI: the failing tests are the two CSV tests in gridcraft-engine (csv_save_keeps_the_separator_it_was_opened_with, saving_an_opened_semicolon_csv_keeps_semicolons), which fail the same way on current main (3926d21). #449 fixes them. This PR only touches crates/ui-egui/src/i18n/cs.rs; I will re-run CI once #449 is merged.

@h-a-n-a-s-h-i
h-a-n-a-s-h-i merged commit 4cc5ba0 into storytold:main Oct 13, 2026
1 check passed
h-a-n-a-s-h-i pushed a commit that referenced this pull request Oct 13, 2026
Brazilian Portuguese had 377 catalog entries, so most dialogs, menus and
tooltips showed in English with the interface set to Português (Brasil).
This adds every key the other catalogs translate (counting the open
Spanish-dialog #669, Russian #676, Czech #652, Polish #650, Turkish #663
and Italian #713 PRs), bringing pt-BR to 923 entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@echelon

echelon commented Oct 13, 2026

Copy link
Copy Markdown
Member

Merged — thank you @Losminek for the contribution!

If you haven't already, come join us on Discord: https://discord.gg/artcraft

@Losminek
Losminek deleted the cs-tooltips branch October 13, 2026 12:54
vangel76 added a commit to vangel76/gridcraft that referenced this pull request Oct 13, 2026
Keep the audit's corrections and add what main merged meanwhile (storytold#727, storytold#528, storytold#833, storytold#792/storytold#794, storytold#785/storytold#786, storytold#840, storytold#453, storytold#739, storytold#652); landed PRs no longer listed as open; one Last updated line per doc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants