From 502be2a0f16474ed7520fb87071573e51f95a15a Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 3 May 2016 21:24:00 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/Preferences.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mobile-widgets/qml/Preferences.qml') 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 } -- cgit v1.2.3-70-g09d2