aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Preferences.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/Preferences.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/Preferences.qml')
-rw-r--r--mobile-widgets/qml/Preferences.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/mobile-widgets/qml/Preferences.qml b/mobile-widgets/qml/Preferences.qml
index f7767b4d7..c43734114 100644
--- a/mobile-widgets/qml/Preferences.qml
+++ b/mobile-widgets/qml/Preferences.qml
@@ -8,10 +8,10 @@ import org.subsurfacedivelog.mobile 1.0
Kirigami.Page {
- title: "Preferences"
+ title: qsTr("Preferences")
actions {
main: Action {
- text: "Save"
+ text: qsTr("Save")
iconName: "document-save"
onTriggered: {
manager.distanceThreshold = distanceThreshold.text
@@ -34,13 +34,13 @@ Kirigami.Page {
}
Kirigami.Heading {
- text: "Preferences"
+ text: qsTr("Preferences")
Layout.bottomMargin: Kirigami.Units.largeSpacing / 2
Layout.columnSpan: 2
}
Kirigami.Heading {
- text: "Subsurface GPS data webservice"
+ text: qsTr("Subsurface GPS data webservice")
level: 3
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.bottomMargin: Kirigami.Units.largeSpacing / 2
@@ -48,7 +48,7 @@ Kirigami.Page {
}
Kirigami.Label {
- text: "Distance threshold (meters)"
+ text: qsTr("Distance threshold (meters)")
Layout.alignment: Qt.AlignRight
}
@@ -59,7 +59,7 @@ Kirigami.Page {
}
Kirigami.Label {
- text: "Time threshold (minutes)"
+ text: qsTr("Time threshold (minutes)")
Layout.alignment: Qt.AlignRight
}