More i18n
Strings for player kick/ban, anti-cheating and server logs
This commit is contained in:
parent
d38046d74b
commit
fde43a7730
10 changed files with 208 additions and 198 deletions
|
|
@ -31,7 +31,7 @@ namespace TShockAPI
|
|||
{
|
||||
public class TSServerPlayer : TSPlayer
|
||||
{
|
||||
public static string AccountName = "ServerConsole";
|
||||
public static string AccountName = GetParticularString("The account name of server console.", "ServerConsole");
|
||||
|
||||
public TSServerPlayer()
|
||||
: base("Server")
|
||||
|
|
@ -197,17 +197,17 @@ namespace TShockAPI
|
|||
|
||||
private readonly Dictionary<Color, ConsoleColor> _consoleColorMap = new Dictionary<Color, ConsoleColor>
|
||||
{
|
||||
{ Color.Red, ConsoleColor.Red },
|
||||
{ Color.Green, ConsoleColor.Green },
|
||||
{ Color.Blue, ConsoleColor.Cyan },
|
||||
{ new Color(255, 250, 170), ConsoleColor.Yellow },
|
||||
{ Color.Red, ConsoleColor.Red },
|
||||
{ Color.Green, ConsoleColor.Green },
|
||||
{ Color.Blue, ConsoleColor.Cyan },
|
||||
{ new Color(255, 250, 170), ConsoleColor.Yellow },
|
||||
{ new Color(170, 170, 255), ConsoleColor.Cyan },
|
||||
{ new Color(255, 170, 255), ConsoleColor.Magenta },
|
||||
{ new Color(170, 255, 170), ConsoleColor.Green },
|
||||
{ new Color(255, 170, 255), ConsoleColor.Magenta },
|
||||
{ new Color(170, 255, 170), ConsoleColor.Green },
|
||||
{ new Color(255, 170, 170), ConsoleColor.Red },
|
||||
{ new Color(139, 0, 0), ConsoleColor.DarkRed }, // This is the console warning color
|
||||
{ new Color(139, 0, 0), ConsoleColor.DarkRed }, // This is the console warning color
|
||||
{ Color.PaleVioletRed, ConsoleColor.Magenta }, // This is the command logging color
|
||||
{ Color.White, ConsoleColor.White }
|
||||
{ Color.White, ConsoleColor.White }
|
||||
};
|
||||
|
||||
private ConsoleColor PickNearbyConsoleColor(Color color)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue