summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.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/DiveDetails.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/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 5735266f6..8e258d746 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -30,7 +30,7 @@ Kirigami.Page {
property alias gpsCheckbox: detailsEdit.gpsCheckbox
property int updateCurrentIdx: manager.updateSelectedDive
- title: diveDetailsListView.currentItem ? diveDetailsListView.currentItem.modelData.dive.location : "Dive details"
+ title: diveDetailsListView.currentItem ? diveDetailsListView.currentItem.modelData.dive.location : qsTr("Dive details")
state: "view"
leftPadding: 0
topPadding: 0
@@ -64,7 +64,7 @@ Kirigami.Page {
]
property QtObject deleteAction: Action {
- text: "Delete dive"
+ text: qsTr("Delete dive")
iconName: "trash-empty"
onTriggered: {
contextDrawer.close()
@@ -81,7 +81,7 @@ Kirigami.Page {
}
property QtObject mapAction: Action {
- text: "Show on map"
+ text: qsTr("Show on map")
iconName: "gps"
onTriggered: {
showMap(diveDetailsListView.currentItem.modelData.dive.gps)