mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2025-06-28 14:26:18 +02:00
Change intllib for v5 minetest.get_translator
This commit is contained in:
committed by
Buckaroo Banzai
parent
979516c13d
commit
4dc9a81ec2
@ -1,5 +1,5 @@
|
||||
-- support for i18n
|
||||
local S = armor_i18n.gettext
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
if not minetest.global_exists("sfinv") then
|
||||
minetest.log("warning", S("3d_armor_sfinv: Mod loaded but unused."))
|
||||
|
Reference in New Issue
Block a user