Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 6953:63b5f4c73c98
i18n: mark strings for translation in Mercurial
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sun, 31 Aug 2008 16:12:02 +0200 |
parents | ebf1462f2145 |
children | 907e4e9bd3c4 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Aug 31 16:12:02 2008 +0200 +++ b/mercurial/localrepo.py Sun Aug 31 16:12:02 2008 +0200 @@ -1098,7 +1098,7 @@ wlock = self.wlock() for f in list: if self.dirstate[f] != 'r': - self.ui.warn("%s not removed!\n" % f) + self.ui.warn(_("%s not removed!\n") % f) else: m = f in manifests[0] and manifests[0] or manifests[1] t = self.file(f).read(m[f]) @@ -2022,7 +2022,7 @@ except ValueError, TypeError: raise util.UnexpectedOutput( _('Unexpected response from remote server:'), l) - self.ui.debug('adding %s (%s)\n' % (name, util.bytecount(size))) + self.ui.debug(_('adding %s (%s)\n') % (name, util.bytecount(size))) ofp = self.sopener(name, 'w') for chunk in util.filechunkiter(fp, limit=size): ofp.write(chunk)