[Scummvm-cvs-logs] scummvm master -> 701120cabd3b5d993154cd4fcd80584d6c2813ce

sev- sev at scummvm.org
Mon Apr 18 08:18:31 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
701120cabd SKY: Two more adjustments to Russian BASS


Commit: 701120cabd3b5d993154cd4fcd80584d6c2813ce
    https://github.com/scummvm/scummvm/commit/701120cabd3b5d993154cd4fcd80584d6c2813ce
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-18T08:18:17+02:00

Commit Message:
SKY: Two more adjustments to Russian BASS

Changed paths:
    engines/sky/control.cpp



diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index 07be1c6..9f78234 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -324,7 +324,11 @@ void Control::initPanel() {
 }
 
 void Control::buttonControl(ConResource *pButton) {
-	char autoSave[] = "Restore Autosave";
+	char autoSave[50] = "Restore Autosave";
+
+	if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS)
+		strncpy(autoSave, "Zarpyzit/ abtocoxpahehie", 50);
+
 	if (pButton == NULL) {
 		free(_textSprite);
 		_textSprite = NULL;
@@ -525,8 +529,13 @@ void Control::doControlPanel() {
 }
 
 uint16 Control::handleClick(ConResource *pButton) {
-	char quitDos[] = "Quit to DOS?";
-	char restart[] = "Restart?";
+	char quitDos[50] = "Quit to DOS?";
+	char restart[50] = "Restart?";
+
+	if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS) {
+		strncpy(quitDos, "B[uti b DOC?", 50);
+		strncpy(restart, "Hobaq irpa?", 50);
+	}
 
 	switch (pButton->_onClick) {
 	case DO_NOTHING:
@@ -1562,7 +1571,7 @@ void Control::showGameQuitMsg() {
 
 	screenData = _skyScreen->giveCurrent();
 
-	if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS)         {
+	if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS) {
 		_skyText->displayText(_quitTexts[8 * 2 + 0], textBuf1, true, 320, 255);
 		_skyText->displayText(_quitTexts[8 * 2 + 1], textBuf2, true, 320, 255);
 	} else {






More information about the Scummvm-git-logs mailing list