aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/translations/fr/LC_MESSAGES/messages.mobin17912 -> 18007 bytes
-rw-r--r--src/web/translations/fr/LC_MESSAGES/messages.po8
-rw-r--r--src/web/translations/messages.pot6
-rw-r--r--src/web/views/user.py2
4 files changed, 12 insertions, 4 deletions
diff --git a/src/web/translations/fr/LC_MESSAGES/messages.mo b/src/web/translations/fr/LC_MESSAGES/messages.mo
index 19e062fa..81dad4bc 100644
--- a/src/web/translations/fr/LC_MESSAGES/messages.mo
+++ b/src/web/translations/fr/LC_MESSAGES/messages.mo
Binary files 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 <cedric.bonhomme@list.lu>\n"
"Language-Team: fr <LL@li.org>\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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 = {}
bgstack15