Commit Graph

14 Commits

Author SHA1 Message Date
Zeno Gantner
b71facf3ea German: ordinals involving 'Million' etc. are written without space, and lower case 2019-01-13 23:55:34 +01:00
Zeno Gantner
e321caf392 Million etc. are upper case in German 2019-01-13 23:25:54 +01:00
Zeno Gantner
df65296a80 German: similar rule for million as for 100 and 1000; 2 more ordinal tests 2019-01-13 23:18:51 +01:00
Zeno Gantner
0398d16460 German: 2 more ordinal tests 2019-01-13 23:04:10 +01:00
Ernesto Rodriguez Ortiz
53b4518afb Issue 229: Add explicit encoding, license and unix line separators.
Some maintainers for different linux distribution are having some
problems with the encoding on different python versions. This change
intents to make all python files define explicitly the encoding, license
and unix line separators. Remove one example of the README.rst file
where a possible non UTF-8 character is used.
2018-12-23 12:10:24 -05:00
Hugo Lefeuvre
66a47e2423 Improve german support (#222)
* german: fix case in currency names

Also, add more tests for german language.

* german: default to amount of euros, not cents

If a non-float number is provided, interpret it as a quantity in euros,
not cents.

* german: handle "ein Euro" vs "eins Euro" exception

* german: prefer "einhundert" over "hundert"

"hundert" is usually colloquial (even if widely used).

Exception: "eintausendste" and "hundertste" are special cases, here
"hundertste" and "tausendste" are usually preferred (see Duden).
2018-11-16 16:19:36 -05:00
Sergej Herbert
6d30cb9e83 Increase German test coverage to 100% (#214)
* increase test coverage - german ordinal_num

* push coverage of german to 100%

* fix line width

* travis ci fix

* remove underscore between numbers due to backwords comp

* removed coverage file
2018-10-19 18:17:50 -04:00
Sergej Herbert
dd25a8b4bf Correction of german ordinals. (#213) 2018-10-15 09:45:00 -04:00
romangraef
0377347cb9 fixed pep8 line too long errors in tests/test_de.py 2018-10-05 20:14:28 -04:00
romangraef
5650d2818d added more tests to lang_DE.py 2018-10-05 20:14:28 -04:00
Ernesto Rodriguez Ortiz
1c699d1bb4 Fix bugs in the float precision and the currency, increase test coverage (#134)
* Fix some bugs in the float precision and the currency, increase test coverage.

Ref: issue #112 #113

* Update README.rst
2017-11-06 20:19:26 -05:00
Ernesto Rodriguez Ortiz
3da0c54f3b Activate flake8, isort and coveralls in the configuration of tox (#105)
* Activate flake8, isort and coveralls in the configuration of tox

* Update code to respect PEP8

* Fix bug in the lang_IT for python 3

* Update the README to include the new converters.
2017-10-30 14:06:46 -04:00
isnani
41a97d6931 add tests for lang_DE 2015-12-14 08:26:08 +01:00
isnani
797e74d1fc correction on lang_DE: ordnum, plural and ord form of >= 10**6 2015-12-12 16:54:30 +01:00