summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/sendmailprogress.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/libmailwrapper/sendmailprogress.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/sendmailprogress.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kmicromail/libmailwrapper/sendmailprogress.cpp b/kmicromail/libmailwrapper/sendmailprogress.cpp
index dc0c75a..20dfe9b 100644
--- a/kmicromail/libmailwrapper/sendmailprogress.cpp
+++ b/kmicromail/libmailwrapper/sendmailprogress.cpp
@@ -1,6 +1,7 @@
#include "sendmailprogress.h"
#include <qprogressbar.h>
#include <qlabel.h>
+#include <klocale.h>
progressMailSend::progressMailSend(QWidget*parent, const char * name)
:progressMailSendUI(parent,name,true),m_current_mail(0),m_current_single(0),m_max_mail(0),m_max_single(0)
@@ -34,7 +35,7 @@ void progressMailSend::setSingleMail(unsigned int aCurrent,unsigned int aMax)
void progressMailSend::setSingle()
{
- QString text = QString(tr("%1 of %2 bytes send")).arg(m_current_single).arg(m_max_single);
+ QString text = QString(i18n("%1 of %2 bytes send")).arg(m_current_single).arg(m_max_single);
singleMailLabel->setText(text);
singleMailProgressBar->setTotalSteps(m_max_single);
singleMailProgressBar->setProgress(m_current_single);
@@ -42,6 +43,6 @@ void progressMailSend::setSingle()
void progressMailSend::setMails()
{
- QString text = QString(tr("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail);
+ QString text = QString(i18n("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail);
allMailLabel->setText(text);
}