Add stopped by logout sync error (#1603)

Co-authored-by: yangheran <heran.yang@seafile.com>
This commit is contained in:
feiniks 2025-03-12 14:38:20 +08:00 committed by GitHub
parent 93e0eb9755
commit 7503055c5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,9 @@ QString translateSyncErrorCode(const int error_code)
case SYNC_ERROR_ID_CASE_CONFLICT:
error_str = QObject::tr("Path has character case conflict with existing file or folder. Will not be downloaded");
break;
case SYNC_ERROR_ID_STOPPED_BY_LOGOUT:
error_str = QObject::tr("Syncing is stopped by logout. Please re-sync the library if needed");
break;
default:
qWarning("Unknown sync error");
}