Commit e64f99a5 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent b1c7e25c
......@@ -179,7 +179,7 @@ QString ArchiveMailManager::infoToStr(ArchiveMailInfo *info) const
QString infoStr = QLatin1String("collectionId: ") + QString::number(info->saveCollectionId()) + QLatin1Char('\n');
infoStr += QLatin1String("save sub collection: ") + (info->saveSubCollection() ? QStringLiteral("true") : QStringLiteral("false")) + QLatin1Char('\n');
infoStr += QLatin1String("last Date Saved: ") + info->lastDateSaved().toString() + QLatin1Char('\n');
infoStr += QLatin1String("maximum achive number: ") + QString::number(info->maximumArchiveCount()) + QLatin1Char('\n');
infoStr += QLatin1String("maximum archive number: ") + QString::number(info->maximumArchiveCount()) + QLatin1Char('\n');
infoStr += QLatin1String("directory: ") + info->url().toDisplayString() + QLatin1Char('\n');
infoStr += QLatin1String("Enabled: ") + (info->isEnabled() ? QStringLiteral("true") : QStringLiteral("false"));
return infoStr;
......
......@@ -120,7 +120,7 @@ void SecurityPage::GeneralTab::save()
{
if (MessageViewer::MessageViewerSettings::self()->htmlMail() != mSGTab.mHtmlMailCheck->isChecked()) {
if (KMessageBox::warningContinueCancel(this, i18n("Changing the global "
"HTML setting will overrive all folder specific values."), QString(),
"HTML setting will override all folder specific values."), QString(),
KStandardGuiItem::cont(), KStandardGuiItem::cancel(), QStringLiteral("htmlMailOverride")) == KMessageBox::Continue) {
saveCheckBox(mSGTab.mHtmlMailCheck, MessageViewer::MessageViewerSettings::self()->htmlMailItem());
if (kmkernel) {
......
......@@ -470,8 +470,8 @@ void AbstractImportExportJob::extractZipFile(const KArchiveFile *file, const QSt
Q_EMIT error(errorMsg);
}
} else {
QFile achiveFile(source + QLatin1Char('/') + file->name());
if (!achiveFile.copy(destination + QLatin1Char('/') + file->name())) {
QFile archiveFile(source + QLatin1Char('/') + file->name());
if (!archiveFile.copy(destination + QLatin1Char('/') + file->name())) {
Q_EMIT error(i18n("Unable to copy file", file->name()));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment