[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 5/5] Workaround Django make messages bug when ge
From: |
Thomas Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 5/5] Workaround Django make messages bug when generating PO files |
Date: |
Sun, 1 Apr 2012 01:13:42 +0200 |
Signed-off-by: Thomas Petazzoni <address@hidden>
---
README | 7 +++++++
www/locale/ar/LC_MESSAGES/django.po | 6 +++---
www/locale/ca/LC_MESSAGES/django.po | 6 +++---
www/locale/de/LC_MESSAGES/django.po | 6 +++---
www/locale/es/LC_MESSAGES/django.po | 6 +++---
www/locale/hr_HR/LC_MESSAGES/django.po | 6 +++---
www/locale/id/LC_MESSAGES/django.po | 6 +++---
www/locale/it/LC_MESSAGES/django.po | 6 +++---
www/locale/nb/LC_MESSAGES/django.po | 6 +++---
www/locale/nl_NL/LC_MESSAGES/django.po | 6 +++---
www/locale/pl/LC_MESSAGES/django.po | 6 +++---
www/locale/pt_BR/LC_MESSAGES/django.po | 6 +++---
www/locale/ru/LC_MESSAGES/django.po | 6 +++---
13 files changed, 43 insertions(+), 36 deletions(-)
diff --git a/README b/README
index 5421a23..8e03e7e 100644
--- a/README
+++ b/README
@@ -36,3 +36,10 @@ done, don't forget to compile the .po file into an .mo file
using:
./manage.py compilemessages
+WARNING: There is a known bug in Django makemessages 1.2.x (and maybe
+ other versions are affected as well): percent (%) signs in
+ {%blocktrans%} tags are doubled (%%). This defeats the
+ matching of a msgid against source code. As a workaround, %%
+ signs in .po files must be replaced by single % signs. This
+ is typically needed for the Wikipedia URL pointing to the
+ Hacker culture.
diff --git a/www/locale/ar/LC_MESSAGES/django.po
b/www/locale/ar/LC_MESSAGES/django.po
index 1029cce..012018d 100644
--- a/www/locale/ar/LC_MESSAGES/django.po
+++ b/www/locale/ar/LC_MESSAGES/django.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-01-12 17:29+0300\n"
"Last-Translator: Bassem JARKAS <address@hidden>\n"
"Language-Team: Arabic Translation\n"
@@ -197,8 +197,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/ca/LC_MESSAGES/django.po
b/www/locale/ca/LC_MESSAGES/django.po
index bf803f6..5ec74e3 100644
--- a/www/locale/ca/LC_MESSAGES/django.po
+++ b/www/locale/ca/LC_MESSAGES/django.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-10-20 11:43+0200\n"
"Last-Translator: Joan Montané <joan--sense-spam--montane.cat>\n"
"Language-Team: Català <joan--sense-spam--montane.cat>\n"
@@ -212,8 +212,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/de/LC_MESSAGES/django.po
b/www/locale/de/LC_MESSAGES/django.po
index 7a367b1..87e6d97 100644
--- a/www/locale/de/LC_MESSAGES/django.po
+++ b/www/locale/de/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-12-23 23:02+0100\n"
"Last-Translator: malenki <address@hidden>\n"
"Language-Team: <address@hidden>\n"
@@ -209,8 +209,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/es/LC_MESSAGES/django.po
b/www/locale/es/LC_MESSAGES/django.po
index 0872464..8c9d89e 100644
--- a/www/locale/es/LC_MESSAGES/django.po
+++ b/www/locale/es/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2009-12-26 20:47+0100\n"
"Last-Translator: Jean-Guilhem Cailton <address@hidden>\n"
"Language-Team: ES <address@hidden>\n"
@@ -211,8 +211,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/hr_HR/LC_MESSAGES/django.po
b/www/locale/hr_HR/LC_MESSAGES/django.po
index 0826478..0c2c19f 100644
--- a/www/locale/hr_HR/LC_MESSAGES/django.po
+++ b/www/locale/hr_HR/LC_MESSAGES/django.po
@@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-02-09 20:43+0100\n"
"Last-Translator: David MENTRÉ <address@hidden>\n"
"Language-Team: FR <address@hidden>\n"
@@ -207,8 +207,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/id/LC_MESSAGES/django.po
b/www/locale/id/LC_MESSAGES/django.po
index 209f124..19cb4da 100644
--- a/www/locale/id/LC_MESSAGES/django.po
+++ b/www/locale/id/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2012-12-23 22:18-0800\n"
"Last-Translator: Jeff Haack <address@hidden>\n"
"Language-Team: MapOSMatic <address@hidden>\n"
@@ -215,8 +215,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/it/LC_MESSAGES/django.po
b/www/locale/it/LC_MESSAGES/django.po
index 416128f..06841f1 100644
--- a/www/locale/it/LC_MESSAGES/django.po
+++ b/www/locale/it/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2009-12-25 11:49+0100\n"
"Last-Translator: Thomas Petazzoni <address@hidden>\n"
"Language-Team: IT <address@hidden>\n"
@@ -210,8 +210,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/nb/LC_MESSAGES/django.po
b/www/locale/nb/LC_MESSAGES/django.po
index 68f30f4..a4e45fb 100644
--- a/www/locale/nb/LC_MESSAGES/django.po
+++ b/www/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-08-05 14:38+0100\n"
"Last-Translator: Hans Fredrik Nordhaug <address@hidden>\n"
"Language-Team: Norwegian Bokmål <address@hidden>\n"
@@ -197,8 +197,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/nl_NL/LC_MESSAGES/django.po
b/www/locale/nl_NL/LC_MESSAGES/django.po
index 7272d98..7dcb269 100644
--- a/www/locale/nl_NL/LC_MESSAGES/django.po
+++ b/www/locale/nl_NL/LC_MESSAGES/django.po
@@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-08-23 13:56+0200\n"
"Last-Translator: Jeroen van Rijn <address@hidden>\n"
"Language-Team: MapOSMatic Dutch Translation team\n"
@@ -212,8 +212,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/pl/LC_MESSAGES/django.po
b/www/locale/pl/LC_MESSAGES/django.po
index c8be51b..3f7331f 100644
--- a/www/locale/pl/LC_MESSAGES/django.po
+++ b/www/locale/pl/LC_MESSAGES/django.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-07-07 18:32+0200\n"
"Last-Translator: Łukasz Jernaś <address@hidden>\n"
"Language-Team: Polish <address@hidden>\n"
@@ -204,8 +204,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/pt_BR/LC_MESSAGES/django.po
b/www/locale/pt_BR/LC_MESSAGES/django.po
index 40b09bb..8488570 100644
--- a/www/locale/pt_BR/LC_MESSAGES/django.po
+++ b/www/locale/pt_BR/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-12-16 12:02-0300\n"
"Last-Translator: Rodrigo de Avila <address@hidden>\n"
"Language-Team: PT <address@hidden>\n"
@@ -207,8 +207,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
diff --git a/www/locale/ru/LC_MESSAGES/django.po
b/www/locale/ru/LC_MESSAGES/django.po
index 4a118ad..1aab742 100644
--- a/www/locale/ru/LC_MESSAGES/django.po
+++ b/www/locale/ru/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mapOSMatic 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-01 00:18+0200\n"
+"POT-Creation-Date: 2012-04-01 00:57+0200\n"
"PO-Revision-Date: 2010-01-06 00:28+0300\n"
"Last-Translator: Konstantin Mochalov <address@hidden>\n"
"Language-Team: LANGUAGE <address@hidden>\n"
@@ -210,8 +210,8 @@ msgid ""
"href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and free\n"
"software contributor of Rennes area, France. From his idea, a group of\n"
"crazy <a\n"
-"href=\"http://en.wikipedia.org/wiki/Hacker_%%28programmer_subculture"
-"%%29\">hackers</a>\n"
+"href=\"http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture"
+"%29\">hackers</a>\n"
"met together during a one-week <em>Hackfest</em> in August 2009 and\n"
"brought the idea of Gilles Lamiral to life by writing the code and\n"
"named the project <strong>MapOSMatic</strong>. The group of crazy\n"
--
1.7.4.1