share/hedgewars/Data/Scripts/Locale.lua
author Periklis Ntanasis <pntanasis@gmail.com>
Wed, 11 Dec 2013 17:58:32 +0200
changeset 9781 5eb7c3778045
parent 8824 fe9eacd390f2
child 12013 3e615852f36e
permissions -rw-r--r--
removed bouncy terrain, added visual mark on non-portal/indestructible areas, changed map so only way to win is by using the portal gun

-- Library for localizing strings in lua scripts

local lang = HedgewarsScriptLoad("Locale/" .. tostring(L) .. ".lua")

function loc(text)
    if locale ~= nil and locale[text] ~= nil then return locale[text]
    else return text
    end
end