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
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
--- 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.
minetest.register_chatcommand("ver", {
description = S("Display Mineclone 2 game version."),