mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* 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 |
||
|---|---|---|
| .. | ||
| generated.rs | ||
| lib.rs | ||