From 0cc110d129e3631e3a6b18267369c1fa6178e9b8 Mon Sep 17 00:00:00 2001 From: olf Date: Sun, 4 Feb 2024 17:40:37 +0100 Subject: [PATCH 1/5] [AboutPage.qml] Add Damien and me as conributors ToDo: Add two translatable strings and move other string references for `AboutPage.qml` in `translations/flowplayer.ts` --- qml/pages/AboutPage.qml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml index 17f0b24..fd0b1e0 100644 --- a/qml/pages/AboutPage.qml +++ b/qml/pages/AboutPage.qml @@ -58,7 +58,31 @@ 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 + } + + Separator { + width: parent.width + color: Theme.secondaryColor + } + + Label { + color: Theme.secondaryColor + text: qsTr("Contributors:") + font.pixelSize: Theme.fontSizeSmall + } + + Label { + color: Theme.secondaryColor + text: "(C) 2022-2024 olf (Olf0)" + "
" + + "(C) 2023-2024 Damien Caliste (dcaliste)" font.pixelSize: Theme.fontSizeSmall } From 1dd6ac8ca8d969cf5826ab7c76814ebf77994962 Mon Sep 17 00:00:00 2001 From: olf Date: Sun, 4 Feb 2024 17:55:23 +0100 Subject: [PATCH 2/5] [AboutPage.qml] Adopt other changes made for FileCase's `AboutPage.qml` Also mind to update translatable strings in `translations/flowplayer.ts` --- qml/pages/AboutPage.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml index fd0b1e0..173efdd 100644 --- a/qml/pages/AboutPage.qml +++ b/qml/pages/AboutPage.qml @@ -102,9 +102,8 @@ Page { } Label { - text: colored + qsTr("If your language is not available you can contribute here:") + "
" + - "" + - "www.transifex.com/projects/p/flowplayer" + text: colored + qsTr("If you want to create a new translation or improve an extant one:") + "
" + + "" + "Transifex - FlowPlayer" onLinkActivated: Qt.openUrlExternally(link) font.pixelSize: Theme.fontSizeSmall textFormat: Text.RichText @@ -118,7 +117,7 @@ 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 @@ -126,7 +125,7 @@ Page { } Image { - source: "../paypal.png" + source: "file:///usr/share/flowplayer/icons/paypal.png" height: Theme.itemSizeMedium fillMode: Image.PreserveAspectFit smooth: true @@ -141,5 +140,4 @@ Page { } - } From 02dd9efecb720b4487a32024da3dc4c5d972000e Mon Sep 17 00:00:00 2001 From: olf Date: Mon, 5 Feb 2024 16:41:41 +0100 Subject: [PATCH 3/5] [flowplayer.ts] Add & adapt to changes in `AboutPage.qml` --- translations/flowplayer.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/translations/flowplayer.ts b/translations/flowplayer.ts index c2a6fc0..c20c8a3 100644 --- a/translations/flowplayer.ts +++ b/translations/flowplayer.ts @@ -9,18 +9,28 @@ - + + Original author: + + + + + Contributors: + + + + Taglib is used for reading, writing and manipulating audio file tags - - If your language is not available you can contribute here: + + If you want to create a new translation or improve an extant one: - - You can contribute to keep this project alive making a small donation + + You can support the original author of FileCase by donating: From 16e2739ff1f25771ec028417c5186351c99a996c Mon Sep 17 00:00:00 2001 From: olf Date: Mon, 5 Feb 2024 16:45:58 +0100 Subject: [PATCH 4/5] [flowplayer.ts] Add colon: ":" --- translations/flowplayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/flowplayer.ts b/translations/flowplayer.ts index c20c8a3..4d4e303 100644 --- a/translations/flowplayer.ts +++ b/translations/flowplayer.ts @@ -20,7 +20,7 @@ - Taglib is used for reading, writing and manipulating audio file tags + Taglib is used for reading, writing and manipulating audio file tags: From c8ffe8fefb3a474ab7fcb8b3b098ac95e52e9519 Mon Sep 17 00:00:00 2001 From: olf Date: Mon, 5 Feb 2024 16:58:09 +0100 Subject: [PATCH 5/5] =?UTF-8?q?[AboutPage.qml]=20Add=20colon:=20":"=20and?= =?UTF-8?q?=20use=20`file:///usr=E2=80=A6``?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … instead of `file://usr…`. --- qml/pages/AboutPage.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml index 173efdd..ded427d 100644 --- a/qml/pages/AboutPage.qml +++ b/qml/pages/AboutPage.qml @@ -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 { @@ -92,7 +92,7 @@ Page { } Label { - text: colored + qsTr("Taglib is used for reading, writing and manipulating audio file tags") + + text: colored + qsTr("Taglib is used for reading, writing and manipulating audio file tags:") + "
taglib.github.io" onLinkActivated: Qt.openUrlExternally(link) font.pixelSize: Theme.fontSizeSmall