Author: esr
Date: Wed Aug 13 16:07:30 2008
New Revision: 28547
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28547&view=rev
Log:
A pass at fixing wmllint warnings. Not all are disposed of yet.
Modified:
trunk/data/campaigns/An_Orcish_Incursion/scenarios/2_Assassins.cfg
trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg
trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg
trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg
trunk/data/tools/wmllint
Modified: trunk/data/campaigns/An_Orcish_Incursion/scenarios/2_Assassins.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/An_Orcish_Incursion/scenarios/2_Assassins.cfg?rev=28547&r1=28546&r2=28547&view=diff
==============================================================================
--- trunk/data/campaigns/An_Orcish_Incursion/scenarios/2_Assassins.cfg
(original)
+++ trunk/data/campaigns/An_Orcish_Incursion/scenarios/2_Assassins.cfg Wed Aug
13 16:07:30 2008
@@ -215,7 +215,7 @@
[/message]
[message]
role=Adviser
- message=_ "I... I know not, my lord. For ages there
was no one here capable of building such a thing save us; maybe this gave us a
false sense of security...and hurt the vigilance of our scouts."
+ message=_ "I... I know not, my lord. For ages there was
no one here capable of building such a thing save us; maybe this gave us a
false sense of security...and hurt the vigilance of our scouts."
[/message]
[message]
id=Erlornas
Modified:
trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg?rev=28547&r1=28546&r2=28547&view=diff
==============================================================================
--- trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg
(original)
+++ trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg
Wed Aug 13 16:07:30 2008
@@ -305,10 +305,12 @@
[message]
speaker=narrator
message=_ "Soon after Erlornas died, elven party
lacking a leader and pressed from all sides scattered and fled. It took time
before they reasembled and joined the reinforcements waiting on the outskirts
of the forest."
+ image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message=_ "In the meanwhile the feral pass was crosed
by another army, but in the opposite direction. Orcs were back south of the
pass, and this time they were to stay for a long, long time."
+ image=wesnoth-icon.png
[/message]
[/event]
@@ -334,10 +336,12 @@
[message]
speaker=narrator
message=_ "The reinforcements arrived after next few
days, a crack force of rangers with some cavalry support. When they attempted
the pass again they found no trolls but an orcish army approaching from the
north."
+ image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message=_ "The battle was bloody and inconclusive, but
elven losses proved much more painful over the course of war raging in the
following years."
+ image=wesnoth-icon.png
[/message]
[/event]
Modified:
trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg?rev=28547&r1=28546&r2=28547&view=diff
==============================================================================
--- trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg
(original)
+++ trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg
Wed Aug 13 16:07:30 2008
@@ -222,6 +222,7 @@
[message]
speaker=narrator
message=_ "Erlornas closed his eyes and brought his
hands forward, joined palms forming a cup directed towards the sky. Soon they
began to glow, then burn like a brazier with the fire of Faerie casting cold,
blue shine all around the elf. A wisp of light emerged from the eerie flames,
and catching few hardly audible words flew away towards the tower below. The
light suddenly died and everything became dark once more."
+ image=wesnoth-icon.png
[/message]
[delay]
time=500
@@ -229,6 +230,7 @@
[message]
speaker=narrator
message=_ "Some time later..."
+ image=wesnoth-icon.png
[/message]
[item]
x,y=17,18
Modified: trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg?rev=28547&r1=28546&r2=28547&view=diff
==============================================================================
--- trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg
(original)
+++ trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg Wed
Aug 13 16:07:30 2008
@@ -171,6 +171,7 @@
[event]
name=prestart
+ # wmllint: recognize Al'Brock
[store_unit]
[filter]
id="Al'Brock"
@@ -180,6 +181,7 @@
variable=stored_AlBrock
[/store_unit]
+ # wmllint: recognize Flar'Tar
[store_unit]
[filter]
id="Flar'Tar"
Modified: trunk/data/tools/wmllint
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=28547&r1=28546&r2=28547&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Wed Aug 13 16:07:30 2008
@@ -1055,7 +1055,7 @@
if need_image:
# This line presumes the code has been through wmlindent
if verbose:
- print 'wmllint: "%s", line %d: inserting
"image=wesnoth-icon.png"'%(filename, i+1)
+ print '"%s", line %d: inserting
"image=wesnoth-icon.png"'%(filename, i+1)
lines.insert(i, leader(precomment) + baseindent +
"image=wesnoth-icon.png\n")
need_image = in_message = False
# Remove get_hit_sound fields
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits