Commit 68c4b895 authored by David Jarvie's avatar David Jarvie

Spelling

parent 813f7118
...@@ -269,7 +269,7 @@ void AbstractImportExportJob::backupResourceDirectory(const Akonadi::AgentInstan ...@@ -269,7 +269,7 @@ void AbstractImportExportJob::backupResourceDirectory(const Akonadi::AgentInstan
const QString errorStr = Utils::storeResources(archive(), identifier, archivePath); const QString errorStr = Utils::storeResources(archive(), identifier, archivePath);
if (!errorStr.isEmpty()) if (!errorStr.isEmpty())
Q_EMIT error(errorStr); Q_EMIT error(errorStr);
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
url = Utils::akonadiAgentConfigPath(identifier); url = Utils::akonadiAgentConfigPath(identifier);
if (!url.isEmpty()) { if (!url.isEmpty()) {
...@@ -278,7 +278,7 @@ void AbstractImportExportJob::backupResourceDirectory(const Akonadi::AgentInstan ...@@ -278,7 +278,7 @@ void AbstractImportExportJob::backupResourceDirectory(const Akonadi::AgentInstan
if (QDir(url.path()).exists()) { if (QDir(url.path()).exists()) {
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
...@@ -306,14 +306,14 @@ void AbstractImportExportJob::backupResourceFile(const Akonadi::AgentInstance &a ...@@ -306,14 +306,14 @@ void AbstractImportExportJob::backupResourceFile(const Akonadi::AgentInstance &a
const QString errorStr = Utils::storeResources(archive(), identifier, archivePath); const QString errorStr = Utils::storeResources(archive(), identifier, archivePath);
if (!errorStr.isEmpty()) if (!errorStr.isEmpty())
Q_EMIT error(errorStr); Q_EMIT error(errorStr);
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
url = Utils::akonadiAgentConfigPath(identifier); url = Utils::akonadiAgentConfigPath(identifier);
if (!url.isEmpty()) { if (!url.isEmpty()) {
filename = url.fileName(); filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
...@@ -449,7 +449,7 @@ bool AbstractImportExportJob::backupFullDirectory(const KUrl &url, const QString ...@@ -449,7 +449,7 @@ bool AbstractImportExportJob::backupFullDirectory(const KUrl &url, const QString
const bool fileAdded = archive()->addLocalFile(tmp.fileName(), archivePath + archivename); const bool fileAdded = archive()->addLocalFile(tmp.fileName(), archivePath + archivename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
......
...@@ -88,7 +88,7 @@ void ExportAddressbookJob::backupResources() ...@@ -88,7 +88,7 @@ void ExportAddressbookJob::backupResources()
const QString filename = url.fileName(); const QString filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
......
...@@ -91,7 +91,7 @@ void ExportAlarmJob::backupResources() ...@@ -91,7 +91,7 @@ void ExportAlarmJob::backupResources()
const QString filename = url.fileName(); const QString filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
......
...@@ -94,7 +94,7 @@ void ExportCalendarJob::backupResources() ...@@ -94,7 +94,7 @@ void ExportCalendarJob::backupResources()
const QString filename = url.fileName(); const QString filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
......
...@@ -87,7 +87,7 @@ void ExportJotJob::backupResources() ...@@ -87,7 +87,7 @@ void ExportJotJob::backupResources()
const QString filename = url.fileName(); const QString filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
......
...@@ -486,7 +486,7 @@ void ExportMailJob::backupMails() ...@@ -486,7 +486,7 @@ void ExportMailJob::backupMails()
const QString filename = url.fileName(); const QString filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
......
...@@ -138,7 +138,7 @@ void ExportNotesJob::backupData() ...@@ -138,7 +138,7 @@ void ExportNotesJob::backupData()
const QString filename = url.fileName(); const QString filename = url.fileName();
const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename); const bool fileAdded = archive()->addLocalFile(url.path(), archivePath + filename);
if (fileAdded) if (fileAdded)
Q_EMIT info(i18n("\"%1\" was backuped.",filename)); Q_EMIT info(i18n("\"%1\" was backed up.",filename));
else else
Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename)); Q_EMIT error(i18n("\"%1\" file cannot be added to backup file.",filename));
} }
......
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