Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add the privacy policy to the menu (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida authored Jan 20, 2022
1 parent 2fbd78e commit 95efd44
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/composables/use-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export default function usePages() {
name: 'header.extension-nav-item',
link: app.localePath('/extension'),
},
{
id: 'privacy',
name: 'header.privacy-nav-item',
link: 'https://wordpress.org/privacy',
},
]

const route = useRoute()
Expand Down
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"source-nav-item": "Sources",
"search-guide-nav-item": "Search Guide",
"meta-search-nav-item": "Meta Search",
"privacy-nav-item": "Privacy",
"feedback-nav-item": "Feedback",
"support-nav-item": "Support Us",
"extension-nav-item": "Web extension",
Expand Down
8 changes: 6 additions & 2 deletions src/locales/po-files/openverse.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Openverse \n"
"Report-Msgid-Bugs-To: https://github.com/wordpress/openverse/issues \n"
"POT-Creation-Date: 2022-01-20T16:25:56+00:00\n"
"POT-Creation-Date: 2022-01-20T15:32:46+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -224,7 +224,7 @@ msgid "Audio seek bar"
msgstr ""

#. Do not translate words between ### ###.
#: src/components/VAudioTrack/VWaveform.vue:516
#: src/components/VAudioTrack/VWaveform.vue:533
msgctxt "waveform.current-time"
msgid "###time### seconds"
msgstr ""
Expand Down Expand Up @@ -2016,6 +2016,10 @@ msgctxt "header.meta-search-nav-item"
msgid "Meta Search"
msgstr ""

msgctxt "header.privacy-nav-item"
msgid "Privacy"
msgstr ""

#: src/components/NavSection.vue:119
msgctxt "header.feedback-nav-item"
msgid "Feedback"
Expand Down

0 comments on commit 95efd44

Please sign in to comment.