plugins/runcommand: improve PlaceholderMessage

While the HIG is not quite clear on this, PlaceholderMessages throughout
KDE applications and kcms tend to have sentence capitalization in their
title and include a verb (e.g. "Playlist is empty", "No game controllers
found"). The runcommand plugin breaks with this; it uses title
capitalization and does not include a verb: "No Commands".

This change modifies the title to read "No commands configured".
This commit is contained in:
Christoph Wolk 2024-08-08 13:41:55 +02:00 committed by Aleix Pol Gonzalez
parent eecdc67074
commit 3e7936dc08

View file

@ -62,8 +62,8 @@ ListView {
anchors.centerIn: parent
visible: view.count === 0
width: parent.width - Kirigami.Units.gridUnit * 4
text: i18n("No Commands")
explanation: i18n("Add commands to run them remotely from other devices")
text: i18nc("@info", "No commands configured")
explanation: i18n("@info", "Add commands to run them remotely from other devices")
helpfulAction: view.action
}