Commit Graph

605 Commits

Author SHA1 Message Date
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
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
cyriaka90
e239f1a474 adapt polish tests 2022-08-16 14:00:15 +02:00
cyriaka90
e3d53c3ff9 fix Polish twenties 2022-08-16 14:00:15 +02:00
Sergio Zanchetta
389bfd555d Add tests for italian language currencies 2022-08-15 20:52:09 +02:00
Sergio Zanchetta
e8425024a6 Add to_currency and CURRENCY_FORMS for italian 2022-08-15 20:51:50 +02:00
ismail eski
febe8d5175 Merge branch 'master' into master 2022-08-13 23:41:00 +03:00
Antoine Planchot
66fc44d5db Merge branch 'master' into master 2022-08-12 10:56:35 +02:00
Marlon Rodriguez Garcia
cb22eecdc3 Merge branch 'master' into master 2022-08-11 14:59:47 -04:00
Marlon Rodriguez Garcia
13c5b1c8d1 Merge pull request #330 from gs202/master
Fix Hebrew pluralize and implement to_currency
2022-08-11 10:08:31 -04:00
Marlon Rodriguez Garcia
17cde9b6b8 Merge branch 'master' into master 2022-08-11 10:03:52 -04:00
Marlon Rodriguez Garcia
47a4b80215 Merge pull request #465 from devEyosiyas/master
Fix Amharic language support
2022-08-10 10:57:25 -04:00
Eyosiyas Bereketab
4c873a6a88 Add additional test case 2022-08-10 09:34:03 +03:00