From 2b24c91bc58ad1f80eb5f07a995458d60401814e Mon Sep 17 00:00:00 2001 From: Roy Jacobs Date: Tue, 14 Mar 2017 15:05:47 +0100 Subject: Add missing, fix and improve translations --- components/TableDropdown.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'components/TableDropdown.qml') diff --git a/components/TableDropdown.qml b/components/TableDropdown.qml index c4396008..0a1148df 100644 --- a/components/TableDropdown.qml +++ b/components/TableDropdown.qml @@ -177,6 +177,13 @@ Item { Repeater { id: repeater + + // Workaround for translations in listElements. All translated strings needs to be listed in this file. + property string stringCopy: qsTr("Copy address to clipboard") + translationManager.emptyString + property string stringSend: qsTr("Send to same destination") + translationManager.emptyString + property string stringFind: qsTr("Find similar transactions") + translationManager.emptyString + property string stringRemove: qsTr("Remove from address book") + translationManager.emptyString + delegate: Rectangle { id: delegate property bool containsMouse: index === mouseArea.currentIndex @@ -211,7 +218,7 @@ Item { onContainsMouseChanged: { if(containsMouse) { var pos = rootItem.mapFromItem(delegate, 30, -25) - appWindow.toolTip.text = name + appWindow.toolTip.text = qsTr(name) + translationManager.emptyString appWindow.toolTip.x = pos.x - appWindow.toolTip.width // if(appWindow.toolTip.height > 30) // pos.y -= appWindow.toolTip.height - 30 -- cgit v1.2.3