use new intllib api

master
Juraj Vajda 2018-01-10 18:59:22 -05:00
parent 056b31fefa
commit 73b68c8070
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
local worldpath = minetest.get_worldpath()
local mygettext
if rawget(_G, "intllib") then
mygettext = intllib.Getter()
mygettext = intllib.make_gettext_pair()
else
function mygettext(s, ...)
local t = { ... }