Commit e2996374 authored by Pino Toscano's avatar Pino Toscano

i18n: use i18n() instead of qsTr()

parent 7f7bb06c
......@@ -24,7 +24,7 @@ Rectangle {
width: 209
height: 46
color: "#59ad0e"
text: qsTr("What's Interesting...")
text: i18n("What's Interesting...")
verticalAlignment: Text.AlignVCenter
font.family: "Cantarell"
font.bold: false
......@@ -94,7 +94,7 @@ Rectangle {
x: 0
y: 0
color: "#e4800d"
text: qsTr("Planets")
text: i18n("Planets")
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignVCenter
......@@ -132,7 +132,7 @@ Rectangle {
x: 0
y: 0
color: "#e4800d"
text: qsTr("Stars")
text: i18n("Stars")
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignVCenter
......@@ -168,7 +168,7 @@ Rectangle {
Text {
id: conText
color: "#e4800d"
text: qsTr("Constellations")
text: i18n("Constellations")
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
font.family: "Cantarell"
......@@ -215,7 +215,7 @@ Rectangle {
x: 0
y: 0
color: "#e4800d"
text: qsTr("Deep-sky Objects")
text: i18n("Deep-sky Objects")
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignVCenter
......@@ -249,7 +249,7 @@ Rectangle {
x: 0
y: 0
color: "#6b6660"
text: qsTr("Galaxies")
text: i18n("Galaxies")
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignVCenter
......@@ -291,7 +291,7 @@ Rectangle {
x: 0
y: 0
color: "#6b6660"
text: qsTr("Nebulae")
text: i18n("Nebulae")
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignVCenter
......@@ -329,7 +329,7 @@ Rectangle {
x: 0
y: 0
color: "#6b6660"
text: qsTr("Clusters")
text: i18n("Clusters")
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
verticalAlignment: Text.AlignVCenter
......@@ -463,7 +463,7 @@ Rectangle {
width: 273
height: 22
color: "#ffffff"
text: qsTr("text")
text: i18n("text")
anchors.left: parent.left
anchors.leftMargin: 8
font.bold: true
......@@ -482,7 +482,7 @@ Rectangle {
width: 320
height: 16
color: "#f7f7ac"
text: qsTr("text")
text: i18n("text")
font.family: "Cantarell"
horizontalAlignment: Text.AlignRight
font.underline: false
......@@ -531,7 +531,7 @@ Rectangle {
id: descText
objectName: "descTextObj"
color: "#187988"
text: qsTr("text")
text: i18n("text")
font.family: "Cantarell"
clip: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
......@@ -542,7 +542,7 @@ Rectangle {
id: descSrcText
objectName: "descSrcTextObj"
color: "#18885f"
text: qsTr("Source: ")
text: i18n("Source: ")
font.family: "Cantarell"
font.italic: true
horizontalAlignment: Text.AlignRight
......@@ -600,7 +600,7 @@ Rectangle {
y: 17
height: 22
color: "white"
text: qsTr("Next")
text: i18n("Next")
anchors.right: nextObjIcon.left
anchors.rightMargin: 5
anchors.verticalCenter: parent.verticalCenter
......@@ -673,7 +673,7 @@ Rectangle {
y: 7
height: 22
color: "#ffffff"
text: qsTr("Previous")
text: i18n("Previous")
anchors.left: prevObjIcon.right
anchors.leftMargin: 5
anchors.verticalCenterOffset: 0
......@@ -710,7 +710,7 @@ Rectangle {
width: 164
height: 21
color: "#ffffff"
text: qsTr("Surface Brightness:")
text: i18n("Surface Brightness:")
anchors.left: parent.left
anchors.leftMargin: 8
font.pixelSize: 13
......@@ -725,7 +725,7 @@ Rectangle {
width: 164
height: 21
color: "#ffffff"
text: qsTr("Magnitude: ")
text: i18n("Magnitude: ")
anchors.left: parent.left
anchors.leftMargin: 8
font.family: "Cantarell"
......@@ -740,7 +740,7 @@ Rectangle {
width: 164
height: 21
color: "#ffffff"
text: qsTr("Size: ")
text: i18n("Size: ")
anchors.left: parent.left
anchors.leftMargin: 8
font.pixelSize: 13
......@@ -770,7 +770,7 @@ Rectangle {
anchors.right: parent.right
verticalAlignment: Text.AlignVCenter
color: "white"
text: qsTr("More object details")
text: i18n("More object details")
font.family: "Cantarell"
font.pixelSize: 14
......@@ -793,7 +793,7 @@ Rectangle {
width: 119
height: 16
color: "white"
text: qsTr("Slew map to object")
text: i18n("Slew map to object")
font.family: "Cantarell"
anchors.right: parent.right
anchors.rightMargin: 10
......@@ -883,7 +883,7 @@ Rectangle {
id: goBackText
y: 12
color: "#f7e808"
text: qsTr("Back")
text: i18n("Back")
anchors.left: leftArrow.right
anchors.leftMargin: 7
anchors.verticalCenterOffset: 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment