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/po/advtrains.pot | 18 ++++++++---------- advtrains/po/de.po | 25 +++++++++++++------------ advtrains/po/fr.po | 23 ++++++++++++----------- advtrains/po/zh_CN.po | 23 ++++++++++++----------- advtrains/po/zh_TW.po | 23 ++++++++++++----------- advtrains_interlocking/tsr_rail.lua | 4 ++-- advtrains_line_automation/stoprail.lua | 4 ++-- advtrains_luaautomation/active_common.lua | 2 +- advtrains_luaautomation/init.lua | 2 +- 9 files changed, 63 insertions(+), 61 deletions(-) diff --git a/advtrains/po/advtrains.pot b/advtrains/po/advtrains.pot index 2b1b5d8..6fda1d7 100644 --- a/advtrains/po/advtrains.pot +++ b/advtrains/po/advtrains.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: advtrains\n" "Report-Msgid-Bugs-To: advtrains-discuss@lists.sr.ht\n" -"POT-Creation-Date: 2023-10-06 23:24+0200\n" +"POT-Creation-Date: 2023-10-09 11:02+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -400,22 +400,19 @@ msgid "Set point speed restriction:" msgstr "" #: advtrains_interlocking/tsr_rail.lua:30 -msgid "You are not allowed to modify this track without the @1 privilege." +msgid "You are not allowed to configure this track without the @1 privilege." msgstr "" #: advtrains_interlocking/tsr_rail.lua:34 -msgid "You are not allowed to modify this protected track." +#: advtrains_line_automation/stoprail.lua:31 +#: advtrains_line_automation/stoprail.lua:76 +msgid "You are not allowed to configure this track." msgstr "" #: advtrains_interlocking/tsr_rail.lua:64 msgid "Point Speed Restriction Track" msgstr "" -#: advtrains_line_automation/stoprail.lua:31 -#: advtrains_line_automation/stoprail.lua:76 -msgid "You are not allowed to modify this track." -msgstr "" - #: advtrains_line_automation/stoprail.lua:54 msgid "Station Code" msgstr "" @@ -483,7 +480,8 @@ msgstr "" #: advtrains_luaautomation/active_common.lua:64 msgid "" -"You are not allowed to modify this LuaATC component without the @1 privilege." +"You are not allowed to configure this LuaATC component without the @1 " +"privilege." msgstr "" #: advtrains_luaautomation/active_common.lua:94 @@ -500,7 +498,7 @@ msgstr "" #: advtrains_luaautomation/init.lua:13 msgid "" -"Can place and modify LuaATC components, including execute potentially " +"Can place and configure LuaATC components, including execute potentially " "harmful Lua code" msgstr "" diff --git a/advtrains/po/de.po b/advtrains/po/de.po index 502bbd4..ad25675 100644 --- a/advtrains/po/de.po +++ b/advtrains/po/de.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: advtrains\n" "Report-Msgid-Bugs-To: advtrains-discuss@lists.sr.ht\n" -"POT-Creation-Date: 2023-10-06 23:24+0200\n" +"POT-Creation-Date: 2023-10-09 11:02+0200\n" "PO-Revision-Date: 2023-10-06 12:28+0200\n" "Last-Translator: Y. Wang \n" "Language-Team: German\n" @@ -432,24 +432,20 @@ msgstr "" #: advtrains_interlocking/tsr_rail.lua:30 #, fuzzy -msgid "You are not allowed to modify this track without the @1 privilege." +msgid "You are not allowed to configure this track without the @1 privilege." msgstr "Sie dürfen ohne das „track_builder“-Privileg kein Gleis bauen." #: advtrains_interlocking/tsr_rail.lua:34 +#: advtrains_line_automation/stoprail.lua:31 +#: advtrains_line_automation/stoprail.lua:76 #, fuzzy -msgid "You are not allowed to modify this protected track." -msgstr "Sie dürfen an geschützten Stellen kein Gleis bauen." +msgid "You are not allowed to configure this track." +msgstr "Sie haben keinen Zugang zum Führerstand." #: advtrains_interlocking/tsr_rail.lua:64 msgid "Point Speed Restriction Track" msgstr "" -#: advtrains_line_automation/stoprail.lua:31 -#: advtrains_line_automation/stoprail.lua:76 -#, fuzzy -msgid "You are not allowed to modify this track." -msgstr "Sie haben keinen Zugang zum Führerstand." - #: advtrains_line_automation/stoprail.lua:54 msgid "Station Code" msgstr "Code der Haltestelle" @@ -521,7 +517,8 @@ msgstr "" #: advtrains_luaautomation/active_common.lua:64 #, fuzzy msgid "" -"You are not allowed to modify this LuaATC component without the @1 privilege." +"You are not allowed to configure this LuaATC component without the @1 " +"privilege." msgstr "Sie dürfen ohne das „track_builder“-Privileg kein Gleis bauen." #: advtrains_luaautomation/active_common.lua:94 @@ -538,7 +535,7 @@ msgstr "" #: advtrains_luaautomation/init.lua:13 msgid "" -"Can place and modify LuaATC components, including execute potentially " +"Can place and configure LuaATC components, including execute potentially " "harmful Lua code" msgstr "" @@ -720,6 +717,10 @@ msgstr "Detektorgleis" #~ "Nutzen Sie Schleichen+Rechtsklick, um trotz geschlossener Türen " #~ "einzusteigen." +#, fuzzy +#~ msgid "You are not allowed to modify this protected track." +#~ msgstr "Sie dürfen an geschützten Stellen kein Gleis bauen." + #~ msgid "" #~ "You need to own at least one neighboring wagon to destroy this couple." #~ msgstr "" diff --git a/advtrains/po/fr.po b/advtrains/po/fr.po index d392fca..ab93c07 100644 --- a/advtrains/po/fr.po +++ b/advtrains/po/fr.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: advtrains\n" "Report-Msgid-Bugs-To: advtrains-discuss@lists.sr.ht\n" -"POT-Creation-Date: 2023-10-06 23:24+0200\n" +"POT-Creation-Date: 2023-10-09 11:02+0200\n" "PO-Revision-Date: 2022-07-05 10:11+0200\n" "Last-Translator: Tanavit \n" "Language-Team: French\n" @@ -437,25 +437,21 @@ msgstr "" #: advtrains_interlocking/tsr_rail.lua:30 #, fuzzy -msgid "You are not allowed to modify this track without the @1 privilege." +msgid "You are not allowed to configure this track without the @1 privilege." msgstr "" "Vous ne pouvez pas construire une voie sans le privilège \"track_builder\"" #: advtrains_interlocking/tsr_rail.lua:34 +#: advtrains_line_automation/stoprail.lua:31 +#: advtrains_line_automation/stoprail.lua:76 #, fuzzy -msgid "You are not allowed to modify this protected track." +msgid "You are not allowed to configure this track." msgstr "Vous ne pouvez pas construire une voie à cet emplacement protégé" #: advtrains_interlocking/tsr_rail.lua:64 msgid "Point Speed Restriction Track" msgstr "" -#: advtrains_line_automation/stoprail.lua:31 -#: advtrains_line_automation/stoprail.lua:76 -#, fuzzy -msgid "You are not allowed to modify this track." -msgstr "Vous ne pouvez pas construire une voie à cet emplacement protégé" - #: advtrains_line_automation/stoprail.lua:54 msgid "Station Code" msgstr "Code de Station" @@ -527,7 +523,8 @@ msgstr "" #: advtrains_luaautomation/active_common.lua:64 #, fuzzy msgid "" -"You are not allowed to modify this LuaATC component without the @1 privilege." +"You are not allowed to configure this LuaATC component without the @1 " +"privilege." msgstr "" "Vous ne pouvez pas construire une voie sans le privilège \"track_builder\"" @@ -545,7 +542,7 @@ msgstr "" #: advtrains_luaautomation/init.lua:13 msgid "" -"Can place and modify LuaATC components, including execute potentially " +"Can place and configure LuaATC components, including execute potentially " "harmful Lua code" msgstr "" @@ -732,6 +729,10 @@ msgstr "Voie détectrice" #~ "Utilisez \"Marcher lentement (Sneak)\" et Clic-Droit pour franchir les " #~ "portes closes !" +#, fuzzy +#~ msgid "You are not allowed to modify this protected track." +#~ msgstr "Vous ne pouvez pas construire une voie à cet emplacement protégé" + #~ msgid "" #~ "You need to own at least one neighboring wagon to destroy this couple." #~ msgstr "" diff --git a/advtrains/po/zh_CN.po b/advtrains/po/zh_CN.po index 0f733c5..d960599 100644 --- a/advtrains/po/zh_CN.po +++ b/advtrains/po/zh_CN.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: advtrains\n" "Report-Msgid-Bugs-To: advtrains-discuss@lists.sr.ht\n" -"POT-Creation-Date: 2023-10-06 23:24+0200\n" +"POT-Creation-Date: 2023-10-09 11:02+0200\n" "PO-Revision-Date: 2023-10-06 12:31+0200\n" "Last-Translator: Y. Wang \n" "Language-Team: Chinese (Simplified)\n" @@ -410,24 +410,20 @@ msgstr "" #: advtrains_interlocking/tsr_rail.lua:30 #, fuzzy -msgid "You are not allowed to modify this track without the @1 privilege." +msgid "You are not allowed to configure this track without the @1 privilege." msgstr "您没有“train_operator”权限,不能在这里建造铁路。" #: advtrains_interlocking/tsr_rail.lua:34 +#: advtrains_line_automation/stoprail.lua:31 +#: advtrains_line_automation/stoprail.lua:76 #, fuzzy -msgid "You are not allowed to modify this protected track." +msgid "You are not allowed to configure this track." msgstr "这里已被保护,您不能在这里建造铁路。" #: advtrains_interlocking/tsr_rail.lua:64 msgid "Point Speed Restriction Track" msgstr "" -#: advtrains_line_automation/stoprail.lua:31 -#: advtrains_line_automation/stoprail.lua:76 -#, fuzzy -msgid "You are not allowed to modify this track." -msgstr "这里已被保护,您不能在这里建造铁路。" - #: advtrains_line_automation/stoprail.lua:54 msgid "Station Code" msgstr "车站代码" @@ -499,7 +495,8 @@ msgstr "" #: advtrains_luaautomation/active_common.lua:64 #, fuzzy msgid "" -"You are not allowed to modify this LuaATC component without the @1 privilege." +"You are not allowed to configure this LuaATC component without the @1 " +"privilege." msgstr "您没有“train_operator”权限,不能在这里建造铁路。" #: advtrains_luaautomation/active_common.lua:94 @@ -516,7 +513,7 @@ msgstr "" #: advtrains_luaautomation/init.lua:13 msgid "" -"Can place and modify LuaATC components, including execute potentially " +"Can place and configure LuaATC components, including execute potentially " "harmful Lua code" msgstr "" @@ -699,6 +696,10 @@ msgstr "探测轨道" #~ msgid "Use Sneak+rightclick to bypass closed doors!" #~ msgstr "请使用潜行+右键上车。" +#, fuzzy +#~ msgid "You are not allowed to modify this protected track." +#~ msgstr "这里已被保护,您不能在这里建造铁路。" + #~ msgid "" #~ "You need to own at least one neighboring wagon to destroy this couple." #~ msgstr "您必须至少拥有其中一节车厢才能分开这两节车厢。" diff --git a/advtrains/po/zh_TW.po b/advtrains/po/zh_TW.po index 0963017..96e3f74 100644 --- a/advtrains/po/zh_TW.po +++ b/advtrains/po/zh_TW.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: advtrains\n" "Report-Msgid-Bugs-To: advtrains-discuss@lists.sr.ht\n" -"POT-Creation-Date: 2023-10-06 23:24+0200\n" +"POT-Creation-Date: 2023-10-09 11:02+0200\n" "PO-Revision-Date: 2023-10-06 12:33+0200\n" "Last-Translator: Y. Wang \n" "Language-Team: Chinese (Traditional)\n" @@ -410,24 +410,20 @@ msgstr "" #: advtrains_interlocking/tsr_rail.lua:30 #, fuzzy -msgid "You are not allowed to modify this track without the @1 privilege." +msgid "You are not allowed to configure this track without the @1 privilege." msgstr "您沒有「train_operator」許可權,不能在這裡建造鐵路。" #: advtrains_interlocking/tsr_rail.lua:34 +#: advtrains_line_automation/stoprail.lua:31 +#: advtrains_line_automation/stoprail.lua:76 #, fuzzy -msgid "You are not allowed to modify this protected track." +msgid "You are not allowed to configure this track." msgstr "這裡已被保護,您不能在這裡建造鐵路。" #: advtrains_interlocking/tsr_rail.lua:64 msgid "Point Speed Restriction Track" msgstr "" -#: advtrains_line_automation/stoprail.lua:31 -#: advtrains_line_automation/stoprail.lua:76 -#, fuzzy -msgid "You are not allowed to modify this track." -msgstr "這裡已被保護,您不能在這裡建造鐵路。" - #: advtrains_line_automation/stoprail.lua:54 msgid "Station Code" msgstr "車站碼" @@ -499,7 +495,8 @@ msgstr "" #: advtrains_luaautomation/active_common.lua:64 #, fuzzy msgid "" -"You are not allowed to modify this LuaATC component without the @1 privilege." +"You are not allowed to configure this LuaATC component without the @1 " +"privilege." msgstr "您沒有「train_operator」許可權,不能在這裡建造鐵路。" #: advtrains_luaautomation/active_common.lua:94 @@ -516,7 +513,7 @@ msgstr "" #: advtrains_luaautomation/init.lua:13 msgid "" -"Can place and modify LuaATC components, including execute potentially " +"Can place and configure LuaATC components, including execute potentially " "harmful Lua code" msgstr "" @@ -699,6 +696,10 @@ msgstr "探測軌道" #~ msgid "Use Sneak+rightclick to bypass closed doors!" #~ msgstr "請使用潛行+右鍵上車。" +#, fuzzy +#~ msgid "You are not allowed to modify this protected track." +#~ msgstr "這裡已被保護,您不能在這裡建造鐵路。" + #~ msgid "" #~ "You need to own at least one neighboring wagon to destroy this couple." #~ msgstr "您必須至少擁有其中一節車廂才能分開這兩節車廂。" diff --git a/advtrains_interlocking/tsr_rail.lua b/advtrains_interlocking/tsr_rail.lua index 4f4872e..c1e3c1c 100644 --- a/advtrains_interlocking/tsr_rail.lua +++ b/advtrains_interlocking/tsr_rail.lua @@ -27,11 +27,11 @@ local adefunc = function(def, preset, suffix, rotation) on_receive_fields = function(pos, formname, fields, player) local pname = player:get_player_name() if not minetest.check_player_privs(pname, {interlocking=true}) then - minetest.chat_send_player(pname, S("You are not allowed to modify this track without the @1 privilege.", "interlocking")) + minetest.chat_send_player(pname, S("You are not allowed to configure this track without the @1 privilege.", "interlocking")) return end if minetest.is_protected(pos, pname) then - minetest.chat_send_player(pname, S("You are not allowed to modify this protected track.")) + minetest.chat_send_player(pname, S("You are not allowed to configure this track.")) minetest.record_protection_violation(pos, pname) return end 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 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