Mark accessibilityLabel and accessibilityHint for translation (#4351)
				
					
				
			* mark `accessibilityLabel` and `accessibilityHint` for translation * lint * try again
This commit is contained in:
		
							parent
							
								
									e4b4d854d6
								
							
						
					
					
						commit
						d6b8313932
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -958,6 +958,7 @@ function SearchHistory({ | ||||||
| }) { | }) { | ||||||
|   const {isTabletOrDesktop, isMobile} = useWebMediaQueries() |   const {isTabletOrDesktop, isMobile} = useWebMediaQueries() | ||||||
|   const pal = usePalette('default') |   const pal = usePalette('default') | ||||||
|  |   const {_} = useLingui() | ||||||
| 
 | 
 | ||||||
|   return ( |   return ( | ||||||
|     <CenteredView |     <CenteredView | ||||||
|  | @ -1010,8 +1011,10 @@ function SearchHistory({ | ||||||
|                   </Link> |                   </Link> | ||||||
|                   <Pressable |                   <Pressable | ||||||
|                     accessibilityRole="button" |                     accessibilityRole="button" | ||||||
|                     accessibilityLabel="Remove profile" |                     accessibilityLabel={_(msg`Remove profile`)} | ||||||
|                     accessibilityHint="Remove profile from search history" |                     accessibilityHint={_( | ||||||
|  |                       msg`Remove profile from search history`, | ||||||
|  |                     )} | ||||||
|                     onPress={() => onRemoveProfileClick(profile)} |                     onPress={() => onRemoveProfileClick(profile)} | ||||||
|                     hitSlop={createHitslop(6)} |                     hitSlop={createHitslop(6)} | ||||||
|                     style={styles.profileRemoveBtn}> |                     style={styles.profileRemoveBtn}> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue