New translation system, part 3: HUD

This commit is contained in:
Wuzzy 2019-03-07 21:10:39 +01:00
parent d691490016
commit 0d6610dcee
12 changed files with 100 additions and 131 deletions

View file

@ -14,12 +14,7 @@
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function ( s ) return s end
end
local S = minetest.get_translator("awards")
minetest.register_chatcommand("awards", {
params = S("[c|clear|disable|enable]"),