##// END OF EJS Templates
l10n: use %d instead of %s for numbers
timeless@mozdev.org -
r26778:a95c975f default
parent child Browse files
Show More
@@ -84,7 +84,7 b' def collect(src, ui):'
84 total = live * 3 // 2
84 total = live * 3 // 2
85 src = src.store.path
85 src = src.store.path
86 pos = 0
86 pos = 0
87 ui.status(_("tip has %d files, estimated total number of files: %s\n")
87 ui.status(_("tip has %d files, estimated total number of files: %d\n")
88 % (live, total))
88 % (live, total))
89 for dirpath, dirnames, filenames in os.walk(src):
89 for dirpath, dirnames, filenames in os.walk(src):
90 dirnames.sort()
90 dirnames.sort()
@@ -127,7 +127,7 b' def _smtp(ui):'
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:
@@ -2643,7 +2643,7 b' def _expandaliases(aliases, tree, expand'
2643 l = getlist(tree[2])
2643 l = getlist(tree[2])
2644 if len(l) != len(alias.args):
2644 if len(l) != len(alias.args):
2645 raise error.ParseError(
2645 raise error.ParseError(
2646 _('invalid number of arguments: %s') % len(l))
2646 _('invalid number of arguments: %d') % len(l))
2647 l = [_expandaliases(aliases, a, [], cache) for a in l]
2647 l = [_expandaliases(aliases, a, [], cache) for a in l]
2648 result = _expandargs(result, dict(zip(alias.args, l)))
2648 result = _expandargs(result, dict(zip(alias.args, l)))
2649 else:
2649 else:
@@ -404,7 +404,7 b' class fncache(object):'
404 fp.seek(0)
404 fp.seek(0)
405 for n, line in enumerate(fp):
405 for n, line in enumerate(fp):
406 if not line.rstrip('\n'):
406 if not line.rstrip('\n'):
407 t = _('invalid entry in fncache, line %s') % (n + 1)
407 t = _('invalid entry in fncache, line %d') % (n + 1)
408 raise error.Abort(t)
408 raise error.Abort(t)
409 fp.close()
409 fp.close()
410
410
General Comments 0
You need to be logged in to leave comments. Login now