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

Commit

Permalink
Do not reuse the existing label
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed May 10, 2022
1 parent 1653868 commit 3175542
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/VFilters/VFilterChecklist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default {
const descriptions = elements
.map((element) => this.$t(`browse-page.license-description.${element}`))
.join(' ')
const close = this.$t('modal.close', {
const close = this.$t('modal.close-named', {
name: this.$t('browse-page.aria.license-explanation'),
})
return `${descriptions} - ${close}`
Expand Down
3 changes: 2 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@
},
"interpunct": "",
"modal": {
"close": "Close {name}"
"close": "Close",
"close-named": "Close {name}"
},
"error-images": {
"depressed-musician": "A depressed pianist rests their head in their hands.",
Expand Down
9 changes: 7 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-05-09T15:17:18+00:00\n"
"POT-Creation-Date: 2022-05-10T15:31:18+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 @@ -136,9 +136,14 @@ msgctxt "error-images.waiting-for-a-bite"
msgid "Three boys sit on a broken log while two of them fish."
msgstr ""

#. Do not translate words between ### ###.
#: src/components/VContentReport/VContentReportPopover.vue:18
msgctxt "modal.close"
msgid "Close"
msgstr ""

#. Do not translate words between ### ###.
#: src/components/VFilters/VFilterChecklist.vue:125
msgctxt "modal.close-named"
msgid "Close ###name###"
msgstr ""

Expand Down

0 comments on commit 3175542

Please sign in to comment.