Commit 4c5b2072 authored by Laurent Montel's avatar 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
......@@ -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)
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment