Fix a minor error I untroduced into wmllint last night.

This commit is contained in:
Eric S. Raymond 2008-03-15 04:48:30 +00:00
parent dda5ac5484
commit 141539b513

View file

@ -865,7 +865,7 @@ def sanity_check(filename, lines):
pass
elif key == 'name': # FIXME: check this someday
pass
elif key in ("message", "description", "story", "note", "text", "summary", "caption", "label", "unit_description", "cannot_use_message", "set_description") and not value.startswith("$"):
elif key in ("message", "description", "user_description", "story", "note", "text", "summary", "caption", "label", "unit_description", "cannot_use_message", "set_description") and not value.startswith("$"):
if not has_tr_mark:
print '"%s", line %d: %s needs translation mark' \
% (filename, i+1, key)