[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] backupmail: Add missing i18n
From: Montel Laurent <montel () kde ! org>
Date: 2012-07-14 11:52:14
Message-ID: 20120714115214.8FF4AA6094 () git ! kde ! org
[Download RAW message or body]
Git commit ca2b56c41e87c0fdd9cd603bd176b2bf363cc546 by Montel Laurent.
Committed on 14/07/2012 at 13:52.
Pushed by mlaurent into branch 'master'.
Add missing i18n
M +5 -1 backupmail/importmailjob.cpp
http://commits.kde.org/kdepim/ca2b56c41e87c0fdd9cd603bd176b2bf363cc546
diff --git a/backupmail/importmailjob.cpp b/backupmail/importmailjob.cpp
index 8613c6c..e30e06f 100644
--- a/backupmail/importmailjob.cpp
+++ b/backupmail/importmailjob.cpp
@@ -233,6 +233,7 @@ void ImportMailJob::restoreTransports()
void ImportMailJob::restoreResources()
{
+ Q_EMIT info(i18n("Restore resources..."));
MessageViewer::KCursorSaver busy( MessageViewer::KBusyPtr::busy() );
Q_FOREACH(const QString& filename, mFileList) {
if(filename.startsWith(BackupMailUtil::resourcesPath())) {
@@ -412,10 +413,12 @@ void ImportMailJob::restoreResources()
}
}
}
+ Q_EMIT info(i18n("Resources restored."));
}
void ImportMailJob::restoreMails()
{
+ Q_EMIT info(i18n("Restore mails..."));
MessageViewer::KCursorSaver busy( MessageViewer::KBusyPtr::busy() );
QDir dir(mTempDirName);
dir.mkdir(BackupMailUtil::mailsPath());
@@ -518,6 +521,7 @@ void ImportMailJob::restoreMails()
//qDebug()<<"url "<<url;
}
}
+ Q_EMIT info(i18n("Mails restored."));
}
void ImportMailJob::copyToFile(const KArchiveFile * archivefile, const QString& \
dest, const QString&filename, const QString&prefix) @@ -742,7 +746,7 @@ void \
ImportMailJob::restoreAkonadiDb()
Q_EMIT error(i18n("akonadi database file could not be found in the archive."));
return;
}
-
+ Q_EMIT info(i18n("Restore Akonadi Database..."));
MessageViewer::KCursorSaver busy( MessageViewer::KBusyPtr::busy() );
const KArchiveEntry* akonadiDataBaseEntry = \
mArchiveDirectory->entry(akonadiDbPath);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic