@@ -33,20 +33,20 @@ Page {
3333 width: parent .width
3434
3535 PageHeader {
36- title: qsTranslate ( " " , " About Pan Transit" )
36+ title: app . tr ( " About Pan Transit" )
3737 }
3838
3939 ListItemLabel {
4040 height: Theme .itemSizeExtraSmall
4141 horizontalAlignment: Text .AlignHCenter
42- text: qsTranslate ( " " , " version %1" ). arg ( py .evaluate (" pan.__version__" ))
42+ text: app . tr ( " version %1" , py .evaluate (" pan.__version__" ))
4343 }
4444
4545 Button {
4646 anchors .horizontalCenter : parent .horizontalCenter
4747 height: Theme .itemSizeLarge
4848 preferredWidth: Theme .buttonWidthMedium
49- text: qsTranslate ( " " , " GitHub page" )
49+ text: app . tr ( " GitHub page" )
5050 onClicked: Qt .openUrlExternally (" https://github.com/otsaloma/pan-transit" );
5151 }
5252
@@ -63,12 +63,12 @@ Page {
6363 horizontalAlignment: implicitWidth >
6464 parent .width - anchors .leftMargin - anchors .rightMargin ?
6565 Text .AlignLeft : Text .AlignHCenter
66- text: qsTranslate ( " " , " Pan Transit is free software released under the GNU General Public License (GPL), version 3 or later." )
66+ text: app . tr ( " Pan Transit is free software released under the GNU General Public License (GPL), version 3 or later." )
6767 wrapMode: Text .WordWrap
6868 }
6969
7070 SectionHeader {
71- text: qsTranslate ( " " , " Translated by" )
71+ text: app . tr ( " Translated by" )
7272 }
7373
7474 ListItemLabel {
8080 // Thus, you should translate it to your name. You can also include other
8181 // translators who have contributed to this translation; in that case, please
8282 // write them on separate lines seperated by newlines (\n).
83- text: qsTranslate ( " " , " translator-credits" )
83+ text: app . tr ( " translator-credits" )
8484 visible: text && text !== " translator-credits"
8585 }
8686
@@ -90,15 +90,15 @@ Page {
9090 horizontalAlignment: implicitWidth >
9191 parent .width - anchors .leftMargin - anchors .rightMargin ?
9292 Text .AlignLeft : Text .AlignHCenter
93- text: qsTranslate ( " " , " You can add new user interface translations or contribute to existing ones at Transifex." )
93+ text: app . tr ( " You can add new user interface translations or contribute to existing ones at Transifex." )
9494 wrapMode: Text .WordWrap
9595 }
9696
9797 Button {
9898 anchors .horizontalCenter : parent .horizontalCenter
9999 height: Theme .itemSizeLarge
100100 preferredWidth: Theme .buttonWidthMedium
101- text: qsTranslate ( " " , " Transifex page" )
101+ text: app . tr ( " Transifex page" )
102102 onClicked: Qt .openUrlExternally (" https://www.transifex.com/otsaloma/pan-transit/" );
103103 }
104104
0 commit comments