SKY: Added localized quit message for Russian translation

This commit is contained in:
Eugene Sandulenko 2016-04-16 23:29:16 +02:00
parent d633a54526
commit 83c7702198
4 changed files with 9 additions and 3 deletions

View File

@ -1584,7 +1584,7 @@ void Control::showGameQuitMsg() {
free(textBuf2);
}
char Control::_quitTexts[16][35] = {
char Control::_quitTexts[18][35] = {
"Game over player one",
"BE VIGILANT",
"Das Spiel ist aus.",
@ -1600,7 +1600,9 @@ char Control::_quitTexts[16][35] = {
"Fim de jogo para o jogador um",
"BE VIGILANT",
"Game over player one",
"BE VIGILANT"
"BE VIGILANT",
"Irpa okohseha, irpok 1",
"JYD\x96 JDITELEH"
};
uint8 Control::_crossImg[594] = {

View File

@ -292,7 +292,7 @@ private:
ControlStatus *_statusBar;
static char _quitTexts[16][35];
static char _quitTexts[18][35];
static uint8 _crossImg[594];
};

View File

@ -336,6 +336,9 @@ Common::Error SkyEngine::init() {
case Common::EN_GRB:
_systemVars.language = SKY_ENGLISH;
break;
case Common::RU_RUS:
_systemVars.language = SKY_RUSSIAN;
break;
default:
_systemVars.language = SKY_ENGLISH;
break;

View File

@ -45,6 +45,7 @@ namespace Sky {
#define SKY_ITALIAN 5
#define SKY_PORTUGUESE 6
#define SKY_SPANISH 7
#define SKY_RUSSIAN 8
#define ST_COLLISION_BIT 5