Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 46baadbc3d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 34 lines (29 sloc) 0.75 kb
#!/usr/bin/env lua
if arg.n ~= 1 then
print(string.format("Usage: %s path/to/dialogs.lua",
arg[0]))
print('Checks dialogs.lua for translation consistency.')
print('Run it at DATADIR.')
return
end
local inputFile = arg[1]
codename = string.gsub(inputFile, ".*/([^/]*)/[^/]*", "%1")
--NOTE: some mock objects
function file_include(filename)
dofile(filename)
end
function file_exists(filename)
local file = io.open(filename, "rb")
if file then
file:close()
end
return file ~= nil
end
function dialog_addDialog() end
function dialog_addFont() end
function demo_display() end
function game_planAction() end
function options_getParam() end
-----------
dofile("script/share/level_dialog.lua")
dofile(inputFile)
Jump to Line
Something went wrong with that request. Please try again.