Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-06-22 12:19:25 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-22 14:54:56 +0300
commit4801648a5154e20b743690077df85f36bb8c9db2 (patch)
treede712db0a28bf0428e7f505dfefffcfd05babcf4 /src/libsync/propagateuploadtus.cpp
parent650be8b0d8d812f73ff2f117a253ae1ff5e3afe1 (diff)
Reword locked warnings
Diffstat (limited to 'src/libsync/propagateuploadtus.cpp')
-rw-r--r--src/libsync/propagateuploadtus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/propagateuploadtus.cpp b/src/libsync/propagateuploadtus.cpp
index 7ab2f200f..106049a74 100644
--- a/src/libsync/propagateuploadtus.cpp
+++ b/src/libsync/propagateuploadtus.cpp
@@ -64,7 +64,7 @@ UploadDevice *PropagateUploadFileTUS::prepareDevice(const quint64 &chunkSize)
const auto lockMode = propagator()->syncOptions().requiredLockMode();
if (FileSystem::isFileLocked(localFileName, lockMode)) {
emit propagator()->seenLockedFile(localFileName, lockMode);
- abortWithError(SyncFileItem::SoftError, tr("File is locked"));
+ abortWithError(SyncFileItem::SoftError, tr("%1 the file is currently in use").arg(localFileName));
return nullptr;
}
auto device = std::make_unique<UploadDevice>(localFileName, _currentOffset, chunkSize, &propagator()->_bandwidthManager);