From 9e42ff2f4823e8fc34f54eeae3eac7476601c0a7 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 19 Mar 2019 21:54:21 +0100 Subject: [PATCH] Virtual Keyboard SNI: Improve text and usability Summary: This way we can see from the system tray its state. CCBUG: 405397 Reviewers: #plasma, #vdg, ngraham Reviewed By: #vdg, ngraham Subscribers: ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D19898 --- virtualkeyboard.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/virtualkeyboard.cpp b/virtualkeyboard.cpp index 018da529fe..87c7e5bc19 100644 --- a/virtualkeyboard.cpp +++ b/virtualkeyboard.cpp @@ -219,11 +219,12 @@ void VirtualKeyboard::updateSni() } if (m_enabled) { m_sni->setIconByName(QStringLiteral("input-keyboard-virtual-on")); - m_sni->setToolTipTitle(i18n("Virtual Keyboard is enabled.")); + m_sni->setTitle(i18n("Virtual Keyboard: enabled")); } else { m_sni->setIconByName(QStringLiteral("input-keyboard-virtual-off")); - m_sni->setToolTipTitle(i18n("Virtual Keyboard is disabled.")); + m_sni->setTitle(i18n("Virtual Keyboard: disabled")); } + m_sni->setToolTipTitle(i18n("Whether to show the virtual keyboard on demand.")); } void VirtualKeyboard::show()