Add settings option to prefer friends when auto-completing

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-02-05 13:52:01 +01:00
parent c3805e2552
commit c51fca261f
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
2 changed files with 4 additions and 0 deletions

View file

@ -388,6 +388,9 @@ Show name plates
Show only chat messages from friends
== Nur Nachrichten von Freunden anzeigen
Prefer friends when auto-completing in chat
== Freunde bei Autovervollständigung im Chat bevorzugen
Sound
== Ton

View file

@ -2578,6 +2578,7 @@ void CMenus::RenderSettingsAppearance(CUIRect MainView)
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowChat, Localize("Show chat"), &g_Config.m_ClShowChat, &Section, LineSize);
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClChatTeamColors, Localize("Show names in chat in team colors"), &g_Config.m_ClChatTeamColors, &Section, LineSize);
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowChatFriends, Localize("Show only chat messages from friends"), &g_Config.m_ClShowChatFriends, &Section, LineSize);
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClChatCompleteFriendsFirst, Localize("Prefer friends when auto-completing in chat"), &g_Config.m_ClChatCompleteFriendsFirst, &Section, LineSize);
if(DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClChatOld, Localize("Use old chat style"), &g_Config.m_ClChatOld, &Section, LineSize))
GameClient()->m_Chat.RebuildChat();