From 3c5a83698d947a81c78d6c3cea831c5cf9b8fa70 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:21:18 +0100 Subject: [PATCH] chore(i18n): Aligned error messages Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- src/libsync/propagatorjobs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libsync/propagatorjobs.cpp b/src/libsync/propagatorjobs.cpp index b2dfea27ca451..746e29e79eac3 100644 --- a/src/libsync/propagatorjobs.cpp +++ b/src/libsync/propagatorjobs.cpp @@ -416,7 +416,7 @@ void PropagateLocalRename::start() if (fileAlreadyMoved && !deleteOldDbRecord(previousNameInDb)) { return; } else if (!deleteOldDbRecord(_item->_originalFile)) { - qCWarning(lcPropagateLocalRename) << "could not delete file from local DB" << _item->_originalFile; + qCWarning(lcPropagateLocalRename) << "Could not delete file from local DB" << _item->_originalFile; return; } @@ -454,8 +454,8 @@ void PropagateLocalRename::start() SyncJournalFileRecord oldRecord; if (!propagator()->_journal->getFileRecord(oldFileName, &oldRecord)) { - qCWarning(lcPropagateLocalRename) << "could not get file from local DB" << oldFileName; - done(SyncFileItem::NormalError, tr("could not get file %1 from local DB").arg(oldFileNameString), OCC::ErrorCategory::GenericError); + qCWarning(lcPropagateLocalRename) << "Could not get file from local DB" << oldFileName; + done(SyncFileItem::NormalError, tr("Could not get file %1 from local DB").arg(oldFileNameString), OCC::ErrorCategory::GenericError); return; } if (!propagator()->_journal->deleteFileRecord(oldFileName)) { @@ -495,8 +495,8 @@ void PropagateLocalRename::start() bool PropagateLocalRename::deleteOldDbRecord(const QString &fileName) { if (SyncJournalFileRecord oldRecord; !propagator()->_journal->getFileRecord(fileName, &oldRecord)) { - qCWarning(lcPropagateLocalRename) << "could not get file from local DB" << fileName; - done(SyncFileItem::NormalError, tr("could not get file %1 from local DB").arg(fileName), OCC::ErrorCategory::GenericError); + qCWarning(lcPropagateLocalRename) << "Could not get file from local DB" << fileName; + done(SyncFileItem::NormalError, tr("Could not get file %1 from local DB").arg(fileName), OCC::ErrorCategory::GenericError); return false; } if (!propagator()->_journal->deleteFileRecord(fileName)) {