Localization and Cooler Browser Filter

This commit is contained in:
GreYFoXGTi 2011-01-31 00:30:53 +02:00
parent 9d98ce7e72
commit 984d10970e
16 changed files with 1333 additions and 10 deletions

View file

@ -1,4 +1,4 @@

##### translated strings #####
%d of %d servers, %d players
@ -979,3 +979,83 @@ no limit
Loading DDRace Client
== Učitavam DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -979,3 +979,83 @@ no limit
Loading DDRace Client
== Nahrávám DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -978,3 +978,84 @@ Unable to delete the demo
Loading DDRace Client
== Laden DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -979,3 +979,83 @@ no limit
Loading DDRace Client
== Ladataan DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -980,3 +980,83 @@ Y-axis of the envelope
Loading DDRace Client
== Chargement DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -979,3 +979,83 @@ no limit
Loading DDRace Client
== Lade DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -979,3 +979,83 @@ Warmup
Loading DDRace Client
== Caricamento DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -978,3 +978,84 @@ no limit
Loading DDRace Client
== Ładowanie DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -978,3 +978,84 @@ no limit
Loading DDRace Client
== Carregando DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -974,3 +974,88 @@ The audio device couldn't be initialised.
##### old translations #####
##### DDRace #####
Loading DDRace Client
==
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -978,3 +978,83 @@ no limit
Loading DDRace Client
== Загрузка DDRace Client
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -979,3 +979,83 @@ no limit
Loading DDRace Client
== Učitavam DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -974,3 +974,88 @@ no limit
##### old translations #####
##### DDRace #####
Loading DDRace Client
==
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -979,3 +979,83 @@ no limit
Loading DDRace Client
== Laddar DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -978,3 +978,84 @@ no limit
Loading DDRace Client
== Завантиження DDRace
Cheats
==
Cheats off
==
Cheats on
==
Cheats with time
==
Cheats with time off
==
Cheats with time on
==
Teams
==
Teams off
==
Teams on
==
Pause
==
Pause off
==
Pause on
==
Pause with time
==
Pause with time off
==
Pause with time on
==
Players Collide
==
Player Collision off
==
Player Collision on
==
Player Hooking
==
Player Hooking off
==
Player Hooking on
==
Player Hitting
==
Player Hitting off
==
Player Hitting on
==
Hooking Ends
==
Hooking normal
==
Endless Hooking
==

View file

@ -408,6 +408,7 @@ void CMenus::RenderServerbrowserFilters(CUIRect View)
{
// filters
CUIRect Button;
char aBuf[32];
View.HSplitTop(5.0f, 0, &View);
View.VSplitLeft(5.0f, 0, &View);
@ -440,16 +441,40 @@ void CMenus::RenderServerbrowserFilters(CUIRect View)
if (DoButton_CheckBox((char *)&g_Config.m_BrFilterPureMap, Localize("Standard map"), g_Config.m_BrFilterPureMap, &Button))
g_Config.m_BrFilterPureMap ^= 1;
switch(g_Config.m_BrFilterCheats)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Cheats"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Cheats off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Cheats on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterCheats, Localize("Cheats"), g_Config.m_BrFilterCheats, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterCheats, aBuf, g_Config.m_BrFilterCheats, &Button))
{
g_Config.m_BrFilterCheats = (g_Config.m_BrFilterCheats + 1) % 3;
if(g_Config.m_BrFilterCheats == 1)
g_Config.m_BrFilterCheatTime = 0;
}
switch(g_Config.m_BrFilterCheatTime)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Cheats with time"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Cheats with time off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Cheats with time on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterCheatTime, Localize("Cheats+Time"), (!g_Config.m_BrFilterCheats || g_Config.m_BrFilterCheats == 2) ? g_Config.m_BrFilterCheatTime : 0, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterCheatTime, aBuf, (!g_Config.m_BrFilterCheats || g_Config.m_BrFilterCheats == 2) ? g_Config.m_BrFilterCheatTime : 0, &Button))
{
if(!g_Config.m_BrFilterCheats || g_Config.m_BrFilterCheats == 2)
g_Config.m_BrFilterCheatTime = (g_Config.m_BrFilterCheatTime + 1) % 3;
@ -457,24 +482,60 @@ void CMenus::RenderServerbrowserFilters(CUIRect View)
g_Config.m_BrFilterCheatTime = 0;
}
switch(g_Config.m_BrFilterTeams)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Teams"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Teams off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Teams on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterTeams, Localize("Teams"), g_Config.m_BrFilterTeams, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterTeams, aBuf, g_Config.m_BrFilterTeams, &Button))
g_Config.m_BrFilterTeams = (g_Config.m_BrFilterTeams + 1) % 3;
/*
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterTeamsStrict, Localize("Strict Teams"), g_Config.m_BrFilterTeamsStrict, &Button))
g_Config.m_BrFilterTeamsStrict = (g_Config.m_BrFilterTeamsStrict + 1) % 3;
*/
switch(g_Config.m_BrFilterPause)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Pause"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Pause off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Pause on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPause, Localize("Pause"), g_Config.m_BrFilterPause, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPause, aBuf, g_Config.m_BrFilterPause, &Button))
{
g_Config.m_BrFilterPause = (g_Config.m_BrFilterPause + 1) % 3;
if(g_Config.m_BrFilterPause == 1)
g_Config.m_BrFilterPauseTime = 0;
}
switch(g_Config.m_BrFilterPauseTime)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Pause with time"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Pause with time off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Pause with time on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPauseTime, Localize("Pause + Time"), (!g_Config.m_BrFilterPause || g_Config.m_BrFilterPause == 2) ? g_Config.m_BrFilterPauseTime : 0, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPauseTime, aBuf, (!g_Config.m_BrFilterPause || g_Config.m_BrFilterPause == 2) ? g_Config.m_BrFilterPauseTime : 0, &Button))
{
if(!g_Config.m_BrFilterPause || g_Config.m_BrFilterPause == 2)
g_Config.m_BrFilterPauseTime = (g_Config.m_BrFilterPauseTime + 1) % 3;
@ -482,20 +543,68 @@ void CMenus::RenderServerbrowserFilters(CUIRect View)
g_Config.m_BrFilterPauseTime = 0;
}
switch(g_Config.m_BrFilterPlayerCollision)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Players Collide"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Player Collision off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Player Collision on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPlayerCollision, Localize("Player Collision"), g_Config.m_BrFilterPlayerCollision, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPlayerCollision, aBuf, g_Config.m_BrFilterPlayerCollision, &Button))
g_Config.m_BrFilterPlayerCollision = (g_Config.m_BrFilterPlayerCollision + 1) % 3;
switch(g_Config.m_BrFilterPlayerHooking)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Player Hooking"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Player Hooking off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Player Hooking on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPlayerHooking, Localize("Player Hooking"), g_Config.m_BrFilterPlayerHooking, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPlayerHooking, aBuf, g_Config.m_BrFilterPlayerHooking, &Button))
g_Config.m_BrFilterPlayerHooking = (g_Config.m_BrFilterPlayerHooking + 1) % 3;
switch(g_Config.m_BrFilterPlayerHitting)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Player Hitting"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Player Hitting off"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Player Hitting on"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPlayerHitting, Localize("Player Hitting"), g_Config.m_BrFilterPlayerHitting, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterPlayerHitting, aBuf, g_Config.m_BrFilterPlayerHitting, &Button))
g_Config.m_BrFilterPlayerHitting = (g_Config.m_BrFilterPlayerHitting + 1) % 3;
switch(g_Config.m_BrFilterEndlessHooking)
{
default:
str_format(aBuf, sizeof(aBuf), "%s ?", Localize("Hooking Ends"));
break;
case 1:
str_format(aBuf, sizeof(aBuf), Localize("Hooking normal"));
break;
case 2:
str_format(aBuf, sizeof(aBuf), Localize("Endless Hooking"));
break;
}
View.HSplitTop(20.0f, &Button, &View);
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterEndlessHooking, Localize("Endless Hooking"), g_Config.m_BrFilterEndlessHooking, &Button))
if (DoButton_CheckBox_DontCare((char *)&g_Config.m_BrFilterEndlessHooking, aBuf, g_Config.m_BrFilterEndlessHooking, &Button))
g_Config.m_BrFilterEndlessHooking = (g_Config.m_BrFilterEndlessHooking + 1) % 3;
/*
View.HSplitTop(20.0f, &Button, &View);