New translation system, part 4: Misc/Player

This commit is contained in:
Wuzzy 2019-03-07 21:14:30 +01:00
parent 0d6610dcee
commit 0cc038c545
4 changed files with 9 additions and 13 deletions

View file

@ -1,11 +1,6 @@
local minecraftaliases = true
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
end
local S = minetest.get_translator("mcl_commands")
local function handle_kill_command(suspect, victim)
if minetest.settings:get_bool("enable_damage") == false then