Translated a string in config_screen

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@425 0420edf4-82e4-42fc-9478-35b55e6d67a3
master
pkeus 2013-08-30 07:46:44 +00:00
parent 4a3077bf3e
commit 5b626e419c
4 changed files with 10 additions and 4 deletions

View File

@ -100,4 +100,7 @@
*[idx] 81 [engl] Wind: Strong [trans] Starker Wind
*[idx] 82 [engl] Wind: Blustery [trans] Sturm
*[idx] 83 [engl] Randomize settings [trans] Zufällige Einstellungen
*[idx] 83 [engl] Randomize settings [trans] Zufällige Einstellungen
*[idx] 84 [engl] Fullscreen setting has changed, [trans] Damit die Vollbild-Einstellung geändert wird,
*[idx] 85 [engl] You need to restart the game [trans] muss das Spiel neugestartet werden.

View File

@ -242,8 +242,8 @@ void CGameConfig::Loop (double time_step) {
if (fullscreen->checked != param.fullscreen) {
FT.SetColor (colDYell);
FT.AutoSizeN (4);
FT.DrawString (CENTER, AutoYPosN (68), "The video adjustments have changed,");
FT.DrawString (CENTER, AutoYPosN (72), "You need to restart the game");
FT.DrawString (CENTER, AutoYPosN (68), Trans.Text(84));
FT.DrawString (CENTER, AutoYPosN (72), Trans.Text(85));
} else {
FT.SetColor (colLGrey);
FT.AutoSizeN (3);

View File

@ -128,6 +128,9 @@ void CTranslation::SetDefaultTranslations () {
texts[82] = "Wind: Blustery";
texts[83] = "Randomize settings";
texts[84] = "Fullscreen setting has changed,";
texts[85] = "You need to restart the game";
}
const string& CTranslation::Text (size_t idx) const {

View File

@ -28,7 +28,7 @@ An name convention:
#include <vector>
#define MAX_LANGUAGES 32
#define NUM_COMMON_TEXTS 84
#define NUM_COMMON_TEXTS 86
#define MAX_COMMON_TEXT_LINES NUM_COMMON_TEXTS*2