A pass at fixing wmllint warnings. Not all are disposed of yet.
This commit is contained in:
parent
50bbdb55fb
commit
87f215083c
5 changed files with 10 additions and 2 deletions
|
@ -215,7 +215,7 @@ Assassins are hard to hit, and their poison is insidious. Stay close to the vill
|
|||
[/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
|
||||
|
|
|
@ -305,10 +305,12 @@ Trolls are poor fighters when not on a rugged terrain and fare even worse during
|
|||
[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 @@ Trolls are poor fighters when not on a rugged terrain and fare even worse during
|
|||
[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]
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ This enemy is too strong for you to defeat alone. Use mounted units, and Linaera
|
|||
[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 @@ This enemy is too strong for you to defeat alone. Use mounted units, and Linaera
|
|||
[message]
|
||||
speaker=narrator
|
||||
message=_ "Some time later..."
|
||||
image=wesnoth-icon.png
|
||||
[/message]
|
||||
[item]
|
||||
x,y=17,18
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1055,7 +1055,7 @@ def hack_syntax(filename, lines):
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue