mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
Improve error message
This one is more user-friendly and grammatically correct. Signed-off-by: AJ Jordan <alex@strugee.net>
This commit is contained in:
parent
83498c30e2
commit
a51d0a14db
1 changed files with 1 additions and 1 deletions
|
@ -780,7 +780,7 @@ void PropagateDownloadFile::slotGetFinished()
|
||||||
if (_tmpFile.size() == 0 && _item->_size > 0) {
|
if (_tmpFile.size() == 0 && _item->_size > 0) {
|
||||||
FileSystem::remove(_tmpFile.fileName());
|
FileSystem::remove(_tmpFile.fileName());
|
||||||
done(SyncFileItem::NormalError,
|
done(SyncFileItem::NormalError,
|
||||||
tr("The downloaded file is empty despite that the server announced it should have been %1.")
|
tr("The downloaded file is empty, but the server said it should have been %1.")
|
||||||
.arg(Utility::octetsToString(_item->_size)));
|
.arg(Utility::octetsToString(_item->_size)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue