aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-22 08:18:59 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-22 08:18:59 +0100
commite1dab7f062f495b225fbab4f66044d6d3134bdec (patch)
treea9e9463f7c15e70d71c1e3c95d882a40f8efaeb3 /src/web/views
parentUpdated translations. (diff)
downloadnewspipe-e1dab7f062f495b225fbab4f66044d6d3134bdec.tar.gz
newspipe-e1dab7f062f495b225fbab4f66044d6d3134bdec.tar.bz2
newspipe-e1dab7f062f495b225fbab4f66044d6d3134bdec.zip
Updated translations.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/user.py2
1 files changed, 1 insertions, 1 deletions
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