Revert "wmllint: ids in [time_area] are not associated to units...
...most of the time" Done already in 2012-08-19T22:42:19Z!anonymissimus@arcor.de by anonymissimus. This reverts commit 2013-02-19T06:44:24Z!shadowm@wesnoth.org.
This commit is contained in:
parent
05b12ecb69
commit
a3694f9b84
2 changed files with 2 additions and 4 deletions
|
@ -90,8 +90,6 @@ Version 1.11.1+svn:
|
|||
* Made wmllint recognize victory_string, defeat_string,
|
||||
gold_carryover_string, and notes_string (all from the [objectives] tag) as
|
||||
attributes that need to be made translatable
|
||||
* Made wmllint ignore the id attribute in [time_area] as it is not associated
|
||||
to units most of the time
|
||||
* Added -Wdocumentation to the CMake pedantic flags.
|
||||
* Make drakes fly on volcano tiles (bug #20485).
|
||||
* Added a FOREACH macro to emulate C++11 for(... : ...) style loops.
|
||||
|
|
|
@ -1249,9 +1249,9 @@ def global_sanity_check(filename, lines):
|
|||
in_time_area = True
|
||||
elif "[/time_area]" in lines[i]:
|
||||
in_time_area = False
|
||||
elif "[label]" in lines[i] or "[chamber]" in lines[i] or "[time]" in lines[i] or "[time_area]" in lines [i]:
|
||||
elif "[label]" in lines[i] or "[chamber]" in lines[i] or "[time]" in lines[i]:
|
||||
ignore_id = True
|
||||
elif "[/label]" in lines[i] or "[/chamber]" in lines[i] or "[/time]" in lines[i] or "[/time_area]" in lines [i]:
|
||||
elif "[/label]" in lines[i] or "[/chamber]" in lines[i] or "[/time]" in lines[i]:
|
||||
ignore_id = False
|
||||
elif "[kill]" in lines[i] or "[effect]" in lines[i] or "[move_unit_fake]" in lines[i] or "[scroll_to_unit]" in lines[i]:
|
||||
ignoreable = True
|
||||
|
|
Loading…
Add table
Reference in a new issue