From 3e7936dc08d93486f64dedf448c9c30c79d859e3 Mon Sep 17 00:00:00 2001 From: Christoph Wolk Date: Thu, 8 Aug 2024 13:41:55 +0200 Subject: [PATCH] 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". --- plugins/runcommand/kdeconnect_runcommand_config.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/runcommand/kdeconnect_runcommand_config.qml b/plugins/runcommand/kdeconnect_runcommand_config.qml index 4a7e04551..5abff0051 100644 --- a/plugins/runcommand/kdeconnect_runcommand_config.qml +++ b/plugins/runcommand/kdeconnect_runcommand_config.qml @@ -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 }