From 21532968d4d22701486b3d86dce95de3c591a73e Mon Sep 17 00:00:00 2001 From: "Y. Wang" Date: Fri, 6 Oct 2023 23:24:45 +0200 Subject: Setup more strings for localization --- advtrains/craft_items.lua | 2 +- advtrains/po/advtrains.pot | 119 +++++++++++++++++++++++++++++++++++++++- advtrains/po/de.po | 131 ++++++++++++++++++++++++++++++++++++++++++-- advtrains/po/fr.po | 133 ++++++++++++++++++++++++++++++++++++++++++++- advtrains/po/zh_CN.po | 129 ++++++++++++++++++++++++++++++++++++++++++- advtrains/po/zh_TW.po | 129 ++++++++++++++++++++++++++++++++++++++++++- advtrains/protection.lua | 8 +-- 7 files changed, 630 insertions(+), 21 deletions(-) (limited to 'advtrains') diff --git a/advtrains/craft_items.lua b/advtrains/craft_items.lua index 0e693eb..1188b64 100644 --- a/advtrains/craft_items.lua +++ b/advtrains/craft_items.lua @@ -6,7 +6,7 @@ core.register_craftitem("advtrains:boiler", { core.register_craftitem("advtrains:driver_cab", { - description = attrans("driver's cab"), + description = attrans("Driver's cab"), inventory_image = "advtrains_driver_cab.png", }) diff --git a/advtrains/po/advtrains.pot b/advtrains/po/advtrains.pot index 5135f45..2b1b5d8 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 12:28+0200\n" +"POT-Creation-Date: 2023-10-06 23:24+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -40,6 +40,7 @@ msgid "Digiline channel" msgstr "" #: advtrains/atc.lua:189 advtrains_line_automation/stoprail.lua:65 +#: advtrains_luaautomation/active_common.lua:48 msgid "Save" msgstr "" @@ -137,7 +138,7 @@ msgid "Boiler" msgstr "" #: advtrains/craft_items.lua:9 -msgid "driver's cab" +msgid "Driver's cab" msgstr "" #: advtrains/craft_items.lua:15 @@ -164,6 +165,24 @@ msgstr "" msgid "@1 Platform (low, 45 degree)" msgstr "" +#: advtrains/protection.lua:7 +msgid "Can place, remove and operate trains" +msgstr "" + +#: advtrains/protection.lua:12 +msgid "" +"Can place, remove and operate any train, regardless of owner, whitelist, or " +"protection" +msgstr "" + +#: advtrains/protection.lua:18 +msgid "Can place and dig tracks in unprotected areas" +msgstr "" + +#: advtrains/protection.lua:24 +msgid "Can operate turnouts and signals in unprotected areas" +msgstr "" + #: advtrains/protection.lua:148 msgid "" "You are not allowed to build near tracks without the track_builder privilege." @@ -372,6 +391,31 @@ msgstr "" msgid "You are not allowed to access the driver stand." msgstr "" +#: advtrains_interlocking/tsr_rail.lua:13 +msgid "Point speed restriction: @1" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:14 +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." +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:34 +msgid "You are not allowed to modify this protected 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 "" @@ -409,13 +453,82 @@ msgstr "" msgid "Kick out passengers" msgstr "" -#: advtrains_luaautomation/pcnaming.lua:26 +#: advtrains_line_automation/stoprail.lua:97 +msgid "Station code \"@1\" already exists and is owned by @2." +msgstr "" + +#: advtrains_line_automation/stoprail.lua:111 +msgid "This station is owned by @1. You are not allowed to edit its name." +msgstr "" + +#: advtrains_line_automation/stoprail.lua:221 +msgid "Station/Stop Track" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:17 +msgid "Unconfigured LuaATC component" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:46 +msgid "LuaATC Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:49 +msgid "Clear Local Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:50 +msgid "Code" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:64 +msgid "" +"You are not allowed to modify this LuaATC component without the @1 privilege." +msgstr "" + +#: advtrains_luaautomation/active_common.lua:94 +msgid "LuaATC component assigned to environment '@1'" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:96 +msgid "LuaATC component assigned to an invalid environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:171 +msgid "LuaATC component with error: @1" +msgstr "" + +#: advtrains_luaautomation/init.lua:13 +msgid "" +"Can place and modify LuaATC components, including execute potentially " +"harmful Lua code" +msgstr "" + +#: advtrains_luaautomation/mesecon_controller.lua:211 +msgid "LuaATC Mesecon Controller" +msgstr "" + +#: advtrains_luaautomation/operation_panel.lua:11 +msgid "LuaATC Operation Panel" +msgstr "" + +#: advtrains_luaautomation/pcnaming.lua:28 msgid "" "Passive Component Naming Tool\n" "\n" "Right-click to name a passive component." msgstr "" +#: advtrains_luaautomation/pcnaming.lua:39 +msgid "" +"You are not allowed to name LuaATC passive components without the @1 " +"privilege." +msgstr "" + +#: advtrains_luaautomation/pcnaming.lua:62 +msgid "Set name of component (empty to clear)" +msgstr "" + #: advtrains_train_industrial/init.lua:10 #: advtrains_train_industrial/init.lua:49 advtrains_train_steam/init.lua:20 #: advtrains_train_steam/init.lua:91 diff --git a/advtrains/po/de.po b/advtrains/po/de.po index 60afcb0..502bbd4 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 12:27+0200\n" +"POT-Creation-Date: 2023-10-06 23:24+0200\n" "PO-Revision-Date: 2023-10-06 12:28+0200\n" "Last-Translator: Y. Wang \n" "Language-Team: German\n" @@ -37,6 +37,7 @@ msgid "Digiline channel" msgstr "Digiline-Kanal" #: advtrains/atc.lua:189 advtrains_line_automation/stoprail.lua:65 +#: advtrains_luaautomation/active_common.lua:48 msgid "Save" msgstr "Speichern" @@ -150,8 +151,9 @@ msgid "Boiler" msgstr "" #: advtrains/craft_items.lua:9 -msgid "driver's cab" -msgstr "" +#, fuzzy +msgid "Driver's cab" +msgstr "Führerstand" #: advtrains/craft_items.lua:15 msgid "Wheel" @@ -177,6 +179,24 @@ msgstr "Hoher @1-Bahnsteig (45°)" msgid "@1 Platform (low, 45 degree)" msgstr "Niedriger @1-Bahnsteig (45°)" +#: advtrains/protection.lua:7 +msgid "Can place, remove and operate trains" +msgstr "" + +#: advtrains/protection.lua:12 +msgid "" +"Can place, remove and operate any train, regardless of owner, whitelist, or " +"protection" +msgstr "" + +#: advtrains/protection.lua:18 +msgid "Can place and dig tracks in unprotected areas" +msgstr "" + +#: advtrains/protection.lua:24 +msgid "Can operate turnouts and signals in unprotected areas" +msgstr "" + #: advtrains/protection.lua:148 msgid "" "You are not allowed to build near tracks without the track_builder privilege." @@ -402,6 +422,34 @@ msgstr "" msgid "You are not allowed to access the driver stand." msgstr "Sie haben keinen Zugang zum Führerstand." +#: advtrains_interlocking/tsr_rail.lua:13 +msgid "Point speed restriction: @1" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:14 +msgid "Set point speed restriction:" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:30 +#, fuzzy +msgid "You are not allowed to modify this track without the @1 privilege." +msgstr "Sie dürfen ohne das „track_builder“-Privileg kein Gleis bauen." + +#: advtrains_interlocking/tsr_rail.lua:34 +#, fuzzy +msgid "You are not allowed to modify this protected track." +msgstr "Sie dürfen an geschützten Stellen kein Gleis bauen." + +#: 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" @@ -439,7 +487,71 @@ msgstr "Zug Umkehren" msgid "Kick out passengers" msgstr "Fahrgäste zum Ausstieg zwingen" -#: advtrains_luaautomation/pcnaming.lua:26 +#: advtrains_line_automation/stoprail.lua:97 +msgid "Station code \"@1\" already exists and is owned by @2." +msgstr "" + +#: advtrains_line_automation/stoprail.lua:111 +#, fuzzy +msgid "This station is owned by @1. You are not allowed to edit its name." +msgstr "Dieser Waggon gehört @1, Sie dürfen ihn nicht abbauen." + +#: advtrains_line_automation/stoprail.lua:221 +#, fuzzy +msgid "Station/Stop Track" +msgstr "Name der Haltestelle" + +#: advtrains_luaautomation/active_common.lua:17 +#, fuzzy +msgid "Unconfigured LuaATC component" +msgstr "Nicht konfiguiertes Zugbeeinflussungsgleis" + +#: advtrains_luaautomation/active_common.lua:46 +msgid "LuaATC Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:49 +msgid "Clear Local Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:50 +msgid "Code" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:64 +#, fuzzy +msgid "" +"You are not allowed to modify 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 +msgid "LuaATC component assigned to environment '@1'" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:96 +msgid "LuaATC component assigned to an invalid environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:171 +msgid "LuaATC component with error: @1" +msgstr "" + +#: advtrains_luaautomation/init.lua:13 +msgid "" +"Can place and modify LuaATC components, including execute potentially " +"harmful Lua code" +msgstr "" + +#: advtrains_luaautomation/mesecon_controller.lua:211 +#, fuzzy +msgid "LuaATC Mesecon Controller" +msgstr "Zugbeeinflussungsgleis" + +#: advtrains_luaautomation/operation_panel.lua:11 +msgid "LuaATC Operation Panel" +msgstr "" + +#: advtrains_luaautomation/pcnaming.lua:28 msgid "" "Passive Component Naming Tool\n" "\n" @@ -449,6 +561,17 @@ msgstr "" "\n" "Rechtsklick zur Benennung der passiven Komponente." +#: advtrains_luaautomation/pcnaming.lua:39 +#, fuzzy +msgid "" +"You are not allowed to name LuaATC passive components without the @1 " +"privilege." +msgstr "Sie dürfen ohne das „train_operator“-Privileg keine Züge ankuppeln." + +#: advtrains_luaautomation/pcnaming.lua:62 +msgid "Set name of component (empty to clear)" +msgstr "" + #: advtrains_train_industrial/init.lua:10 #: advtrains_train_industrial/init.lua:49 advtrains_train_steam/init.lua:20 #: advtrains_train_steam/init.lua:91 diff --git a/advtrains/po/fr.po b/advtrains/po/fr.po index fbebfdd..d392fca 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 12:28+0200\n" +"POT-Creation-Date: 2023-10-06 23:24+0200\n" "PO-Revision-Date: 2022-07-05 10:11+0200\n" "Last-Translator: Tanavit \n" "Language-Team: French\n" @@ -36,6 +36,7 @@ msgid "Digiline channel" msgstr "Canal Digiline" #: advtrains/atc.lua:189 advtrains_line_automation/stoprail.lua:65 +#: advtrains_luaautomation/active_common.lua:48 msgid "Save" msgstr "Sauvegarder" @@ -145,7 +146,8 @@ msgid "Boiler" msgstr "Chaudière à vapeur" #: advtrains/craft_items.lua:9 -msgid "driver's cab" +#, fuzzy +msgid "Driver's cab" msgstr "Cabine de pilotage" #: advtrains/craft_items.lua:15 @@ -172,6 +174,24 @@ msgstr "Quai @1 (haut, 45°)" msgid "@1 Platform (low, 45 degree)" msgstr "Quai @1 (bas, 45°)" +#: advtrains/protection.lua:7 +msgid "Can place, remove and operate trains" +msgstr "" + +#: advtrains/protection.lua:12 +msgid "" +"Can place, remove and operate any train, regardless of owner, whitelist, or " +"protection" +msgstr "" + +#: advtrains/protection.lua:18 +msgid "Can place and dig tracks in unprotected areas" +msgstr "" + +#: advtrains/protection.lua:24 +msgid "Can operate turnouts and signals in unprotected areas" +msgstr "" + #: advtrains/protection.lua:148 msgid "" "You are not allowed to build near tracks without the track_builder privilege." @@ -407,6 +427,35 @@ msgstr "" msgid "You are not allowed to access the driver stand." msgstr "" +#: advtrains_interlocking/tsr_rail.lua:13 +msgid "Point speed restriction: @1" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:14 +msgid "Set point speed restriction:" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:30 +#, fuzzy +msgid "You are not allowed to modify 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 +#, fuzzy +msgid "You are not allowed to modify this protected 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" @@ -444,7 +493,72 @@ msgstr "" msgid "Kick out passengers" msgstr "" -#: advtrains_luaautomation/pcnaming.lua:26 +#: advtrains_line_automation/stoprail.lua:97 +msgid "Station code \"@1\" already exists and is owned by @2." +msgstr "" + +#: advtrains_line_automation/stoprail.lua:111 +#, fuzzy +msgid "This station is owned by @1. You are not allowed to edit its name." +msgstr "Ce wagon est la propriété de @1, vous ne pouvez pas le détruire." + +#: advtrains_line_automation/stoprail.lua:221 +#, fuzzy +msgid "Station/Stop Track" +msgstr "Nom de Station" + +#: advtrains_luaautomation/active_common.lua:17 +#, fuzzy +msgid "Unconfigured LuaATC component" +msgstr "Controlleur ATC, non-configuré " + +#: advtrains_luaautomation/active_common.lua:46 +msgid "LuaATC Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:49 +msgid "Clear Local Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:50 +msgid "Code" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:64 +#, fuzzy +msgid "" +"You are not allowed to modify this LuaATC component without the @1 privilege." +msgstr "" +"Vous ne pouvez pas construire une voie sans le privilège \"track_builder\"" + +#: advtrains_luaautomation/active_common.lua:94 +msgid "LuaATC component assigned to environment '@1'" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:96 +msgid "LuaATC component assigned to an invalid environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:171 +msgid "LuaATC component with error: @1" +msgstr "" + +#: advtrains_luaautomation/init.lua:13 +msgid "" +"Can place and modify LuaATC components, including execute potentially " +"harmful Lua code" +msgstr "" + +#: advtrains_luaautomation/mesecon_controller.lua:211 +#, fuzzy +msgid "LuaATC Mesecon Controller" +msgstr "Controlleur ATC" + +#: advtrains_luaautomation/operation_panel.lua:11 +msgid "LuaATC Operation Panel" +msgstr "" + +#: advtrains_luaautomation/pcnaming.lua:28 msgid "" "Passive Component Naming Tool\n" "\n" @@ -454,6 +568,19 @@ msgstr "" "\n" "Clic-Droit pour nommer un composant passif." +#: advtrains_luaautomation/pcnaming.lua:39 +#, fuzzy +msgid "" +"You are not allowed to name LuaATC passive components without the @1 " +"privilege." +msgstr "" +"Vous ne pouvez pas construire à proximité d'une voie sans le privilège " +"\"track_builder\" (?)" + +#: advtrains_luaautomation/pcnaming.lua:62 +msgid "Set name of component (empty to clear)" +msgstr "" + #: advtrains_train_industrial/init.lua:10 #: advtrains_train_industrial/init.lua:49 advtrains_train_steam/init.lua:20 #: advtrains_train_steam/init.lua:91 diff --git a/advtrains/po/zh_CN.po b/advtrains/po/zh_CN.po index f6f9acc..0f733c5 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 12:28+0200\n" +"POT-Creation-Date: 2023-10-06 23:24+0200\n" "PO-Revision-Date: 2023-10-06 12:31+0200\n" "Last-Translator: Y. Wang \n" "Language-Team: Chinese (Simplified)\n" @@ -38,6 +38,7 @@ msgid "Digiline channel" msgstr "Digiline 频道" #: advtrains/atc.lua:189 advtrains_line_automation/stoprail.lua:65 +#: advtrains_luaautomation/active_common.lua:48 msgid "Save" msgstr "保存" @@ -139,7 +140,8 @@ msgid "Boiler" msgstr "锅炉" #: advtrains/craft_items.lua:9 -msgid "driver's cab" +#, fuzzy +msgid "Driver's cab" msgstr "驾驶室" #: advtrains/craft_items.lua:15 @@ -166,6 +168,24 @@ msgstr "较高的@1站台 (45°)" msgid "@1 Platform (low, 45 degree)" msgstr "较低的@1站台 (45°)" +#: advtrains/protection.lua:7 +msgid "Can place, remove and operate trains" +msgstr "" + +#: advtrains/protection.lua:12 +msgid "" +"Can place, remove and operate any train, regardless of owner, whitelist, or " +"protection" +msgstr "" + +#: advtrains/protection.lua:18 +msgid "Can place and dig tracks in unprotected areas" +msgstr "" + +#: advtrains/protection.lua:24 +msgid "Can operate turnouts and signals in unprotected areas" +msgstr "" + #: advtrains/protection.lua:148 msgid "" "You are not allowed to build near tracks without the track_builder privilege." @@ -380,6 +400,34 @@ msgstr "车门已关闭,请使用潜行+右键单击下车。" msgid "You are not allowed to access the driver stand." msgstr "" +#: advtrains_interlocking/tsr_rail.lua:13 +msgid "Point speed restriction: @1" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:14 +msgid "Set point speed restriction:" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:30 +#, fuzzy +msgid "You are not allowed to modify this track without the @1 privilege." +msgstr "您没有“train_operator”权限,不能在这里建造铁路。" + +#: advtrains_interlocking/tsr_rail.lua:34 +#, fuzzy +msgid "You are not allowed to modify this protected 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 "车站代码" @@ -417,7 +465,71 @@ msgstr "" msgid "Kick out passengers" msgstr "踢出乘客" -#: advtrains_luaautomation/pcnaming.lua:26 +#: advtrains_line_automation/stoprail.lua:97 +msgid "Station code \"@1\" already exists and is owned by @2." +msgstr "" + +#: advtrains_line_automation/stoprail.lua:111 +#, fuzzy +msgid "This station is owned by @1. You are not allowed to edit its name." +msgstr "这是 @1 的车厢,您不能摧毁它。" + +#: advtrains_line_automation/stoprail.lua:221 +#, fuzzy +msgid "Station/Stop Track" +msgstr "车站名称" + +#: advtrains_luaautomation/active_common.lua:17 +#, fuzzy +msgid "Unconfigured LuaATC component" +msgstr "ATC 控制器 (未配置)" + +#: advtrains_luaautomation/active_common.lua:46 +msgid "LuaATC Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:49 +msgid "Clear Local Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:50 +msgid "Code" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:64 +#, fuzzy +msgid "" +"You are not allowed to modify this LuaATC component without the @1 privilege." +msgstr "您没有“train_operator”权限,不能在这里建造铁路。" + +#: advtrains_luaautomation/active_common.lua:94 +msgid "LuaATC component assigned to environment '@1'" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:96 +msgid "LuaATC component assigned to an invalid environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:171 +msgid "LuaATC component with error: @1" +msgstr "" + +#: advtrains_luaautomation/init.lua:13 +msgid "" +"Can place and modify LuaATC components, including execute potentially " +"harmful Lua code" +msgstr "" + +#: advtrains_luaautomation/mesecon_controller.lua:211 +#, fuzzy +msgid "LuaATC Mesecon Controller" +msgstr "ATC 控制器" + +#: advtrains_luaautomation/operation_panel.lua:11 +msgid "LuaATC Operation Panel" +msgstr "" + +#: advtrains_luaautomation/pcnaming.lua:28 msgid "" "Passive Component Naming Tool\n" "\n" @@ -427,6 +539,17 @@ msgstr "" "\n" "右键单击命名所选元件。" +#: advtrains_luaautomation/pcnaming.lua:39 +#, fuzzy +msgid "" +"You are not allowed to name LuaATC passive components without the @1 " +"privilege." +msgstr "您没有“train_operator”权限,不能连接这两节车厢。" + +#: advtrains_luaautomation/pcnaming.lua:62 +msgid "Set name of component (empty to clear)" +msgstr "" + #: advtrains_train_industrial/init.lua:10 #: advtrains_train_industrial/init.lua:49 advtrains_train_steam/init.lua:20 #: advtrains_train_steam/init.lua:91 diff --git a/advtrains/po/zh_TW.po b/advtrains/po/zh_TW.po index 6b5c81f..0963017 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 12:28+0200\n" +"POT-Creation-Date: 2023-10-06 23:24+0200\n" "PO-Revision-Date: 2023-10-06 12:33+0200\n" "Last-Translator: Y. Wang \n" "Language-Team: Chinese (Traditional)\n" @@ -38,6 +38,7 @@ msgid "Digiline channel" msgstr "Digiline 頻道" #: advtrains/atc.lua:189 advtrains_line_automation/stoprail.lua:65 +#: advtrains_luaautomation/active_common.lua:48 msgid "Save" msgstr "儲存" @@ -139,7 +140,8 @@ msgid "Boiler" msgstr "鍋爐" #: advtrains/craft_items.lua:9 -msgid "driver's cab" +#, fuzzy +msgid "Driver's cab" msgstr "駕駛室" #: advtrains/craft_items.lua:15 @@ -166,6 +168,24 @@ msgstr "較高的@1月臺 (45°)" msgid "@1 Platform (low, 45 degree)" msgstr "較低的@1月臺 (45°)" +#: advtrains/protection.lua:7 +msgid "Can place, remove and operate trains" +msgstr "" + +#: advtrains/protection.lua:12 +msgid "" +"Can place, remove and operate any train, regardless of owner, whitelist, or " +"protection" +msgstr "" + +#: advtrains/protection.lua:18 +msgid "Can place and dig tracks in unprotected areas" +msgstr "" + +#: advtrains/protection.lua:24 +msgid "Can operate turnouts and signals in unprotected areas" +msgstr "" + #: advtrains/protection.lua:148 msgid "" "You are not allowed to build near tracks without the track_builder privilege." @@ -380,6 +400,34 @@ msgstr "車門已關閉,請使用潛行+右鍵單擊下車。" msgid "You are not allowed to access the driver stand." msgstr "" +#: advtrains_interlocking/tsr_rail.lua:13 +msgid "Point speed restriction: @1" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:14 +msgid "Set point speed restriction:" +msgstr "" + +#: advtrains_interlocking/tsr_rail.lua:30 +#, fuzzy +msgid "You are not allowed to modify this track without the @1 privilege." +msgstr "您沒有「train_operator」許可權,不能在這裡建造鐵路。" + +#: advtrains_interlocking/tsr_rail.lua:34 +#, fuzzy +msgid "You are not allowed to modify this protected 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 "車站碼" @@ -417,7 +465,71 @@ msgstr "" msgid "Kick out passengers" msgstr "踢出乘客" -#: advtrains_luaautomation/pcnaming.lua:26 +#: advtrains_line_automation/stoprail.lua:97 +msgid "Station code \"@1\" already exists and is owned by @2." +msgstr "" + +#: advtrains_line_automation/stoprail.lua:111 +#, fuzzy +msgid "This station is owned by @1. You are not allowed to edit its name." +msgstr "這是 @1 的車廂,您不能摧毀它。" + +#: advtrains_line_automation/stoprail.lua:221 +#, fuzzy +msgid "Station/Stop Track" +msgstr "車站名稱" + +#: advtrains_luaautomation/active_common.lua:17 +#, fuzzy +msgid "Unconfigured LuaATC component" +msgstr "ATC 控制器 (未配置)" + +#: advtrains_luaautomation/active_common.lua:46 +msgid "LuaATC Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:49 +msgid "Clear Local Environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:50 +msgid "Code" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:64 +#, fuzzy +msgid "" +"You are not allowed to modify this LuaATC component without the @1 privilege." +msgstr "您沒有「train_operator」許可權,不能在這裡建造鐵路。" + +#: advtrains_luaautomation/active_common.lua:94 +msgid "LuaATC component assigned to environment '@1'" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:96 +msgid "LuaATC component assigned to an invalid environment" +msgstr "" + +#: advtrains_luaautomation/active_common.lua:171 +msgid "LuaATC component with error: @1" +msgstr "" + +#: advtrains_luaautomation/init.lua:13 +msgid "" +"Can place and modify LuaATC components, including execute potentially " +"harmful Lua code" +msgstr "" + +#: advtrains_luaautomation/mesecon_controller.lua:211 +#, fuzzy +msgid "LuaATC Mesecon Controller" +msgstr "ATC 控制器" + +#: advtrains_luaautomation/operation_panel.lua:11 +msgid "LuaATC Operation Panel" +msgstr "" + +#: advtrains_luaautomation/pcnaming.lua:28 msgid "" "Passive Component Naming Tool\n" "\n" @@ -427,6 +539,17 @@ msgstr "" "\n" "右鍵單擊命名所選元件。" +#: advtrains_luaautomation/pcnaming.lua:39 +#, fuzzy +msgid "" +"You are not allowed to name LuaATC passive components without the @1 " +"privilege." +msgstr "您沒有「train_operator」許可權,不能連結這兩節車廂。" + +#: advtrains_luaautomation/pcnaming.lua:62 +msgid "Set name of component (empty to clear)" +msgstr "" + #: advtrains_train_industrial/init.lua:10 #: advtrains_train_industrial/init.lua:49 advtrains_train_steam/init.lua:20 #: advtrains_train_steam/init.lua:91 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, }); -- cgit v1.2.3