Merge pull request #3895 from nextcloud/Valdnet-patch-2

Correct typo and remove apostrophe
This commit is contained in:
Valdnet 2021-10-15 10:40:39 +02:00 committed by GitHub
commit 2a68abfc6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,10 +53,10 @@ bool ProcessDirectoryJob::checkForInvalidFileName(const PathTuple &path,
QString errorMessage;
const auto newFileNameEntry = entriesIter->second;
if (newFileNameEntry.serverEntry.isValid()) {
errorMessage = tr("File contains trailing spaces and coudn't be renamed, because a file with the same name already exists on the server.");
errorMessage = tr("File contains trailing spaces and could not be renamed, because a file with the same name already exists on the server.");
}
if (newFileNameEntry.localEntry.isValid()) {
errorMessage = tr("File contains trailing spaces and coudn't be renamed, because a file with the same name already exists locally.");
errorMessage = tr("File contains trailing spaces and could not be renamed, because a file with the same name already exists locally.");
}
if (!errorMessage.isEmpty()) {