Mercurial > hg-stable
diff hgext/transplant.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 | 07d127e771a1 f01a22096f1f |
line wrap: on
line diff
--- a/hgext/transplant.py Tue Jul 21 12:06:32 2009 +0200 +++ b/hgext/transplant.py Wed Jul 22 22:50:34 2009 +0200 @@ -206,6 +206,7 @@ (user, date, message) = self.filter(filter, cl, patchfile) if log: + # we don't translate messages inserted into commits message += '\n(transplanted from %s)' % revlog.hex(node) self.ui.status(_('applying %s\n') % revlog.short(node))