aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-07-20 22:28:11 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-07-20 22:28:11 +0300
commit32ebf180acce258f8efb9bcaeca945a1fdd311ce (patch)
tree3f617d1ef44e919cbaac2aa22c77cdbc4c50d77c /components
parent39b88daf326cdbbbac5f757769168d41e6d3517b (diff)
downloadmonzero-gui-32ebf180acce258f8efb9bcaeca945a1fdd311ce.tar.gz
monzero-gui-32ebf180acce258f8efb9bcaeca945a1fdd311ce.tar.xz
monzero-gui-32ebf180acce258f8efb9bcaeca945a1fdd311ce.zip
dynamic translation support. closes #24
Diffstat (limited to 'components')
-rw-r--r--components/AddressBookTable.qml4
-rw-r--r--components/DashboardTable.qml8
-rw-r--r--components/HistoryTable.qml10
-rw-r--r--components/NetworkStatusItem.qml2
-rw-r--r--components/PrivacyLevelSmall.qml6
-rw-r--r--components/SearchInput.qml2
-rw-r--r--components/TickDelegate.qml6
-rw-r--r--components/TitleBar.qml2
8 files changed, 20 insertions, 20 deletions
diff --git a/components/AddressBookTable.qml b/components/AddressBookTable.qml
index ab4bf61d..756445f7 100644
--- a/components/AddressBookTable.qml
+++ b/components/AddressBookTable.qml
@@ -44,7 +44,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 14
color: "#545454"
- text: qsTr("No more results")
+ text: qsTr("No more results") + translationManager.emptyString
}
}
@@ -103,7 +103,7 @@ ListView {
font.pixelSize: 12
font.letterSpacing: -1
color: "#535353"
- text: qsTr("Payment ID:")
+ text: qsTr("Payment ID:") + + translationManager.emptyString
}
Text {
diff --git a/components/DashboardTable.qml b/components/DashboardTable.qml
index 07fe6ac2..05b23c6e 100644
--- a/components/DashboardTable.qml
+++ b/components/DashboardTable.qml
@@ -44,7 +44,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 14
color: "#545454"
- text: qsTr("No more results")
+ text: qsTr("No more results") + translationManager.emptyString
}
}
@@ -134,7 +134,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 12
color: "#545454"
- text: qsTr("Date")
+ text: qsTr("Date") + translationManager.emptyString
}
Row {
@@ -169,7 +169,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 12
color: "#545454"
- text: qsTr("Balance")
+ text: qsTr("Balance") + translationManager.emptyString
}
Text {
@@ -190,7 +190,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 12
color: "#545454"
- text: qsTr("Amount")
+ text: qsTr("Amount") + translationManager.emptyString
}
Row {
diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml
index 3ee8c82c..db92aa69 100644
--- a/components/HistoryTable.qml
+++ b/components/HistoryTable.qml
@@ -44,7 +44,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 14
color: "#545454"
- text: qsTr("No more results")
+ text: qsTr("No more results") + translationManager.emptyString
}
}
@@ -126,7 +126,7 @@ ListView {
font.pixelSize: 12
font.letterSpacing: -1
color: "#535353"
- text: paymentId !== "" ? qsTr("Payment ID:") : ""
+ text: paymentId !== "" ? qsTr("Payment ID:") + translationManager.emptyString : ""
}
Text {
@@ -164,7 +164,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 12
color: "#545454"
- text: qsTr("Date")
+ text: qsTr("Date") + translationManager.emptyString
}
Row {
@@ -199,7 +199,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 12
color: "#545454"
- text: qsTr("Balance")
+ text: qsTr("Balance") + translationManager.emptyString
}
Text {
@@ -220,7 +220,7 @@ ListView {
font.family: "Arial"
font.pixelSize: 12
color: "#545454"
- text: qsTr("Amount")
+ text: qsTr("Amount") + translationManager.emptyString
}
Row {
diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml
index 720fe536..6fb1d2eb 100644
--- a/components/NetworkStatusItem.qml
+++ b/components/NetworkStatusItem.qml
@@ -63,7 +63,7 @@ Row {
font.family: "Arial"
font.pixelSize: 18
color: item.connected ? "#FF6C3B" : "#AAAAAA"
- text: item.connected ? qsTr("Connected") : qsTr("Disconnected")
+ text: (item.connected ? qsTr("Connected") : qsTr("Disconnected")) + translationManager.emptyString
}
}
}
diff --git a/components/PrivacyLevelSmall.qml b/components/PrivacyLevelSmall.qml
index 9321ffbd..cb1cd36e 100644
--- a/components/PrivacyLevelSmall.qml
+++ b/components/PrivacyLevelSmall.qml
@@ -99,7 +99,7 @@ Item {
font.bold: true
color: "#000000"
x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 3 : 0) - width
- text: qsTr("LOW")
+ text: qsTr("LOW") + translationManager.emptyString
}
Text {
@@ -110,7 +110,7 @@ Item {
font.bold: true
color: "#000000"
x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 3 : 0) - width
- text: qsTr("MEDIUM")
+ text: qsTr("MEDIUM") + translationManager.emptyString
}
Text {
@@ -121,7 +121,7 @@ Item {
font.bold: true
color: "#000000"
x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 3 : 0) - width
- text: qsTr("HIGH")
+ text: qsTr("HIGH") + translationManager.emptyString
}
MouseArea {
diff --git a/components/SearchInput.qml b/components/SearchInput.qml
index b104247c..35be896f 100644
--- a/components/SearchInput.qml
+++ b/components/SearchInput.qml
@@ -66,7 +66,7 @@ Item {
anchors.leftMargin: 45
font.pixelSize: 18
verticalAlignment: TextInput.AlignVCenter
- placeholderText: qsTr("Search by...")
+ placeholderText: qsTr("Search by...") + translationManager.emptyString
}
Item {
diff --git a/components/TickDelegate.qml b/components/TickDelegate.qml
index 70ef1b50..2163d3e7 100644
--- a/components/TickDelegate.qml
+++ b/components/TickDelegate.qml
@@ -52,9 +52,9 @@ Item {
font.pixelSize: 12
color: "#4A4949"
text: {
- if(currentIndex === 0) return qsTr("LOW")
- if(currentIndex === 3) return qsTr("MEDIUM")
- if(currentIndex === 13) return qsTr("HIGH")
+ if(currentIndex === 0) return qsTr("LOW") + translationManager.emptyString
+ if(currentIndex === 3) return qsTr("MEDIUM") + translationManager.emptyString
+ if(currentIndex === 13) return qsTr("HIGH") + translationManager.emptyString
return ""
}
}
diff --git a/components/TitleBar.qml b/components/TitleBar.qml
index f27caf73..e0baf8f1 100644
--- a/components/TitleBar.qml
+++ b/components/TitleBar.qml
@@ -35,7 +35,7 @@ Rectangle {
color: "#000000"
y: -height
property int mouseX: 0
- property string title: "Monero - Donations"
+ property string title: qsTr("Monero - Donations") + translationManager.emptyString
property bool containsMouse: false
property alias maximizeButtonVisible: maximizeButton.visible
property alias basicButtonVisible: goToBasicVersionButton.visible