forked from qt-creator/qt-creator
Tr: Wrap file paths with ""
Change-Id: Iee0e941ff503ff485e8e9c0d9fe3e52eea9042d5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -197,15 +197,15 @@ expected_str<void> DeviceFileAccess::copyRecursively(const FilePath &src,
|
||||
const FilePath &target) const
|
||||
{
|
||||
if (!src.isDir()) {
|
||||
return make_unexpected(Tr::tr("Cannot copy from %1, it is not a directory.")
|
||||
.arg(src.toUserOutput())
|
||||
.arg(target.toUserOutput()));
|
||||
return make_unexpected(
|
||||
Tr::tr("Cannot copy from \"%1\", it is not a directory.").arg(src.toUserOutput()));
|
||||
}
|
||||
|
||||
if (!target.ensureWritableDir()) {
|
||||
return make_unexpected(Tr::tr("Cannot copy %1 to %2, it is not a writable directory.")
|
||||
.arg(src.toUserOutput())
|
||||
.arg(target.toUserOutput()));
|
||||
return make_unexpected(
|
||||
Tr::tr("Cannot copy \"%1\" to \"%2\", it is not a writable directory.")
|
||||
.arg(src.toUserOutput())
|
||||
.arg(target.toUserOutput()));
|
||||
}
|
||||
|
||||
#ifdef UTILS_STATIC_LIBRARY
|
||||
|
||||
Reference in New Issue
Block a user