Mercurial > hg
changeset 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 | acf001ee5ef8 |
children | 3a1f29b63b9f |
files | hgext/mq.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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: