mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-11 22:22:31 +00:00
140c7041e1c9cd4fe1459f339c7565f9dc1df52f
Czech, Croatian, Indonesian, Italian, Polish, Portuguese and Spanish began their spelling checks with the same thirteen lines, byte for byte: no dictionary means no marks, single letters and words without letters pass, words with digits and short words in capitals pass when the File › Options › Proofing choices say so, and words in another script pass. Each also had its own copy of the Latin-script test. These were the lines storytold/wordcraft#3966 had to fix in six copies one by one, and where the Russian and Turkish copies stayed wrong until the first commit here. spelling.rs has them once (`word_to_check`), and each language goes on from there with its own rules (Polish apostrophe endings, Italian elisions, Indonesian clitics, Uruguayan `vos` forms). Tests: words_needing_no_lookup. Ignoring the uppercase option there fails it and all seven languages' proofing-options tests. Proof: 286 tests.
Languages
Rust
99%
Max
0.7%
Python
0.3%