Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
This one is more user-friendly and grammatically correct.

Signed-off-by: AJ Jordan <alex@strugee.net>
  • Loading branch information
strugee authored and Felix Weilbach (Rebase PR Action) committed Jun 1, 2021
1 parent da586b7 commit 4c0aa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/propagatedownload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void PropagateDownloadFile::slotGetFinished()
if (_tmpFile.size() == 0 && _item->_size > 0) {
FileSystem::remove(_tmpFile.fileName());
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)));
return;
}
Expand Down

0 comments on commit 4c0aa03

Please sign in to comment.