X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=qml%2Fpages%2FMainPage.qml;fp=qml%2Fpages%2FMainPage.qml;h=f5c039772265822c7922d50bb9a4e3d520289c57;hp=8190afcdc723044433aafcaa77597920abcb2b5f;hb=ac8b7885c6787ad72b5cf8d422c8e5c8ec0e18fb;hpb=cb84c4b2580c93fc4dbe6361f3cc1034f7bad431;ds=sidebyside diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 8190afc..f5c0397 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -20,6 +20,11 @@ Page { text: qsTr("About") onClicked: pageStack.push(Qt.resolvedUrl("About.qml")) } + + MenuItem { + text: qsTr("The Pedalo Rules") + onClicked: pageStack.push(Qt.resolvedUrl("TheRules.qml")) + } } // Tell SilicaFlickable the height of its content. @@ -51,7 +56,7 @@ Page { BarButton { source: "image://pedalo/button-journey-add?" + (pressed ? Theme.primaryColor : Theme.highlightColor) - text: "Add a journey" + text: qsTr("Add a journey") onClicked: pageStack.push(Qt.resolvedUrl("JourneyEdit.qml")) } } @@ -67,13 +72,13 @@ Page { BarButton { source: "image://pedalo/button-stats?" + (pressed ? Theme.primaryColor : Theme.highlightColor) - text: "View latest stats" + text: qsTr("View latest stats") onClicked: pageStack.push(Qt.resolvedUrl("Stats.qml")) } BarButton { source: "image://pedalo/button-list?" + (pressed ? Theme.primaryColor : Theme.highlightColor) - text: "Previous journeys" + text: qsTr("Previous journeys") onClicked: pageStack.push(Qt.resolvedUrl("JourneyList.qml")) } }