Updates chat manager localization (#3432)
This commit is contained in:
@@ -237,7 +237,8 @@ namespace Content.Client.Chat
|
|||||||
{
|
{
|
||||||
if (_currentChatBox != null)
|
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.AddLine(locWarning, ChatChannel.Server, Color.Orange);
|
||||||
_currentChatBox.ClearOnEnter = false; // The text shouldn't be cleared if it hasn't been sent
|
_currentChatBox.ClearOnEnter = false; // The text shouldn't be cleared if it hasn't been sent
|
||||||
}
|
}
|
||||||
|
|||||||
3
Resources/Locale/en-US/chat-manager.ftl
Normal file
3
Resources/Locale/en-US/chat-manager.ftl
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
### UI
|
||||||
|
|
||||||
|
chat-manager-max-message-length = Your message exceeds {$maxMessageLength} character limit
|
||||||
Reference in New Issue
Block a user