Updates chat manager localization (#3432)

This commit is contained in:
AJCM-git
2021-02-28 16:16:29 -04:00
committed by GitHub
parent 1eb3493bc4
commit 1409f58c1c
2 changed files with 5 additions and 1 deletions

View File

@@ -237,7 +237,8 @@ namespace Content.Client.Chat
{
if (_currentChatBox != null)
{
string locWarning = Loc.GetString("Your message exceeds {0} character limit", _maxMessageLength);
string locWarning = Loc.GetString("chat-manager-max-message-length",
("maxMessageLength", _maxMessageLength));
_currentChatBox.AddLine(locWarning, ChatChannel.Server, Color.Orange);
_currentChatBox.ClearOnEnter = false; // The text shouldn't be cleared if it hasn't been sent
}