Author: esr
Date: Tue Sep 2 02:32:16 2008
New Revision: 29178
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29178&view=rev
Log:
Address bug #12259.
Modified:
trunk/data/tools/wmllint
Modified: trunk/data/tools/wmllint
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=29178&r1=29177&r2=29178&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Tue Sep 2 02:32:16 2008
@@ -523,7 +523,7 @@
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)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits