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
b0d9319e
Commit
b0d9319e
authored
Jun 09, 2015
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3eb471cf
c0f428a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
weblate/trans/views/dictionary.py
weblate/trans/views/dictionary.py
+6
-2
No files found.
weblate/trans/views/dictionary.py
View file @
b0d9319e
...
...
@@ -19,7 +19,7 @@
#
from
django.shortcuts
import
render
,
get_object_or_404
,
redirect
from
django.utils.translation
import
ugettext
as
_
from
django.utils.translation
import
ugettext
as
_
,
ungettext
from
django.http
import
HttpResponse
,
HttpResponseRedirect
from
django.contrib
import
messages
from
django.contrib.auth.decorators
import
permission_required
...
...
@@ -159,7 +159,11 @@ def upload_dictionary(request, project, lang):
else
:
messages
.
success
(
request
,
_
(
'Imported %d words from file.'
)
%
count
ungettext
(
'Imported %d word from the uploaded file.'
,
'Imported %d words from the uploaded file.'
,
count
)
%
count
)
except
Exception
as
error
:
messages
.
error
(
...
...
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