aboutsummaryrefslogtreecommitdiff
path: root/components/TableDropdown.qml
diff options
context:
space:
mode:
authorMatthias Tarasiewicz <parasew@gmail.com>2017-03-25 17:22:13 +0100
committerGitHub <noreply@github.com>2017-03-25 17:22:13 +0100
commit0836bd9cfd0c1ec2918b50d703ee84d9700a0969 (patch)
treef42099f728a988942bacab1014505e67ce7d26d3 /components/TableDropdown.qml
parent6e381c38578ab130a9991189887ba68397e2bfad (diff)
parent12573652a0a5836938b02a2308098929fdf06ab4 (diff)
downloadmonzero-gui-0836bd9cfd0c1ec2918b50d703ee84d9700a0969.tar.gz
monzero-gui-0836bd9cfd0c1ec2918b50d703ee84d9700a0969.tar.xz
monzero-gui-0836bd9cfd0c1ec2918b50d703ee84d9700a0969.zip
Merge branch 'master' into patch-1
Diffstat (limited to 'components/TableDropdown.qml')
-rw-r--r--components/TableDropdown.qml9
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