[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] Determinants correction in i18n.py for pt_BR
From: |
Rodrigo Avila |
Subject: |
[Maposmatic-dev] Determinants correction in i18n.py for pt_BR |
Date: |
Mon, 11 Jan 2010 13:50:19 -0200 |
Hi all,
thanks to all in the help to configure git.
I'm new to git; "git diff master..translation > patch" and "git
format-patch master..translation > patch" don't work for me. These
commands returns nothing. But "git diff" show me the changes I made.
So...
This change is a correction of determinants to pt_BR. In the next
message, I send the diff of django.po.
diff --git a/ocitysmap/i18n.py b/ocitysmap/i18n.py
index 02dfb22..32fa35d 100644
--- a/ocitysmap/i18n.py
+++ b/ocitysmap/i18n.py
@@ -271,7 +271,7 @@ class i18n_pt_br_generic(i18n):
u"Setor", u"Sítio", u"Travessa", u"Trecho", u"Trevo",
u"Vale", u"Vereda", u"Via", u"Viaduto", u"Viela",
u"Vila" ]
- DETERMINANTS = [ u" do", u" da", u" dos", u" das'", u"" ]
+ DETERMINANTS = [ u" do", u" da", u" dos", u" das", u"" ]
SPACE_REDUCE = re.compile(r"\s+")
PREFIX_REGEXP = re.compile(r"^(?P<prefix>(%s)(%s)?)\s?\b(?P<name>.+)" %
("|".join(APPELLATIONS),
--
Rodrigo de Avila
Analista de Desenvolvimento
+55 51 9733.3488 • address@hidden • www.avila.net.br
- [Maposmatic-dev] Determinants correction in i18n.py for pt_BR,
Rodrigo Avila <=