mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
More localization fixes
This commit is contained in:
parent
0deba5a1aa
commit
d581e413c8
|
@ -441,5 +441,20 @@ Show chat
|
|||
Password incorrect
|
||||
== Password incorrect
|
||||
|
||||
Please balance teams!
|
||||
== Please balance teams!
|
||||
|
||||
Connection Problems...
|
||||
== Connection Problems...
|
||||
|
||||
Warmup
|
||||
== Warmup
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== %ds left
|
||||
|
||||
##### old translations ####
|
||||
|
||||
|
|
|
@ -440,4 +440,19 @@ Your skin
|
|||
Password incorrect
|
||||
== Password incorrect
|
||||
|
||||
Please balance teams!
|
||||
== Please balance teams!
|
||||
|
||||
Connection Problems...
|
||||
== Connection Problems...
|
||||
|
||||
Warmup
|
||||
== Warmup
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== %ds left
|
||||
|
||||
##### old translations ####
|
||||
|
|
|
@ -441,5 +441,20 @@ Your skin
|
|||
Password incorrect
|
||||
== Password incorrect
|
||||
|
||||
Please balance teams!
|
||||
== Please balance teams!
|
||||
|
||||
Connection Problems...
|
||||
== Connection Problems...
|
||||
|
||||
Warmup
|
||||
== Warmup
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== %ds left
|
||||
|
||||
##### old translations ####
|
||||
|
||||
|
|
|
@ -439,6 +439,21 @@ Your skin
|
|||
Password incorrect
|
||||
== Passwort falsch
|
||||
|
||||
Please balance teams!
|
||||
== Bitte Teams ausgleichen!
|
||||
|
||||
Connection Problems...
|
||||
== Verbindungsprobleme...
|
||||
|
||||
Warmup
|
||||
== Aufwärmen
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== Noch %ds
|
||||
|
||||
##### needs translation ####
|
||||
|
||||
|
||||
|
|
|
@ -441,5 +441,20 @@ Your skin
|
|||
Password incorrect
|
||||
== Password incorrect
|
||||
|
||||
Please balance teams!
|
||||
== Please balance teams!
|
||||
|
||||
Connection Problems...
|
||||
== Connection Problems...
|
||||
|
||||
Warmup
|
||||
== Warmup
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== %ds left
|
||||
|
||||
##### old translations ####
|
||||
|
||||
|
|
|
@ -438,9 +438,23 @@ Your skin
|
|||
|
||||
##### needs translation ####
|
||||
|
||||
|
||||
Password incorrect
|
||||
== Password incorrect
|
||||
|
||||
Please balance teams!
|
||||
== Please balance teams!
|
||||
|
||||
Connection Problems...
|
||||
== Connection Problems...
|
||||
|
||||
Warmup
|
||||
== Warmup
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== %ds left
|
||||
|
||||
##### old translations ####
|
||||
|
||||
|
|
|
@ -441,5 +441,20 @@ Your skin
|
|||
Password incorrect
|
||||
== Password incorrect
|
||||
|
||||
Please balance teams!
|
||||
== Please balance teams!
|
||||
|
||||
Connection Problems...
|
||||
== Connection Problems...
|
||||
|
||||
Warmup
|
||||
== Warmup
|
||||
|
||||
Sudden Death
|
||||
== Sudden Death
|
||||
|
||||
%ds left
|
||||
== %ds left
|
||||
|
||||
##### old translations ####
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ void CHud::RenderSuddenDeath()
|
|||
if(m_pClient->m_Snap.m_pGameobj->m_SuddenDeath)
|
||||
{
|
||||
float Half = 300.0f*Graphics()->ScreenAspect()/2.0f;
|
||||
const char *pText = "Sudden Death";
|
||||
const char *pText = Localize("Sudden Death");
|
||||
float FontSize = 12.0f;
|
||||
float w = TextRender()->TextWidth(0, FontSize, pText, -1);
|
||||
TextRender()->Text(0, Half-w/2, 2, FontSize, pText, -1);
|
||||
|
@ -133,8 +133,8 @@ void CHud::RenderWarmupTimer()
|
|||
{
|
||||
char Buf[256];
|
||||
float FontSize = 20.0f;
|
||||
float w = TextRender()->TextWidth(0, FontSize, "Warmup", -1);
|
||||
TextRender()->Text(0, 150*Graphics()->ScreenAspect()+-w/2, 50, FontSize, "Warmup", -1);
|
||||
float w = TextRender()->TextWidth(0, FontSize, Localize("Warmup"), -1);
|
||||
TextRender()->Text(0, 150*Graphics()->ScreenAspect()+-w/2, 50, FontSize, Localize("Warmup"), -1);
|
||||
|
||||
int Seconds = m_pClient->m_Snap.m_pGameobj->m_Warmup/SERVER_TICK_SPEED;
|
||||
if(Seconds < 5)
|
||||
|
@ -171,7 +171,7 @@ void CHud::RenderConnectionWarning()
|
|||
{
|
||||
if(Client()->ConnectionProblems())
|
||||
{
|
||||
const char *pText = "Connection Problems...";
|
||||
const char *pText = Localize("Connection Problems...");
|
||||
float w = TextRender()->TextWidth(0, 24, pText, -1);
|
||||
TextRender()->Text(0, 150*Graphics()->ScreenAspect()-w/2, 50, 24, pText, -1);
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ void CHud::RenderTeambalanceWarning()
|
|||
int TeamDiff = m_pClient->m_Snap.m_aTeamSize[0]-m_pClient->m_Snap.m_aTeamSize[1];
|
||||
if (g_Config.m_ClWarningTeambalance && (TeamDiff >= 2 || TeamDiff <= -2))
|
||||
{
|
||||
const char *pText = "Please balance teams!";
|
||||
const char *pText = Localize("Please balance teams!");
|
||||
if(Flash)
|
||||
TextRender()->TextColor(1,1,0.5f,1);
|
||||
else
|
||||
|
@ -214,7 +214,7 @@ void CHud::RenderVoting()
|
|||
char Buf[512];
|
||||
TextRender()->Text(0x0, 5, 60, 6, m_pClient->m_pVoting->VoteDescription(), -1);
|
||||
|
||||
str_format(Buf, sizeof(Buf), "%ds left", m_pClient->m_pVoting->SecondsLeft());
|
||||
str_format(Buf, sizeof(Buf), Localize("%ds left"), m_pClient->m_pVoting->SecondsLeft());
|
||||
float tw = TextRender()->TextWidth(0x0, 6, Buf, -1);
|
||||
TextRender()->Text(0x0, 5+100-tw, 60, 6, Buf, -1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue