Mercurial > hg
comparison hgext/gpg.py @ 10510:f77f3383c666 stable
i18n: mark more strings for translation
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 19 Feb 2010 02:23:38 +0100 |
parents | 4612cded5176 |
children | 13448eab08ca |
comparison
equal
deleted
inserted
replaced
10509:3e7e789d9494 | 10510:f77f3383c666 |
---|---|
219 if not nodes: | 219 if not nodes: |
220 nodes = [repo.changelog.tip()] | 220 nodes = [repo.changelog.tip()] |
221 | 221 |
222 for n in nodes: | 222 for n in nodes: |
223 hexnode = hgnode.hex(n) | 223 hexnode = hgnode.hex(n) |
224 ui.write("Signing %d:%s\n" % (repo.changelog.rev(n), | 224 ui.write(_("Signing %d:%s\n") % (repo.changelog.rev(n), |
225 hgnode.short(n))) | 225 hgnode.short(n))) |
226 # build data | 226 # build data |
227 data = node2txt(repo, n, sigver) | 227 data = node2txt(repo, n, sigver) |
228 sig = mygpg.sign(data) | 228 sig = mygpg.sign(data) |
229 if not sig: | 229 if not sig: |
230 raise util.Abort(_("Error while signing")) | 230 raise util.Abort(_("Error while signing")) |