dynamic translation support. closes #24

This commit is contained in:
Ilya Kitaev
2016-07-20 22:28:11 +03:00
parent 39b88daf32
commit 32ebf180ac
34 changed files with 837 additions and 314 deletions

View File

@@ -44,7 +44,7 @@ Rectangle {
font.family: "Arial"
font.pixelSize: 18
color: "#4A4949"
text: qsTr("Filter trasactions history")
text: qsTr("Filter trasactions history") + translationManager.emptyString
}
Label {
@@ -55,7 +55,7 @@ Rectangle {
anchors.topMargin: 17
text: qsTr("Address")
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b>")
tipText: qsTr("<b>Tip tekst test</b>") + translationManager.emptyString
}
LineEdit {
@@ -74,9 +74,10 @@ Rectangle {
anchors.top: addressLine.bottom
anchors.leftMargin: 17
anchors.topMargin: 17
text: qsTr("Payment ID <font size='2'>(Optional)</font>")
text: qsTr("Payment ID <font size='2'>(Optional)</font>") + translationManager.emptyString
fontSize: 14
tipText: qsTr("<b>Payment ID</b><br/><br/>A unique user name used in<br/>the address book. It is not a<br/>transfer of information sent<br/>during thevtransfer")
+ translationManager.emptyString
}
LineEdit {
@@ -95,9 +96,9 @@ Rectangle {
anchors.top: paymentIdLine.bottom
anchors.leftMargin: 17
anchors.topMargin: 17
text: qsTr("Description <font size='2'>(Local database)</font>")
text: qsTr("Description <font size='2'>(Local database)</font>") + translationManager.emptyString
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b><br/><br/>test line 2")
tipText: qsTr("<b>Tip tekst test</b><br/><br/>test line 2") + translationManager.emptyString
}
LineEdit {
@@ -117,9 +118,9 @@ Rectangle {
anchors.leftMargin: 17
anchors.topMargin: 17
width: 156
text: qsTr("Date from")
text: qsTr("Date from") + translationManager.emptyString
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b>")
tipText: qsTr("<b>Tip tekst test</b>") + translationManager.emptyString
}
DatePicker {
@@ -139,7 +140,7 @@ Rectangle {
anchors.topMargin: 17
text: qsTr("To")
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b>")
tipText: qsTr("<b>Tip tekst test</b>") + translationManager.emptyString
}
DatePicker {
@@ -185,9 +186,9 @@ Rectangle {
anchors.leftMargin: 17
anchors.topMargin: 17
width: 156
text: qsTr("Type of transation")
text: qsTr("Type of transation") + translationManager.emptyString
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b>")
tipText: qsTr("<b>Tip tekst test</b>") + translationManager.emptyString
}
ListModel {
@@ -219,9 +220,9 @@ Rectangle {
anchors.leftMargin: 17
anchors.topMargin: 17
width: 156
text: qsTr("Amount from")
text: qsTr("Amount from") + translationManager.emptyString
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b>")
tipText: qsTr("<b>Tip tekst test</b>") + translationManager.emptyString
}
LineEdit {
@@ -242,7 +243,7 @@ Rectangle {
width: 156
text: qsTr("To")
fontSize: 14
tipText: qsTr("<b>Tip tekst test</b>")
tipText: qsTr("<b>Tip tekst test</b>") + translationManager.emptyString
}
LineEdit {