Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
0cce6b5c
Commit
0cce6b5c
authored
Sep 25, 2020
by
Ismael Asensio
Browse files
[applets/diskquota] Fix escaped string
parent
e65233c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/diskquota/plugin/DiskQuota.cpp
View file @
0cce6b5c
...
...
@@ -246,7 +246,7 @@ void DiskQuota::quotaProcessFinished(int exitCode, QProcess::ExitStatus exitStat
item
.
setIconName
(
iconNameForQuota
(
percent
));
item
.
setMountPoint
(
parts
[
0
]);
item
.
setUsage
(
percent
);
item
.
setMountString
(
i18nc
(
"usage of quota, e.g.: '/home/bla: 38
\
% used'"
,
"%1: %2% used"
,
parts
[
0
],
percent
));
item
.
setMountString
(
i18nc
(
"usage of quota, e.g.: '/home/bla: 38% used'"
,
"%1: %2% used"
,
parts
[
0
],
percent
));
item
.
setUsedString
(
i18nc
(
"e.g.: 12 GiB of 20 GiB"
,
"%1 of %2"
,
fmt
.
formatByteSize
(
used
),
fmt
.
formatByteSize
(
softLimit
)));
item
.
setFreeString
(
i18nc
(
"e.g.: 8 GiB free"
,
"%1 free"
,
fmt
.
formatByteSize
(
qMax
(
qint64
(
0
),
freeSize
))));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment