Anki/rslib/i18n/src
Lucas Scharenbroch ee8683587a
Add number truncation before back-end translation (#3162)
* Add number-truncation before backend translation

* Round instead of truncate (conform to testcases)

* Add test-case for plural rounding-to-one corner-case

* Move rounding into generated translation code

* Change unit test to test generated function

* Round any number in generation, ignore (int vs float)

(it seems that that type distinction is frequently inaccurate)

* Update formatting
2024-04-24 02:41:40 +01:00
..
generated.rs Update Rust deps 2022-09-24 13:22:46 +10:00
lib.rs Add number truncation before back-end translation (#3162) 2024-04-24 02:41:40 +01:00