A few more fixes for version 0.6.0
[quandoparte] / application / resources / harmattan / qml / AboutPage.qml
index 16837bd..e7842c6 100644 (file)
@@ -7,18 +7,18 @@ Page {
 
     tools: ToolBarLayout {
         id: toolBar
-        ToolIcon { iconId: "icon-m-toolbar-back"; onClicked: pageStack.pop(); }
+        ToolIcon {
+            iconId: "icon-m-toolbar-back" + (theme.inverted ? "-white": "")
+            onClicked: pageStack.pop()
+        }
     }
     PageHeader {
         id: header
         anchors.top: parent.top
         selectedIndex: settings.showArrivalsPreferred ? 1 : 0
-        options: ListModel {
-            id: dialogOptions
-            ListElement {
-                name: QT_TR_NOOP("About Quando Parte")
-            }
-        }
+        options: [
+            qsTr("About Quando Parte")
+        ]
     }
     Label {
         anchors {
@@ -27,11 +27,15 @@ Page {
             right: parent.right;
             margins: UiConstants.DefaultMargin
         }
+        wrapMode: Text.WordWrap
+        textFormat: Text.RichText
         text: qsTr("<h2><a href='http://quandoparte.garage.maemo.org'>" +
-                   "Quando Parte" + "</a></h2>" +"<p style='font-size:small;'>version " + "0.4.80" +
-                   "</p>" +
-                   "<p>Copyright (c) 2010, 2011</p>" +
-                   "<p>Luciano Montanaro (<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p>" +
+                   "Quando Parte" + "</a></h2>" +"<p style='font-size:small;'>version ") +
+              settings.versionString +
+              qsTr("</p>" +
+                   "<p>Copyright (c) 2010, 2011, 2012, 2013</p>" +
+                   "<p>Luciano Montanaro " +
+                   "(<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p>" +
                    "<p>Licensed under the GNU Public License v2 or above</p>" +
                    "<p/><p>Station geolocation data from " +
                    "<a href='http://www.openstreetmap.org'>OpenStreetMap</a></p>" +