Fixes missing translations

This commit is contained in:
Roy Jacobs 2017-03-08 19:10:35 +01:00
parent b611871940
commit 5589ef7fc9
2 changed files with 5 additions and 3 deletions

View file

@ -157,7 +157,7 @@ Rectangle {
Label { Label {
id: unlockedBalanceLabel id: unlockedBalanceLabel
text: qsTr("Unlocked balance") text: qsTr("Unlocked balance") + translationManager.emptyString
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 50 anchors.leftMargin: 50
tipText: qsTr("Test tip 2<br/><br/>line 2") + translationManager.emptyString tipText: qsTr("Test tip 2<br/><br/>line 2") + translationManager.emptyString

View file

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