mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
Fix language surrounding disability in prompts for alt text and other media descriptions (#20923)
This commit is contained in:
parent
b4fe2d1004
commit
c761e7a5ef
@ -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 = '';
|
||||
|
@ -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"
|
||||
},
|
||||
{
|
||||
|
@ -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…",
|
||||
|
Loading…
Reference in New Issue
Block a user