[office/kmymoney] kmymoney/views: Improve tooltips

Thomas Baumgart null at kde.org
Thu Jun 3 06:40:31 BST 2021


Git commit eae6018ff640053f057730161a06f52605a97f91 by Thomas Baumgart.
Committed on 03/06/2021 at 05:39.
Pushed by tbaumgart into branch 'master'.

Improve tooltips

GUI:

M  +4    -4    kmymoney/views/ledgerview.cpp

https://invent.kde.org/office/kmymoney/commit/eae6018ff640053f057730161a06f52605a97f91

diff --git a/kmymoney/views/ledgerview.cpp b/kmymoney/views/ledgerview.cpp
index a773a62fd..c0538deb2 100644
--- a/kmymoney/views/ledgerview.cpp
+++ b/kmymoney/views/ledgerview.cpp
@@ -612,17 +612,17 @@ bool LedgerView::viewportEvent(QEvent* event)
                     ++iconCount;
 
                 } else if (idx.data(eMyMoney::Model::ScheduleIsOverdueRole).toBool()) {
-                    tooltips[iconCount] = i18nc("@info:tooltip icon description", "This schedule is overdue.");
+                    tooltips[iconCount] = i18nc("@info:tooltip icon description", "This schedule is overdue. Click on the icon to enter it.");
                     ++iconCount;
                 }
 
-                if (idx.data(eMyMoney::Model::TransactionImportedRole).toBool()) {
-                    tooltips[iconCount] = i18nc("@info:tooltip icon description", "This transaction is imported. Accept it to mark it cleared.");
+                if (idx.data(eMyMoney::Model::TransactionIsImportedRole).toBool()) {
+                    tooltips[iconCount] = i18nc("@info:tooltip icon description", "This transaction is imported. Click on the icon to accept it.");
                     ++iconCount;
                 }
 
                 if (idx.data(eMyMoney::Model::JournalSplitIsMatchedRole).toBool()) {
-                    tooltips[iconCount] = i18nc("@info:tooltip icon description", "This transaction is matched. Accept or un-match it.");
+                    tooltips[iconCount] = i18nc("@info:tooltip icon description", "This transaction is matched. Click on the icon to accept or un-match it.");
                     ++iconCount;
                 }
 


More information about the kde-doc-english mailing list