mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Fix incorrect activity message on invalid char in the file name.
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
a92d28988a
commit
4106c646f9
1 changed files with 2 additions and 4 deletions
|
@ -269,10 +269,8 @@ bool ProcessDirectoryJob::handleExcluded(const QString &path, const QString &loc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (invalid) {
|
if (invalid) {
|
||||||
item->_errorString = tr("File names containing the character \"%1\" are not supported on this file system.")
|
item->_errorString = tr("File names containing the character \"%1\" are not supported on this file system.").arg(QLatin1Char(invalid));
|
||||||
.arg(QLatin1Char(invalid));
|
} else if (isInvalidPattern) {
|
||||||
}
|
|
||||||
if (isInvalidPattern) {
|
|
||||||
item->_errorString = tr("File name contains at least one invalid character");
|
item->_errorString = tr("File name contains at least one invalid character");
|
||||||
} else {
|
} else {
|
||||||
item->_errorString = tr("The file name is a reserved name on this file system.");
|
item->_errorString = tr("The file name is a reserved name on this file system.");
|
||||||
|
|
Loading…
Reference in a new issue