Skip to content

Commit

Permalink
Add privacy policy link to the About dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Jan 1, 2025
1 parent b78ed14 commit 8905063
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
2 changes: 2 additions & 0 deletions resources/texts/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions src/about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 8905063

Please sign in to comment.