Commit 4500ff9d authored by Nate Graham's avatar Nate Graham 🔩

Use consistent "Suspend" terminology

Summary: We use "Suspend" and "Hibernate" in most places except for KRunner, where we currently use more technical terms that expose the implementation details (suspend to ram vs suspend to disk). Let's be consistent.

Reviewers: #plasma, #vdg, davidedmundson, broulik

Reviewed By: #plasma, davidedmundson, broulik

Subscribers: sudhirkhanger, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D15386
parent 9be8c3c7
......@@ -213,12 +213,12 @@ void PowerDevilRunner::addSuspendMatch(int value, QList<Plasma::QueryMatch> &mat
case Solid::PowerManagement::SuspendState:
case Solid::PowerManagement::StandbyState:
match.setIconName(QStringLiteral("system-suspend"));
match.setText(i18n("Suspend to RAM"));
match.setText(i18n("Suspend"));
match.setRelevance(1);
break;
case Solid::PowerManagement::HibernateState:
match.setIconName(QStringLiteral("system-suspend-hibernate"));
match.setText(i18n("Suspend to Disk"));
match.setText(i18n("Hibernate"));
match.setRelevance(0.99);
break;
}
......
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