diff --git a/src/plugins/lib/libgedcom.py b/src/plugins/lib/libgedcom.py index 276934b3f..a94fe2459 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -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 \ No newline at end of file + return retval