summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
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