# HG changeset patch # User David Soria Parra # Date 1264026198 -3600 # Node ID 04207f5e73441bdc9a3c2a011ae27d2a49997471 # Parent acf001ee5ef80c698b75d437d9685ed926a3e2fc 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. diff -r acf001ee5ef8 -r 04207f5e7344 hgext/mq.py --- 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: