Mercurial > hg
diff hgext/gpg.py @ 9183:d0225fa2f6c4
do not translate commit messages
It is not very helpful to have 'Added tag %s for changeset %s' and
similar messages translated into different languages when people work
together using different locales.
We now use English strings without support for translations. If
needed, the user can still supply a custom string for most commands.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 22 Jul 2009 22:50:34 +0200 |
parents | 9dda4c73fc3b |
children | 25e572394f5c |
line wrap: on
line diff
--- a/hgext/gpg.py Tue Jul 21 12:06:32 2009 +0200 +++ b/hgext/gpg.py Wed Jul 22 22:50:34 2009 +0200 @@ -251,7 +251,8 @@ message = opts['message'] if not message: - message = "\n".join([_("Added signature for changeset %s") + # we don't translate commit messages + message = "\n".join(["Added signature for changeset %s" % hgnode.short(n) for n in nodes]) try: