summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-12-17 20:29:01 -0500
committerShadowNinja <shadowninja@minetest.net>2013-12-17 20:29:01 -0500
commit4be14170e7d050dee610424a91a465633da71944 (patch)
tree577d4addf021c9297b127e2b2f13d29d6fb49226 /init.lua
parent934ca0492c264bce8467881b075bdc200a1b70fd (diff)
Localize load_strings
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index aa2af62..e63d709 100644
--- a/init.lua
+++ b/init.lua
@@ -26,7 +26,7 @@ function intllib.Getter(modname)
local modpath = minetest.get_modpath(modname)
if modpath then
local filename = modpath.."/locale/"..LANG..".txt"
- local msgstr = load_strings(filename)
+ local msgstr = intllib.load_strings(filename)
if msgstr then
intllib.getters[modname] = function (s)
if msgstr[s] and msgstr[s] ~= "" then