mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed a l10n bug for some languages
This commit is contained in:
parent
7f15b3ac57
commit
f8d21b48af
|
@ -960,7 +960,7 @@ int CMenus::Render()
|
|||
Box.VMargin(20.f/UI()->Scale(), &Box);
|
||||
if(m_pClient->Editor()->HasUnsavedData())
|
||||
{
|
||||
char aBuf[128];
|
||||
char aBuf[256];
|
||||
str_format(aBuf, sizeof(aBuf), "%s\n%s", Localize("There's an unsaved map in the editor, you might want to save it before you quit the game."), Localize("Quit anyway?"));
|
||||
UI()->DoLabelScaled(&Box, aBuf, 20.f, -1, Part.w-20.0f);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue