-
Notifications
You must be signed in to change notification settings - Fork 216
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
Use "audio track(s)" to refer to individual audio works #4037
Conversation
Hi @Collins-Webdev, could you update your PR description to use the pull request template? If you have any questions please let us know in the comments. I'm labelling the PR as "🧹 status: ticket work required" in the meantime. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes are good and you've made them in the exact right placc @Collins-Webdev! Thank you for the contributions.
However there are some grammatical issues that I have pointed out in the review. If you could please correct them that would be great. After you have made the text updates, you will need to update the snapshots (see the note about -u
in the link) for the frontend tests to pass. Let us know in the comments if you need any help.
For now, I will convert this PR to a draft so that you can make the required changes and once you are done, you can mark is as ready for review, thanks!
@@ -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.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The word "track" was not needed here as we are referring to the entire body of audio works. Please revert.
@@ -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.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would use the plural form of the word here as we are referring to more than one audio track in this string.
a: "{openverse} searches across more than 700 million images and audio track from open APIs and the {commonCrawl} dataset.", | |
a: "{openverse} searches across more than 700 million images and audio tracks 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.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the plural form.
a: "Currently {openverse} only searches images and audio track, with search for video provided through External Sources.", | |
a: "Currently {openverse} only searches images and audio tracks, with search for video provided through External Sources.", |
audio: "Audio Sources", | ||
audio: "Audio track Sources", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change as "track" is not needed here. A source of audio tracks can be called an "audio source".
count: "See {localeCount} audio track found for {query}.", | ||
countMore: "See over {localeCount} audio track found for {query}.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the plural form.
count: "See {localeCount} audio track found for {query}.", | |
countMore: "See over {localeCount} audio track found for {query}.", | |
count: "See {localeCount} audio tracks found for {query}.", | |
countMore: "See over {localeCount} audio tracks found for {query}.", |
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The word "track" and "file" should not both be used as one removes the need for the other.
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", | |
zero: "No audio tracks provided by this source", | |
count: "{count} audio track provided by this source|{count} audio tracks provided by this source", | |
countMore: "Over {count} audio tracks provided by this source", |
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same note as above^. The use of "track(s)" will eliminate the need for the word "file(s)".
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.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same note as above^. The use of "track(s)" will eliminate the need for the word "file(s)".
audio: "Audio", | ||
audio: "Audio track", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change as we are referring to to the collection of all audio tracks so "Audio" is suitable here.
@@ -1000,7 +1000,7 @@ | |||
additional: "Coming soon", | |||
statusBeta: "Beta", | |||
seeImage: "See all images", | |||
seeAudio: "See all audio", | |||
seeAudio: "See all audio track", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the plural form.
seeAudio: "See all audio track", | |
seeAudio: "See all audio tracks", |
@@ -507,7 +507,7 @@ | |||
title: "Source", | |||
}, | |||
audioCategories: { | |||
title: "Audio category", | |||
title: "Audio track category", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: "Audio track category", | |
title: "Audio category", |
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}.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zero: "No audio track found for {query}.", | |
zero: "No audio tracks found for {query}.", |
@@ -1142,7 +1142,7 @@ | |||
creator: { | |||
audio: { | |||
zero: "No audio files by this creator.", | |||
count: "{count} audio file by this creator.|{count} audio files by this creator.", | |||
count: "{count} audio track file by this creator.|{count} audio track files by this creator.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
count: "{count} audio track file by this creator.|{count} audio track files by this creator.", | |
count: "{count} audio track by this creator.|{count} audio tracks by this creator.", |
@@ -1142,7 +1142,7 @@ | |||
creator: { | |||
audio: { | |||
zero: "No audio files by this creator.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zero: "No audio files by this creator.", | |
zero: "No audio tracks by this creator.", |
@@ -1154,7 +1154,7 @@ | |||
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", | |||
count: "{count} audio file provided by this source|{count} audio track files provided by this source", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
count: "{count} audio file provided by this source|{count} audio track files provided by this source", | |
count: "{count} audio track provided by this source|{count} audio tracks provided by this source", |
@@ -1166,7 +1166,7 @@ | |||
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", | |||
count: "{count} audio file with the selected tag|{count} audio track files with the selected tag", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
count: "{count} audio file with the selected tag|{count} audio track files with the selected tag", | |
count: "{count} audio track with the selected tag|{count} audio tracks with the selected tag", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all your work on this, @Collins-Webdev ! I've added several more suggestions for changes. After adding them, could you mark this PR "Ready for review" so that we can approve and merge it?
Hello @obulat , It's a pleasure for me to be able to participate in such a large-scale project. I have taken your suggestions into account and made the necessary changes. Could you please review them and proceed with merging? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Collins-Webdev, I added the whitespace changes to fix the linting step of the CI.
Now, the text of the about
pages have changed, so we need to update the Visual regression testing snapshots. Here are instructions on how to do it: https://docs.openverse.org/frontend/guides/test.html#updating-snapshots
If you have any problems with this, please comment here - we can help or update for you.
Based on the medium urgency of this PR, the following reviewers are being gently reminded to review this PR: @AetherUnbound Excluding weekend1 days, this PR was ready for review 6 day(s) ago. PRs labelled with medium urgency are expected to be reviewed within 4 weekday(s)2. @Collins-Webdev, if this PR is not ready for a review, please draft it to prevent reviewers from getting further unnecessary pings. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the failing snapshots, and the CI now passes.
Thank you for your contribution, @Collins-Webdev 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution @Collins-Webdev! Also thank you @obulat for making the pending changes.
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.
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Update References to "Audio Track(s)" in English Text
Description
This pull request addresses issue #3972 by updating references to audio works to use the phrase "audio track(s)" instead of just "audio", following the convention established in issue #3941.
Changes Made
Replaced occurrences of "audio" with "audio track(s)" in the English text contained in en.json5.
Ensured that the updated references maintain readability and consistency throughout the project.
Verified the changes by running the project locally to ensure there are no visible errors.
Reviewed and adhered to the established code style of the repository.
No changes to tests or documentation were required for this update.
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin