author | Wuzzy <Wuzzy2@mail.ru> |
Fri, 31 Aug 2018 20:35:13 +0200 | |
changeset 13725 | ade61b4eb63f |
parent 13724 | 6cdb12449be7 |
child 13726 | a62408ee8281 |
--- 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]