Просмотр исходного кода

Improve error message

This one is more user-friendly and grammatically correct.

Signed-off-by: AJ Jordan <alex@strugee.net>
AJ Jordan 4 лет назад
Родитель
Сommit
a51d0a14db
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/libsync/propagatedownload.cpp

+ 1 - 1
src/libsync/propagatedownload.cpp

@@ -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;
     }