diff options
author | surfdude29 <149612116+surfdude29@users.noreply.github.com> | 2024-06-04 19:15:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 19:15:28 +0100 |
commit | d6b8313932a62c45230bf63a5c2f3b10f8314584 (patch) | |
tree | a602dc9cf7a38eedc2a889952dd24c8088ab7faf /src | |
parent | e4b4d854d67bdd5107102b629c265c41a522c1f2 (diff) | |
download | voidsky-d6b8313932a62c45230bf63a5c2f3b10f8314584.tar.zst |
Mark `accessibilityLabel` and `accessibilityHint` for translation (#4351)
* mark `accessibilityLabel` and `accessibilityHint` for translation * lint * try again
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Search/Search.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index c8438a348..118a8be25 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -958,6 +958,7 @@ function SearchHistory({ }) { const {isTabletOrDesktop, isMobile} = useWebMediaQueries() const pal = usePalette('default') + const {_} = useLingui() return ( <CenteredView @@ -1010,8 +1011,10 @@ function SearchHistory({ </Link> <Pressable accessibilityRole="button" - accessibilityLabel="Remove profile" - accessibilityHint="Remove profile from search history" + accessibilityLabel={_(msg`Remove profile`)} + accessibilityHint={_( + msg`Remove profile from search history`, + )} onPress={() => onRemoveProfileClick(profile)} hitSlop={createHitslop(6)} style={styles.profileRemoveBtn}> |