l10n: Fixed grammar
authorrakekniven <2069590+rakekniven@users.noreply.github.com>
Thu, 16 Dec 2021 10:32:07 +0000 (11:32 +0100)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Thu, 13 Jan 2022 09:39:13 +0000 (09:39 +0000)
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
src/libsync/discoveryphase.cpp

index 59d25d13cdd1c8be3abde3fdef20a94a655b09b2..0e842906eac4fac3c22450f449aabab12290705d 100644 (file)
@@ -186,8 +186,8 @@ QPair<bool, QByteArray> DiscoveryPhase::findAndCancelDeletedJob(const QString &o
                 qCWarning(lcDiscovery) << "(*it)->_type" << (*it)->_type;
                 qCWarning(lcDiscovery) << "(*it)->_isRestoration " << (*it)->_isRestoration;
                 Q_ASSERT(false);
-                addErrorToGui(SyncFileItem::Status::FatalError, tr("Error while canceling delete of a file"), originalPath);
-                emit fatalError(tr("Error while canceling delete of %1").arg(originalPath));
+                addErrorToGui(SyncFileItem::Status::FatalError, tr("Error while canceling deletion of a file"), originalPath);
+                emit fatalError(tr("Error while canceling deletion of %1").arg(originalPath));
             }
             (*it)->_instruction = CSYNC_INSTRUCTION_NONE;
             result = true;