Index: translate/storage/pypo.py
===================================================================
--- translate/storage/pypo.py (revision 8228)
+++ translate/storage/pypo.py (working copy)
@@ -740,6 +740,10 @@
"""Get the message context."""
return unquotefrompo(self.msgctxt) + self._extract_msgidcomments()
+ def setcontext(self, context):
+ """Sets the message context"""
+ self.msgctxt = quoteforpo(context)
+
def getid(self):
"""Returns a unique identifier for this unit."""
context = self.getcontext()