aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2023-10-09 11:03:10 +0200
committerY. Wang <yw05@forksworld.de>2024-04-13 10:36:35 +0200
commit944c9954cd453c3ed0245c76de091b580bb1cc38 (patch)
treefd3016980b34db74c08d75b8e456a33310def6df /advtrains_luaautomation
parent21532968d4d22701486b3d86dce95de3c591a73e (diff)
downloadadvtrains-944c9954cd453c3ed0245c76de091b580bb1cc38.tar.gz
advtrains-944c9954cd453c3ed0245c76de091b580bb1cc38.tar.bz2
advtrains-944c9954cd453c3ed0245c76de091b580bb1cc38.zip
Change wording (modify component -> configure component)
Diffstat (limited to 'advtrains_luaautomation')
-rw-r--r--advtrains_luaautomation/active_common.lua2
-rw-r--r--advtrains_luaautomation/init.lua2
2 files changed, 2 insertions, 2 deletions
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"