Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zeroth in Dutch to nulde fixing #325 #326

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
47a3cac
Fix zeroth in Dutch to nulde fixing #325
KommuSoft Sep 21, 2020
8db643a
Remove dupplicated line in lang_PT_BR
israelst Dec 22, 2020
9c64d48
[UPD] Readme file
mromdhane Jan 21, 2021
cb24e20
This error is already raised in line 223
israelst Jan 26, 2021
1b35e7f
added swedish language including test cases
peternordstrombookbeat Dec 7, 2020
a35effb
added correct ordinal handling and more test cases
peternordstrombookbeat Dec 7, 2020
469aaff
updated test case to increase coverage. raised NotImplementedError fo…
peternordstrombookbeat Jan 25, 2021
3e494d7
updated failing flake8 test
peternordstrombookbeat Jan 26, 2021
402b1e8
Add translations to spanish of several currencies
fernandahf Dec 23, 2020
2039df6
split some lines that were too long for flake8
peternordstrombookbeat Jan 27, 2021
f1cfc8e
updated readme (added swedish)
peternordstrombookbeat Jan 28, 2021
5cb4605
Fix ordinal_num output for Dutch (NL)
EraYaN Feb 14, 2021
ea82fe1
[ADD] polish ordinal numbers (#367)
PaulinaKomorek Apr 23, 2021
79a9abf
[tr] return Turkish 0 ordinal and cardinal (#347)
cyriaka90 May 7, 2021
6bf14be
Improve Ukrainian support and minor fixes in CZ, KZ, LT, LV, PL, RU, …
rostyslav80 Jun 30, 2021
b5875b8
[ADD] to ordinal number for Turkish
ieski Oct 12, 2021
3b27a09
[FIX] /num2words/lang_TR.py:812:1: W293 blank line contains whitespace
ieski Aug 17, 2022
5a8a17d
feat: ci: replace travis by github workflows
Mar 19, 2022
0b896c5
Orthography fixes: added 2 missing accents (dieciseis->dieciséis ; do…
gonsalet Feb 16, 2022
a61760b
Orthography fix: added accent veintiun->veintiún
gonsalet Feb 16, 2022
1cea151
Orthography fixes: added missing accent (nuevos dolares->nuevos dólar…
gonsalet Feb 16, 2022
4afc68f
flake8 fix: fixed comment style
gonsalet Feb 16, 2022
fc0c15c
Fixed pound cents: penny->penique, pence->peniques; fixed tests accor…
gonsalet Feb 16, 2022
0ee149a
Added test covering new fix penny->penique
gonsalet Feb 16, 2022
d4c979e
Fixed accent in examples ("centimos"->"céntimos")
gonsalet Mar 5, 2022
db5e1d1
Fixed accent in Spanish command line examples
gonsalet Mar 21, 2022
62eba31
lang_ES: improved currency gender handling, improved error messages; …
gonsalet Mar 23, 2022
12e8402
Improved currency gender handling, now splitting 'dollars' and 'cents…
gonsalet Mar 23, 2022
b8a215a
Added tests for every currency gender combination (dollars, cents)
gonsalet Mar 23, 2022
2cb98d3
Added new release
Aug 3, 2022
f2acbc2
Add new check to base
Aug 4, 2022
112e91c
fix pluralize
Oct 3, 2020
07ea1ba
implement currency for HE
Oct 3, 2020
f820ee5
add unit tests
Oct 3, 2020
7993ca5
typo
Oct 3, 2020
c11927b
fix flake issues
gs202 Aug 6, 2022
b01c44e
typo
gs202 Aug 6, 2022
9f59c5c
add basic farsi support
HKalbasi Dec 16, 2020
bbd9de8
fix test coverage
HKalbasi Jan 24, 2021
a1f0392
remove unneccery if
HKalbasi Jan 24, 2021
3d2fa18
try fix test failure
HKalbasi Jan 24, 2021
464f9ed
fix flake8 problems
HKalbasi Jan 25, 2021
4e6a573
Support Japanese Reiwa (令和/れいわ) era.
kaiidams Aug 20, 2021
5d1e3c7
Update __init__.py
mrodriguezg1991 Aug 4, 2022
16229a3
Add Amharic language
Aug 7, 2022
4355e11
Update init for Amharic language
Aug 7, 2022
736db51
Update Amharic language
Aug 7, 2022
770cd6d
Add Amharic currency form
Aug 7, 2022
a5a812d
Add test cases
Aug 7, 2022
5948065
Fix flake 8 requirements in python3.1 and increase test coverage.
Aug 9, 2022
83203ed
Fix line too long __init__.py
Aug 9, 2022
8ed54f3
Update Amharic language support
devEyosiyas Aug 9, 2022
5bfcebd
Added Tajik language support
decherd Jul 2, 2021
af97683
Added test for OverflowError and ordinal_num
decherd Jul 2, 2021
beb3326
Added MEGA_SUFFIX and GIGA_SUFFIX tests
decherd Jul 2, 2021
7bf80d5
Fixed flake8 errors
decherd Aug 9, 2022
a744270
Update __init__.py
devEyosiyas Aug 9, 2022
2ca9897
Add additional test case
Aug 10, 2022
084ace6
- add uzs for ru and en
Nov 2, 2021
d1fe269
fix Polish twenties
cyriaka90 Nov 9, 2020
5878cd0
adapt polish tests
cyriaka90 Nov 9, 2020
e4b75bb
increase Polish test coverage
cyriaka90 Aug 16, 2022
3dda6ee
Add to_currency and CURRENCY_FORMS for italian
primes2h Jan 15, 2022
593435f
Add tests for italian language currencies
primes2h Jan 16, 2022
44a2b7c
[TEST] ordinal_num test
ieski Aug 17, 2022
75eec68
Added support for Esperanto numbers.
OpesMentis May 14, 2021
7109e16
[TEST] ordinal_num test
ieski Aug 17, 2022
b6a80e0
[FIX] E231 missing whitespace after ','
ieski Aug 18, 2022
2ee06aa
reformatting
KommuSoft Aug 18, 2022
bb1c718
Merge remote-tracking branch 'org/master' into bugfix/dutch_zero_ordinal
KommuSoft Aug 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion num2words/lang_NL.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ def setup(self):
"zes", "vijf", "vier", "drie", "twee", "één",
"nul"]

self.ords = {"één": "eerst",
# Wiktionary says it is "nulde", not "nulte" or "nule"
# https://en.wiktionary.org/wiki/nulde
self.ords = {"nul": "nuld",
"één": "eerst",
"twee": "tweed",
"drie": "derd",
"vier": "vierd",
Expand Down
1 change: 1 addition & 0 deletions tests/test_nl.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def test_ordinal_more_than_twenty(self):
)

def test_ordinal_at_crucial_number(self):
self.assertEqual(num2words(0, ordinal=True, lang='nl'), "nulde")
self.assertEqual(num2words(100, ordinal=True, lang='nl'), "honderdste")
self.assertEqual(
num2words(1000, ordinal=True, lang='nl'), "duizendste"
Expand Down