diff --git a/_locales/en/messages.json b/_locales/en/messages.json index f15b65a741..b370408b47 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1516,11 +1516,11 @@ }, "icu:retryDownload": { "messageformat": "Retry download", - "description": "Label for button shown on an existing download to restart a download that was partially completed" + "description": "(Deleted 2024/12/12) Label for button shown on an existing download to restart a download that was partially completed" }, "icu:retryDownloadShort": { "messageformat": "Retry", - "description": "Describes a button shown on an existing download to restart a download that was partially completed" + "description": "(Deleted 2024/12/12) Describes a button shown on an existing download to restart a download that was partially completed" }, "icu:downloadNItems": { "messageformat": "{count, plural, one {# item} other {# items}}", @@ -6075,6 +6075,14 @@ "messageformat": "Choose a color", "description": "Label for when you need to choose your fighter, err color" }, + "icu:AttachmentDetailPill__retryDownload": { + "messageformat": "Retry download", + "description": "Label for button shown on an existing download to restart a download that was partially completed" + }, + "icu:AttachmentDetailPill__retryDownloadShort": { + "messageformat": "Retry", + "description": "Describes a button shown on an existing download to restart a download that was partially completed" + }, "icu:LeftPaneSetGroupMetadataHelper__avatar-modal-title": { "messageformat": "Group Avatar", "description": "Title for the avatar picker in the group creation flow" diff --git a/ts/components/conversation/AttachmentDetailPill.tsx b/ts/components/conversation/AttachmentDetailPill.tsx index 52ed0c4cf9..11ad507b5a 100644 --- a/ts/components/conversation/AttachmentDetailPill.tsx +++ b/ts/components/conversation/AttachmentDetailPill.tsx @@ -102,7 +102,7 @@ export function AttachmentDetailPill({ let text: JSX.Element; if (!areAnyPending && totalDownloadedSize > 0) { - ariaLabel = i18n('icu:retryDownload'); + ariaLabel = i18n('icu:AttachmentDetailPill__retryDownload'); onClick = startDownloadClick; onKeyDown = startDownloadKeyDown; control = ( @@ -112,7 +112,7 @@ export function AttachmentDetailPill({ ); text = (
- {i18n('icu:retryDownloadShort')} + {i18n('icu:AttachmentDetailPill__retryDownloadShort')}
); } else if (!areAnyPending) {