Skip to content

Commit

Permalink
[AboutPage.qml] Adopt changes from FileCase's AboutPage.qml (#37)
Browse files Browse the repository at this point in the history
* [AboutPage.qml] Add Damien and me as contributors

* [AboutPage.qml] Adopt other changes made for FileCase's `AboutPage.qml`
  Also mind to update translatable strings in `translations/flowplayer.ts`

* [flowplayer.ts] Add & adapt to changes in `AboutPage.qml`

* [flowplayer.ts] Add colon: ":"

* [AboutPage.qml] Add colon: ":" and use `file:///usr…` instead of `file://usr…`
  • Loading branch information
Olf0 authored Feb 5, 2024
1 parent 7174e22 commit 6a8e681
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 15 deletions.
40 changes: 31 additions & 9 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: "file:///usr/share/icons/hicolor/86x86/apps/flowplayer.png"
}

Column {
Expand All @@ -58,7 +58,13 @@ Page {

Label {
color: Theme.secondaryColor
text: "(C) 2015-2016 Matias Perez (CepiPerez)"
text: qsTr("Original author:")
font.pixelSize: Theme.fontSizeSmall
}

Label {
color: Theme.secondaryColor
text: "(C) 2015-2021 Matias Perez (CepiPerez)"
font.pixelSize: Theme.fontSizeSmall
}

Expand All @@ -68,7 +74,25 @@ Page {
}

Label {
text: colored + qsTr("Taglib is used for reading, writing and manipulating audio file tags") +
color: Theme.secondaryColor
text: qsTr("Contributors:")
font.pixelSize: Theme.fontSizeSmall
}

Label {
color: Theme.secondaryColor
text: "(C) 2022-2024 olf (Olf0)" + "<br />" +
"(C) 2023-2024 Damien Caliste (dcaliste)"
font.pixelSize: Theme.fontSizeSmall
}

Separator {
width: parent.width
color: Theme.secondaryColor
}

Label {
text: colored + qsTr("Taglib is used for reading, writing and manipulating audio file tags:") +
"<br><a href='https://taglib.github.io/'>taglib.github.io</a>"
onLinkActivated: Qt.openUrlExternally(link)
font.pixelSize: Theme.fontSizeSmall
Expand All @@ -78,9 +102,8 @@ Page {
}

Label {
text: colored + qsTr("If your language is not available you can contribute here:") + "<br>" +
"<a href='https://www.transifex.com/projects/p/flowplayer/'>" +
"www.transifex.com/projects/p/flowplayer</a>"
text: colored + qsTr("If you want to create a new translation or improve an extant one:") + "<br>" +
"<a href='https://app.transifex.com/olf/flowplayer/'>" + "Transifex - FlowPlayer</a>"
onLinkActivated: Qt.openUrlExternally(link)
font.pixelSize: Theme.fontSizeSmall
textFormat: Text.RichText
Expand All @@ -94,15 +117,15 @@ Page {
}

Label {
text: colored + qsTr("You can contribute to keep this project alive making a small donation")
text: colored + qsTr("You can support the original author of FlowPlayer by donating:")
font.pixelSize: Theme.fontSizeSmall
textFormat: Text.RichText
wrapMode: Text.WordWrap
width: parent.width
}

Image {
source: "../paypal.png"
source: "file:///usr/share/flowplayer/icons/paypal.png"
height: Theme.itemSizeMedium
fillMode: Image.PreserveAspectFit
smooth: true
Expand All @@ -117,5 +140,4 @@ Page {

}


}
22 changes: 16 additions & 6 deletions translations/flowplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,28 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="71"/>
<source>Taglib is used for reading, writing and manipulating audio file tags</source>
<location filename="../qml/pages/AboutPage.qml" line="61"/>
<source>Original author:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="81"/>
<source>If your language is not available you can contribute here:</source>
<location filename="../qml/pages/AboutPage.qml" line="78"/>
<source>Contributors:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="97"/>
<source>You can contribute to keep this project alive making a small donation</source>
<location filename="../qml/pages/AboutPage.qml" line="95"/>
<source>Taglib is used for reading, writing and manipulating audio file tags:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/AboutPage.qml" line="105"/>
<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="120"/>
<source>You can support the original author of FileCase by donating:</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down

0 comments on commit 6a8e681

Please sign in to comment.