Commit Graph

469 Commits

Author SHA1 Message Date
Marlon Rodriguez Garcia
5d1e3c7d1a Update __init__.py
remove space
2022-08-18 18:56:36 +02:00
Katsuya Iida
4e6a573248 Support Japanese Reiwa (令和/れいわ) era. 2022-08-18 18:55:44 +02:00
hamidreza kalbasi
464f9ed7af fix flake8 problems 2022-08-18 18:55:43 +02:00
hamidreza kalbasi
3d2fa184cf try fix test failure 2022-08-18 18:52:05 +02:00
hamidreza kalbasi
a1f0392beb remove unneccery if 2022-08-18 18:52:04 +02:00
hamidreza kalbasi
bbd9de8299 fix test coverage 2022-08-18 18:52:04 +02:00
hamidreza kalbasi
9f59c5c894 add basic farsi support 2022-08-18 18:52:04 +02:00
Gabriel Shekler
b01c44e33c typo 2022-08-18 18:52:04 +02:00
Gabriel Shekler
c11927b353 fix flake issues 2022-08-18 18:52:04 +02:00
gshekler
7993ca5023 typo 2022-08-18 18:52:04 +02:00
gshekler
f820ee5ec1 add unit tests 2022-08-18 18:52:03 +02:00
gshekler
07ea1baca2 implement currency for HE 2022-08-18 18:52:03 +02:00
gshekler
112e91c35a fix pluralize 2022-08-18 18:52:03 +02:00
Marlon Rodriguez Garcia
f2acbc2873 Add new check to base 2022-08-18 18:52:03 +02:00
Marlon Rodriguez Garcia
2cb98d3af1 Added new release 2022-08-18 18:52:03 +02:00
gonzy
b8a215a991 Added tests for every currency gender combination (dollars, cents) 2022-08-18 18:52:03 +02:00
gonzy
12e8402da4 Improved currency gender handling, now splitting 'dollars' and 'cents' parts on 2022-08-18 18:52:02 +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
Gonçal Garcés Díaz-Munío
db5e1d175f Fixed accent in Spanish command line examples
Fixed accent in Spanish command line examples ("centimos"->"céntimos"), thus making the example consistent with actual current behaviour.
2022-08-18 18:52:02 +02:00
Gonçal
d4c979ea52 Fixed accent in examples ("centimos"->"céntimos")
Fixed accent in Spanish examples ("centimos"->"céntimos"), thus making the example consistent with actual current behaviour.
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
Gonçal
4afc68f233 flake8 fix: fixed comment style
Fixed:
./num2words/lang_ES.py:366:56: E261 at least two spaces before inline comment
./num2words/lang_ES.py:366:80: E501 line too long (100 > 79 characters)
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
Gonçal
a61760bd28 Orthography fix: added accent veintiun->veintiún 2022-08-18 18:52:01 +02:00
Gonçal
0b896c5c7d Orthography fixes: added 2 missing accents (dieciseis->dieciséis ; dolar->dólar) 2022-08-18 18:52:01 +02:00
Marlon Rodriguez
5a8a17d144 feat: ci: replace travis by github workflows 2022-08-18 18:52:01 +02:00
ismail eski
3b27a09a30 [FIX] /num2words/lang_TR.py:812:1: W293 blank line contains whitespace 2022-08-18 18:52:01 +02:00
İsmail Eski
b5875b81f7 [ADD] to ordinal number for Turkish 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
Erwin de Haan
5cb46055d7 Fix ordinal_num output for Dutch (NL) 2022-08-18 18:52:00 +02:00
Peter Nordstrom
f1cfc8e41e updated readme (added swedish) 2022-08-18 18:52:00 +02:00
Peter Nordstrom
2039df64cf split some lines that were too long for flake8 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
Israel Teixeira
cb24e20785 This error is already raised in line 223 2022-08-18 18:51:59 +02:00
Maroua Romdhane
9c64d48612 [UPD] Readme file 2022-08-18 18:51:59 +02:00
Israel Teixeira
8db643a918 Remove dupplicated line in lang_PT_BR
Remove an unnecessary condition, since the very same action follows it.
2022-08-18 18:51:58 +02:00
Willem Van Onsem
47a3cac323 Fix zeroth in Dutch to nulde fixing #325 2020-09-21 18:54:03 +02:00
Daniel Marai
e5bed36054 Removed unnecessary whitespaces 2020-05-03 23:27:34 -04:00
Daniel Marai
fb7ac21089 Fixed comma error 2020-05-03 23:27:34 -04:00
Daniel Marai
4dab316025 Added support for Hungarian language 2020-05-03 23:27:34 -04:00
Sarah Beranek
ebdb52e55f Update README.rst 2020-01-16 08:55:23 -05:00
Olzhas
7c924fe8ef Added kazakh lang to README 2020-01-15 09:39:52 -05:00
Olzhas
c2abbbec59 Linted KZ modules 2020-01-15 09:39:52 -05:00