intllib support for new command descriptions
This commit is contained in:
parent
f4beba6cf6
commit
76c926dadc
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue