Change error message for better internationalization

This commit is contained in:
prculley 2016-09-29 13:51:16 -05:00
parent 2aa0d5aac8
commit 48e7cabc18

View File

@ -223,7 +223,8 @@ class VCardParser:
if problem != "":
self.number_of_errors += 1
if line:
message = _("Line") + " %5d: %s\n" % (line, problem, )
message = _("Line %(line)5d: %(prob)s\n") % {"line": line,
"prob": problem}
else:
message = problem + "\n"
self.errors.append(message)