Adding named variables to format strings for errors in 'make distcheck' to work.

svn: r14462
This commit is contained in:
Rob G. Healey 2010-02-24 23:02:48 +00:00
parent 4bf6ab292d
commit ec7001837a

View File

@ -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