aboutsummaryrefslogtreecommitdiff
path: root/advtrains_line_automation/stoprail.lua
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2023-10-09 11:03:10 +0200
committerY. Wang <yw05@forksworld.de>2023-10-09 11:03:10 +0200
commit4d25541309cf7a0d482c3a5a7cea1acb3fe2dfcb (patch)
treeb07e20dc52b7f0af534fb4fa36d133476f339cd2 /advtrains_line_automation/stoprail.lua
parent0014ba5517882bcc3c4dca9b9d313bd98a082ba4 (diff)
downloadadvtrains-4d25541309cf7a0d482c3a5a7cea1acb3fe2dfcb.tar.gz
advtrains-4d25541309cf7a0d482c3a5a7cea1acb3fe2dfcb.tar.bz2
advtrains-4d25541309cf7a0d482c3a5a7cea1acb3fe2dfcb.zip
Change wording (modify component -> configure component)
Diffstat (limited to 'advtrains_line_automation/stoprail.lua')
-rw-r--r--advtrains_line_automation/stoprail.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_line_automation/stoprail.lua b/advtrains_line_automation/stoprail.lua
index 9e6fea0..6c74a3d 100644
--- a/advtrains_line_automation/stoprail.lua
+++ b/advtrains_line_automation/stoprail.lua
@@ -28,7 +28,7 @@ local function show_stoprailform(pos, player)
local pe = advtrains.encode_pos(pos)
local pname = player:get_player_name()
if minetest.is_protected(pos, pname) then
- minetest.chat_send_player(pname, attrans("You are not allowed to modify this track."))
+ minetest.chat_send_player(pname, attrans("You are not allowed to configure this track."))
return
end
@@ -73,7 +73,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local pos = advtrains.decode_pos(pe)
if pos then
if minetest.is_protected(pos, pname) then
- minetest.chat_send_player(pname, attrans("You are not allowed to modify this track."))
+ minetest.chat_send_player(pname, attrans("You are not allowed to configure this track."))
return
end