Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
4e795367
Commit
4e795367
authored
May 06, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to use lazy gettext here
parent
813a2b1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
trans/util.py
trans/util.py
+2
-2
No files found.
trans/util.py
View file @
4e795367
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment