1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2025-06-28 06:20:33 +02:00

Change intllib for v5 minetest.get_translator

This commit is contained in:
Olivier Dragon
2020-08-30 23:47:57 -04:00
committed by Buckaroo Banzai
parent 979516c13d
commit 4dc9a81ec2
12 changed files with 11 additions and 61 deletions

View File

@ -1,5 +1,5 @@
-- support for i18n
local S = armor_i18n.gettext
local S = minetest.get_translator(minetest.get_current_modname())
local disable_sounds = minetest.settings:get_bool("shields_disable_sounds")
local function play_sound_effect(player, name)