diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -226,7 +226,7 @@ switch (sdtype) { case KWorkSpace::ShutdownTypeHalt: //i18nd is used as this patch was backported to an LTS with stable translations - fallbackPrompt->setText(i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shutdown")); + fallbackPrompt->setText(i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down")); break; case KWorkSpace::ShutdownTypeReboot: fallbackPrompt->setText(i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Reboot")); diff --git a/lookandfeel/contents/logout/Logout.qml b/lookandfeel/contents/logout/Logout.qml --- a/lookandfeel/contents/logout/Logout.qml +++ b/lookandfeel/contents/logout/Logout.qml @@ -188,7 +188,7 @@ LogoutButton { id: shutdownButton iconSource: "system-shutdown" - text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shutdown") + text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down") action: root.haltRequested KeyNavigation.left: rebootButton KeyNavigation.right: logoutButton diff --git a/runners/sessions/sessionrunner.cpp b/runners/sessions/sessionrunner.cpp --- a/runners/sessions/sessionrunner.cpp +++ b/runners/sessions/sessionrunner.cpp @@ -42,7 +42,7 @@ if (m_canLogout) { addSyntax(Plasma::RunnerSyntax(i18nc("log out command", "logout"), i18n("Logs out, exiting the current desktop session"))); - addSyntax(Plasma::RunnerSyntax(i18nc("shutdown computer command", "shutdown"), + addSyntax(Plasma::RunnerSyntax(i18nc("shut down computer command", "shut down"), i18n("Turns off the computer"))); } @@ -98,9 +98,10 @@ match.setType(Plasma::QueryMatch::ExactMatch); match.setRelevance(0.9); matches << match; - } else if (term.compare(i18nc("shutdown computer command","shutdown"), Qt::CaseInsensitive) == 0) { + } else if (term.compare(i18nc("shut down computer command","shut down"), Qt::CaseInsensitive) == 0 || + term.compare(i18nc("shut down computer command", "shutdown"), Qt::CaseInsensitive) == 0) { Plasma::QueryMatch match(this); - match.setText(i18n("Shutdown the computer")); + match.setText(i18n("Shut down the computer")); match.setIconName(QStringLiteral("system-shutdown")); match.setData(ShutdownAction); match.setType(Plasma::QueryMatch::ExactMatch); diff --git a/sddm-theme/Main.qml b/sddm-theme/Main.qml --- a/sddm-theme/Main.qml +++ b/sddm-theme/Main.qml @@ -202,7 +202,7 @@ }, ActionButton { iconSource: "system-shutdown" - text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shutdown") + text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") onClicked: sddm.powerOff() enabled: sddm.canPowerOff visible: !inputPanel.keyboardActive