Commit Graph

629 Commits

Author SHA1 Message Date
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
Marlon Rodriguez Garcia
48dd5bd0f7 Merge pull request #468 from ieski/master
[ADD] to ordinal number for Turkish
2022-08-18 12:25:12 -04:00
ismail eski
a05f6e5c1d [FIX] E231 missing whitespace after ',' 2022-08-18 18:48:10 +03:00
Marlon Rodriguez Garcia
605d82ec34 Merge branch 'master' into master 2022-08-18 10:07:36 -04:00
ismail eski
c19ea13145 [TEST] ordinal_num test 2022-08-17 19:56:11 +03:00
ismail eski
e000cd2dab Merge branch 'master' of github.com-ieski:ieski/num2words 2022-08-17 19:12:50 +03:00
ismail eski
3187fa2e05 [TEST] ordinal_num test 2022-08-17 19:12:11 +03:00
Marlon Rodriguez Garcia
e08193a367 Merge branch 'master' into master 2022-08-17 11:41:19 -04:00
Marlon Rodriguez Garcia
18b00075fc Merge pull request #387 from OpesMentis/master
Added support for Esperanto numbers.
2022-08-17 11:37:05 -04:00
Marlon Rodriguez Garcia
ebada15c04 Merge branch 'master' into master 2022-08-17 11:24:27 -04:00
ismail eski
0b435c427b Merge branch 'savoirfairelinux:master' into master 2022-08-17 18:10:02 +03:00
ismail eski
2ced5f9458 Merge branch 'master' of github.com-ieski:ieski/num2words 2022-08-17 18:09:30 +03:00
ismail eski
8633c0baf2 [FIX] /num2words/lang_TR.py:812:1: W293 blank line contains whitespace 2022-08-17 18:09:07 +03:00
Marlon Rodriguez Garcia
8816154db5 Merge pull request #422 from DogRuz/master
- add uzs for ru and en
2022-08-16 09:57:20 -04:00
Marlon Rodriguez Garcia
2dee99ab1e Merge branch 'master' into master 2022-08-16 09:51:53 -04:00
Marlon Rodriguez Garcia
540c5bdfd2 Merge pull request #345 from cyriaka90/fix_polish_twenty
fix Polish twenties
2022-08-16 09:25:08 -04:00
Marlon Rodriguez Garcia
6284e71297 Merge branch 'master' into fix_polish_twenty 2022-08-16 09:18:42 -04:00
Marlon Rodriguez Garcia
d8c199b00c Merge pull request #434 from PNLUG/add-to_currency_support
[ADD] num2words: add support to translate some currencies in italian language
2022-08-16 09:18:11 -04:00
cyriaka90
91e6d76710 Merge branch 'master' into fix_polish_twenty 2022-08-16 15:05:19 +02:00
cyriaka90
3715260bc5 increase Polish test coverage 2022-08-16 14:58:50 +02:00