diff options
| author | oy <Tom_Adams@web.de> | 2011-01-05 17:28:53 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-01-05 17:28:53 +0100 |
| commit | 18461535fde4b7f5196c8b5ee8b396de2fc3c391 (patch) | |
| tree | c20f42c4342d63d05d20cc16affb333e032de8ed /src/game/client/components | |
| parent | 7b46d386dd3b145290664cf7f26d4c1397f482f3 (diff) | |
| download | zcatch-18461535fde4b7f5196c8b5ee8b396de2fc3c391.tar.gz zcatch-18461535fde4b7f5196c8b5ee8b396de2fc3c391.zip | |
changed time left localisation in the map download popup to allow better translations
Diffstat (limited to 'src/game/client/components')
| -rw-r--r-- | src/game/client/components/menus.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 8e8a8654..3d84f2d3 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -979,13 +979,13 @@ int CMenus::Render() if(TimeLeft >= 60) { TimeLeft /= 60; - pTimeLeftString = TimeLeft == 1 ? Localize("minute") : Localize("minutes"); + pTimeLeftString = TimeLeft == 1 ? Localize("%i minute left") : Localize("%i minutes left"); } 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(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); // progress bar |