diff hgext/mq.py @ 10274:04207f5e7344 stable

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.
author David Soria Parra <dsp@php.net>
date Wed, 20 Jan 2010 23:23:18 +0100
parents 25e572394f5c
children 6109a02c682b d355cebde5e6
line wrap: on
line diff
--- 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: