Fix translations, there were all broken

This commit is contained in:
Eduardo Bart
2013-01-23 15:35:43 -02:00
parent 1674575dc0
commit 992acd8873
16 changed files with 1182 additions and 586 deletions

View File

@@ -2,8 +2,13 @@
function print(...)
local msg = ""
for i,v in ipairs({...}) do
msg = msg .. tostring(v) .. " "
local args = {...}
local appendSpace = #args > 1
for i,v in ipairs(args) do
msg = msg .. tostring(v)
if appendSpace and i < #args then
msg = msg .. ' '
end
end
g_logger.log(LogInfo, msg)
end