Translated a string in config_screen
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@425 0420edf4-82e4-42fc-9478-35b55e6d67a3master
parent
4a3077bf3e
commit
5b626e419c
|
@ -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.
|
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue