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
a2c16f8d
Commit
a2c16f8d
authored
Nov 27, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
List failed checks in error message
This gives user better visual feedback what went wrong.
parent
cfda8370
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
trans/views/edit.py
trans/views/edit.py
+7
-1
No files found.
trans/views/edit.py
View file @
a2c16f8d
...
...
@@ -308,7 +308,13 @@ def handle_translate(translation, request, user_locked,
# Show message to user
messages
.
error
(
request
,
_
(
'Some checks have failed on your translation!'
)
_
(
'Some checks have failed on your translation: {0}'
).
format
(
', '
.
join
(
[
unicode
(
CHECKS
[
check
].
name
)
for
check
in
newchecks
]
)
)
)
# Stay on same entry
return
HttpResponseRedirect
(
this_unit_url
)
...
...
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