Merge pull request #47 from akretion/pt_BR-change_point_to_comma

In Brazilian Portuguese the decimal sign is comma ','
This commit is contained in:
Virgil Dupras
2016-08-10 13:17:51 -04:00
committed by GitHub
2 changed files with 12 additions and 12 deletions

View File

@@ -30,9 +30,9 @@ class Num2Word_PT_BR(lang_EU.Num2Word_EU):
def setup(self):
self.negword = "menos "
self.pointword = "ponto"
self.pointword = "vírgula"
self.errmsg_nornum = "Somente números podem ser convertidos para palavras"
self.exclude_title = ["e", "ponto", "menos"]
self.exclude_title = ["e", "vírgula", "menos"]
self.mid_numwords = [
(1000, "mil"), (100, "cem"), (90, "noventa"),