mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
add in translator code for S("")
This commit is contained in:
parent
51372da2b9
commit
dbe0437201
1 changed files with 3 additions and 0 deletions
|
@ -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."),
|
||||||
|
|
Loading…
Reference in a new issue