Address bug #12259.
This commit is contained in:
parent
cb33e98e29
commit
6d417ce2f5
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ def sanity_check(filename, lines):
|
|||
elif preamble_seen and not ignore_id and not in_object and not value in present:
|
||||
print '"%s", line %d: unknown \'%s\' referred to by id' \
|
||||
% (filename, i+1, value)
|
||||
if has_tr_mark and not "wmllint: ignore" in line:
|
||||
if has_tr_mark and not "wmllint: ignore" in lines[i]:
|
||||
print '"%s", line %d: %s should not have a translation mark' \
|
||||
% (filename, i+1, key)
|
||||
lines[i] = lines[i].replace("_", "", 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue