summaryrefslogtreecommitdiffabout
path: root/kmicromail/opiemail.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/opiemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/opiemail.cpp41
1 files changed, 21 insertions, 20 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp
index 164988c..3aa7905 100644
--- a/kmicromail/opiemail.cpp
+++ b/kmicromail/opiemail.cpp
@@ -13,2 +13,3 @@
#include "koprefsdialog.h"
+#include "klocale.h"
@@ -178,3 +179,3 @@ void OpieMail::slotSendQueued()
{
- QMessageBox::information(0,tr("Info"),tr("Define a smtp account first!\n"));
+ QMessageBox::information(0,i18n("Info"),i18n("Define a smtp account first!\n"));
return;
@@ -201,3 +202,3 @@ void OpieMail::slotSendQueued()
{
- QMessageBox::information(0,tr("Info"),tr("Mail queue flushed"));
+ QMessageBox::information(0,i18n("Info"),i18n("Mail queue flushed"));
}
@@ -275,3 +276,3 @@ void OpieMail::slotDeleteMail()
RecMailP mail = ((MailListViewItem*)mailView->currentItem() )->data();
- if ( QMessageBox::warning(this, tr("Delete Mail"), QString( tr("<p>Do you really want to delete this mail? <br><br>" ) + mail->getFrom() + " - " + mail->getSubject() ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
+ if ( QMessageBox::warning(this, i18n("Delete Mail"), QString( i18n("<p>Do you really want to delete this mail? <br><br>" ) + mail->getFrom() + " - " + mail->getSubject() ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
{
@@ -285,3 +286,3 @@ void OpieMail::slotDeleteAllMail()
QValueList<RecMailP> t;
- if ( QMessageBox::warning(this, tr("Delete All Mails"), tr("Do you really want to delete\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
+ if ( QMessageBox::warning(this, i18n("Delete All Mails"), i18n("Do you really want to delete\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
{
@@ -322,18 +323,18 @@ void OpieMail::mailHold(int button, QListViewItem *item,const QPoint&,int )
if (mailtype==MAILLIB::A_NNTP) {
- m->insertItem(tr("Read this posting"),this,SLOT(displayMail()));
- m->insertItem(tr("Copy this posting"),this,SLOT(slotMoveCopyMail()));
+ m->insertItem(i18n("Read this posting"),this,SLOT(displayMail()));
+ m->insertItem(i18n("Copy this posting"),this,SLOT(slotMoveCopyMail()));
m->insertSeparator();
- m->insertItem(tr("Copy all selected postings"),this,SLOT(slotMoveCopyAllMail()));
- m->insertItem(tr("Clear selection"),this,SLOT(clearSelection()));
+ m->insertItem(i18n("Copy all selected postings"),this,SLOT(slotMoveCopyAllMail()));
+ m->insertItem(i18n("Clear selection"),this,SLOT(clearSelection()));
} else {
if (folderView->currentisDraft()) {
- m->insertItem(tr("Edit this mail"),this,SLOT(reEditMail()));
+ m->insertItem(i18n("Edit this mail"),this,SLOT(reEditMail()));
}
- m->insertItem(tr("Read this mail"),this,SLOT(displayMail()));
- m->insertItem(tr("Move/Copy this mail"),this,SLOT(slotMoveCopyMail()));
- m->insertItem(tr("Delete this mail"),this,SLOT(slotDeleteMail()));
+ m->insertItem(i18n("Read this mail"),this,SLOT(displayMail()));
+ m->insertItem(i18n("Move/Copy this mail"),this,SLOT(slotMoveCopyMail()));
+ m->insertItem(i18n("Delete this mail"),this,SLOT(slotDeleteMail()));
m->insertSeparator();
- m->insertItem(tr("Move/Copy all selected mail"),this,SLOT(slotMoveCopyAllMail()));
- m->insertItem(tr("Delete all selected mails"),this,SLOT(slotDeleteAllMail()));
- m->insertItem(tr("Clear selection"),this,SLOT(clearSelection()));
+ m->insertItem(i18n("Move/Copy all selected mail"),this,SLOT(slotMoveCopyAllMail()));
+ m->insertItem(i18n("Delete all selected mails"),this,SLOT(slotDeleteAllMail()));
+ m->insertItem(i18n("Clear selection"),this,SLOT(clearSelection()));
}
@@ -402,4 +403,4 @@ void OpieMail::slotMoveCopyMail()
{
- QMessageBox::critical(0,tr("Error creating new Folder"),
- tr("<center>Error while creating<br>new folder - breaking.</center>"));
+ QMessageBox::critical(0,i18n("Error creating new Folder"),
+ i18n("<center>Error while creating<br>new folder - breaking.</center>"));
return;
@@ -418,3 +419,3 @@ void OpieMail::slotMoveCopyAllMail()
QValueList<RecMailP> t;
- // if ( QMessageBox::warning(this, tr("Move/Copy all selected mails"), tr("Do you really want to copy/move\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
+ // if ( QMessageBox::warning(this, i18n("Move/Copy all selected mails"), i18n("Do you really want to copy/move\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
{
@@ -447,4 +448,4 @@ void OpieMail::slotMoveCopyAllMail()
{
- QMessageBox::critical(0,tr("Error creating new Folder"),
- tr("<center>Error while creating<br>new folder - breaking.</center>"));
+ QMessageBox::critical(0,i18n("Error creating new Folder"),
+ i18n("<center>Error while creating<br>new folder - breaking.</center>"));
return;