focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but Konversation could not find the specified contact in the KDE address book."));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but Konversation could not find the specified contact in the TDE address book."));
return;
return;
}
}
NickInfoPtrnickInfo=getNickInfo(addressee);
NickInfoPtrnickInfo=getNickInfo(addressee);
@ -226,7 +226,7 @@ namespace Konversation
{
{
TQStringuser=addressee.fullEmail();
TQStringuser=addressee.fullEmail();
if(!user.isEmpty())user=" ("+user+')';
if(!user.isEmpty())user=" ("+user+')';
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but the requested user%1 is not online.").arg(user));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but the requested user%1 is not online.").arg(user));
return;
return;
}
}
@ -240,7 +240,7 @@ namespace Konversation
if(contactId.isEmpty())
if(contactId.isEmpty())
{
{
kdDebug()<<"Addressbook::messageNewContact called with empty contactid"<<endl;
kdDebug()<<"Addressbook::messageNewContact called with empty contactid"<<endl;
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application."));
kdDebug()<<"Addressbook::chatWithContact called with empty uid"<<endl;
kdDebug()<<"Addressbook::chatWithContact called with empty uid"<<endl;
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but did not specify any contact to send the file to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation to send a file to a contact, but did not specify any contact to send the file to. This is probably a bug in the other application."));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but Konversation could not find the specified contact in the KDE address book."));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation to send a file to a contact, but Konversation could not find the specified contact in the TDE address book."));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but the requested user%1 is not currently online.").arg(user));
focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation to send a file to a contact, but the requested user%1 is not currently online.").arg(user));
kdDebug()<<"Sending email to "<<mailtoaddress<<endl;
kdDebug()<<"Sending email to "<<mailtoaddress<<endl;
if(proc->hasError())
if(proc->hasError())
{
{
KMessageBox::error(0,i18n("Could not run your email program. This is possibly because one is not installed. To install the KDE email program (kmail) please install the 'tdepim' packages."));
KMessageBox::error(0,i18n("Could not run your email program. This is possibly because one is not installed. To install the TDE email program (kmail) please install the 'tdepim' packages."));