l10n: Fixed grammar

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
This commit is contained in:
rakekniven 2021-12-16 11:32:07 +01:00 committed by Matthieu Gallien (Rebase PR Action)
parent 907282cf89
commit 5cec3c3ca1

View 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;