aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsEdit.qml
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-05-03 21:24:00 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-03 12:59:16 -0700
commit502be2a0f16474ed7520fb87071573e51f95a15a (patch)
treefe47196ca3a50b8ac66bc84976289d912390fd91 /mobile-widgets/qml/DiveDetailsEdit.qml
parent70e3ec9e90e33a2f11e500e1a1c807ab58b4ebe1 (diff)
downloadsubsurface-502be2a0f16474ed7520fb87071573e51f95a15a.tar.gz
Mark strings in qml files for translation
I did this semi-automatically: I used the script from the previous patch and then did some manual corrections. This marks only title: and text: tags, there might be others Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml34
1 files changed, 17 insertions, 17 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml
index 6ef006a6b..7ff511da8 100644
--- a/mobile-widgets/qml/DiveDetailsEdit.qml
+++ b/mobile-widgets/qml/DiveDetailsEdit.qml
@@ -71,11 +71,11 @@ Item {
Kirigami.Heading {
Layout.columnSpan: 2
- text: "Dive " + number
+ text: qsTr("Dive %1").arg(number)
}
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Date:"
+ text: qsTr("Date:")
}
StyledTextField {
id: txtDate;
@@ -83,7 +83,7 @@ Item {
}
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Location:"
+ text: qsTr("Location:")
}
StyledTextField {
id: txtLocation;
@@ -92,7 +92,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Coordinates:"
+ text: qsTr("Coordinates:")
}
StyledTextField {
id: txtGps
@@ -101,7 +101,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Use current\nGPS location:"
+ text: qsTr("Use current\nGPS location:")
visible: manager.locationServiceAvailable
}
CheckBox {
@@ -115,7 +115,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Depth:"
+ text: qsTr("Depth:")
}
StyledTextField {
id: txtDepth
@@ -124,7 +124,7 @@ Item {
}
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Duration:"
+ text: qsTr("Duration:")
}
StyledTextField {
id: txtDuration
@@ -134,7 +134,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Air Temp:"
+ text: qsTr("Air Temp:")
}
StyledTextField {
id: txtAirTemp
@@ -143,7 +143,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Water Temp:"
+ text: qsTr("Water Temp:")
}
StyledTextField {
id: txtWaterTemp
@@ -152,7 +152,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Suit:"
+ text: qsTr("Suit:")
}
StyledTextField {
id: txtSuit
@@ -161,7 +161,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Buddy:"
+ text: qsTr("Buddy:")
}
StyledTextField {
id: txtBuddy
@@ -170,7 +170,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Dive Master:"
+ text: qsTr("Dive Master:")
}
StyledTextField {
id: txtDiveMaster
@@ -179,7 +179,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Weight:"
+ text: qsTr("Weight:")
}
StyledTextField {
id: txtWeight
@@ -189,7 +189,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Gas mix:"
+ text: qsTr("Gas mix:")
}
StyledTextField {
id: txtGasMix
@@ -200,7 +200,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "Start Pressure:"
+ text: qsTr("Start Pressure:")
}
StyledTextField {
id: txtStartPressure
@@ -210,7 +210,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
- text: "End Pressure:"
+ text: qsTr("End Pressure:")
}
StyledTextField {
id: txtEndPressure
@@ -221,7 +221,7 @@ Item {
Kirigami.Label {
Layout.columnSpan: 2
Layout.alignment: Qt.AlignLeft
- text: "Notes:"
+ text: qsTr("Notes:")
}
TextArea {
Layout.columnSpan: 2