diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-22 12:19:25 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-06-22 14:54:56 +0300 |
commit | 4801648a5154e20b743690077df85f36bb8c9db2 (patch) | |
tree | de712db0a28bf0428e7f505dfefffcfd05babcf4 /src/libsync/propagateuploadtus.cpp | |
parent | 650be8b0d8d812f73ff2f117a253ae1ff5e3afe1 (diff) |
Reword locked warnings
Diffstat (limited to 'src/libsync/propagateuploadtus.cpp')
-rw-r--r-- | src/libsync/propagateuploadtus.cpp | 2 |
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); |