From cfd681247092b2cfe3a855e55ab6decf3680fc3e Mon Sep 17 00:00:00 2001 From: Alexis Sanchez Date: Mon, 21 Oct 2013 10:41:29 -0430 Subject: [PATCH] Fix For big numbers in spanish Fix for millons in spanish --- num2words/lang_ES.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num2words/lang_ES.py b/num2words/lang_ES.py index 4bcf938..113a2b0 100644 --- a/num2words/lang_ES.py +++ b/num2words/lang_ES.py @@ -76,7 +76,7 @@ class Num2Word_ES(Num2Word_EU): return ("%s y %s"%(ctext, ntext), cnum + nnum) return ("%s %s"%(ctext, ntext), cnum + nnum) elif (not nnum % 1000000) and cnum > 1: - ntext = ntext[:-3] + "ones" + ntext = ntext[:-3] + "lones" if nnum == 100: if cnum == 5: