Translatable AboutPage.

This commit is contained in:
Niels 2025-07-22 18:18:49 +02:00
parent 5646dcd0ba
commit 85736c4892

View File

@ -4,7 +4,6 @@ import Sailfish.Silica 1.0
Page {
Flickable {
id: flick
//width:parent.width
height: parent.height - Theme.paddingLarge * 3
anchors.top: parent.top
anchors.left: parent.left
@ -23,7 +22,6 @@ Page {
font.bold: true
text: "AllRadio2 v"+ _version
anchors.horizontalCenter: parent.horizontalCenter
}
Text {
@ -31,12 +29,9 @@ Page {
font.pixelSize: Theme.fontSizeMedium
color: Theme.primaryColor
linkColor: Theme.highlightColor
//wrapMode: TextEdit.WordWrap
//verticalAlignment: Text.Center
horizontalAlignment: Text.Center
anchors.horizontalCenter: parent.horizontalCenter
onLinkActivated: Qt.openUrlExternally(link)
// text: qsTr("License: <a href='file:///gpl-2.0-standalone.html'>GPLv2</a>")
text: qsTr("License: GPLv2")
}
@ -58,7 +53,7 @@ Page {
wrapMode: TextEdit.WordWrap
verticalAlignment: Text.AlignLeft
onLinkActivated: Qt.openUrlExternally(link)
text: "<p>This is version 2 of my old app AllRadio. It fixes the API changes made a couple of years ago in <a href='https://api.radio-browser.info/'>Radio Browser</a>.</p>
text: qsTr("<p>This is version 2 of my old app AllRadio. It fixes the API changes made a couple of years ago in <a href='https://api.radio-browser.info/'>Radio Browser</a>.</p>
<p>What i have done (for now):<p>
<ul>
<li>Cleaned up the code.</li>
@ -66,7 +61,7 @@ Page {
<li>Added a simple tv station video player.</li></ul>
<p>It is propably buggy and lacking of some functions, but i will try to update and fix it when i find the time for it.</p>
<p>For now, the source code is hosted on this <a href='http://gitea.nesnomis.nu/nesnomis/harbour-allradio2'>git server</a>."
<p>For now, the source code is hosted on this <a href='http://gitea.nesnomis.nu/nesnomis/harbour-allradio2'>git server</a>.")
}
}
}