Shut up ReSharper, that isn't localizable
This commit is contained in:
parent
5929bd73b2
commit
a9a9ccef47
1 changed files with 20 additions and 13 deletions
|
|
@ -131,18 +131,7 @@ namespace TShockAPI
|
||||||
#endif
|
#endif
|
||||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||||
|
|
||||||
Console.Write(" ___ ___ ___ ___ ___ \n" +
|
getTShockAscii();
|
||||||
" ___ / /\\ /__/\\ / /\\ / /\\ /__/| \n" +
|
|
||||||
" / /\\ / /:/_ \\ \\:\\ / /::\\ / /:/ | |:| \n" +
|
|
||||||
" / /:/ / /:/ /\\ \\__\\:\\ / /:/\\:\\ / /:/ | |:| \n" +
|
|
||||||
" / /:/ / /:/ /::\\ ___ / /::\\ / /:/ \\:\\ / /:/ ___ __| |:| \n" +
|
|
||||||
" / /::\\ /__/:/ /:/\\:\\/__/\\ /:/\\:\\/__/:/ \\__\\:\\/__/:/ / /\\/__/\\_|:|____\n" +
|
|
||||||
"/__/:/\\:\\\\ \\:\\/:/~/:/\\ \\:\\/:/__\\/\\ \\:\\ / /:/\\ \\:\\ / /:/\\ \\:\\/:::::/\n" +
|
|
||||||
"\\__\\/ \\:\\\\ \\::/ /:/ \\ \\::/ \\ \\:\\ /:/ \\ \\:\\ /:/ \\ \\::/~~~~ \n" +
|
|
||||||
" \\ \\:\\\\__\\/ /:/ \\ \\:\\ \\ \\:\\/:/ \\ \\:\\/:/ \\ \\:\\ \n" +
|
|
||||||
" \\__\\/ /__/:/ \\ \\:\\ \\ \\::/ \\ \\::/ \\ \\:\\ \n" +
|
|
||||||
" \\__\\/ \\__\\/ \\__\\/ \\__\\/ \\__\\/ \n" +
|
|
||||||
"");
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -255,7 +244,25 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private RestObject RestApi_Verify(string username, string password)
|
private static void getTShockAscii()
|
||||||
|
{
|
||||||
|
// ReSharper disable LocalizableElement
|
||||||
|
Console.Write(" ___ ___ ___ ___ ___ \n" +
|
||||||
|
" ___ / /\\ /__/\\ / /\\ / /\\ /__/| \n" +
|
||||||
|
" / /\\ / /:/_ \\ \\:\\ / /::\\ / /:/ | |:| \n" +
|
||||||
|
" / /:/ / /:/ /\\ \\__\\:\\ / /:/\\:\\ / /:/ | |:| \n" +
|
||||||
|
" / /:/ / /:/ /::\\ ___ / /::\\ / /:/ \\:\\ / /:/ ___ __| |:| \n" +
|
||||||
|
" / /::\\ /__/:/ /:/\\:\\/__/\\ /:/\\:\\/__/:/ \\__\\:\\/__/:/ / /\\/__/\\_|:|____\n" +
|
||||||
|
"/__/:/\\:\\\\ \\:\\/:/~/:/\\ \\:\\/:/__\\/\\ \\:\\ / /:/\\ \\:\\ / /:/\\ \\:\\/:::::/\n" +
|
||||||
|
"\\__\\/ \\:\\\\ \\::/ /:/ \\ \\::/ \\ \\:\\ /:/ \\ \\:\\ /:/ \\ \\::/~~~~ \n" +
|
||||||
|
" \\ \\:\\\\__\\/ /:/ \\ \\:\\ \\ \\:\\/:/ \\ \\:\\/:/ \\ \\:\\ \n" +
|
||||||
|
" \\__\\/ /__/:/ \\ \\:\\ \\ \\::/ \\ \\::/ \\ \\:\\ \n" +
|
||||||
|
" \\__\\/ \\__\\/ \\__\\/ \\__\\/ \\__\\/ \n" +
|
||||||
|
"");
|
||||||
|
// ReSharper restore LocalizableElement
|
||||||
|
}
|
||||||
|
|
||||||
|
private RestObject RestApi_Verify(string username, string password)
|
||||||
{
|
{
|
||||||
var userAccount = Users.GetUserByName(username);
|
var userAccount = Users.GetUserByName(username);
|
||||||
if (userAccount == null)
|
if (userAccount == null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue