From dcabd11e43333bdfa20064957f27cc625d8ff88b Mon Sep 17 00:00:00 2001 From: Fabian Stehle Date: Wed, 12 Jul 2017 11:24:31 +0200 Subject: [PATCH] Fix invalid translations 'msgid' and 'msgstr' entries do not both end with '\n' which is mandatory according to specification from the 'msgfmt' manual: ``` The msgid and msgstr strings are studied and compared. It is considered abnormal if one string starts or ends with a newline while the other does not. ``` Besides all placeholders from the 'msgid' must be used in the 'mgstr'. --- avatar/locale/fr/LC_MESSAGES/django.po | 5 +++-- avatar/locale/ru/LC_MESSAGES/django.po | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/avatar/locale/fr/LC_MESSAGES/django.po b/avatar/locale/fr/LC_MESSAGES/django.po index 1b1f395..5459622 100644 --- a/avatar/locale/fr/LC_MESSAGES/django.po +++ b/avatar/locale/fr/LC_MESSAGES/django.po @@ -117,8 +117,9 @@ msgid "" "\n" "http://%(current_site)s%(avatar_url)s\n" msgstr "" -"%(avatar_creator)s a mis à jour son avatar %(avatar)s." +"%(avatar_creator)s a mis à jour son avatar %(avatar)s\n" +"\n" +"http://%(current_site)s%(avatar_url)s\n" #: templates/notification/avatar_friend_updated/notice.html:2 #, python-format diff --git a/avatar/locale/ru/LC_MESSAGES/django.po b/avatar/locale/ru/LC_MESSAGES/django.po index 353d1fd..feb2b22 100644 --- a/avatar/locale/ru/LC_MESSAGES/django.po +++ b/avatar/locale/ru/LC_MESSAGES/django.po @@ -121,8 +121,9 @@ msgid "" "\n" "http://%(current_site)s%(avatar_url)s\n" msgstr "" -"%(avatar_creator)s обновил свои аватары %(avatar)s." +"%(avatar_creator)s обновил свои аватары %(avatar)s.\n" +"\n" +"http://%(current_site)s%(avatar_url)s\n" #: templates/notification/avatar_friend_updated/notice.html:2 #, python-format