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
1c4489e9
Commit
1c4489e9
authored
May 08, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify condition, we already check for that above
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
331fc714
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
weblate/trans/views/edit.py
weblate/trans/views/edit.py
+1
-2
No files found.
weblate/trans/views/edit.py
View file @
1c4489e9
...
@@ -314,8 +314,7 @@ def handle_translate(translation, request, user_locked,
...
@@ -314,8 +314,7 @@ def handle_translate(translation, request, user_locked,
request
,
request
,
_
(
'You don
\
'
t have privileges to save translations!'
)
_
(
'You don
\
'
t have privileges to save translations!'
)
)
)
elif
(
unit
.
only_vote_suggestions
()
elif
unit
.
only_vote_suggestions
():
and
not
request
.
user
.
has_perm
(
'trans.save_translation'
)):
messages
.
error
(
messages
.
error
(
request
,
request
,
_
(
'Only suggestions are allowed in this translation!'
)
_
(
'Only suggestions are allowed in this translation!'
)
...
...
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