changed time left localisation in the map download popup to allow better translations

This commit is contained in:
oy 2011-01-05 17:28:53 +01:00
parent 7b46d386dd
commit 18461535fd
14 changed files with 159 additions and 198 deletions

View file

@ -465,6 +465,18 @@ Your skin
%d%% loaded %d%% loaded
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -441,6 +441,18 @@ Your skin
%ds left %ds left
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -943,26 +943,23 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== [ctrl+p] Test grenzen. Deze grenzen laten zien wat een speler maximaal kan zien. == [ctrl+p] Test grenzen. Deze grenzen laten zien wat een speler maximaal kan zien.
left
== nog
minute
== minuut
minutes
== minuten
no limit no limit
== ongelimiteerd == ongelimiteerd
second
== seconde
seconds
== seconden
##### needs translation ##### ##### needs translation #####
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
Name plates size Name plates size
== ==

View file

@ -465,6 +465,18 @@ Your skin
%d%% loaded %d%% loaded
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -723,6 +723,18 @@ ZO
##### needs translation ##### ##### needs translation #####
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ Y-axis of the envelope
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -943,26 +943,23 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== [Strg+P] Schaltet Testrahmen um. Diese Rahmen zeigen, wie viel der Spieler höchstens sehen kann. == [Strg+P] Schaltet Testrahmen um. Diese Rahmen zeigen, wie viel der Spieler höchstens sehen kann.
left
== noch
minute
== Minute
minutes
== Minuten
no limit no limit
== Keine Begrenzung == Keine Begrenzung
second
== Sekunde
seconds
== Sekunden
##### needs translation ##### ##### needs translation #####
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
Name plates size Name plates size
== ==

View file

@ -435,6 +435,18 @@ You must restart the game for all settings to take effect.
%ds left %ds left
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -783,6 +783,18 @@ ZO
%d%% loaded %d%% loaded
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
Alpha value of the envelope Alpha value of the envelope
== ==
@ -948,23 +960,8 @@ Y-axis of the envelope
[HOME] Restore map focus [HOME] Restore map focus
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -462,6 +462,18 @@ Your skin
%d%% loaded %d%% loaded
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -795,6 +795,18 @@ ZO
##### needs translation ##### ##### needs translation #####
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
Alpha value of the envelope Alpha value of the envelope
== ==
@ -948,23 +960,8 @@ Y-axis of the envelope
[HOME] Restore map focus [HOME] Restore map focus
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -465,6 +465,18 @@ Your skin
%d%% loaded %d%% loaded
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -435,6 +435,18 @@ You must restart the game for all settings to take effect.
%ds left %ds left
== ==
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
%s Right click for context menu. %s Right click for context menu.
== ==
@ -948,23 +960,8 @@ ZO
[ctrl+p] Toggles proof borders. These borders represent what a player maximum can see. [ctrl+p] Toggles proof borders. These borders represent what a player maximum can see.
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -849,6 +849,18 @@ ZO
##### needs translation ##### ##### needs translation #####
%i minute left
==
%i minutes left
==
%i second left
==
%i seconds left
==
Alpha value of the envelope Alpha value of the envelope
== ==
@ -948,23 +960,8 @@ Y-axis of the envelope
[HOME] Restore map focus [HOME] Restore map focus
== ==
left
==
minute
==
minutes
==
no limit no limit
== ==
second
==
seconds
==
##### old translations ##### ##### old translations #####

View file

@ -979,13 +979,13 @@ int CMenus::Render()
if(TimeLeft >= 60) if(TimeLeft >= 60)
{ {
TimeLeft /= 60; TimeLeft /= 60;
pTimeLeftString = TimeLeft == 1 ? Localize("minute") : Localize("minutes"); pTimeLeftString = TimeLeft == 1 ? Localize("%i minute left") : Localize("%i minutes left");
} }
else else
pTimeLeftString = TimeLeft == 1 ? Localize("second") : Localize("seconds"); pTimeLeftString = TimeLeft == 1 ? Localize("%i second left") : Localize("%i seconds left");
Box.HSplitTop(20.f, 0, &Box); Box.HSplitTop(20.f, 0, &Box);
Box.HSplitTop(24.f, &Part, &Box); Box.HSplitTop(24.f, &Part, &Box);
str_format(aBuf, sizeof(aBuf), "%i %s %s", TimeLeft, pTimeLeftString, Localize("left")); str_format(aBuf, sizeof(aBuf), pTimeLeftString, TimeLeft);
UI()->DoLabel(&Part, aBuf, 20.f, 0, -1); UI()->DoLabel(&Part, aBuf, 20.f, 0, -1);
// progress bar // progress bar