Bug#881727: django-allauth: Invalid character reference 138 in "Last Translator" field in some .po files

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <151067227116.20079.2284862763713051458.reportbug__11782.8662893318$1510672526$gmane$org@larjona-pc.etsia.upm.es>
Package: django-allauth
Severity: wishlist
Tags: patch l10n upstream

Dear Maintainer,

Some of the upstream .po files, in the "Last translator" field, include a name
of translator with a bad encoded character (numeric character reference 138
instead of Š). This produces "Tidy Validation" warning messages when building
the Debian website pages:

*** /srv/www.debian.org/www/international/l10n/po/es.fr.html
line 1008 column 412 - Warning: replacing invalid numeric character reference
138
*** /srv/www.debian.org/www/international/l10n/po/pt_PT.fr.html
line 176 column 418 - Warning: replacing invalid numeric character reference
138
*** /srv/www.debian.org/www/international/l10n/po/sv.fr.html
line 806 column 413 - Warning: replacing invalid numeric character reference
138
*** /srv/www.debian.org/www/international/l10n/po/tr.fr.html
line 845 column 412 - Warning: replacing invalid numeric character reference
138

That are sent daily or weekly to the corresponding translation coordinators in
Debian, and some Debian website team members.

I'm attaching a diff that hopefully fixes the problem, using the correct UTF-8
character.

(Meanwhile this issue is fixed, I'll disable the tidy check for the affected
languages in the Debian website build scripts).

Best regards

Laura Arjona Reina
https://wiki.debian.org/LauraArjona
fix_encoding.diff (text/plain, 2.2 KB)
diff --git a/allauth/locale/es/LC_MESSAGES/django.po b/allauth/locale/es/LC_MESSAGES/django.po
index ec445b9..f1e9b3c 100644
--- a/allauth/locale/es/LC_MESSAGES/django.po
+++ b/allauth/locale/es/LC_MESSAGES/django.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-07-26 12:52-0500\n"
 "PO-Revision-Date: 2014-08-12 00:30+0200\n"
-"Last-Translator: Jannis Š\n"
+"Last-Translator: Jannis Š\n"
 "Language-Team: Spanish (http://www.transifex.com/projects/p/django-allauth/"
 "language/es/)\n"
 "Language: es\n"
diff --git a/allauth/locale/pt_PT/LC_MESSAGES/django.po b/allauth/locale/pt_PT/LC_MESSAGES/django.po
index 8844af9..df2ae5e 100644
--- a/allauth/locale/pt_PT/LC_MESSAGES/django.po
+++ b/allauth/locale/pt_PT/LC_MESSAGES/django.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-07-26 12:52-0500\n"
 "PO-Revision-Date: 2014-08-12 00:33+0200\n"
-"Last-Translator: Jannis Š\n"
+"Last-Translator: Jannis Š\n"
 "Language-Team: Portuguese (Portugal) (http://www.transifex.com/projects/p/"
 "django-allauth/language/pt_PT/)\n"
 "Language: pt_PT\n"
diff --git a/allauth/locale/sv/LC_MESSAGES/django.po b/allauth/locale/sv/LC_MESSAGES/django.po
index d3eb018..1ae0849 100644
--- a/allauth/locale/sv/LC_MESSAGES/django.po
+++ b/allauth/locale/sv/LC_MESSAGES/django.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-07-26 12:52-0500\n"
 "PO-Revision-Date: 2014-08-12 00:35+0200\n"
-"Last-Translator: Jannis Š\n"
+"Last-Translator: Jannis Š\n"
 "Language-Team: Swedish (http://www.transifex.com/projects/p/django-allauth/"
 "language/sv/)\n"
 "Language: sv\n"
diff --git a/allauth/locale/tr/LC_MESSAGES/django.po b/allauth/locale/tr/LC_MESSAGES/django.po
index 8c9d829..2fbf442 100644
--- a/allauth/locale/tr/LC_MESSAGES/django.po
+++ b/allauth/locale/tr/LC_MESSAGES/django.po
@@ -10,7 +10,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-07-26 12:52-0500\n"
 "PO-Revision-Date: 2014-08-12 00:35+0200\n"
-"Last-Translator: Jannis Š\n"
+"Last-Translator: Jannis Š\n"
 "Language-Team: Turkish (http://www.transifex.com/projects/p/django-allauth/"
 "language/tr/)\n"
 "Language: tr\n"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.