Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Remove footer and associated styles and i18n strings (#883)

Olga Bulat2f492b521830
diff --git a/src/components/FooterSection.vue b/src/components/FooterSection.vue
deleted file mode 100644
index 2480106c2..000000000
--- a/src/components/FooterSection.vue
+++ /dev/null
@@ -1,105 +0,0 @@
-<template>
- <footer class="main-footer">
- <div class="container">
- <div class="columns">
- <section
- role="complementary"
- :aria-label="$t('footer.aria.contact')"
- class="column"
- >
- <!-- eslint-disable @intlify/vue-i18n/no-raw-text -->
- <NuxtLink class="logo" to="/">Openverse</NuxtLink>
- <!-- eslint-enable @intlify/vue-i18n/no-raw-text -->
- <LocaleSelector />
- </section>
- <div class="column is-half">
- <div class="attribution mt-8">
- <i18n path="footer.caption.label" tag="p" class="caption">
- <template #noted>
- <a
- href="https://creativecommons.org/policies#license"
- target="_blank"
- rel="noopener"
- >{{ $t('footer.caption.noted') }}</a
- >
- </template>
- <template #attribution>
- <a
- href="https://creativecommons.org/licenses/by/4.0/"
- target="_blank"
- rel="noopener"
- >
- {{ $t('footer.caption.attribution') }}
- </a>
- </template>
- <template #icons>
- <a
- href="https://fontawesome.com/"
- target="_blank"
- rel="noopener"
- class="text-white"
- >
- {{ $t('footer.caption.icons') }}
- </a>
- </template>
- </i18n>
- <div class="mt-1">
- <i class="icon cc-logo me-2 text-lgr" />
- <i class="icon cc-by me-2 text-lgr" />
- </div>
- </div>
- </div>
- <div class="column">
- <section
- role="complementary"
- :aria-label="$t('footer.aria.donate')"
- class="donate-section"
- >
- <span class="font-bold text-2xl text-white">{{
- $t('footer.donate.work')
- }}</span>
- <p>{{ $t('footer.donate.help') }}</p>
- </section>
- </div>
- </div>
- </div>
- </footer>
-</template>
-
-<script>
-import GoogleAnalytics from '~/analytics/google-analytics'
-import { DonateLinkClick } from '~/analytics/events'
-
-export default {
- name: 'FooterSection',
- methods: {
- sendClickEvent() {
- GoogleAnalytics().sendEvent(DonateLinkClick('footer'))
- },
- },
-}
-</script>
-
-<!-- Add "scoped" attribute to limit CSS to this component only -->
-<style lang="scss" scoped>
-.logo {
- color: white;
- font-size: 2rem;
- font-weight: bold;
- &:link,
- &:visited,
- &:hover,
- &:active {
- text-decoration: none;
- }
-}
-.donate,
-.social {
- &:hover {
- text-decoration: none;
- }
-}
-.icon {
- vertical-align: middle;
-}
-</style>
diff --git a/src/locales/en.json b/src/locales/en.json
index b61d4996f..cb9376a2e 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -64,28 +64,6 @@
"with-count": "{count} Filter|{count} Filters"
}
},
- "footer": {
- "navigation": {
- "contact": "Contact",
- "privacy": "Privacy",
- "policies": "Policies",
- "terms": "Terms"
- },
- "caption": {
- "label": "Except where otherwise {noted}, content on this site is licensed under a {attribution}. {icons}",
- "noted": "noted",
- "attribution": "Creative Commons Attribution 4.0 International license",
- "icons": "Icons by Font Awesome."
- },
- "donate": {
- "work": "Our work relies on you!",
- "help": "Help us keep the internet free and open."
- },
- "aria": {
- "contact": "contact info",
- "donate": "donate section"
- }
- },
"about": {
"title": "About Openverse",
"description": {
diff --git a/src/locales/po-files/openverse.pot b/src/locales/po-files/openverse.pot
index c2f6c5c38..cc348f969 100644
--- a/src/locales/po-files/openverse.pot
+++ b/src/locales/po-files/openverse.pot
@@ -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-02-09T12:36:10+00:00\n"
+"POT-Creation-Date: 2022-02-16T14:35:11+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -13,7 +13,7 @@ msgstr ""
"Language-Team: LANGUAGE <[email protected]>\n"
-#: src/components/VAudioTrack/layouts/VFullLayout.vue:39
+#: src/components/VAudioTrack/layouts/VFullLayout.vue:54
msgctxt "interpunct"
msgid "•"
msgstr ""
@@ -182,7 +182,7 @@ msgctxt "audio-categories.pronunciation"
msgid "Pronunciation"
msgstr ""
-#: src/components/VHeader/VSearchBar/VSearchButton.vue:6
+#: src/components/VHeader/VSearchBar/VSearchButton.vue:4
msgctxt "search.search"
msgid "Search"
msgstr ""
@@ -205,7 +205,7 @@ msgid "Audio Player"
msgstr ""
#. Do not translate words between ### ###.
-#: src/components/VAudioTrack/layouts/VFullLayout.vue:23
+#: src/components/VAudioTrack/layouts/VFullLayout.vue:38
msgctxt "audio-track.creator"
msgid "by ###creator###"
msgstr ""
@@ -247,7 +247,7 @@ msgid "Audio seek bar"
msgstr ""
#. Do not translate words between ### ###.
-#: src/components/VAudioTrack/VWaveform.vue:570
+#: src/components/VAudioTrack/VWaveform.vue:572
msgctxt "waveform.current-time"
msgid "###time### second"
msgid_plural "###time### seconds"
@@ -323,58 +323,58 @@ msgctxt "audio-details.genre-label"
msgid "Genre"
msgstr ""
-#: src/components/AudioDetails/VRelatedAudio.vue:4
+#: src/components/AudioDetails/VRelatedAudio.vue:2
msgctxt "audio-details.related-audios"
msgid "Related audio"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:5
+#: src/components/AudioDetails/VAudioDetails.vue:4
msgctxt "audio-details.information"
msgid "Audio information"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:24
+#: src/components/AudioDetails/VAudioDetails.vue:23
msgctxt "audio-details.table.album"
msgid "Album"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:30
+#: src/components/AudioDetails/VAudioDetails.vue:29
msgctxt "audio-details.table.category"
msgid "Type"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:37
+#: src/components/AudioDetails/VAudioDetails.vue:36
msgctxt "audio-details.table.sample-rate"
msgid "Sample Rate"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:45
+#: src/components/AudioDetails/VAudioDetails.vue:44
msgctxt "audio-details.table.filetype"
msgid "Format"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:53
+#: src/components/AudioDetails/VAudioDetails.vue:52
msgctxt "audio-details.table.provider"
msgid "Provider"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:67
+#: src/components/AudioDetails/VAudioDetails.vue:66
msgctxt "audio-details.table.source"
msgid "Source"
msgstr ""
-#: src/components/AudioDetails/VAudioDetails.vue:75
+#: src/components/AudioDetails/VAudioDetails.vue:74
msgctxt "audio-details.table.genre"
msgid "Genre"
msgstr ""
#. Do not translate words between ### ###.
-#: src/pages/image/_id.vue:49
+#: src/pages/image/_id.vue:46
msgctxt "image-details.creator"
msgid "by ###name###"
msgstr ""
-#: src/pages/image/_id.vue:43
+#: src/pages/image/_id.vue:40
msgctxt "image-details.weblink"
msgid "Go to image's website"
msgstr ""
@@ -424,7 +424,7 @@ msgctxt "image-details.information.unknown"
msgid "Unknown"
msgstr ""
-#: src/pages/audio/_id.vue:25
+#: src/components/VBackToSearchResultsLink.vue:9
msgctxt "single-result.back"
msgid "Back to search results"
msgstr ""
@@ -441,7 +441,7 @@ msgctxt "media-details.loading"
msgid "Loading..."
msgstr ""
-#: src/components/AudioDetails/VRelatedAudio.vue:18
+#: src/components/AudioDetails/VRelatedAudio.vue:17
msgctxt "media-details.related-error"
msgid "Error fetching related media"
msgstr ""
@@ -555,7 +555,7 @@ msgid "Open form"
msgstr ""
#. Do not translate words between ### ###.
-#: src/pages/image/_id.vue:59
+#: src/pages/image/_id.vue:56
msgctxt "media-details.aria.creator-url"
msgid "author ###name###"
msgstr ""
@@ -625,23 +625,23 @@ msgid "Copied!"
msgstr ""
#. Do not translate words between ### ###.
-#: src/components/VMediaInfo/VCopyLicense.vue:37
+#: src/components/VMediaInfo/VCopyLicense.vue:38
msgctxt "media-details.reuse.credit.text"
msgid "\"###title###\"###creator######marked-licensed######license######view-legal###"
msgstr ""
#. Do not translate words between ### ###.
-#: src/components/VMediaInfo/VCopyLicense.vue:54
+#: src/components/VMediaInfo/VCopyLicense.vue:55
msgctxt "media-details.reuse.credit.creator-text"
msgid " by ###creator-name###"
msgstr ""
-#: src/components/VMediaInfo/VCopyLicense.vue:76
+#: src/components/VMediaInfo/VCopyLicense.vue:77
msgctxt "media-details.reuse.credit.marked"
msgid "is marked with"
msgstr ""
-#: src/components/VMediaInfo/VCopyLicense.vue:77
+#: src/components/VMediaInfo/VCopyLicense.vue:78
msgctxt "media-details.reuse.credit.licensed"
msgid "is licensed under"
msgstr ""
@@ -702,7 +702,7 @@ msgid_plural "Over ###localeCount### results"
msgstr[0] ""
msgstr[1] ""
-#: src/components/VLoadMore.vue:26
+#: src/components/VLoadMore.vue:30
msgctxt "browse-page.load"
msgid "Load more results"
msgstr ""
@@ -1082,13 +1082,13 @@ msgid "An error occurred"
msgstr ""
#. Do not translate words between ### ###.
-#: src/pages/image/_id.vue:148
+#: src/pages/image/_id.vue:142
msgctxt "error.image-not-found"
msgid "Couldn't find image with id ###id###"
msgstr ""
#. Do not translate words between ### ###.
-#: src/pages/audio/_id.vue:87
+#: src/pages/audio/_id.vue:69
msgctxt "error.media-not-found"
msgid "Couldn't find ###mediaType### with id ###id###"
msgstr ""
@@ -1830,63 +1830,6 @@ msgctxt "about.description.content"
msgid "Openverse is a tool that allows openly licensed and public domain works to be discovered and used by everyone."
msgstr ""
-#: src/components/FooterSection.vue:7
-msgctxt "footer.aria.contact"
-msgid "contact info"
-msgstr ""
-
-#: src/components/FooterSection.vue:55
-msgctxt "footer.aria.donate"
-msgid "donate section"
-msgstr ""
-
-#: src/components/FooterSection.vue:59
-msgctxt "footer.donate.work"
-msgid "Our work relies on you!"
-msgstr ""
-
-#: src/components/FooterSection.vue:61
-msgctxt "footer.donate.help"
-msgid "Help us keep the internet free and open."
-msgstr ""
-
-#. Do not translate words between ### ###.
-#: src/components/FooterSection.vue:17
-msgctxt "footer.caption.label"
-msgid "Except where otherwise ###noted###, content on this site is licensed under a ###attribution###. ###icons###"
-msgstr ""
-
-#: src/components/FooterSection.vue:23
-msgctxt "footer.caption.noted"
-msgid "noted"
-msgstr ""
-
-#: src/components/FooterSection.vue:32
-msgctxt "footer.caption.attribution"
-msgid "Creative Commons Attribution 4.0 International license"
-msgstr ""
-
-#: src/components/FooterSection.vue:42
-msgctxt "footer.caption.icons"
-msgid "Icons by Font Awesome."
-msgstr ""
-
-msgctxt "footer.navigation.contact"
-msgid "Contact"
-msgstr ""
-
-msgctxt "footer.navigation.privacy"
-msgid "Privacy"
-msgstr ""
-
-msgctxt "footer.navigation.policies"
-msgid "Policies"
-msgstr ""
-
-msgctxt "footer.navigation.terms"
-msgid "Terms"
-msgstr ""
-
msgctxt "header.about-nav-item"
msgid "Our Story"
msgstr ""
@@ -1939,12 +1882,12 @@ msgctxt "header.api-nav-item"
msgid "API"
msgstr ""
-#: src/components/VHeader/VHeader.vue:159
+#: src/components/VHeader/VHeader.vue:152
msgctxt "header.loading"
msgid "Loading..."
msgstr ""
-#: src/components/VContentSwitcher/VMobileMenuModal.vue:13
+#: src/components/VContentSwitcher/VMobileMenuModal.vue:14
msgctxt "header.filter-button.simple"
msgid "Filters"
msgstr ""
@@ -1987,12 +1930,12 @@ msgid "search button"
msgstr ""
#. Do not translate words between ### ###.
-#: src/components/TranslationStatusBanner.vue:7
+#: src/components/VTranslationStatusBanner.vue:7
msgctxt "notification.translation.text"
msgid "The translation for ###locale### locale is incomplete. Help us get to 100 percent by ###link###."
msgstr ""
-#: src/components/TranslationStatusBanner.vue:10
+#: src/components/VTranslationStatusBanner.vue:10
msgctxt "notification.translation.link"
msgid "contributing a translation"
msgstr ""
@@ -2007,7 +1950,7 @@ msgctxt "hero.subtitle"
msgid "Browse through over 600 million items to reuse"
msgstr ""
-#: src/components/VHeader/VSearchBar/VSearchBar.vue:10
+#: src/components/VHeader/VSearchBar/VSearchBar.vue:11
msgctxt "hero.aria.search"
msgid "search"
msgstr ""
@@ -2035,12 +1978,12 @@ msgctxt "hero.disclaimer.content"
msgid "All Openverse content is under a ###license### or is in the public domain."
msgstr ""
-#: src/pages/index.vue:72
+#: src/pages/index.vue:74
msgctxt "hero.disclaimer.license"
msgid "Creative Commons license"
msgstr ""
-#: src/pages/index.vue:48
+#: src/components/VHeader/VSearchBar/VSearchBar.vue:7
msgctxt "hero.search.placeholder"
msgid "Search for content"
msgstr ""
diff --git a/src/styles/vocabulary.scss b/src/styles/vocabulary.scss
index 0f465307e..b838987af 100644
--- a/src/styles/vocabulary.scss
+++ b/src/styles/vocabulary.scss
@@ -19,7 +19,6 @@
@import 'components/button';
@import 'components/image';
@import 'components/navbar';
-@import 'components/footer';
@import 'components/card';
@import 'components/table';
@import 'components/content';