Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AboutPage.qml] Another take at relative icon paths #59

Merged
merged 14 commits into from
Feb 13, 2024
Merged
26 changes: 12 additions & 14 deletions qml/pages/AboutPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Page {
spacing: Theme.paddingLarge

Image {
source: "file:///usr/share/icons/hicolor/86x86/apps/flowplayer.png"
source: "../../../icons/hicolor/86x86/apps/flowplayer.png"
}

Column {
Expand All @@ -44,7 +44,9 @@ Page {
Label {
id: main
color: Theme.highlightColor
text: "FlowPlayer"
text: "<b>FlowPlayer</b>"
font.pixelSize: Theme.fontSizeMedium
textFormat: Text.RichText
}

Label {
Expand All @@ -68,13 +70,6 @@ Page {
font.pixelSize: Theme.fontSizeSmall
}

Label {
color: Theme.secondaryColor
text: "&nbsp;"
textFormat: Text.RichText
font.pixelSize: Theme.fontSizeSmall
}

Label {
color: Theme.secondaryColor
text: qsTr("Contributors:")
Expand All @@ -97,17 +92,19 @@ Page {
Label {
text: colored + qsTr("If you want to create a new translation or improve an extant one:")
font.pixelSize: Theme.fontSizeSmall
textFormat: Text.RichText
wrapMode: Text.WordWrap
width: parent.width
}

Label {
text: colored + "<a href='https://app.transifex.com/olf/flowplayer/'>" + "FlowPlayer@Transifex</a>"
text: colored +
"<a href='https://github.com/sailfishos-applications/flowplayer/blob/master/translations/README.md#translations-l10n--i18n'>" +
"<b>Translations README</b></a>"
onLinkActivated: Qt.openUrlExternally(link)
font.pixelSize: Theme.fontSizeLarge
textFormat: Text.RichText
wrapMode: Text.WordWrap
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
}

Separator {
Expand All @@ -124,10 +121,11 @@ Page {
}

Image {
source: "file:///usr/share/flowplayer/qml/paypal.png"
height: Theme.itemSizeMedium
source: "../paypal.png"
height: Theme.itemSizeHuge
fillMode: Image.PreserveAspectFit
smooth: true
anchors.horizontalCenter: parent.horizontalCenter

MouseArea {
anchors.fill: parent
Expand Down
8 changes: 4 additions & 4 deletions translations/flowplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="61"/>
<location filename="../qml/pages/AboutPage.qml" line="63"/>
<source>Original author:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="80"/>
<location filename="../qml/pages/AboutPage.qml" line="75"/>
<source>Contributors:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="98"/>
<location filename="../qml/pages/AboutPage.qml" line="93"/>
<source>If you want to create a new translation or improve an extant one:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="119"/>
<location filename="../qml/pages/AboutPage.qml" line="116"/>
<source>You can support the original author of FlowPlayer by donating:</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading