Disable wmllint translation mark check around inline Lua blocks

This commit is contained in:
Ignacio R. Morelle 2014-01-04 12:50:34 -03:00
parent dd33333f01
commit f5ad4be828
2 changed files with 4 additions and 0 deletions

View file

@ -347,6 +347,7 @@
# The revealing of the path is much easier done in lua. Thanks mattsc for the code!
[lua]
# wmllint: markcheck off
code= <<
local ai_helper = wesnoth.require "ai/lua/ai_helper.lua"
local H = wesnoth.require "lua/helper.lua"
@ -369,6 +370,7 @@
W.message{ speaker = 'Delfador', message= dirs[ai_helper.get_direction_index(delf, goal, 8, true)]}
>>
# wmllint: markcheck on
[/lua]
[/event]

View file

@ -88,6 +88,7 @@
[event]
name=time over
[lua]
# wmllint: markcheck off
code=<<
local _ = wesnoth.textdomain "wesnoth-multiplayer"
local function all_sides()
@ -150,6 +151,7 @@
string.format( "\n" .. tostring( _ "<span foreground='%s'>Side %d</span> has the advantage."), color, side_num)
wesnoth.fire("message", { message = side_comparison, speaker = "narrator", image = "wesnoth-icon.png"})
>>
# wmllint: markcheck on
[/lua]
[/event]
#enddef