share/hedgewars/Data/Scripts/Locale.lua
changeset 13088 2b5314cc356c
parent 12013 3e615852f36e
child 13725 ade61b4eb63f
--- a/share/hedgewars/Data/Scripts/Locale.lua	Wed Mar 07 12:33:56 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Locale.lua	Wed Mar 07 13:48:51 2018 +0100
@@ -1,6 +1,6 @@
 -- Library for localizing strings in lua scripts
 
-local lang = HedgewarsScriptLoad("Locale/" .. tostring(L) .. ".lua")
+local lang = HedgewarsScriptLoad("Locale/" .. tostring(LOCALE) .. ".lua")
 
 function loc(text)
     if locale ~= nil and locale[text] ~= nil then return locale[text]