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()
|
line = self.__get_next_line()
|
||||||
if self.__level_is_finished(line, level):
|
if self.__level_is_finished(line, level):
|
||||||
if skips and self.want_parse_warnings:
|
if skips and self.want_parse_warnings:
|
||||||
msg = _("skipped %d subordinate(s) at line %d")\
|
msg = _("skipped %(skip)d subordinate(s) at line %(line)d") % {
|
||||||
% (skips, line.line - skips)
|
'skip' : skips, 'line' : line.line - skips }
|
||||||
self.__warn(msg)
|
self.__warn(msg)
|
||||||
return
|
return
|
||||||
skips += 1
|
skips += 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user