Skip to content

Commit

Permalink
Issue WordPress#3941 resolved
Browse files Browse the repository at this point in the history
Hi there,

I've made some enhancements to the code to address the issue described in WordPress#3941. Following the convention established, I updated references to audio works to use the phrase "audio track(s)" instead of just "audio".

Please review the changes and let me know if there are any further adjustments needed. Thank you for considering my contribution.
  • Loading branch information
Collins-Webdev authored and obulat committed Apr 29, 2024
1 parent 9cce35c commit 1238728
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions frontend/src/locales/scripts/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
hero: {
subtitle: "Explore more than 700 million creative works",
description: "An extensive library of free stock photos, images, and audio, available for free use.",
description: "An extensive library of free stock photos, images, and audio track, available for free use.",
search: {
placeholder: "Search for content",
},
Expand Down Expand Up @@ -80,14 +80,14 @@
},
collection: {
content: {
a: "{openverse} searches across more than 700 million images and audio from open APIs and the {commonCrawl} dataset.",
a: "{openverse} searches across more than 700 million images and audio track from open APIs and the {commonCrawl} dataset.",
b: "We aggregate works from multiple public repositories, and facilitate reuse through features like one-click attribution.",
},
},
planning: {
content: {
/** about.planning.content.a-c are parts of a single statement */
a: "Currently {openverse} only searches images and audio, with search for video provided through External Sources.",
a: "Currently {openverse} only searches images and audio track, with search for video provided through External Sources.",
/** about.planning.content.a-c are parts of a single statement */
b: "We plan to add additional media types such as open texts and 3D models, with the ultimate goal of providing access to the estimated 2.5 billion CC licensed and public domain works on the web.",
/**
Expand Down Expand Up @@ -175,7 +175,7 @@
},
heading: {
image: "Image Sources",
audio: "Audio Sources",
audio: "Audio track Sources",
},
},
externalSourcesPage: {
Expand Down Expand Up @@ -479,7 +479,7 @@
* Interpolated into error.mediaNotFound:
* _{mediaType}_ part of "Couldn't find {mediaType} with id {id}"
*/
audio: "audio",
audio: "audio track",
},
filters: {
title: "Filters",
Expand Down Expand Up @@ -507,7 +507,7 @@
title: "Source",
},
audioCategories: {
title: "Audio category",
title: "Audio track category",
audiobook: "Audiobook",
music: "Music",
news: "News",
Expand Down Expand Up @@ -621,9 +621,9 @@
countMore: "See over {localeCount} images found for {query}.",
},
audio: {
zero: "No audio found for {query}.",
count: "See {localeCount} audio found for {query}.",
countMore: "See over {localeCount} audio found for {query}.",
zero: "No audio track found for {query}.",
count: "See {localeCount} audio track found for {query}.",
countMore: "See over {localeCount} audio track found for {query}.",
},
},
load: "Load more results",
Expand All @@ -646,7 +646,7 @@
* Interpolated into browsePage.searchForm.placeholder:
* _{type}_ part of "Search all {type}"
*/
audio: "audio",
audio: "audio track",
/**
* Interpolated into browsePage.searchForm.placeholder:
* _{type}_ part of "Search all {type}"
Expand Down Expand Up @@ -684,7 +684,7 @@
licenseExplanation: "license explanation",
creator: "search by creator",
imageTitle: "Image: {title}",
audioTitle: "Audio: {title}",
audioTitle: "Audio track: {title}",
results: {
/**
* "imageResults" and "audioResults" are interpolated from the strings under
Expand Down Expand Up @@ -738,7 +738,7 @@
copyrightDisclaimer: "Some photographs might contain copyrighted content, such as paintings, sculptures, or architectural works. Using these photographs may require additional permissions from the copyright holder of the depicted works.",
licenseHeader: "License",
toolHeader: "Public Domain",
audio: "Audio",
audio: "Audio track",
image: "Image",
tool: {
content: "Read more about the tool {link}.",
Expand Down Expand Up @@ -807,7 +807,7 @@
creatorUrl: "author {name}",
},
imageInfo: "Image information",
audioInfo: "Audio information",
audioInfo: "Audio track information",
tags: {
title: "Tags",
showMore: "Show more",
Expand Down Expand Up @@ -871,14 +871,14 @@
},
audioDetails: {
genreLabel: "Genre",
relatedAudios: "Related audio",
relatedAudios: "Related audio track",
table: {
album: "Album",
sampleRate: "Sample Rate",
filetype: "Format",
genre: "Genre",
},
weblink: "Get this audio",
weblink: "Get this audio track",
},
allResults: {
snackbar: {
Expand Down Expand Up @@ -930,19 +930,19 @@
},
audioTrack: {
ariaLabel: "Audio: {title}",
ariaLabelInteractive: "Audio: {title} - interactive player - press the space bar to play and pause a preview of the audio",
ariaLabelInteractiveSeekable: "Audio: {title} - interactive player - press the space bar to play and pause a preview of the audio; use the left and right arrow keys to seek through the track.",
ariaLabelInteractive: "Audio: {title} - interactive player - press the space bar to play and pause a preview of the audio track",
ariaLabelInteractiveSeekable: "Audio: {title} - interactive player - press the space bar to play and pause a preview of the audio track; use the left and right arrow keys to seek through the track.",
messages: {
err_aborted: "You aborted playback.",
err_network: "A network error occurred.",
err_decode: "Could not decode audio.",
err_decode: "Could not decode audio track.",
err_unallowed: "Reproduction not allowed.",
err_unknown: "An unexpected error has occurred. Try again in a few minutes or report the item if the issue persists.",
err_unsupported: "This audio format is not supported by your browser.",
err_unsupported: "This audio track format is not supported by your browser.",
loading: "Loading...",
},
creator: "by {creator}",
close: "Close the audio player",
close: "Close the audio track player",
},
playPause: {
play: "Play",
Expand Down Expand Up @@ -991,7 +991,7 @@
},
searchType: {
image: "Images",
audio: "Audio",
audio: "Audio track",
all: "All content",
video: "Videos",
model3d: "3D Models",
Expand All @@ -1000,7 +1000,7 @@
additional: "Coming soon",
statusBeta: "Beta",
seeImage: "See all images",
seeAudio: "See all audio",
seeAudio: "See all audio track",
selectLabel: "Select a content type: {type}",
},
skipToContent: "Skip to content",
Expand Down Expand Up @@ -1141,9 +1141,9 @@
resultCountLabel: {
creator: {
audio: {
zero: "No audio files by this creator.",
count: "{count} audio file by this creator.|{count} audio files by this creator.",
countMore: "Over {count} audio files by this creator.",
zero: "No audio track files by this creator.",
count: "{count} audio track file by this creator.|{count} audio track files by this creator.",
countMore: "Over {count} audio track files by this creator.",
},
image: {
zero: "No images by this creator.",
Expand All @@ -1153,9 +1153,9 @@
},
source: {
audio: {
zero: "No audio files provided by this source",
count: "{count} audio file provided by this source|{count} audio files provided by this source",
countMore: "Over {count} audio files provided by this source",
zero: "No audio track files provided by this source",
count: "{count} audio track file provided by this source|{count} audio track files provided by this source",
countMore: "Over {count} audio track files provided by this source",
},
image: {
zero: "No images provided by this source",
Expand All @@ -1165,9 +1165,9 @@
},
tag: {
audio: {
zero: "No audio files with the selected tag",
count: "{count} audio file with the selected tag|{count} audio files with the selected tag",
countMore: "Over {count} audio files with the selected tag",
zero: "No audio track files with the selected tag",
count: "{count} audio track file with the selected tag|{count} audio track files with the selected tag",
countMore: "Over {count} audio track files with the selected tag",
},
image: {
zero: "No images with the selected tag",
Expand Down

0 comments on commit 1238728

Please sign in to comment.