Skip to content

Commit

Permalink
Merge pull request #4026 from TheBorna/master
Browse files Browse the repository at this point in the history
Change SoftBan bypass console color + Typo fix.
  • Loading branch information
GrimmGringo committed Aug 9, 2016
2 parents 1968480 + 92e0fa4 commit 71ba2e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PoGo.NecroBot.CLI/ConsoleLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void Write(string message, LogLevel level = LogLevel.Info, ConsoleColor c
Console.WriteLine( $"[{DateTime.Now.ToString( "HH:mm:ss" )}] ({LoggingStrings.New}) {message}" );
break;
case LogLevel.SoftBan:
Console.ForegroundColor = color == ConsoleColor.Black ? ConsoleColor.DarkRed : color;
Console.ForegroundColor = color == ConsoleColor.Black ? ConsoleColor.Red : color;
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}] ({LoggingStrings.SoftBan}) {message}");
break;
case LogLevel.LevelUp:
Expand Down
2 changes: 1 addition & 1 deletion PoGo.NecroBot.CLI/Models/LoggingStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal static void SetStrings(ISession session)

Transferred =
session?.Translation.GetTranslation(
TranslationString.LogEntryTransfered) ?? "TRANSFERED";
TranslationString.LogEntryTransfered) ?? "TRANSFERRED";

Update =
session?.Translation.GetTranslation(
Expand Down
4 changes: 2 additions & 2 deletions PoGo.NecroBot.Logic/Common/Translations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public class Translation : ITranslation
new KeyValuePair<TranslationString, string>(TranslationString.LogEntrySniper, "SNIPER"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryRecycling, "RECYCLING"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryPkmn, "PKMN"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryTransfered, "TRANSFERED"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryTransfered, "TRANSFERRED"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryEvolved, "EVOLVED"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryBerry, "BERRY"),
new KeyValuePair<TranslationString, string>(TranslationString.LogEntryEgg, "EGG"),
Expand Down Expand Up @@ -374,7 +374,7 @@ public class Translation : ITranslation
new KeyValuePair<TranslationString, string>(TranslationString.WebSocketFailStart,
"Failed to start WebSocketServer on port : {0}"),
new KeyValuePair<TranslationString, string>(TranslationString.StatsTemplateString,
"{0} - Runtime {1} - Lvl: {2} | EXP/H: {3:n0} | P/H: {4:n0} | Stardust: {5:n0} | Transfered: {6:n0} | Recycled: {7:n0}"),
"{0} - Runtime {1} - Lvl: {2} | EXP/H: {3:n0} | P/H: {4:n0} | Stardust: {5:n0} | Transferred: {6:n0} | Recycled: {7:n0}"),
new KeyValuePair<TranslationString, string>(TranslationString.ProfileStatsTemplateString,
"----- LVL {0} | {1} ----- \n Experience: {2}/{3} \n Pokemons caught: {4} \n Pokemons deployed: {5} \n Pokestops visited: {6} \n Eggs hatched: {7} \n Pokemons evolved: {8} \n Pokedex entries: {9} \n KM walked: {10} \n Pokemons: {11}/{12}"),
new KeyValuePair<TranslationString, string>(TranslationString.ShowPokeTemplate,
Expand Down

0 comments on commit 71ba2e9

Please sign in to comment.