mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-02 22:31:17 +00:00
* formula: Polish formula language (FormulaLocale::Pl) - FormulaLocale::Pl: all 434 functions whose Polish Excel name differs, in crates/formula/src/input/pl.rs. Names come from PhpSpreadsheet's pl table (MIT) cross-checked with a second independent table; where they disagree or are missing, Microsoft's pl-pl pages decide, and the names #1678 observed in Excel for the web fill the rest. Polish keeps MAX (only MAXIFS is MAKS.WARUNKÓW). - PRAWDA/FAŁSZ, `;` argument and `\` array-column separators, decimal comma. - Polish error values on entry and display (#DZIEL/0!, #N/D, #ARG!, #ROZLANIE!, #OBL!...); #N/D! and English spellings stay accepted. - Table specifiers (#Wszystko, #Dane, #Nagłówki, #Sumy, #Ten wiersz) with ';' between bracketed parts. - The locale tables are generalised (aliases()/boolean_names()) instead of hard-coding Spanish, and the parser keeps the locale instead of an `Es` flag; names are compared with the shared same_name, so `jeżeli` matches `JEŻELI` and a LET name `fałsz` is matched by `FAŁSZ`. Spanish behaviour is unchanged. - Function help follows the interface language, as on main: Polish descriptions and argument names belong to the Polish catalog (#1807). - Tests: crates/formula/tests/polish_input.rs and crates/calc/tests/polish_function_names.rs (every Polish name belongs to a known function and none shadows an English one). - Docs: ROADMAP.md and docs/localization-parity.md. The Polish interface language (on main since #1091) selects the locale: Language::formula_locale maps Pl to it. * formula: credit PhpSpreadsheet for the Polish function name table The English-to-Polish name table in crates/formula/src/input/pl.rs comes from PhpSpreadsheet's locale/pl/functions (MIT). ATTRIBUTION.md now lists it in the same form as the CLDR region data, and NOTICE carries PhpSpreadsheet's MIT licence text verbatim. The second table the names were checked against was only a cross-check, and nothing was copied from it; the module comment now says so. --------- Co-authored-by: Maciej Malinowski <[email protected]>