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

fix: Addition of privacy link, and translatable strings #9776 #9804

Merged
merged 3 commits into from
Feb 19, 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
9 changes: 9 additions & 0 deletions po/common/common.pot
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,15 @@ msgctxt "footer_legal_link"
msgid "/legal"
msgstr ""

msgctxt "footer_privacy"
msgid "Privacy"
msgstr ""

# Do not translate without having the same exact string in the Tags template. Do not use spaces, special characters, only alphanumeric characters separated by hyphens
msgctxt "footer_privacy_link"
msgid "/privacy"
msgstr ""

msgctxt "footer_press"
msgid "Press"
msgstr ""
Expand Down
10 changes: 10 additions & 0 deletions po/common/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,16 @@ msgctxt "footer_legal_link"
msgid "/legal"
msgstr "/legal"

msgctxt "footer_privacy"
msgid "Privacy"
msgstr "Privacy"

# Do not translate without having the same exact string in the Tags template. Do not use spaces, special characters, only alphanumeric characters separated by hyphens
msgctxt "footer_privacy_link"
msgid "/privacy"
msgstr "/privacy"


msgctxt "footer_press"
msgid "Press"
msgstr "Press"
Expand Down
1 change: 1 addition & 0 deletions templates/web/common/site_layout.tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ <h3 class="title-5 text-medium">[% lang('footer_discover_the_project') %]</h3>

<ul class="inline-list text-center text-small">
<li><a href="[% lang('footer_legal_link') %]">[% lang('footer_legal') %]</a></li>
<li><a href="[% lang('footer_privacy_link') %]">[% lang('footer_privacy') %]</a></li>
<li><a href="[% lang('footer_terms_link') %]">[% lang('footer_terms') %]</a></li>
<li><a href="[% lang('footer_data_link') %]">[% lang('footer_data') %]</a></li>
<li><a href="[% lang('donate_link') %]">[% lang('donate') %]</a></li>
Expand Down
Loading