Commit Graph

175 Commits

Author SHA1 Message Date
gonzy
b8a215a991 Added tests for every currency gender combination (dollars, cents) 2022-08-18 18:52:03 +02:00
gonzy
62eba31778 lang_ES: improved currency gender handling, improved error messages; test_es: updated accordingly 2022-08-18 18:52:02 +02:00
gonzy
0ee149a4c8 Added test covering new fix penny->penique 2022-08-18 18:52:02 +02:00
gonzy
fc0c15c4b2 Fixed pound cents: penny->penique, pence->peniques; fixed tests accordingly 2022-08-18 18:52:02 +02:00
gonzy
1cea15170d Orthography fixes: added missing accent (nuevos dolares->nuevos dólares); fixed accents in test_es.py (dieciséis, dólar, dólares, veintiún) 2022-08-18 18:52:01 +02:00
Rostyslav Ivanyk
6bf14bee7b Improve Ukrainian support and minor fixes in CZ, KZ, LT, LV, PL, RU, SR languages (#400)
* Fix English char 'i' in Ukrainian words

* Fix the feminine currency processing for UAH in lang_UK.py

* Fix test_ua.py

* Fix the feminine currency processing for UAH in lang_RU.py

* Add tests for UAH in test_ru.py

* Add world currencies to lang_UK.py; Add test cases to test_uk.py for world currencies

* Fix incorrect handling of zeros after decimal point for CZ, KZ, LT, LV, PL, RU, SR and UK languages

* Add ukrainian ordinal numbers

* Fix too long lines of code

* Add test for negative cardinal number
2022-08-18 18:52:01 +02:00
cyriaka90
79a9abfaba [tr] return Turkish 0 ordinal and cardinal (#347)
* [tr] return Turkish 0 ordinal and cardinal

* add str_to_number to Turkish

* try rather use Num2Word_Base
2022-08-18 18:52:00 +02:00
Paulina Komorek
ea82fe11ca [ADD] polish ordinal numbers (#367) 2022-08-18 18:52:00 +02:00
Fernanda Hernandez
402b1e88e7 Add translations to spanish of several currencies 2022-08-18 18:52:00 +02:00
Peter Nordstrom
3e494d71a0 updated failing flake8 test 2022-08-18 18:51:59 +02:00
Peter Nordstrom
469aaff8e6 updated test case to increase coverage. raised NotImplementedError for options not implemented. 2022-08-18 18:51:59 +02:00
Peter Nordstrom
a35effbd1b added correct ordinal handling and more test cases 2022-08-18 18:51:59 +02:00
Peter Nordstrom
1b35e7fe58 added swedish language including test cases 2022-08-18 18:51:59 +02:00
Willem Van Onsem
47a3cac323 Fix zeroth in Dutch to nulde fixing #325 2020-09-21 18:54:03 +02:00
Daniel Marai
4dab316025 Added support for Hungarian language 2020-05-03 23:27:34 -04:00
Olzhas
c2abbbec59 Linted KZ modules 2020-01-15 09:39:52 -05:00
Olzhas
3bb4ab120a Added kz tests for negative numbers and zero in chunks 2020-01-15 09:39:52 -05:00
Olzhas
d7742442c6 Updated kz tests 2020-01-15 09:39:52 -05:00
Olzhas
d576817c7f Initial kazakh implementation 2020-01-15 09:39:52 -05:00
Pierre Duchemin
82418b2612 Merge branch 'master' into master 2019-12-31 15:28:12 -05:00
Ernesto Rodriguez Ortiz
ff9bd868ba Merge branch 'master' into romanian-issues-259 2019-12-31 12:13:16 -05:00
Ernesto Rodriguez Ortiz
0a88055c4a Merge branch 'master' into master 2019-12-31 11:03:46 -05:00
Ernesto Rodriguez Ortiz
af7882a7bd Merge branch 'master' into base 2019-12-31 09:59:08 -05:00
Ernesto Rodriguez Ortiz
ede0c42806 Merge branch 'master' into en_coverage 2019-12-31 09:42:04 -05:00
Ernesto Rodriguez Ortiz
a2fe2aa4c9 Merge branch 'master' into test_dk 2019-12-31 09:35:45 -05:00
Ernesto Rodriguez Ortiz
cb9fff1189 Merge branch 'master' into es_coverage 2019-12-30 17:15:38 -05:00
Ernesto Rodriguez Ortiz
3d14f7a5bb Merge branch 'master' into en_coverage 2019-12-27 16:35:33 -05:00
Tufan Kaynak
234e02dd54 updated tests 2019-12-13 20:18:59 +03:00
Tufan Kaynak
0236257876 updated tests 2019-12-13 19:49:39 +03:00
Tufan Kaynak
39ef298626 updated tests 2019-12-13 19:13:41 +03:00
Tufan Kaynak
3da9fd8705 updated tests 2019-12-13 19:08:49 +03:00
Tufan Kaynak
fe0bc1adbd updated tests 2019-12-13 19:06:36 +03:00
Tufan Kaynak
6a4e955049 updated tests 2019-12-13 19:02:02 +03:00
Tufan Kaynak
739f02d830 updated tests 2019-12-13 18:55:38 +03:00
Tufan Kaynak
a7971f1156 updated tests 2019-12-13 18:46:34 +03:00
Tufan Kaynak
f5c07d714d updated tests 2019-12-13 17:35:32 +03:00
Tufan Kaynak
2fae9512ce updated tests 2019-12-13 17:26:26 +03:00
Tufan Kaynak
ede1db8690 updated tests 2019-12-13 16:38:39 +03:00
yliharma
ed47b30e99 Merge branch 'master' into master 2019-11-22 16:03:41 +01:00
mariaS210
dc7f7907e5 romanian-issues-259: revert a test 2019-11-07 23:29:43 +02:00
mariaS210
b362b7b347 romanian-issues-259: implement and use pluralize 2019-11-07 23:02:41 +02:00
Ben Harper
f665cb32f4 Merge branch 'master' into es_coverage 2019-10-29 21:57:27 -04:00
mariaS210
9943be7d71 Merge branch 'master' into romanian-issues-259 2019-10-28 15:49:51 +02:00
Ariel Allon
28c304c2f4 Fix Hebrew support
- Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers
- Fix spelling of 8 (and 18 and 80)
- Add cases for thousands 3-9 and support in the logic
- Fix placement of "and" conjunction to match Academy of Hebrew Language position
- Add tests
2019-10-28 09:34:14 -04:00
btharper
b82bf457d4 Fill out coverage for lang_EN.py 2019-10-26 23:39:24 -04:00
btharper
6819f5a6ed Fix py2/3 difference on division and update test case 2019-10-26 22:38:50 -04:00
btharper
d82f739bc9 Add ordinal 12,345 to ES test suite to increase coverage 2019-10-26 17:37:47 -04:00
btharper
7cd31a93f1 Add simple tests for lang_DK.py 2019-10-26 16:37:22 -04:00
William José Moreno Reyes
a1d29fc2bc Update to title test
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 21:40:26 -06:00
William José Moreno Reyes
e90061af65 Add more tests to cover num2words/base.py
Fix:
 - https://github.com/savoirfairelinux/num2words/issues/125

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 21:40:26 -06:00