Tr: Wrap file paths with ""

Change-Id: Iee0e941ff503ff485e8e9c0d9fe3e52eea9042d5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2023-05-26 11:29:50 +02:00
parent b7f8143728
commit f2c1455025
24 changed files with 103 additions and 109 deletions

View File

@@ -171,9 +171,10 @@ InterpreterOptionsWidget::InterpreterOptionsWidget()
if (interpreter.command.isEmpty())
return Tr::tr("Executable is empty.");
if (!interpreter.command.exists())
return Tr::tr("%1 does not exist.").arg(interpreter.command.toUserOutput());
return Tr::tr("\"%1\" does not exist.").arg(interpreter.command.toUserOutput());
if (!interpreter.command.isExecutableFile())
return Tr::tr("%1 is not an executable file.").arg(interpreter.command.toUserOutput());
return Tr::tr("\"%1\" is not an executable file.")
.arg(interpreter.command.toUserOutput());
break;
case Qt::DecorationRole:
if (column == 0 && !interpreter.command.isExecutableFile())