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:
Jump to:
Index: translate/convert/po2xliff.py
===================================================================
--- translate/convert/po2xliff.py (revision 7848)
+++ translate/convert/po2xliff.py (working copy)
@@ -45,6 +45,12 @@
unit.markfuzzy(inputunit.isfuzzy())
else:
unit.markapproved(False)
+
+ #Handle msgctxt
+ context = inputunit.getcontext()
+ if context:
+ unit.createcontextgroup("po-1025", [("x-unknown", context)],
+ purpose="match information")
#Handle #: location comments
for location in inputunit.getlocations():