Commit Graph

12 Commits

Author SHA1 Message Date
Rostyslav Ivanyk
40ab739f6c 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
2021-06-30 13:23:46 -04:00
Paulina Komorek
3f5f6163cd [ADD] polish ordinal numbers (#367) 2021-04-23 15:27:47 -04:00
Ernesto Rodriguez Ortiz
2eee037648 Fix typo 'seperator' on source code 2019-01-19 17:00:26 -05:00
Ernesto Rodriguez Ortiz
53b4518afb Issue 229: Add explicit encoding, license and unix line separators.
Some maintainers for different linux distribution are having some
problems with the encoding on different python versions. This change
intents to make all python files define explicitly the encoding, license
and unix line separators. Remove one example of the README.rst file
where a possible non UTF-8 character is used.
2018-12-23 12:10:24 -05:00
Marek Madejski
9bd1bebb0e Shortened one test number for PEP8 compliance - smaller number parts are already tested. 2018-12-05 10:54:02 +01:00
Marek Madejski
d78add4c3a Update test_pl.py
unit test fix
2018-12-03 12:40:04 +01:00
Marek Madejski
b8cd4ba181 no word for zero value of thousand's power; PL unit test fix
Before: 1_000_000_000 = "miliard milionów tysięcy" (with words for zero millions and thousands)
After: "miliard" (no words if value for given power of 1000 is 0)
2018-12-03 12:03:16 +01:00
Marek Madejski
efde954697 Update test_pl.py
added test for a really big number in Polish
2018-12-03 11:14:55 +01:00
Mārtiņš Šulcs
1e954c909b Attempt at refactoring to_currency into base (#135)
* Attempt at refactoring lv to base

* Remove dead files.

* Use static props.

* Convert doctests, move utils out.

* Refactor lt

* Update and move ru doctests.

* Refactor ru.

* Refactor pl.

* Move uk doctests.

* Refactor uk.

* DRY

* Cleanup.
2017-11-09 10:13:01 -05:00
Ernesto Rodriguez Ortiz
3da0c54f3b Activate flake8, isort and coveralls in the configuration of tox (#105)
* Activate flake8, isort and coveralls in the configuration of tox

* Update code to respect PEP8

* Fix bug in the lang_IT for python 3

* Update the README to include the new converters.
2017-10-30 14:06:46 -04:00
Jesús Leganés-Combarro 'piranna
29d9d2a336 Converted tabs indention to spaces 2017-09-05 22:36:37 +02:00
Krzysztof Socha
d586f620c5 Added unit tests for Polish language 2017-02-27 17:18:06 +01:00