|
|
|
@ -1074,13 +1074,13 @@ void KBattleshipWindow::parseCommandLine() {
|
|
|
|
|
u.setProtocol("kbattleship");
|
|
|
|
|
if( !u.isValid()) {
|
|
|
|
|
KMessageBox::sorry(this,
|
|
|
|
|
i18n("The URL passed to KDE Battleship '%1' is not a valid url")
|
|
|
|
|
i18n("The URL passed to TDE Battleship '%1' is not a valid url")
|
|
|
|
|
.arg(args->arg(0)));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if( u.protocol() != "kbattleship" ) {
|
|
|
|
|
KMessageBox::sorry(this,
|
|
|
|
|
i18n("The URL passed to KDE Battleship '%1' is not recognised "
|
|
|
|
|
i18n("The URL passed to TDE Battleship '%1' is not recognised "
|
|
|
|
|
"as a Battleship game.")
|
|
|
|
|
.arg(args->arg(0)));
|
|
|
|
|
return;
|
|
|
|
|