Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14462
This commit is contained in:
parent
4bf6ab292d
commit
ec7001837a
@ -5494,8 +5494,8 @@ class GedcomParser(UpdateCallback):
|
||||
line = self.__get_next_line()
|
||||
if self.__level_is_finished(line, level):
|
||||
if skips and self.want_parse_warnings:
|
||||
msg = _("skipped %d subordinate(s) at line %d")\
|
||||
% (skips, line.line - skips)
|
||||
msg = _("skipped %(skip)d subordinate(s) at line %(line)d") % {
|
||||
'skip' : skips, 'line' : line.line - skips }
|
||||
self.__warn(msg)
|
||||
return
|
||||
skips += 1
|
||||
@ -5929,4 +5929,4 @@ def __build_date_string(day, mon, year, bce, mmap):
|
||||
retval = "(%d %s)" % (day, mmap[mon])
|
||||
else:
|
||||
retval = "%d %s %d%s" % (day, mmap[mon], year, bce)
|
||||
return retval
|
||||
return retval
|
||||
|
Loading…
Reference in New Issue
Block a user