comparison mercurial/mail.py @ 26778:a95c975f42e3

l10n: use %d instead of %s for numbers
author timeless@mozdev.org
date Wed, 14 Oct 2015 22:29:03 -0400
parents ab1af5e7d734
children df31e126b706
comparison
equal deleted inserted replaced
26777:df1a29ec45bf 26778:a95c975f42e3
125 if smtps: 125 if smtps:
126 defaultport = 465 126 defaultport = 465
127 else: 127 else:
128 defaultport = 25 128 defaultport = 25
129 mailport = util.getport(ui.config('smtp', 'port', defaultport)) 129 mailport = util.getport(ui.config('smtp', 'port', defaultport))
130 ui.note(_('sending mail: smtp host %s, port %s\n') % 130 ui.note(_('sending mail: smtp host %s, port %d\n') %
131 (mailhost, mailport)) 131 (mailhost, mailport))
132 s.connect(host=mailhost, port=mailport) 132 s.connect(host=mailhost, port=mailport)
133 if starttls: 133 if starttls:
134 ui.note(_('(using starttls)\n')) 134 ui.note(_('(using starttls)\n'))
135 s.ehlo() 135 s.ehlo()