[plasma/krdp] src/kcm/ui: kcm: improve and streamline header messages

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 06d5e6f0950afeab803dd108ae68d1020b2467d7 by Nate Graham.
Committed on 30/07/2026 at 13:04.
Pushed by ngraham into branch 'master'.

kcm: improve and streamline header messages

Use stronger language for the info label, and hide it when the server is
on; we can assume by this point that users know what the KCM does and
what the users in the user list are for.

We can also omit "remote desktop" from the info label since it's obvious
by context and other instances of this label that are already visible.

M  +3    -2    src/kcm/ui/main.qml
M  +3    -2    src/kcm/ui/main_phone.qml

https://invent.kde.org/plasma/krdp/-/commit/06d5e6f0950afeab803dd108ae68d1020b2467d7

diff --git a/src/kcm/ui/main.qml b/src/kcm/ui/main.qml
index e036d09..7896365 100644
--- a/src/kcm/ui/main.qml
+++ b/src/kcm/ui/main.qml
@@ -139,16 +139,17 @@ KCM.ScrollViewKCM {
             Layout.margins: headerLayout.spacings
 
             QQC2.Label {
-                text: i18n("Set up remote login to connect using apps supporting the “RDP” remote desktop protocol.")
+                text: i18n("Users listed below can log into this device remotely using apps that support the “RDP” protocol.")
                 Layout.fillWidth: true
                 wrapMode: Text.WordWrap
                 verticalAlignment: Text.AlignVCenter
                 Layout.alignment: Qt.AlignHCenter
+                visible: !toggleServerSwitch.checked
             }
 
             QQC2.Label {
                 visible: toggleServerSwitch.checked
-                text: i18nc("@info:usagetip", "Use any of the following addresses to connect to this device:")
+                text: i18nc("@info:usagetip", "Connect to this device at any of the following addresses:")
                 Layout.fillWidth: true
                 wrapMode: Text.WordWrap
                 verticalAlignment: Text.AlignVCenter
diff --git a/src/kcm/ui/main_phone.qml b/src/kcm/ui/main_phone.qml
index 746059c..3f32883 100644
--- a/src/kcm/ui/main_phone.qml
+++ b/src/kcm/ui/main_phone.qml
@@ -98,7 +98,8 @@ FormCard.FormCardPage {
             padding: Math.round(Kirigami.Units.gridUnit / 2)
 
             FormCard.FormTextDelegate {
-                description: i18n("Set up remote login to connect using apps supporting the “RDP” remote desktop protocol.")
+                description: i18n("Users listed below can log into this device remotely using apps that support the “RDP” protocol.")
+                visible: !enableServer.checked
             }
             FormCard.FormSwitchDelegate {
                 id: enableServer
@@ -131,7 +132,7 @@ FormCard.FormCardPage {
             }
 
             FormCard.FormTextDelegate {
-                description: i18n("Use any of the following addresses to connect to this device:")
+                description: i18n("Connect to this device at any of the following addresses:")
                 visible: settings.autostart
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.