mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Use same warning text for both warnings
so we only have to translate it once
This commit is contained in:
parent
2a87814d84
commit
dd3062a61b
|
@ -422,7 +422,7 @@ IGraphics::CTextureHandle CGraphics_Threaded::LoadTextureRaw(int Width, int Heig
|
|||
{
|
||||
str_format(aText, sizeof(aText), "\"%s\"", pTexName);
|
||||
}
|
||||
str_format(NewWarning.m_aWarningMsg, sizeof(NewWarning.m_aWarningMsg), Localize("The width or height of texture %s is not divisible by 16, which might cause visual bugs."), aText);
|
||||
str_format(NewWarning.m_aWarningMsg, sizeof(NewWarning.m_aWarningMsg), Localize("The width of texture %s is not divisible by %d, or the height is not divisible by %d, which might cause visual bugs."), aText, 16, 16);
|
||||
|
||||
m_Warnings.emplace_back(NewWarning);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue