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/About.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/About.qml')
-rw-r--r-- | mobile-widgets/qml/About.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/About.qml b/mobile-widgets/qml/About.qml index 43e990421..43959c6da 100644 --- a/mobile-widgets/qml/About.qml +++ b/mobile-widgets/qml/About.qml @@ -7,7 +7,7 @@ import org.subsurfacedivelog.mobile 1.0 Kirigami.ScrollablePage { id: aboutPage property int pageWidth: aboutPage.width - aboutPage.leftPadding - aboutPage.rightPadding - title: "About Subsurface-mobile" + title: qsTr("About Subsurface-mobile") ColumnLayout { spacing: Kirigami.Units.largeSpacing @@ -16,7 +16,7 @@ Kirigami.ScrollablePage { Kirigami.Heading { - text: "About Subsurface-mobile" + text: qsTr("About Subsurface-mobile") Layout.topMargin: Kirigami.Units.gridUnit Layout.alignment: Qt.AlignHCenter Layout.maximumWidth: pageWidth @@ -33,8 +33,8 @@ Kirigami.ScrollablePage { } Kirigami.Heading { - text: "A mobile version of the free Subsurface divelog software.\n" + - "View your dive logs while on the go." + text: qsTr("A mobile version of the free Subsurface divelog software.\n") + + qsTr("View your dive logs while on the go.") level: 4 Layout.alignment: Qt.AlignHCenter Layout.topMargin: Kirigami.Units.largeSpacing * 3 @@ -45,7 +45,7 @@ Kirigami.ScrollablePage { } Kirigami.Heading { - text: "Version: " + manager.getVersion() + "\n\n© Subsurface developer team\n2011-2016" + text: qsTr("Version: %1\n\n© Subsurface developer team\n2011-2016").arg(manager.getVersion()) level: 5 font.pointSize: subsurfaceTheme.smallPointSize + 1 Layout.alignment: Qt.AlignHCenter |