Message->setText(i18n("Error with white engine"));
KMessageBox::sorry(this,
i18n("You selected %1 to play white,\nbut it can only be used as a book engine.\nPlease select another engine to play white.").tqarg(MSG),
i18n("You selected %1 to play white,\nbut it can only be used as a book engine.\nPlease select another engine to play white.").arg(MSG),
i18n("White Engine Problem"));
break;
caseBOOK_ERROR_2:
Message->setText(i18n("Error with white book engine"));
KMessageBox::sorry(this,
i18n("You selected %1 to play white's book,\nbut it can only be used as a regular engine.\nPlease select another engine to play white's book.").tqarg(MSG),
i18n("You selected %1 to play white's book,\nbut it can only be used as a regular engine.\nPlease select another engine to play white's book.").arg(MSG),
i18n("White Book Engine Problem"));
break;
caseBOOK_ERROR_3:
Message->setText(i18n("Error with black engine"));
KMessageBox::sorry(this,
i18n("You selected %1 to play black,\nbut it can only be used as a book engine.\nPlease select another engine to play black.").tqarg(MSG),
i18n("You selected %1 to play black,\nbut it can only be used as a book engine.\nPlease select another engine to play black.").arg(MSG),
i18n("Black Engine Problem"));
break;
caseBOOK_ERROR_4:
Message->setText(i18n("Error with black book engine"));
KMessageBox::sorry(this,
i18n("You selected %1 to play black's book,\nbut it can only be used as a regular engine.\nPlease select another engine to play black's book.").tqarg(MSG),
i18n("You selected %1 to play black's book,\nbut it can only be used as a regular engine.\nPlease select another engine to play black's book.").arg(MSG),
i18n("Black Book Engine Problem"));
break;
caseENGINE_DIED_ERROR:
Message->setText(i18n("The computer opponent assigned to play %1 has crashed").tqarg(MSG));
Message->setText(i18n("The computer opponent assigned to play %1 has crashed").arg(MSG));
break;
caseLOAD_ERROR:
Message->setText(i18n("There was an error while loading the file"));
WelcomeMessage->setText(i18n("Thank you for installing Knights, the graphical chess interface for KDE. To help you get started quickly, there are a few things Knights will need to setup. You should click 'Next' to see what they are."));
P1B1->addWidget(WelcomeMessage,1,3);
addPage(Page1,i18n("Welcome to Knights v%1!").tqarg(_VERSION_));
addPage(Page1,i18n("Welcome to Knights v%1!").arg(_VERSION_));