aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/processinfo.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2025-05-13 15:12:53 +0200
committerEike Ziller <[email protected]>2025-05-14 10:18:12 +0000
commitdca18e33f10c76f487e017c35d891f92f365b06e (patch)
tree17cf93eb565e79a3633970b34ea56179cf88d456 /src/libs/utils/processinfo.cpp
parentbace3cb2473bbeb0604e4ed4925c007becce87c5 (diff)
Various UI text fixes
Fixing case, missing full stops, quotes, etc Change-Id: I0dc1064de0abe73b6a4ff95c81dcf88009057989 Reviewed-by: Leena Miettinen <[email protected]>
Diffstat (limited to 'src/libs/utils/processinfo.cpp')
-rw-r--r--src/libs/utils/processinfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/utils/processinfo.cpp b/src/libs/utils/processinfo.cpp
index 11e00e35387..433b8548187 100644
--- a/src/libs/utils/processinfo.cpp
+++ b/src/libs/utils/processinfo.cpp
@@ -38,11 +38,11 @@ static Result<QList<ProcessInfo>> getLocalProcessesUsingProc(const FilePath &dev
{
const FilePath procDir = devicePath.withNewPath("/proc");
if (!procDir.exists())
- return ResultError(Tr::tr("%1 does not exist").arg(procDir.toUserOutput()));
+ return ResultError(Tr::tr("\"%1\" does not exist.").arg(procDir.toUserOutput()));
const FilePath find = devicePath.withNewPath("find").searchInPath();
if (!find.isExecutableFile())
- return ResultError(Tr::tr("find is not an existing executable"));
+ return ResultError(Tr::tr("\"find\" is not an existing executable"));
static const QString execs = "-exec test -f {}/exe \\; "
"-exec test -f {}/cmdline \\; "
@@ -144,7 +144,7 @@ static Result<QList<ProcessInfo>> getLocalProcessesUsingPs(const FilePath &devic
const FilePath ps = deviceRoot.withNewPath("ps").searchInPath();
if (!ps.isExecutableFile())
- return ResultError(Tr::tr("ps is not an existing executable"));
+ return ResultError(Tr::tr("\"ps\" is not an existing executable."));
// cmdLines are full command lines, usually with absolute path,
// exeNames only the file part of the executable's path.
@@ -179,7 +179,7 @@ static Result<QList<ProcessInfo>> getProcessesUsingPidin(const FilePath &deviceR
{
const FilePath pidin = deviceRoot.withNewPath("pidin").searchInPath();
if (!pidin.isExecutableFile())
- return ResultError(Tr::tr("pidin is not an existing executable"));
+ return ResultError(Tr::tr("\"pidin\" is not an existing executable."));
Process process;
process.setCommand({pidin, {"-F", "%a %A {/%n}"}});