Update translation support for Minetest 5.0.0

This commit is contained in:
Wuzzy
2019-08-19 17:50:24 +02:00
parent 21e57108d8
commit 47f80863ba
6 changed files with 42 additions and 53 deletions

View File

@ -1,10 +1,4 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
local S = minetest.get_translator("tsm_pyramids")
local mummy_walk_limit = 1
local mummy_chillaxin_speed = 1