Commit Graph

166 Commits

Author SHA1 Message Date
Dhaifallah Alwadani
eea901734a fix encoding 2017-06-22 23:22:33 +03:00
Dhaifallah Alwadani
7921560514 Add arabic to README 2017-06-21 22:22:27 +03:00
Dhaifallah Alwadani
f423a9398f add support for Arabic 2017-06-21 22:20:22 +03:00
Ernesto Rodriguez Ortiz
eb465df78a Merge pull request #67 from 10537/master
[IMP]Adds es_CO and es_VE support.
2017-04-27 12:41:06 -04:00
Ernesto Rodriguez Ortiz
48c25da767 Merge pull request #68 from cclauss/patch-1
classifiers=CLASSIFIERS
2017-04-14 14:17:01 -04:00
cclauss
dd1a3f09a3 classifiers=CLASSIFIERS,
This will populate the lower left of https://pypi.org/project/num2words
2017-04-12 21:20:37 +02:00
José Moreno
bccd3c0508 [MERGE]Conflicts resolved. 2017-04-04 10:48:09 -05:00
Ernesto Rodriguez Ortiz
b77414053b Merge pull request #62 from dazre/master
fixed some spelling problems for Russian
2017-04-04 10:42:06 -04:00
dazre
4225663bd2 Merge branch 'master' into master 2017-04-04 17:34:26 +03:00
dazre
e226cf7d73 add test 2017-04-04 17:32:55 +03:00
Ernesto Rodriguez Ortiz
caa8903599 Merge pull request #61 from anothingguy/master
[ADD] support VietNam
2017-04-03 18:04:45 -04:00
Ernesto Rodriguez Ortiz
9028a5e90b Made to_ordinal() implementation python3 compatible for lang es
Ref: issue # 10537
2017-04-03 17:43:07 -04:00
Ernesto Rodriguez Ortiz
76fd9d905f Fix the tests after the changes proposed by @10537
Ref: issuer # 10537
2017-04-03 17:29:03 -04:00
Diep Huu Hoang
c200d97bd7 [IMP] Improve convert number method and add unittest for Vietnam lang 2017-04-01 12:39:26 +07:00
Ernesto Rodriguez Ortiz
dac18f8928 Merge branch 'master' of git://github.com/10537/num2words into 10537-master 2017-03-31 17:49:24 -04:00
José Moreno
fb2911deea [FIX]Fixed typo errors and PEP8 errors.
[DEL]Deleted test_case currency.
2017-03-31 10:53:55 -05:00
José Moreno
afcaff8100 [IMP] Adds a better test cases. 2017-03-31 10:38:39 -05:00
José Moreno
19d0a903ab [IMP] Adds test files for es, es_co and es_ve. 2017-03-31 10:15:53 -05:00
José Moreno
91f3dc6854 [IMP]Adds new languages in init file. 2017-03-30 14:59:48 -05:00
dazre
ba8db25898 add leading Ones
It's more more correctly in Russian:
num2words(1135, lang='ru') -> одна тысяча сто тридцать пять
num2words(1000139, lang='ru') -> один миллион сто тридцать девять
2017-03-30 15:37:42 +03:00
dazre
321dfd3bca remove middle THOUSANDS in case of zero digits
Error:
num2words(1000139, lang='ru') -> миллион *тысяч* сто тридцать девять
Fix:
num2words(1000139, lang='ru') -> миллион сто тридцать девять
2017-03-30 15:33:37 +03:00
José Moreno
02b73fd444 [IMP]Deleted unnecessary super return. 2017-03-27 10:30:13 -05:00
José Moreno
aff876c4a6 [IMP]Reworked the files ES_CO and ES_VE. 2017-03-27 10:23:34 -05:00
Diep Huu Hoang
c2148d15ef [ADD] support VietNam 2017-03-19 22:41:41 +07:00
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
Ernesto Rodriguez Ortiz
907ebbc812 Update README.rst to show TravisCI build status. 2017-02-27 16:05:21 -05:00
Ernesto Rodriguez Ortiz
710a3b60c1 Merge pull request #58 from kszys/master
Fixed issues with wrong text for currency in Polish language
2017-02-27 15:58:59 -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
c459d9ba82 Cleaned-up some test files 2017-02-27 17:23:52 +01:00
Krzysztof Socha
94d4e85992 Cleaned-up some test files 2017-02-27 17:22:31 +01:00
Krzysztof Socha
d586f620c5 Added unit tests for Polish language 2017-02-27 17:18:06 +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
Virgil Dupras
f29e792757 Merge pull request #57 from savoirfairelinux/show-build-status
Show the TravisCI build status in the project page.
2017-02-02 12:16:14 -05:00
Ernesto Rodriguez Ortiz
fb281568b2 Show the TravisCI build status in the project page. 2017-02-01 15:01:53 -05:00
Virgil Dupras
8468654d86 tox.ini: add py35 and py36 envs 2017-02-01 10:32:10 -05:00
Virgil Dupras
0f21d8f825 README: Add Italian to the list of supported languages 2017-02-01 10:31:41 -05:00
Virgil Dupras
903a69cfa9 Merge pull request #56 from anb/master
Italian support
2017-02-01 10:30:05 -05: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
Virgil Dupras
08e9154366 Add travis config 2017-01-18 11:15:03 -05: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