Merge pull request #4087 from nextcloud/rakekniven-patch-2

l10n: Fixed grammar
This commit is contained in:
Matthieu Gallien 2022-01-13 11:37:58 +01:00 committed by GitHub
commit 40d8434c8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;