aboutsummaryrefslogtreecommitdiff
path: root/advtrains/protection.lua
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2023-10-06 23:24:45 +0200
committerY. Wang <yw05@forksworld.de>2023-10-06 23:24:45 +0200
commit0014ba5517882bcc3c4dca9b9d313bd98a082ba4 (patch)
treed8161a32c2852b214c440e782f6210e12931d572 /advtrains/protection.lua
parent26540daa97df6b1f883227cdabfcdbb7b0616512 (diff)
downloadadvtrains-0014ba5517882bcc3c4dca9b9d313bd98a082ba4.tar.gz
advtrains-0014ba5517882bcc3c4dca9b9d313bd98a082ba4.tar.bz2
advtrains-0014ba5517882bcc3c4dca9b9d313bd98a082ba4.zip
Setup more strings for localization
Diffstat (limited to 'advtrains/protection.lua')
-rw-r--r--advtrains/protection.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/advtrains/protection.lua b/advtrains/protection.lua
index 89e15eb..ac1cd66 100644
--- a/advtrains/protection.lua
+++ b/advtrains/protection.lua
@@ -4,24 +4,24 @@
-- Privileges to control TRAIN DRIVING/COUPLING
minetest.register_privilege("train_operator", {
- description = "Without this privilege, a player can't do anything about trains, neither place or remove them nor drive or couple them (but he can build tracks if he has track_builder)",
+ description = attrans("Can place, remove and operate trains"),
give_to_singleplayer= true,
});
minetest.register_privilege("train_admin", {
- description = "Player may drive, place or remove any trains from/to anywhere, regardless of owner, whitelist or protection",
+ description = attrans("Can place, remove and operate any train, regardless of owner, whitelist, or protection"),
give_to_singleplayer= true,
});
-- Privileges to control TRACK BUILDING
minetest.register_privilege("track_builder", {
- description = "Player can place and/or dig rails not protected from him. If he also has protection_bypass, he can place/dig any rails",
+ description = attrans("Can place and dig tracks in unprotected areas"),
give_to_singleplayer= true,
});
-- Privileges to control OPERATING TURNOUTS/SIGNALS
minetest.register_privilege("railway_operator", {
- description = "Player can operate turnouts and signals not protected from him. If he also has protection_bypass, he can operate any turnouts/signals",
+ description = attrans("Can operate turnouts and signals in unprotected areas"),
give_to_singleplayer= true,
});