mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-01-09 05:57:36 +01:00
intllib support for new command descriptions
This commit is contained in:
parent
f4beba6cf6
commit
76c926dadc
@ -170,7 +170,7 @@ minetest.register_node("protector:protect_hidden", {
|
|||||||
|
|
||||||
minetest.register_chatcommand("protector_show", {
|
minetest.register_chatcommand("protector_show", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Hide protection blocks",
|
description = S("Show your nearby protection blocks"),
|
||||||
privs = {interact = true},
|
privs = {interact = true},
|
||||||
|
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
@ -205,7 +205,7 @@ minetest.register_chatcommand("protector_show", {
|
|||||||
|
|
||||||
minetest.register_chatcommand("protector_hide", {
|
minetest.register_chatcommand("protector_hide", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Hide protection blocks",
|
description = S("Hide your nearby protection blocks"),
|
||||||
privs = {interact = true},
|
privs = {interact = true},
|
||||||
|
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
|
Loading…
Reference in New Issue
Block a user