mq: Do not translate import message that are appended to commits.
We should not translate the "imported patch" message. The translated message
confuses the detection whether the user has not updated the commit message yet.
We try to avoid to translate generated commit messages.
--- a/hgext/mq.py Wed Jan 20 13:50:06 2010 +0900
+++ b/hgext/mq.py Wed Jan 20 23:23:18 2010 +0100
@@ -613,10 +613,10 @@
message = ph.message
if not message:
- message = _("imported patch %s\n") % patchname
+ message = "imported patch %s\n" % patchname
else:
if list:
- message.append(_("\nimported patch %s") % patchname)
+ message.append("\nimported patch %s" % patchname)
message = '\n'.join(message)
if ph.haspatch: