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:
parent
eecdc67074
commit
3e7936dc08
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ ListView {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
visible: view.count === 0
|
visible: view.count === 0
|
||||||
width: parent.width - Kirigami.Units.gridUnit * 4
|
width: parent.width - Kirigami.Units.gridUnit * 4
|
||||||
text: i18n("No Commands")
|
text: i18nc("@info", "No commands configured")
|
||||||
explanation: i18n("Add commands to run them remotely from other devices")
|
explanation: i18n("@info", "Add commands to run them remotely from other devices")
|
||||||
helpfulAction: view.action
|
helpfulAction: view.action
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue