diff options
author | Robert C. Helling <helling@atdotde.de> | 2016-05-03 21:24:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-05-03 12:59:16 -0700 |
commit | 502be2a0f16474ed7520fb87071573e51f95a15a (patch) | |
tree | fe47196ca3a50b8ac66bc84976289d912390fd91 /mobile-widgets/qml/DiveList.qml | |
parent | 70e3ec9e90e33a2f11e500e1a1c807ab58b4ebe1 (diff) | |
download | subsurface-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/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index e4ae3be28..f949a44be 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -9,7 +9,7 @@ import org.subsurfacedivelog.mobile 1.0 Kirigami.ScrollablePage { id: page objectName: "DiveList" - title: "Dive list" + title: qsTr("Dive list") background: Rectangle { color: Kirigami.Theme.viewBackgroundColor } @@ -92,7 +92,7 @@ Kirigami.ScrollablePage { bottom: numberText.bottom } Kirigami.Label { - text: 'Depth: ' + text: qsTr('Depth: ') font.pointSize: subsurfaceTheme.smallPointSize color: textColor } @@ -103,7 +103,7 @@ Kirigami.ScrollablePage { color: textColor } Kirigami.Label { - text: 'Duration: ' + text: qsTr('Duration: ') font.pointSize: subsurfaceTheme.smallPointSize color: textColor } @@ -219,17 +219,17 @@ Kirigami.ScrollablePage { if (visible) { page.actions.main = page.saveAction page.actions.right = page.offlineAction - title = "Cloud credentials" + title = qsTr("Cloud credentials") } else if(manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL || manager.credentialStatus === QMLManager.NOCLOUD) { page.actions.main = page.addDiveAction page.actions.right = null - title = "Dive list" + title = qsTr("Dive list") if (diveListView.count === 0) showPassiveNotification(qsTr("Please tap the '+' button to add a dive"), 3000) } else { page.actions.main = null page.actions.right = null - title = "Dive list" + title = qsTr("Dive list") } } |