Commit Graph

472 Commits

Author SHA1 Message Date
Marlon Rodriguez Garcia
d741a9d790 Update __init__.py
remove space
2022-08-04 16:17:58 -04:00
Marlon Rodriguez Garcia
c40b9cf6e6 Merge branch 'master' into master 2022-08-04 16:14:55 -04:00
Katsuya Iida
b8a1d3168e Support Japanese Reiwa (令和/れいわ) era. 2022-08-04 14:01:03 -04:00
Marlon Rodriguez Garcia
2a0148ba4d Add new check to base 2022-08-04 12:17:20 -04:00
Marlon Rodriguez Garcia
f89306e32c Added new release 2022-08-03 15:09:49 -04:00
gonzy
4d4ca043f7 Added tests for every currency gender combination (dollars, cents) 2022-08-03 10:19:24 -04:00
gonzy
ef69a13084 Improved currency gender handling, now splitting 'dollars' and 'cents' parts on 2022-08-03 10:19:24 -04:00
gonzy
72f1f88c2c lang_ES: improved currency gender handling, improved error messages; test_es: updated accordingly 2022-08-03 10:19:24 -04:00
Gonçal Garcés Díaz-Munío
bd699be047 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-03 10:19:24 -04:00
Gonçal
996f5ddbd4 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-03 10:19:24 -04:00
gonzy
4f82655c74 Added test covering new fix penny->penique 2022-08-03 10:19:24 -04:00
gonzy
5602246319 Fixed pound cents: penny->penique, pence->peniques; fixed tests accordingly 2022-08-03 10:19:24 -04:00
Gonçal
b60a58bc85 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-03 10:19:24 -04:00
gonzy
30f23ccd13 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-03 10:19:24 -04:00
Gonçal
7d613beb9d Orthography fix: added accent veintiun->veintiún 2022-08-03 10:19:24 -04:00
Gonçal
bba96cf1fa Orthography fixes: added 2 missing accents (dieciseis->dieciséis ; dolar->dólar) 2022-08-03 10:19:24 -04:00
support-savoirfairelinux
edb289c3d0 Merge pull request #448 from savoirfairelinux/replace-travis
feat: ci: replace travis by github workflows
2022-07-19 10:15:53 -04:00
Marlon Rodriguez
b70a28dab7 feat: ci: replace travis by github workflows 2022-03-20 21:10:15 -04:00
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
cyriaka90
8061cf3b20 [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
2021-05-07 11:05:01 -04:00
Paulina Komorek
3f5f6163cd [ADD] polish ordinal numbers (#367) 2021-04-23 15:27:47 -04:00
Maroua Romdhane
8cc0e24596 Merge pull request #369 from EraYaN/EraYaN-dutch-ordinal_num-fix
[Fix] ordinal_num output for Dutch (NL)
2021-03-05 17:22:01 -05:00
Erwin de Haan
9082085d59 Fix ordinal_num output for Dutch (NL) 2021-02-14 19:56:24 +01:00
Maroua Romdhane
a2abf77232 Merge pull request #355 from israelst/patch-1
Remove dupplicated line in lang_PT_BR
2021-01-29 11:50:06 -05:00
Ernesto Rodriguez Ortiz
bc80d18203 Merge branch 'master' into patch-1 2021-01-28 11:40:30 -05:00
Maroua Romdhane
75c1489874 Merge pull request #352 from peternordstrom/Swedish
added swedish language including test cases
2021-01-28 11:37:22 -05:00
Peter Nordstrom
94db9521b0 updated readme (added swedish) 2021-01-28 08:09:56 +01:00
Peter Nordstrom
219c2a5eb4 split some lines that were too long for flake8 2021-01-27 08:09:27 +01:00
Peter Nordstrom
0f325f8a82 Merge branch 'Swedish' of https://github.com/peternordstrom/num2words into Swedish 2021-01-26 08:43:22 +01:00
peternordstrom
5cb823af02 Merge branch 'master' into Swedish 2021-01-26 08:42:37 +01:00
Peter Nordstrom
e6fb2b128b updated failing flake8 test 2021-01-26 08:40:17 +01:00
Fernanda Hernandez
400917aa89 Add translations to spanish of several currencies 2021-01-25 21:48:53 -05:00
Israel Teixeira
5611325b9d This error is already raised in line 223 2021-01-25 22:31:17 -03:00
peternordstrom
92158f031f Merge branch 'master' into Swedish 2021-01-25 14:41:07 +01:00
Peter Nordstrom
3b52c5f924 updated test case to increase coverage. raised NotImplementedError for options not implemented. 2021-01-25 14:30:43 +01:00
hamidreza kalbasi
6cbd81cfbb fix flake8 problems 2021-01-25 10:34:01 +03:30
hamidreza kalbasi
5bb2be74a2 fix format problem 2021-01-25 01:16:45 +03:30
hamidreza kalbasi
a51b3e4d2b try fix test failure 2021-01-25 00:14:05 +03:30
HKalbasi
9a45cff4e9 Merge branch 'master' into master 2021-01-24 23:10:50 +03:30
hamidreza kalbasi
ca2651ad0f remove unneccery if 2021-01-24 10:30:06 +03:30
hamidreza kalbasi
b191c1fe1e fix test coverage 2021-01-24 10:10:24 +03:30
Ernesto Rodriguez Ortiz
003800422e Merge branch 'master' into patch-1 2021-01-23 22:25:30 -05:00
Maroua Romdhane
d90f99d4a4 [UPD] Readme file 2021-01-23 21:34:36 -05:00
Israel Teixeira
1f6ac0a7e3 Remove dupplicated line in lang_PT_BR
Remove an unnecessary condition, since the very same action follows it.
2020-12-22 07:43:10 -03:00
hamidreza kalbasi
f65df3fc61 add basic farsi support 2020-12-16 21:11:52 +03:30
Peter Nordstrom
e88f3d75e3 added correct ordinal handling and more test cases 2020-12-07 16:24:58 +01:00
Peter Nordstrom
895af7dccf added swedish language including test cases 2020-12-07 14:24:51 +01: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