Add i18n system

This commit is contained in:
Janet Blackquill 2022-10-19 22:18:40 -04:00
parent d5f46925a3
commit 77be338e46
11 changed files with 340 additions and 17 deletions

41
i18n/template.pot Normal file
View file

@ -0,0 +1,41 @@
msgid ""
msgstr ""
"Project-Id-Version: TShock\n"
"POT-Creation-Date: 2022-10-20 00:16:51-0400\n"
"PO-Revision-Date: 2022-10-20 00:16:51-0400\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: GetText.NET Extractor\n"
#: ../../TShockAPI/Commands.cs:701
#, csharp-format
msgid "{0} executed: {1}{2}."
msgstr ""
#: ../../TShockAPI/Commands.cs:687
#, csharp-format
msgid "{0} tried to execute {1}{2}."
msgstr ""
#: ../../TShockAPI/Commands.cs:652
#: ../../TShockAPI/Commands.cs:680
#, csharp-format
msgid "Invalid command entered. Type {0}help for a list of valid commands."
msgstr ""
#: ../../TShockAPI/Commands.cs:691
#, csharp-format
msgid "You can use '{0}sudo {0}{1}' to override this check."
msgstr ""
#: ../../TShockAPI/Commands.cs:688
msgid "You do not have access to this command."
msgstr ""
#: ../../TShockAPI/Commands.cs:696
msgid "You must use this command in-game."
msgstr ""