Commit Graph

162 Commits

Author SHA1 Message Date
Filippo Costa
90e7c9dc7d Improvements, corrections, and bug fixes for the lang_IT module. (#59)
* General refactoring and bug fixes for lang_IT

* Added Python3 support for lang_IT

* Bug fixes for ordinal numerals in lang_IT

* Fixed lang_IT for negative values and added tests

* Fixes and minor adjustments for floats in lang_IT

* Decimal => float in tests for lang_IT

* Moved a comment

* 'tre's accentuated, big numbers support, ordinal bug fix, comments, tests

* 'meno' and 'virgola' and now class values

* Destroyed EU inheritance
2017-03-17 09:12:44 -04:00
José Moreno
b0bca26924 [IMP]Adds new files for ES_CO and ES_VE. 2017-03-16 16:33:33 -05:00
José Moreno
905faa20fc [IMP]Adds new files for ES_CO and ES_VE. 2017-03-16 16:31:43 -05:00
Krzysztof Socha
7fdb61351b Cleaned-up whitespaces around operators 2017-02-27 21:57:11 +01:00
Krzysztof Socha
4d5a114cf3 Fixed integer division operator (/->//) to work also in python3 2017-02-27 21:44:43 +01:00
Krzysztof Socha
1667511ff3 Merge remote-tracking branch 'upstream/master' 2017-02-27 18:14:11 +01:00
Krzysztof Socha
f67d641968 Fixed issues with wrong text for currency conversion with whole 10s (e.g., 123.50) 2017-02-25 22:44:27 +01:00
Brett Anthoine
0b80fd4285 Use in operator instead of has_key for python3 support 2017-02-01 16:13:24 +01:00
Brett Anthoine
58a4e8e18b Fix syntax error 2017-02-01 08:49:34 +01:00
Brett Anthoine
bd1f4faf1d Update license header 2017-01-10 14:39:09 +01:00
Brett Anthoine
c9ecd07cbf Add italian ordinals. 2016-12-29 16:16:45 +01:00
Brett Anthoine
08779b28b2 Add support for italian. 2016-12-29 16:16:45 +01:00
Virgil Dupras
f7f1ba4583 Fix python3 syntax in lang_HE 2016-11-22 10:29:51 -05:00
Noah Santacruz
182b82cf1f Added Hebrew ordinal numbers #54
Squashed commit of the following:

commit 88b946ef72928e859d078f3febaf9c76ce0849b9
Merge: bca0277 79ab811
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Tue Nov 22 09:41:05 2016 +0200

    merge

commit bca0277424c074af217df5e86abfd2def3a30bc7
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Tue Nov 22 09:40:03 2016 +0200

    removed out.txt

commit 79ab811e97fd14bc5899174b198e86f5c6ba2c5f
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 18:09:42 2016 +0200

    Update README.rst

commit 507e4d4cec5b5458b2546ebebe5e49d376b88646
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 18:08:39 2016 +0200

    updated init

commit 7d3aa5ab33d92b0b374ed1bfbf17807836e465bf
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 16:05:06 2016 +0200

    changed init

commit 29b4c54047ff9ab84b4c95e9ff05ebcb12c15f49
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 16:01:17 2016 +0200

    added Hebrew
2016-11-22 10:29:28 -05:00
Virgil Dupras
20f634028d Convert to single codebase for py2 and py3
No more 2to3. Also, added tox config for easy cross-python testing.
2016-11-22 09:13:18 -05:00
Virgil Dupras
572789ac87 Merge pull request #52 from alpo/lt-euro
add actual Lithuanian currency (euro since 1 January 2015)
2016-10-18 09:35:00 -04:00
Alexey Porotnikov
2207226873 add actual Lithuanian currency (euro since 1 January 2015) 2016-09-13 10:05:43 +03:00
mr
273349a234 Translation of error messages
See https://github.com/savoirfairelinux/num2words/pull/45
2016-08-15 13:09:18 +02:00
Virgil Dupras
02bb4bcf13 Merge pull request #27 from isnani/master
correction on lang_DE: ordnum, plural and ord form of >= 10**6
2016-08-10 13:21:57 -04:00
Virgil Dupras
2d18b40150 Merge pull request #47 from akretion/pt_BR-change_point_to_comma
In Brazilian Portuguese the decimal sign is comma ','
2016-08-10 13:17:51 -04:00
AntonKorobkov
f98341731e added support for negative integers for Russian language 2016-08-10 18:06:46 +03:00
Magno Costa - Akretion
4e5c07522c In Brazilian Portuguese the decimal sign is comma ',' instead of dot '.'. Ex.: we use 1,01 instead of 1.01 2016-08-09 18:30:46 -03:00
Ernesto Rodriguez Ortiz
89ca2b7e8c Merge branch 'language_pt_BR' of https://github.com/filwaitman/num2words into filwaitman-language_pt_BR 2016-03-31 14:26:22 -04:00
Ernesto Rodriguez Ortiz
266fb9d2df Fix regression added in the PR Iss24. 2016-03-31 14:18:29 -04:00
Virgil Dupras
071ad5177b Merge PR #40 2016-03-31 11:04:47 -04:00
Virgil Dupras
f22b5d1ad7 Merge https://github.com/orjanv/num2words into master 2016-03-31 10:24:48 -04:00
isnani
d3d0af3040 add indonesian ('id') 2016-03-31 10:11:04 -04:00
alexpantyukhin
b9b6a8de42 add ru lang into supported languages 2016-03-31 09:29:05 -04:00
mdc
b1bbe109fc Corrected for special cases of currency and year 2016-03-21 16:11:54 +01:00
mdc
8fff34e318 Added og to hundreds, and a lot of other adjustments in the merge algorithm 2016-03-21 14:16:06 +01:00
mdc
cce1455846 Added the German algorithms, and begun adjusting them. 2016-03-21 11:09:30 +01:00
mdc
51d34ce78e Added functions that need to be overriden to lang_DK, created TODO's, added lang_DK to __init__ and added documentation to README 2016-03-19 22:21:14 +01:00
Ernesto Rodriguez Ortiz
023187b3cf Merge branch 'master' of https://github.com/anb/num2words into anb-master 2016-03-18 16:21:58 -04:00
Ernesto Rodriguez Ortiz
995c153d47 Merge branch 'iss24' of https://github.com/isnani/num2words into isnani-iss24 2016-03-18 15:55:25 -04:00
Brett Anthoine
e8bcc0ef2d Add Swiss-French variants of numbers between 60 and 100. 2016-03-18 15:52:30 +01:00
Filipe Waitman
eeadcc7d5b Add support to pt_BR language 2016-02-26 23:13:40 -03:00
isnani
073925b1d4 address issue 24: floating point spelling 2016-01-13 16:06:16 +01:00
Ørjan Vøllestad
01b87602c8 added norwegian support 2016-01-11 19:33:22 +01:00
isnani
9d99647e17 remove unnecessary self.ordflag 2015-12-14 08:40:32 +01:00
isnani
797e74d1fc correction on lang_DE: ordnum, plural and ord form of >= 10**6 2015-12-12 16:54:30 +01:00
Brett Anthoine
fc5c0dbdde Fix typo for 18 in german. 2015-10-29 16:11:58 +01:00
kszys
da74847df1 Added missing import of land_PL 2015-07-06 17:32:13 +02:00
kszys
f0418a3da5 Added the actual file for Polish language conversion 2015-07-05 11:59:11 +02:00
kszys
97a175b212 Added Polish language conversion 2015-07-05 11:52:13 +02:00
Blaž Bregar
b796aab4eb Added Slovenščina (sl_SI) 2015-06-20 20:21:37 +02:00
Blaž Bregar
f030d7ec69 Slovenščina 2015-06-20 20:18:26 +02:00
Virgil Dupras
fdeb061eca Fix 5 and 9 ordinals in french
fixes #18
2015-04-06 15:07:39 -04:00
Stefan Wehrmeyer
08760cf4d6 Fix spelling error of German number tausend 2015-02-04 19:14:08 +01:00
Virgil Dupras
4b35f533da Merge pull request #14 from frappe/master
Add Indian locale
2015-01-22 15:59:00 -05:00
Virgil Dupras
4c53549959 Merge pull request #13 from cesarizu/master
Updated spanish translations
2015-01-22 15:57:10 -05:00