mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Merge pull request #3486 from nextcloud/bugfix/improveInvalidFileNameMessage
improve error message in case of trailing space in directory name
This commit is contained in:
commit
f42639e6ce
1 changed files with 2 additions and 0 deletions
|
@ -282,9 +282,11 @@ bool ProcessDirectoryJob::handleExcluded(const QString &path, const QString &loc
|
|||
break;
|
||||
case CSYNC_FILE_EXCLUDE_TRAILING_SPACE:
|
||||
item->_errorString = tr("Filename contains trailing spaces.");
|
||||
item->_status = SyncFileItem::FileNameInvalid;
|
||||
break;
|
||||
case CSYNC_FILE_EXCLUDE_LONG_FILENAME:
|
||||
item->_errorString = tr("Filename is too long.");
|
||||
item->_status = SyncFileItem::FileNameInvalid;
|
||||
break;
|
||||
case CSYNC_FILE_EXCLUDE_HIDDEN:
|
||||
item->_errorString = tr("File/Folder is ignored because it's hidden.");
|
||||
|
|
Loading…
Reference in a new issue