From e1dab7f062f495b225fbab4f66044d6d3134bdec Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 22 Nov 2016 08:18:59 +0100 Subject: Updated translations. --- src/web/translations/fr/LC_MESSAGES/messages.mo | Bin 17912 -> 18007 bytes src/web/translations/fr/LC_MESSAGES/messages.po | 8 ++++++-- src/web/translations/messages.pot | 6 +++++- src/web/views/user.py | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'src/web') diff --git a/src/web/translations/fr/LC_MESSAGES/messages.mo b/src/web/translations/fr/LC_MESSAGES/messages.mo index 19e062fa..81dad4bc 100644 Binary files a/src/web/translations/fr/LC_MESSAGES/messages.mo and b/src/web/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/src/web/translations/fr/LC_MESSAGES/messages.po b/src/web/translations/fr/LC_MESSAGES/messages.po index 0fb41d61..a4e8b036 100644 --- a/src/web/translations/fr/LC_MESSAGES/messages.po +++ b/src/web/translations/fr/LC_MESSAGES/messages.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-21 13:33+0100\n" -"PO-Revision-Date: 2016-11-21 13:33+0100\n" +"POT-Creation-Date: 2016-11-22 08:18+0100\n" +"PO-Revision-Date: 2016-11-22 08:18+0100\n" "Last-Translator: Cedric Bonhomme \n" "Language-Team: fr \n" "Language: fr\n" @@ -913,6 +913,10 @@ msgstr "Problème lors de l'envoi d'email d'activation: %(error)s" msgid "Your account has been created. Check your mail to confirm it." msgstr "Votre compte a été créé. Vérifiez votre courrier pour le confirmer." +#: ../views/user.py:32 +msgid "You must set your profile to public." +msgstr "Vous devez mettre votre profil en public." + #: ../views/user.py:60 ../views/user.py:76 ../views/user.py:85 msgid "File not allowed." msgstr "Fichier non autorisé." diff --git a/src/web/translations/messages.pot b/src/web/translations/messages.pot index d9cb53b0..bd36878b 100644 --- a/src/web/translations/messages.pot +++ b/src/web/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-21 13:33+0100\n" +"POT-Creation-Date: 2016-11-22 08:17+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -881,6 +881,10 @@ msgstr "" msgid "Your account has been created. Check your mail to confirm it." msgstr "" +#: ../views/user.py:32 +msgid "You must set your profile to public." +msgstr "" + #: ../views/user.py:60 ../views/user.py:76 ../views/user.py:85 msgid "File not allowed." msgstr "" diff --git a/src/web/views/user.py b/src/web/views/user.py index 58c23dd2..34e0b513 100644 --- a/src/web/views/user.py +++ b/src/web/views/user.py @@ -29,7 +29,7 @@ def profile_public(nickname=None): user = user_contr.get(nickname=nickname) if not user.is_public_profile: if current_user.is_authenticated and current_user.id == user.id: - flash('You must set your profile to public.', 'info') + flash(gettext('You must set your profile to public.'), 'info') return redirect(url_for('user.profile')) filters = {} -- cgit