Mark `accessibilityLabel` and `accessibilityHint` for translation (#4351)
* mark `accessibilityLabel` and `accessibilityHint` for translation * lint * try againzio/stable
parent
e4b4d854d6
commit
d6b8313932
|
@ -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}>
|
||||
|
|
Loading…
Reference in New Issue