Commit 4e795367 authored by Michal Čihař's avatar Michal Čihař

No need to use lazy gettext here

parent 813a2b1b
......@@ -21,7 +21,7 @@
import hashlib
from django.core.exceptions import ImproperlyConfigured
from django.contrib.sites.models import Site
from django.utils.translation import pgettext_lazy
from django.utils.translation import pgettext
from django.core.cache import cache
from django.utils.html import escape
from django.utils.safestring import mark_safe
......@@ -103,7 +103,7 @@ def get_user_display(user, icon=True, link=False):
# Did we get any user?
if user is None:
# None user, probably remotely triggered action
full_name = pgettext_lazy('No known user', 'None')
full_name = pgettext('No known user', 'None')
email = ''
else:
# Get full name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment