Kopete::Messagemsg(session->members().getFirst(),session->account()->myself(),i18n("<b>Received a new fingerprint from <a>%1</a>. You should authenticate this contact.</b>").tqarg(session->members().getFirst()->contactId()),Kopete::Message::Internal,Kopete::Message::RichText);
Kopete::Messagemsg(session->members().getFirst(),session->account()->myself(),i18n("<b>Received a new fingerprint from <a>%1</a>. You should authenticate this contact.</b>").arg(session->members().getFirst()->contactId()),Kopete::Message::Internal,Kopete::Message::RichText);
session->appendMessage(msg);
}
@ -300,7 +300,7 @@ int OtrlChatInterface::decryptMessage( TQString *msg, TQString accountId,
tlv=otrl_tlv_find(tlvs,OTRL_TLV_DISCONNECTED);
if(tlv){
Kopete::Messagemsg(chatSession->members().getFirst(),chatSession->account()->myself(),i18n("<b>%1</b> has ended the OTR session. You should do the same.").tqarg(chatSession->members().getFirst()->contactId()),Kopete::Message::Internal,Kopete::Message::RichText);
Kopete::Messagemsg(chatSession->members().getFirst(),chatSession->account()->myself(),i18n("<b>%1</b> has ended the OTR session. You should do the same.").arg(chatSession->members().getFirst()->contactId()),Kopete::Message::Internal,Kopete::Message::RichText);
i18n("Please contact %1 via another secure way and verify that the following Fingerprint is correct:").tqarg(formatContact(session->members().getFirst()->contactId()))+"\n\n"+fingerprint+"\n\n"+i18n("Are you sure you want to trust this fingerprint?"),
i18n("Please contact %1 via another secure way and verify that the following Fingerprint is correct:").arg(formatContact(session->members().getFirst()->contactId()))+"\n\n"+fingerprint+"\n\n"+i18n("Are you sure you want to trust this fingerprint?"),
body=i18n("Attempting to refresh the OTR session with <b>%1</b>...").tqarg(otrlChatInterface->formatContact(session->members().getFirst()->contactId()));
body=i18n("Attempting to refresh the OTR session with <b>%1</b>...").arg(otrlChatInterface->formatContact(session->members().getFirst()->contactId()));
}else{
body=i18n("Attempting to start a private OTR session with <b>%1</b>...").tqarg(otrlChatInterface->formatContact(session->members().getFirst()->contactId()));
body=i18n("Attempting to start a private OTR session with <b>%1</b>...").arg(otrlChatInterface->formatContact(session->members().getFirst()->contactId()));
i18n("Please contact %1 via another secure way and verify that the following Fingerprint is correct:").tqarg(preferencesDialog->tbFingerprints->text(preferencesDialog->tbFingerprints->currentRow(),0))+"\n\n"+preferencesDialog->tbFingerprints->text(preferencesDialog->tbFingerprints->currentRow(),3)+"\n\n"+i18n("Are you sure you want to trust this fingerprint?"),i18n("Verify fingerprint"));
i18n("Please contact %1 via another secure way and verify that the following Fingerprint is correct:").arg(preferencesDialog->tbFingerprints->text(preferencesDialog->tbFingerprints->currentRow(),0))+"\n\n"+preferencesDialog->tbFingerprints->text(preferencesDialog->tbFingerprints->currentRow(),3)+"\n\n"+i18n("Are you sure you want to trust this fingerprint?"),i18n("Verify fingerprint"));
tlText->setText(i18n("Please enter the secret passphrase to authenticate %1:").tqarg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
tlText->setText(i18n("Please enter the secret passphrase to authenticate %1:").arg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
alContact->setText(i18n("Verify fingerprint for %1.").tqarg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
alFingerprint->setText(i18n("The received fingerprint is:\n\n%1\n\nContact %2 via another secure channel and verify that this fingerprint is correct.").tqarg(OtrlChatInterface::self()->findActiveFingerprint(session)).tqarg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
alVerified->setText(i18n("verified that this is in fact the correct fingerprint for %1").tqarg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
alContact->setText(i18n("Verify fingerprint for %1.").arg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
alFingerprint->setText(i18n("The received fingerprint is:\n\n%1\n\nContact %2 via another secure channel and verify that this fingerprint is correct.").arg(OtrlChatInterface::self()->findActiveFingerprint(session)).arg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));
alVerified->setText(i18n("verified that this is in fact the correct fingerprint for %1").arg(OtrlChatInterface::self()->formatContact(session->members().getFirst()->contactId())));