Add privacy policy link to the About dialog

This commit is contained in:
Emmanuel Engelhart 2024-12-31 12:35:05 +01:00 committed by Kelson
parent 2188892680
commit 454aa5d8f2
3 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,7 @@
"about-kiwix-desktop-title":"Kiwix Desktop",
"about-kiwix-desktop-description":"Kiwix allows you to have the entirety of Wikipedia at hand wherever you go! On a boat, in the middle of nowhere, or in jail, Kiwix gives you access to all of human knowledge. You don't need Internet, everything is stored on your computer.",
"about-learn-more-about-kiwix":"Learn more about Kiwix",
"about-privacy-policy":"Privacy policy",
"about-release-title":"Release",
"about-source-code":"This software is released under the terms of the GNU General Public License version 3. View the source code on <a href='{{GITHUB_URL}}'>Github</a>.",
"about-version":"Version: {{VERSION}}",

View File

@ -5,6 +5,8 @@
<h1>{{KIWIX_DESKTOP_TITLE}}</h1>
<p>{{KIWIX_DESKTOP_DESCRIPTION}}</p>
<p><a href="https://kiwix.org">{{LEARN_MORE_ABOUT_KIWIX}}</a></p>
<h2>{{PRIVACY_POLICY}}</h2>
<p><a href="https://kiwix.org/privacy-policy/">https://kiwix.org/privacy-policy/</a></p>
<h2>{{RELEASE}}</h2>
<p>{{SOURCE_CODE}}</p>
<p>{{VERSION_TXT}}</p>

View File

@ -11,6 +11,7 @@ About::About(QWidget *parent) :
htmlText = htmlText.replace("{{KIWIX_DESKTOP_TITLE}}", gt("about-kiwix-desktop-title"));
htmlText = htmlText.replace("{{KIWIX_DESKTOP_DESCRIPTION}}", gt("about-kiwix-desktop-description"));
htmlText = htmlText.replace("{{LEARN_MORE_ABOUT_KIWIX}}", gt("about-learn-more-about-kiwix"));
htmlText = htmlText.replace("{{PRIVACY_POLICY}}", gt("about-privacy-policy"));
htmlText = htmlText.replace("{{RELEASE}}", gt("about-release-title"));
htmlText = htmlText.replace("{{SOURCE_CODE}}", gt("about-source-code"));
htmlText = htmlText.replace("{{VERSION_TXT}}", gt("about-version"));