Introduce integrated package manager
This commit introduces an integrated package manager into TShock for the purpose of fetching and installing plugins and their dependencies from NuGet repositories. This makes getting new plugins easier for users, as well as simplifiying more advanced deployment scenarios.
This commit is contained in:
parent
4e59087e7c
commit
be8e51959f
13 changed files with 849 additions and 8 deletions
|
|
@ -1,8 +1,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TShock\n"
|
||||
"POT-Creation-Date: 2022-11-28 07:52:13+0000\n"
|
||||
"PO-Revision-Date: 2022-11-28 07:52:13+0000\n"
|
||||
"POT-Creation-Date: 2022-11-28 08:14:57-0500\n"
|
||||
"PO-Revision-Date: 2022-11-28 08:14:58-0500\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -1172,12 +1172,36 @@ msgstr ""
|
|||
msgid "<From {0}> {1}"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:187
|
||||
#, csharp-format
|
||||
msgid "<green>{0} <black>from <blue>{1} <black>[{2}]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:178
|
||||
#, csharp-format
|
||||
msgid "<green>{0}<black> from <blue>{1} <black>[{2}]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:5551
|
||||
#: ../../TShockAPI/Commands.cs:5582
|
||||
#, csharp-format
|
||||
msgid "<To {0}> {1}"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:136
|
||||
#, csharp-format
|
||||
msgid "=== Dependency ==="
|
||||
msgid_plural "=== Dependencies ==="
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:133
|
||||
#, csharp-format
|
||||
msgid "=== Requested Plugin ==="
|
||||
msgid_plural "=== Requested Plugins ==="
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:2818
|
||||
msgid "a Deerclops"
|
||||
msgstr ""
|
||||
|
|
@ -1333,6 +1357,10 @@ msgstr ""
|
|||
msgid "all bosses"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:169
|
||||
msgid "All done! :)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:2104
|
||||
msgid "All REST tokens have been destroyed."
|
||||
msgstr ""
|
||||
|
|
@ -2798,6 +2826,10 @@ msgid ""
|
|||
"require a server restart."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:100
|
||||
msgid "Connect to the internet to figure out what to download?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/TShock.cs:1329
|
||||
msgid "Connecting via a proxy is not allowed."
|
||||
msgstr ""
|
||||
|
|
@ -2819,8 +2851,8 @@ msgid ""
|
|||
"{0}"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/DB/ResearchDatastore.cs:54
|
||||
#: ../../TShockAPI/DB/BanManager.cs:82
|
||||
#: ../../TShockAPI/DB/ResearchDatastore.cs:54
|
||||
msgid "Could not find a database library (probably Sqlite3.dll)"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3034,6 +3066,11 @@ msgstr ""
|
|||
msgid "disallow <tile ID> <group> - Disallows a group from place a tile."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:140
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:161
|
||||
msgid "Download and install the given packages?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:2648
|
||||
msgid "Duke Fishron"
|
||||
msgstr ""
|
||||
|
|
@ -3720,8 +3757,8 @@ msgstr ""
|
|||
msgid "Group {0} deleted successfully"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/DB/UserManager.cs:638
|
||||
#: ../../TShockAPI/DB/GroupManager.cs:725
|
||||
#: ../../TShockAPI/DB/UserManager.cs:638
|
||||
#, csharp-format
|
||||
msgid "Group {0} does not exist"
|
||||
msgstr ""
|
||||
|
|
@ -3943,6 +3980,15 @@ msgid ""
|
|||
"{0}setup."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:142
|
||||
msgid "If you want to know which plugins need which dependencies, press E."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:162
|
||||
msgid ""
|
||||
"If you'd like to see which plugins need which dependencies again, press E."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Bouncer.cs:980
|
||||
msgid ""
|
||||
"If you're seeing this message and you know what that player did, please "
|
||||
|
|
@ -3976,8 +4022,8 @@ msgstr ""
|
|||
msgid "Incorrect setup code. This incident has been logged."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/DB/TileManager.cs:223
|
||||
#: ../../TShockAPI/DB/ProjectileManager.cs:223
|
||||
#: ../../TShockAPI/DB/TileManager.cs:223
|
||||
#, csharp-format
|
||||
msgid "Infinite group parenting ({0})"
|
||||
msgstr ""
|
||||
|
|
@ -4000,6 +4046,10 @@ msgstr ""
|
|||
msgid "Inserting the ban into the database failed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:39
|
||||
msgid "Install the plugins as specified in the plugins.json"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Rest/Rest.cs:426
|
||||
msgid "Internal server error."
|
||||
msgstr ""
|
||||
|
|
@ -4810,10 +4860,18 @@ msgstr ""
|
|||
msgid "Machine name: {0}"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:141
|
||||
msgid "Make sure that you trust the plugins you're installing."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Bouncer.cs:2489
|
||||
msgid "Malicious portal attempt."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:35
|
||||
msgid "Manage plugins and their requirements"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:280
|
||||
msgid "Manages groups."
|
||||
msgstr ""
|
||||
|
|
@ -5057,6 +5115,10 @@ msgstr ""
|
|||
msgid "NPC damage exceeded {0}."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:103
|
||||
msgid "One moment..."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/DB/RegionManager.cs:102
|
||||
#, csharp-format
|
||||
msgid "One of your UserIDs is not a usable integer: {0}"
|
||||
|
|
@ -5260,8 +5322,8 @@ msgstr ""
|
|||
msgid "Port overridden by startup argument. Set to {0}"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/DB/ResearchDatastore.cs:53
|
||||
#: ../../TShockAPI/DB/BanManager.cs:81
|
||||
#: ../../TShockAPI/DB/ResearchDatastore.cs:53
|
||||
msgid "Possible problem with your database - is Sqlite3.dll present?"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -5384,6 +5446,10 @@ msgstr ""
|
|||
msgid "Reached TilePlace threshold."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:128
|
||||
msgid "Read the message below to find out more."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:1495
|
||||
#, csharp-format
|
||||
msgid "Reason: {0}."
|
||||
|
|
@ -6327,6 +6393,10 @@ msgstr ""
|
|||
msgid "The value has to be greater than zero."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:127
|
||||
msgid "The versions of plugins you requested aren't compatible with eachother."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:2722
|
||||
msgid "the Wall of Flesh"
|
||||
msgstr ""
|
||||
|
|
@ -6393,6 +6463,21 @@ msgid ""
|
|||
"There was an error processing your login or authentication related request."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:121
|
||||
msgid "There was an issue figuring out what to download."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:90
|
||||
msgid "There was an issue reading the packages.json."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:99
|
||||
#, csharp-format
|
||||
msgid "This is the plugin you requested to install."
|
||||
msgid_plural "These are the plugins you requested to install"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: ../../TShockAPI/TShock.cs:1013
|
||||
#: ../../TShockAPI/TShock.cs:1023
|
||||
#, csharp-format
|
||||
|
|
@ -6951,6 +7036,10 @@ msgstr ""
|
|||
msgid "Willow Tree"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:85
|
||||
msgid "Without a list of plugins to install, no plugins can be installed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/BackupManager.cs:80
|
||||
#, csharp-format
|
||||
msgid "World backed up ({0})."
|
||||
|
|
@ -7590,6 +7679,10 @@ msgstr ""
|
|||
msgid "You're not allowed to change tiles here!"
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockPluginManager/NugetCLI.cs:84
|
||||
msgid "You're trying to sync, but you don't have a packages.json file."
|
||||
msgstr ""
|
||||
|
||||
#: ../../TShockAPI/Commands.cs:1987
|
||||
msgid "Your account has been elevated to superadmin for 10 minutes."
|
||||
msgstr ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue