2689: Add localization for texture warning, improve wording (fixes #2688) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2020-08-31 11:11:07 +00:00 committed by GitHub
commit 3bbf657941
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 101 additions and 8 deletions

View file

@ -648,6 +648,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -1148,6 +1148,9 @@ Best
9+ new mentions
== 9+ novih označenja
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Country / Region
==

View file

@ -1146,6 +1146,9 @@ Zoom in
Zoom out
== Zoom out
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -645,6 +645,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -1181,6 +1181,9 @@ Replay %3d:%02d
9+ new mentions
== 9+ noves mencions
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -648,6 +648,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -651,6 +651,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -648,6 +648,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -1193,6 +1193,9 @@ Grabs
9+ new mentions
== 9+ nieuwe berichten
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -649,6 +649,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -1209,6 +1209,9 @@ Show DDNet map finishes in server browser
transmits your player name to info2.ddnet.tw
== transmet votre pseudonyme à info2.ddnet.tw
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -1211,3 +1211,6 @@ Client message
Country / Region
== Land / Region
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
== Die Breite oder Höhe von Textur %s ist nicht durch 16 teilbar, was visuelle Bugs verursachen kann.

View file

@ -654,6 +654,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -1187,6 +1187,9 @@ Length
Are you sure that you want to disconnect your dummy?
== Biztos, hogy kiakarod léptetni a másolatodat?
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -654,6 +654,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -648,6 +648,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -650,6 +650,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -645,6 +645,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -648,6 +648,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -786,6 +786,9 @@ Personal best:
Best
== ﻦﯾﺮﺘﻬﺑ
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -1193,6 +1193,9 @@ Indicate map finish
Show others (own team only)
== Pokazuj innych (tylko drużynę)
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -901,6 +901,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -660,6 +660,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -1194,6 +1194,9 @@ Grabs
Client message
== Сообщение от клиента
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -670,6 +670,9 @@ Video name:
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
== Tipka K da se ubijes (restart), tipka q da pauziras i gledas druge igrače.
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Server best:
==

View file

@ -1207,3 +1207,6 @@ Use k key to kill (restart), q to pause and watch other players. See settings fo
Country / Region
== 国家 / 地区
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==

View file

@ -648,6 +648,9 @@ Successfully saved the replay!
Replay feature is disabled!
==
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Game paused
==

View file

@ -1194,6 +1194,9 @@ Grabs
9+ new mentions
== 9+ nuevas menciones
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -1190,6 +1190,9 @@ Connect Dummy
Show others (own team only)
== Visa andra (eget lag endast)
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -1201,3 +1201,6 @@ Auto %3d:%02d
Replay %3d:%02d
== 回放 %3d:%02d
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==

View file

@ -1199,5 +1199,8 @@ Grabs
9+ new mentions
== 9+ yeni bildirim
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Country / Region
==

View file

@ -1188,6 +1188,9 @@ Grabs
9+ new mentions
== 9+ нових згадок
The width or height of texture %s is not divisible by 16, which might cause visual bugs.
==
Use k key to kill (restart), q to pause and watch other players. See settings for other key binds.
==

View file

@ -18,6 +18,7 @@
#include <engine/storage.h>
#include <engine/keys.h>
#include <engine/console.h>
#include <game/localization.h>
#include <math.h> // cosf, sinf, log2f
@ -454,16 +455,12 @@ IGraphics::CTextureHandle CGraphics_Threaded::LoadTextureRaw(int Width, int Heig
{
SGraphicsWarning NewWarning;
char aText[128];
if(pTexName && *pTexName)
aText[0] = '\0';
if(pTexName)
{
str_format(aText, sizeof(aText), ":\n\"%s\"\n", pTexName);
str_format(aText, sizeof(aText), "\"%s\"", pTexName);
}
else
{
aText[0] = ' ';
aText[1] = 0;
}
str_format(NewWarning.m_aWarningMsg, sizeof(NewWarning.m_aWarningMsg), "The width and height of texture%sare not divisible by 16, which might cause visual bugs.", aText);
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);
m_Warnings.emplace_back(NewWarning);
}