1
0
mirror of https://repo.or.cz/minetest_hudbars.git synced 2025-06-30 15:30:26 +02:00

Move away from intllib in favor of MT 5.0.0

This commit is contained in:
Wuzzy
2019-03-20 13:30:28 +01:00
parent ba21f47489
commit 94b9c545da
12 changed files with 26 additions and 29 deletions

View File

@ -1,13 +1,4 @@
local S
if minetest.global_exists("intllib") then
if intllib.make_gettext_pair then
S = intllib.make_gettext_pair()
else
S = intllib.Getter()
end
else
S = function ( s ) return s end
end
local S = minetest.get_translator("hudbars")
hb = {}