Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Console
Commits
4c5b2072
Commit
4c5b2072
authored
Dec 10, 2021
by
Laurent Montel
Browse files
We don't translate it. => not necessary to try to install po file
parent
b81357ad
Pipeline
#108041
passed with stage
in 1 minute and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4c5b2072
...
...
@@ -127,5 +127,4 @@ if(BUILD_TESTING)
add_subdirectory
(
autotests
)
endif
()
kde_configure_git_pre_commit_hook
(
CHECKS CLANG_FORMAT
)
ki18n_install
(
po
)
feature_summary
(
WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES
)
src/agentwidget.cpp
View file @
4c5b2072
...
...
@@ -408,16 +408,16 @@ void AgentWidget::currentChanged()
QString
agentStatus
;
switch
(
instance
.
status
())
{
case
AgentInstance
::
Idle
:
agentStatus
=
i18nc
(
"agent is in an idle state"
,
"Idle"
);
agentStatus
=
QStringLiteral
(
"Idle"
);
break
;
case
AgentInstance
::
Running
:
agentStatus
=
i18nc
(
"agent is running"
,
"Running (%1%)"
,
instance
.
progress
());
agentStatus
=
QStringLiteral
(
"Running (%1%)"
).
arg
(
instance
.
progress
());
break
;
case
AgentInstance
::
Broken
:
agentStatus
=
i18nc
(
"agent is broken somehow"
,
"Broken"
);
agentStatus
=
QStringLiteral
(
"Broken"
);
break
;
case
AgentInstance
::
NotConfigured
:
agentStatus
=
i18nc
(
"agent is not yet configured"
,
"Not Configured"
);
agentStatus
=
QStringLiteral
(
"Not Configured"
);
break
;
}
ui
.
statusLabel
->
setText
(
i18nc
(
"Two statuses, for example
\"
Online, Running (66%)
\"
or
\"
Offline, Broken
\"
"
,
"%1, %2"
,
onlineStatus
,
agentStatus
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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