Mercurial > public > mercurial-scm > hg
comparison hgext/patchbomb.py @ 17956:a08775ec89f2
i18n: wrap false positives for translation detection
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 25 Nov 2012 13:53:47 -0600 |
parents | 9f6044119166 |
children | 19d489404d79 |
comparison
equal
deleted
inserted
replaced
17955:4ae21a7568f3 | 17956:a08775ec89f2 |
---|---|
472 bcc = getaddrs('Bcc') or [] | 472 bcc = getaddrs('Bcc') or [] |
473 replyto = getaddrs('Reply-To') | 473 replyto = getaddrs('Reply-To') |
474 | 474 |
475 if opts.get('diffstat') or opts.get('confirm'): | 475 if opts.get('diffstat') or opts.get('confirm'): |
476 ui.write(_('\nFinal summary:\n\n')) | 476 ui.write(_('\nFinal summary:\n\n')) |
477 ui.write('From: %s\n' % sender) | 477 ui.write(('From: %s\n' % sender)) |
478 for addr in showaddrs: | 478 for addr in showaddrs: |
479 ui.write('%s\n' % addr) | 479 ui.write('%s\n' % addr) |
480 for m, subj, ds in msgs: | 480 for m, subj, ds in msgs: |
481 ui.write('Subject: %s\n' % subj) | 481 ui.write(('Subject: %s\n' % subj)) |
482 if ds: | 482 if ds: |
483 ui.write(ds) | 483 ui.write(ds) |
484 ui.write('\n') | 484 ui.write('\n') |
485 if ui.promptchoice(_('are you sure you want to send (yn)?'), | 485 if ui.promptchoice(_('are you sure you want to send (yn)?'), |
486 (_('&Yes'), _('&No'))): | 486 (_('&Yes'), _('&No'))): |