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] Adopt changes from FileCase's AboutPage.qml #37

Merged
merged 5 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading