Recent Issues
|
Sign in
with your
Google
Account to create issues and add comments
Issue 65:
xliff2po & po2xliff should handle context
Unified Diff
File: translate/convert/po2xliff.py
Patch Set: A more complete patch, supporting CPO and pypo
Jump to:
Index: translate/convert/po2xliff.py
===================================================================
--- translate/convert/po2xliff.py (revision 7897)
+++ translate/convert/po2xliff.py (working copy)
@@ -45,6 +45,11 @@
unit.markfuzzy(inputunit.isfuzzy())
else:
unit.markapproved(False)
+
+ #Handle msgctxt
+ context = inputunit.getcontext()
+ if context:
+ unit.setcontext_message(context)
#Handle #: location comments
for location in inputunit.getlocations():