Branding cleanup: KDE -> TDE

pull/1/head
Darrell Anderson 13 years ago
parent fc43d892ee
commit 33bd72ddd2

@ -212,13 +212,13 @@ namespace Konversation
{ {
if(uid.isEmpty()) if(uid.isEmpty())
{ {
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."));
return; return;
} }
KABC::Addressee addressee = addressBook->findByUid(uid); KABC::Addressee addressee = addressBook->findByUid(uid);
if(addressee.isEmpty()) if(addressee.isEmpty())
{ {
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;
} }
NickInfoPtr nickInfo = getNickInfo(addressee); NickInfoPtr nickInfo = getNickInfo(addressee);
@ -226,7 +226,7 @@ namespace Konversation
{ {
TQString user = addressee.fullEmail(); TQString user = 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."));
return; return;
} }
messageContact(contactId, TQString()); messageContact(contactId, TQString());
@ -255,7 +255,7 @@ void Addressbook::chatWithContact( const TQString &uid )
if(uid.isEmpty()) if(uid.isEmpty())
{ {
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."));
return; return;
} }
messageContact(uid, TQString()); messageContact(uid, TQString());
@ -272,13 +272,13 @@ void Addressbook::sendFile(const TQString &uid, const KURL &sourceURL, const TQS
{ {
if(uid.isEmpty()) if(uid.isEmpty())
{ {
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."));
return; return;
} }
KABC::Addressee addressee = addressBook->findByUid(uid); KABC::Addressee addressee = addressBook->findByUid(uid);
if(addressee.isEmpty()) if(addressee.isEmpty())
{ {
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."));
return; return;
} }
NickInfoPtr nickInfo = getNickInfo(addressee); NickInfoPtr nickInfo = getNickInfo(addressee);
@ -286,7 +286,7 @@ void Addressbook::sendFile(const TQString &uid, const KURL &sourceURL, const TQS
{ {
TQString user = addressee.fullEmail(); TQString user = addressee.fullEmail();
if(!user.isEmpty()) user = " (" + user + ')'; if(!user.isEmpty()) user = " (" + user + ')';
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));
return; return;
} }
nickInfo->getServer()->addDccSend(nickInfo->getNickname(), sourceURL, altFileName, fileSize); nickInfo->getServer()->addDccSend(nickInfo->getNickname(), sourceURL, altFileName, fileSize);
@ -305,7 +305,7 @@ void Addressbook::sendFile(const TQString &uid, const KURL &sourceURL, const TQS
* @return whether the add succeeded. False may signal already present, protocol not supported, or add operation not supported. * @return whether the add succeeded. False may signal already present, protocol not supported, or add operation not supported.
*/ */
bool Addressbook::addContact( const TQString &/*contactId*/, const TQString &/*protocolId*/ ) { bool Addressbook::addContact( const TQString &/*contactId*/, const TQString &/*protocolId*/ ) {
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to add a contact. Konversation does support this.")); focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation to add a contact. Konversation does support this."));
return false; return false;
//Nicks are auto added if they are put in the addressbook - I don' think there is anything useful I can do. //Nicks are auto added if they are put in the addressbook - I don' think there is anything useful I can do.
} }

@ -412,7 +412,7 @@ namespace Konversation
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."));
return false; return false;
} }
return true; return true;

Loading…
Cancel
Save