Repository navigation
L10n: Czech function names in Tinta Calculo - #37
Merged
Merged
Conversation
…lna OS request) Adds lt.rs (all 1181 interface strings) and Language::Lt (auto from lt_LT, picker, app.language.set, error-report texts). Czech gains 630 and Romanian 159 missing rows, so cs/ro/lt now cover the whole reference set that cargo xtask i18n-report checks. Rows shared with the other Tinta forks reuse their wording; the rest is AI-assisted, pending native review. Refs StDenis1980/tintaoffice-web#15 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
Region gains CsCz (1 234,56 · 05.11.2026 · Kč), RoRo (1.234,56 · 05.11.2026 · lei) and LtLt (1 234,56 · 2026-11-05 · €). The cs, ro and lt interfaces now show and read values that way, and formulas take ';' and the decimal comma (English function names, as their Excel keeps). Kč and lei typed after an amount give a currency format. Requested by Vilna OS (tintaoffice-web#15). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
Czech formula entry, as Czech Excel shows it (SUMA, KDYŽ, SVYHLEDAT, PRAVDA/NEPRAVDA; Czech LOG is LOG10). The function table is now one mechanism per language (Spanish, Czech) instead of Spanish-only code, so German, French, Italian and Polish can follow. Typed PRAVDA and NEPRAVDA are booleans in the Czech region. The old Czech test expected English separators, which #36 already changed; it now checks English names with Czech separators. AI-assisted names, not yet checked by a native speaker. For Vilna OS (tintaoffice-web#15). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
StDenis1980
marked this pull request as ready for review
November 3, 2026 11:14
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Denys · project thread
Part 1 of localized function names for Vilna OS (StDenis1980/tintaoffice-web#15). German, French, Italian and Polish follow in separate PRs.
Function tables
FormulaLocalenow looks up a function table and a pair of boolean spellings for each language. Spanish and Czech share this mechanism: there is no Spanish-only code left incrates/formula/src/input.rsor the parser.FormulaLocale::Cswithcrates/formula/src/czech.rs, which has a row for every built-in function:SUMA,KDYŽ,SVYHLEDAT,PRAVDA/NEPRAVDA.LOGmeansLOG10,LOGZmeansLOG, andVARmeansVARP.SUMIF,XLOOKUP).PRAVDAandNEPRAVDAbecome booleans in the cs-CZ region.Fixed test
czech_interface_retains_its_canonical_formula_fallbackalready failed after L10n: Czech, Romanian and Lithuanian regional formats #36, because L10n: Czech, Romanian and Lithuanian regional formats #36 gave Czech;separators and the test still expected,. I didn't catch that in L10n: Czech, Romanian and Lithuanian regional formats #36.Verification
cargo test -p gridcraft-core,-p gridcraft-formulaand-p gridcraft-enginepass. New tests:cargo test -p gridcraft-ui-egui: 959 passed, 2 failed. The two failures are the known missing-glyph tests (column_autocomplete_folds_case_beyond_ascii,language_switch_renders_the_ribbon_and_persists), which also fail onmainin this container.cargo clippy -D warningson core, formula, engine and ui-egui is clean, andcargo fmt --checkis clean.Upstream note
storytold/gridcraft has open PRs for German (storytold#3020), Italian (storytold#1894), French (storytold#2655) and a formula-dialect design (storytold#3049). If one of them merges upstream, the weekly sync will need to reconcile it with this table design.
The Czech names are AI-assisted and still need a native speaker to check them against Czech Excel.
Generated by Claude Code