comparison 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
comparison
equal deleted inserted replaced
9182:3a319bc8906d 9183:d0225fa2f6c4
204 extra = {'transplant_source': node} 204 extra = {'transplant_source': node}
205 if filter: 205 if filter:
206 (user, date, message) = self.filter(filter, cl, patchfile) 206 (user, date, message) = self.filter(filter, cl, patchfile)
207 207
208 if log: 208 if log:
209 # we don't translate messages inserted into commits
209 message += '\n(transplanted from %s)' % revlog.hex(node) 210 message += '\n(transplanted from %s)' % revlog.hex(node)
210 211
211 self.ui.status(_('applying %s\n') % revlog.short(node)) 212 self.ui.status(_('applying %s\n') % revlog.short(node))
212 self.ui.note('%s %s\n%s\n' % (user, date, message)) 213 self.ui.note('%s %s\n%s\n' % (user, date, message))
213 214