aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Foreman <38192823+hs4man21@users.noreply.github.com>2022-12-15 12:46:13 -0500
committerGitHub <noreply@github.com>2022-12-15 18:46:13 +0100
commitc761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa (patch)
tree799c657d093bd015d1178b5a2b317c9b63e5a740
parentb4fe2d1004210b4b441fe8fe12540040b3bad442 (diff)
downloadmastodon-c761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa.tar
mastodon-c761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa.tar.gz
mastodon-c761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa.tar.bz2
mastodon-c761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa.zip
Fix language surrounding disability in prompts for alt text and other media descriptions (#20923)
-rw-r--r--app/javascript/mastodon/features/ui/components/focal_point_modal.js6
-rw-r--r--app/javascript/mastodon/locales/defaultMessages.json6
-rw-r--r--app/javascript/mastodon/locales/en.json6
3 files changed, 9 insertions, 9 deletions
diff --git a/app/javascript/mastodon/features/ui/components/focal_point_modal.js b/app/javascript/mastodon/features/ui/components/focal_point_modal.js
index ba8aa8f03..479f4abd2 100644
--- a/app/javascript/mastodon/features/ui/components/focal_point_modal.js
+++ b/app/javascript/mastodon/features/ui/components/focal_point_modal.js
@@ -291,11 +291,11 @@ class FocalPointModal extends ImmutablePureComponent {
let descriptionLabel = null;
if (media.get('type') === 'audio') {
- descriptionLabel = <FormattedMessage id='upload_form.audio_description' defaultMessage='Describe for people with hearing loss' />;
+ descriptionLabel = <FormattedMessage id='upload_form.audio_description' defaultMessage='Describe for people who are hard of hearing' />;
} else if (media.get('type') === 'video') {
- descriptionLabel = <FormattedMessage id='upload_form.video_description' defaultMessage='Describe for people with hearing loss or visual impairment' />;
+ descriptionLabel = <FormattedMessage id='upload_form.video_description' defaultMessage='Describe for people who are deaf, hard of hearing, blind or have low vision' />;
} else {
- descriptionLabel = <FormattedMessage id='upload_form.description' defaultMessage='Describe for the visually impaired' />;
+ descriptionLabel = <FormattedMessage id='upload_form.description' defaultMessage='Describe for people who are blind or have low vision' />;
}
let ocrMessage = '';
diff --git a/app/javascript/mastodon/locales/defaultMessages.json b/app/javascript/mastodon/locales/defaultMessages.json
index 230154eb1..4312e7b84 100644
--- a/app/javascript/mastodon/locales/defaultMessages.json
+++ b/app/javascript/mastodon/locales/defaultMessages.json
@@ -3934,15 +3934,15 @@
"id": "confirmations.discard_edit_media.confirm"
},
{
- "defaultMessage": "Describe for people with hearing loss",
+ "defaultMessage": "Describe for people who are deaf or hard of hearing",
"id": "upload_form.audio_description"
},
{
- "defaultMessage": "Describe for people with hearing loss or visual impairment",
+ "defaultMessage": "Describe for people who are deaf, hard of hearing, blind or have low vision",
"id": "upload_form.video_description"
},
{
- "defaultMessage": "Describe for the visually impaired",
+ "defaultMessage": "Describe for people who are blind or have low vision",
"id": "upload_form.description"
},
{
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json
index 997b0d9e5..fd7755c08 100644
--- a/app/javascript/mastodon/locales/en.json
+++ b/app/javascript/mastodon/locales/en.json
@@ -622,13 +622,13 @@
"upload_button.label": "Add images, a video or an audio file",
"upload_error.limit": "File upload limit exceeded.",
"upload_error.poll": "File upload not allowed with polls.",
- "upload_form.audio_description": "Describe for people with hearing loss",
- "upload_form.description": "Describe for the visually impaired",
+ "upload_form.audio_description": "Describe for people who are deaf or hard of hearing",
+ "upload_form.description": "Describe for people who are blind or have low vision",
"upload_form.description_missing": "No description added",
"upload_form.edit": "Edit",
"upload_form.thumbnail": "Change thumbnail",
"upload_form.undo": "Delete",
- "upload_form.video_description": "Describe for people with hearing loss or visual impairment",
+ "upload_form.video_description": "Describe for people who are deaf, hard of hearing, blind or have low vision",
"upload_modal.analyzing_picture": "Analyzing picture…",
"upload_modal.apply": "Apply",
"upload_modal.applying": "Applying…",