author | zautrix <zautrix> | 2004-10-23 22:58:21 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-23 22:58:21 (UTC) |
commit | fcea043d2200bb4bb0b1146a69204af15fb58a7d (patch) (unidiff) | |
tree | c2c210290c02f20af3b307f4c4e47ba8915f7a05 /kmicromail | |
parent | 22c26311ca936fa1036e406c86e0178c16acd090 (diff) | |
download | kdepimpi-fcea043d2200bb4bb0b1146a69204af15fb58a7d.zip kdepimpi-fcea043d2200bb4bb0b1146a69204af15fb58a7d.tar.gz kdepimpi-fcea043d2200bb4bb0b1146a69204af15fb58a7d.tar.bz2 |
kopimail translation
-rw-r--r-- | kmicromail/libmailwrapper/mhwrapper.cpp | 13 | ||||
-rw-r--r-- | kmicromail/libmailwrapper/sendmailprogress.cpp | 5 | ||||
-rw-r--r-- | kmicromail/main.cpp | 1 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 1 |
4 files changed, 11 insertions, 9 deletions
diff --git a/kmicromail/libmailwrapper/mhwrapper.cpp b/kmicromail/libmailwrapper/mhwrapper.cpp index 641d4d9..f4133c0 100644 --- a/kmicromail/libmailwrapper/mhwrapper.cpp +++ b/kmicromail/libmailwrapper/mhwrapper.cpp | |||
@@ -10,2 +10,3 @@ | |||
10 | #include <oprocess.h> | 10 | #include <oprocess.h> |
11 | #include <klocale.h> | ||
11 | //#include <opie2/odebug.h> | 12 | //#include <opie2/odebug.h> |
@@ -78,3 +79,3 @@ void MHwrapper::listMessages(const QString & mailbox, QValueList<Opie::Core::OSm | |||
78 | parseList(target,m_storage->sto_session,f, false, maxSizeInKb ); | 79 | parseList(target,m_storage->sto_session,f, false, maxSizeInKb ); |
79 | Global::statusMessage(tr("Mailbox has %1 mail(s)").arg(target.count())); | 80 | Global::statusMessage(i18n("Mailbox has %1 mail(s)").arg(target.count())); |
80 | } | 81 | } |
@@ -234,3 +235,3 @@ encodedString* MHwrapper::fetchRawBody(const RecMailP&mail) | |||
234 | if (r != MAIL_NO_ERROR) { | 235 | if (r != MAIL_NO_ERROR) { |
235 | Global::statusMessage(tr("Error fetching mail %i").arg(mail->getNumber())); | 236 | Global::statusMessage(i18n("Error fetching mail %i").arg(mail->getNumber())); |
236 | return 0; | 237 | return 0; |
@@ -239,3 +240,3 @@ encodedString* MHwrapper::fetchRawBody(const RecMailP&mail) | |||
239 | if (r != MAIL_NO_ERROR) { | 240 | if (r != MAIL_NO_ERROR) { |
240 | Global::statusMessage(tr("Error fetching mail %i").arg(mail->getNumber())); | 241 | Global::statusMessage(i18n("Error fetching mail %i").arg(mail->getNumber())); |
241 | if (msg) mailmessage_free(msg); | 242 | if (msg) mailmessage_free(msg); |
@@ -292,3 +293,3 @@ int MHwrapper::deleteAllMail(const FolderP&tfolder) | |||
292 | if (r != MAIL_NO_ERROR) { | 293 | if (r != MAIL_NO_ERROR) { |
293 | Global::statusMessage(tr("Error deleting mail %1").arg(i+1)); | 294 | Global::statusMessage(i18n("Error deleting mail %1").arg(i+1)); |
294 | res = 0; | 295 | res = 0; |
@@ -346,3 +347,3 @@ void MHwrapper::oprocessStderr(OProcess*, char *buffer, int ) | |||
346 | QString lineStr = buffer; | 347 | QString lineStr = buffer; |
347 | QMessageBox::warning( 0, tr("Error"), lineStr ,tr("Ok") ); | 348 | QMessageBox::warning( 0, i18n("Error"), lineStr ,i18n("Ok") ); |
348 | removeMboxfailed = true; | 349 | removeMboxfailed = true; |
@@ -363,3 +364,3 @@ void MHwrapper::statusFolder(folderStat&target_stat,const QString & mailbox) | |||
363 | if (r != MAIL_NO_ERROR) { | 364 | if (r != MAIL_NO_ERROR) { |
364 | Global::statusMessage(tr("Error retrieving status")); | 365 | Global::statusMessage(i18n("Error retrieving status")); |
365 | } | 366 | } |
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 | |||
@@ -3,2 +3,3 @@ | |||
3 | #include <qlabel.h> | 3 | #include <qlabel.h> |
4 | #include <klocale.h> | ||
4 | 5 | ||
@@ -36,3 +37,3 @@ void progressMailSend::setSingle() | |||
36 | { | 37 | { |
37 | QString text = QString(tr("%1 of %2 bytes send")).arg(m_current_single).arg(m_max_single); | 38 | QString text = QString(i18n("%1 of %2 bytes send")).arg(m_current_single).arg(m_max_single); |
38 | singleMailLabel->setText(text); | 39 | singleMailLabel->setText(text); |
@@ -44,3 +45,3 @@ void progressMailSend::setMails() | |||
44 | { | 45 | { |
45 | QString text = QString(tr("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail); | 46 | QString text = QString(i18n("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail); |
46 | allMailLabel->setText(text); | 47 | allMailLabel->setText(text); |
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp index 8341c5a..006390c 100644 --- a/kmicromail/main.cpp +++ b/kmicromail/main.cpp | |||
@@ -47,2 +47,3 @@ int main( int argc, char **argv ) { | |||
47 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail"))); | 47 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail"))); |
48 | KPimGlobalPrefs::instance()->setGlobalConfig(); | ||
48 | OpieMail mw; | 49 | OpieMail mw; |
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 3aa7905..a32983c 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp | |||
@@ -36,3 +36,2 @@ OpieMail::OpieMail( QWidget *parent, const char *name ) | |||
36 | settings = new Settings(); | 36 | settings = new Settings(); |
37 | KPimGlobalPrefs::instance()->setGlobalConfig(); | ||
38 | 37 | ||