diff options
Diffstat (limited to 'components/TableDropdown.qml')
| -rw-r--r-- | components/TableDropdown.qml | 9 |
1 files changed, 8 insertions, 1 deletions
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("<b>Copy address to clipboard</b>") + translationManager.emptyString + property string stringSend: qsTr("<b>Send to same destination</b>") + translationManager.emptyString + property string stringFind: qsTr("<b>Find similar transactions</b>") + translationManager.emptyString + property string stringRemove: qsTr("<b>Remove from address book</b>") + 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 |
