mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Orthography fix: added accent veintiun->veintiún
This commit is contained in:
@@ -363,4 +363,5 @@ class Num2Word_ES(Num2Word_EU):
|
|||||||
list_result[0] = list_result[0].replace("uno", "una")
|
list_result[0] = list_result[0].replace("uno", "una")
|
||||||
result = " ".join(list_result)
|
result = " ".join(list_result)
|
||||||
result = result.replace("uno", "un")
|
result = result.replace("uno", "un")
|
||||||
|
result = result.replace("veintiun", "veintiún") # correct orthography for this specific case
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user