aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/user.py')
-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