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 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue