mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-25 11:16:49 -06:00
The argument hint, autocomplete, Insert Function and the Formulas-tab menus read per-language tables of function descriptions and argument names (i18n/<lang>_functions.rs), keyed by the catalog's English text and binary-searched. The hint is assembled from the formula syntax's function name and separator plus the language's argument names, all of them or none, so it never mixes two languages. Insert Function searches the translated descriptions and shows readable category names. SPANISH_HELP moves to es_functions.rs with its 10 functions.