# HG changeset patch # User Martin Geisler # Date 1220191923 -7200 # Node ID 71da881b259ee002ea263937980ba275e533a052 # Parent 2af657eafeba5dd9ecf6f0fcc99ae10aef94d93b i18n: mark strings for translation in patchbomb extension diff -r 2af657eafeba -r 71da881b259e hgext/patchbomb.py --- a/hgext/patchbomb.py Sun Aug 31 16:12:03 2008 +0200 +++ b/hgext/patchbomb.py Sun Aug 31 16:12:03 2008 +0200 @@ -398,7 +398,7 @@ if bcc: m['Bcc'] = ', '.join(bcc) if opts.get('test'): - ui.status('Displaying ', m['Subject'], ' ...\n') + ui.status(_('Displaying '), m['Subject'], ' ...\n') ui.flush() if 'PAGER' in os.environ: fp = util.popen(os.environ['PAGER'], 'w') @@ -414,7 +414,7 @@ if fp is not ui: fp.close() elif opts.get('mbox'): - ui.status('Writing ', m['Subject'], ' ...\n') + ui.status(_('Writing '), m['Subject'], ' ...\n') fp = open(opts.get('mbox'), 'In-Reply-To' in m and 'ab+' or 'wb+') generator = email.Generator.Generator(fp, mangle_from_=True) date = util.datestr(start_time, '%a %b %d %H:%M:%S %Y') @@ -425,7 +425,7 @@ else: if not sendmail: sendmail = mail.connect(ui) - ui.status('Sending ', m['Subject'], ' ...\n') + ui.status(_('Sending '), m['Subject'], ' ...\n') # Exim does not remove the Bcc field del m['Bcc'] fp = cStringIO.StringIO()