From 5589ef7fc95a66b6542c9922314e1f64feb664ee Mon Sep 17 00:00:00 2001 From: Roy Jacobs Date: Wed, 8 Mar 2017 19:10:35 +0100 Subject: [PATCH] Fixes missing translations --- LeftPanel.qml | 2 +- MiddlePanel.qml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/LeftPanel.qml b/LeftPanel.qml index 7042ee58..72279c3b 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -157,7 +157,7 @@ Rectangle { Label { id: unlockedBalanceLabel - text: qsTr("Unlocked balance") + text: qsTr("Unlocked balance") + translationManager.emptyString anchors.left: parent.left anchors.leftMargin: 50 tipText: qsTr("Test tip 2

line 2") + translationManager.emptyString diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 6c18a56e..2190c2a8 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -42,8 +42,9 @@ Rectangle { property Item currentView property Item previousView property bool basicMode : false - property string balanceLabelText: qsTr("Balance") + property string balanceLabelText: qsTr("Balance") + translationManager.emptyString property string balanceText + property string unlockedBalanceLabelText: qsTr("Unlocked Balance") + translationManager.emptyString property string unlockedBalanceText property Transfer transferView: Transfer { } @@ -239,6 +240,7 @@ Rectangle { } Text { + id: availableBalanceLabel width: 116 height: 20 font.family: "Arial" @@ -248,7 +250,7 @@ Rectangle { horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignBottom color: "#535353" - text: qsTr("Unlocked Balance:") + text: root.unlockedBalanceLabelText + ":" } Text {