changeset 13725 | ade61b4eb63f |
parent 13088 | 2b5314cc356c |
child 13728 | 247d1bcf3c5e |
--- a/share/hedgewars/Data/Scripts/Locale.lua Fri Aug 31 19:19:39 2018 +0200 +++ b/share/hedgewars/Data/Scripts/Locale.lua Fri Aug 31 20:35:13 2018 +0200 @@ -1,6 +1,8 @@ -- Library for localizing strings in lua scripts -local lang = HedgewarsScriptLoad("Locale/" .. tostring(LOCALE) .. ".lua") +if LOCALE ~= "en" then + HedgewarsScriptLoad("Locale/" .. tostring(LOCALE) .. ".lua") +end function loc(text) if locale ~= nil and locale[text] ~= nil then return locale[text]