From 944c9954cd453c3ed0245c76de091b580bb1cc38 Mon Sep 17 00:00:00 2001 From: "Y. Wang" Date: Mon, 9 Oct 2023 11:03:10 +0200 Subject: Change wording (modify component -> configure component) --- advtrains_luaautomation/active_common.lua | 2 +- advtrains_luaautomation/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'advtrains_luaautomation') diff --git a/advtrains_luaautomation/active_common.lua b/advtrains_luaautomation/active_common.lua index bf3e090..1a7009f 100644 --- a/advtrains_luaautomation/active_common.lua +++ b/advtrains_luaautomation/active_common.lua @@ -61,7 +61,7 @@ end function ac.on_receive_fields(pos, formname, fields, player) if not minetest.check_player_privs(player:get_player_name(), {atlatc=true}) then - minetest.chat_send_player(player:get_player_name(), S("You are not allowed to modify this LuaATC component without the @1 privilege.", "atlatc")) + minetest.chat_send_player(player:get_player_name(), S("You are not allowed to configure this LuaATC component without the @1 privilege.", "atlatc")) return end diff --git a/advtrains_luaautomation/init.lua b/advtrains_luaautomation/init.lua index 603d240..b359142 100644 --- a/advtrains_luaautomation/init.lua +++ b/advtrains_luaautomation/init.lua @@ -10,7 +10,7 @@ local S = atltrans atlatc = { envs = {}} -minetest.register_privilege("atlatc", { description = S("Can place and modify LuaATC components, including execute potentially harmful Lua code"), give_to_singleplayer = false, default= false }) +minetest.register_privilege("atlatc", { description = S("Can place and configure LuaATC components, including execute potentially harmful Lua code"), give_to_singleplayer = false, default= false }) --Size of code input forms in X,Y notation. Must be at least 10x10 atlatc.CODE_FORM_SIZE = "15,12" -- cgit v1.2.3