From 9746dd8e4cec4c8597f601e441c7c7d602925c05 Mon Sep 17 00:00:00 2001 From: smileyhead Date: Mon, 2 Mar 2026 14:14:07 +0100 Subject: [PATCH] Make ALT labels translatable (#9976) --- src/components/images/AutoSizedImage.tsx | 3 ++- src/components/images/Gallery.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/images/AutoSizedImage.tsx b/src/components/images/AutoSizedImage.tsx index 74b923d3cb..3d4856adac 100644 --- a/src/components/images/AutoSizedImage.tsx +++ b/src/components/images/AutoSizedImage.tsx @@ -9,6 +9,7 @@ import {type AppBskyEmbedImages} from '@atproto/api' import {utils} from '@bsky.app/alf' import {msg} from '@lingui/core/macro' import {useLingui} from '@lingui/react' +import {Trans} from '@lingui/react/macro' import {type Dimensions} from '#/lib/media/types' import {useLargeAltBadgeEnabled} from '#/state/preferences/large-alt-badge' @@ -186,7 +187,7 @@ export function AutoSizedImage({ ], ]}> - ALT + ALT )} diff --git a/src/components/images/Gallery.tsx b/src/components/images/Gallery.tsx index deefc6970f..b809a783fa 100644 --- a/src/components/images/Gallery.tsx +++ b/src/components/images/Gallery.tsx @@ -5,6 +5,7 @@ import {type AppBskyEmbedImages} from '@atproto/api' import {utils} from '@bsky.app/alf' import {msg} from '@lingui/core/macro' import {useLingui} from '@lingui/react' +import {Trans} from '@lingui/react/macro' import {type Dimensions} from '#/lib/media/types' import {useLargeAltBadgeEnabled} from '#/state/preferences/large-alt-badge' @@ -116,7 +117,7 @@ export function GalleryItem({ ]}> - ALT + ALT ) : null}