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
d66c3a98
Commit
d66c3a98
authored
Apr 27, 2016
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d2e6ec62
6a98e841
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
weblate/trans/exporters.py
weblate/trans/exporters.py
+2
-0
weblate/trans/tests/test_exporters.py
weblate/trans/tests/test_exporters.py
+1
-2
No files found.
weblate/trans/exporters.py
View file @
d66c3a98
...
...
@@ -113,6 +113,8 @@ class BaseExporter(object):
self
.
handle_plurals
(
unit
.
get_target_plurals
())
)
output
.
setcontext
(
self
.
string_filter
(
unit
.
context
))
if
hasattr
(
output
,
'msgctxt'
):
output
.
msgctxt
=
[
self
.
string_filter
(
unit
.
context
)]
for
location
in
unit
.
location
.
split
():
if
location
:
output
.
addlocation
(
location
)
...
...
weblate/trans/tests/test_exporters.py
View file @
d66c3a98
...
...
@@ -125,5 +125,4 @@ class TBXExporterTest(PoExporterTest):
class
MoExporterTest
(
PoExporterTest
):
_class
=
MoExporter
# Not supported in current translate-toolkit, but PR submitted
_has_context
=
None
_has_context
=
True
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