add in translator code for S("")

This commit is contained in:
Michieal 2022-11-28 22:34:56 +00:00 committed by Gitea
parent 51372da2b9
commit dbe0437201

View file

@ -4,6 +4,9 @@
--- DateTime: 11/28/22 4:38 PM --- DateTime: 11/28/22 4:38 PM
--- ---
local modname = minetest.get_current_modname()
local S = minetest.get_translator(modname)
-- register normal user access to debug levels 1 and 0. -- register normal user access to debug levels 1 and 0.
minetest.register_chatcommand("ver", { minetest.register_chatcommand("ver", {
description = S("Display Mineclone 2 game version."), description = S("Display Mineclone 2 game version."),