Cleans up comments for localization (#260)

This commit is contained in:
Kamron Batman 2020-09-20 12:48:10 -07:00 • committed by GitHub
parent fd9ec089f7
commit 13e2693b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 751 additions and 798 deletions

View file

@ -98,10 +98,8 @@ namespace Server.Engines.Chat
if (target.IsIgnored(from))
{
from.SendMessage(
35,
target.Username
); // %1 has chosen to ignore you. None of your messages to them will get through.
// %1 has chosen to ignore you. None of your messages to them will get through.
from.SendMessage(35, target.Username);
}
else if (target.IgnorePrivateMessage)
{
@ -109,7 +107,8 @@ namespace Server.Engines.Chat
}
else
{
target.SendMessage(59, from.Mobile, from.GetColorCharacter() + from.Username, text); // [%1]: %2
// [%1]: %2
target.SendMessage(59, from.Mobile, $"{from.GetColorCharacter()}{from.Username}", text);
}
}
@ -148,17 +147,17 @@ namespace Server.Engines.Chat
public static void ShowCharacterName(ChatUser from, Channel channel, string param)
{
from.Anonymous = false;
from.SendMessage(
39
); // You are now showing your character name to any players who inquire with the whois command.
// You are now showing your character name to any players who inquire with the whois command.
from.SendMessage(39);
}
public static void HideCharacterName(ChatUser from, Channel channel, string param)
{
from.Anonymous = true;
from.SendMessage(
40
); // You are no longer showing your character name to any players who inquire with the whois command.
// You are no longer showing your character name to any players who inquire with the whois command.
from.SendMessage(40);
}
public static void ToggleCharacterName(ChatUser from, Channel channel, string param)