mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Rermove Localize from server message
This commit is contained in:
parent
9a3ab61b9e
commit
a65243d8e9
|
@ -1312,11 +1312,11 @@ void CMenus::RenderSettingsHUD(CUIRect MainView)
|
|||
|
||||
char name[16];
|
||||
str_copy(name, g_Config.m_PlayerName, sizeof(name));
|
||||
str_format(aBuf, sizeof(aBuf), Localize("*** '%s' entered and joined the spectators"), name);
|
||||
str_format(aBuf, sizeof(aBuf), "*** '%s' entered and joined the spectators", name);
|
||||
while (TextRender()->TextWidth(0, 12.0f, aBuf, -1) > Label.w)
|
||||
{
|
||||
name[str_length(name) - 1] = 0;
|
||||
str_format(aBuf, sizeof(aBuf), Localize("*** '%s' entered and joined the spectators"), name);
|
||||
str_format(aBuf, sizeof(aBuf), "*** '%s' entered and joined the spectators", name);
|
||||
}
|
||||
UI()->DoLabelScaled(&Label, aBuf, 12.0f, -1);
|
||||
TextRender()->TextColor(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
|
|
Loading…
Reference in a new issue