diff --git a/src/components/CanvasAnnotations.js b/src/components/CanvasAnnotations.js index 7b0fba4877a49769cd58e9cf3cb1b2f093eafa60..a45baead1ec5a21b26bcbd5ad2049a0454039bf8 100644 --- a/src/components/CanvasAnnotations.js +++ b/src/components/CanvasAnnotations.js @@ -100,7 +100,7 @@ export class CanvasAnnotations extends Component { InputProps={{ endAdornment: ( <div className={classes.endAdornment}> - <MiradorMenuButton aria-label={t('searchSubmitAria')} type="submit"> + <MiradorMenuButton aria-label={t('searchAnnotationTooltip')} type="submit"> <SearchIcon /> </MiradorMenuButton> </div> diff --git a/src/components/WindowSideBarAnnotationsPanel.js b/src/components/WindowSideBarAnnotationsPanel.js index 177f0f23ed5b2d454dbb0647e932765fe4ffed78..0a4436e7af3c3db885b44aa4cd3fa3a8d1fe52f9 100644 --- a/src/components/WindowSideBarAnnotationsPanel.js +++ b/src/components/WindowSideBarAnnotationsPanel.js @@ -1,6 +1,5 @@ import { createRef, Component } from 'react'; import PropTypes from 'prop-types'; -import Typography from '@material-ui/core/Typography'; import AnnotationSettings from '../containers/AnnotationSettings'; import CanvasAnnotations from '../containers/CanvasAnnotations'; import CompanionWindow from '../containers/CompanionWindow'; diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index aeea99ae9b3566ba6338ce5080868d2090ebcd8a..43e937a3040bb7cf3ff7e8e42e179083e4217449 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -119,6 +119,7 @@ "right": "Right", "rights": "License", "scroll": "Scroll", + "searchAnnotationTooltip": "Filter annotations", "searchInputLabel": "search terms", "searchNextResult": "Next result", "searchNoResults": "No results found", @@ -126,7 +127,7 @@ "searchResultsRemaining": "{{numLeft}} remaining", "searchSubmitAria": "Submit search", "searchTitle": "Search", - "searchPlaceholderAnnotation" : "Search...", + "searchPlaceholderAnnotation" : "Filter...", "selectWorkspaceMenu": "Select workspace type", "showingNumAnnotations_one": "Showing {{number}} annotation", "showingNumAnnotations_other": "Showing {{number}} annotations", diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json index 2cc24e282b588b293cd1e9033e21a55f094c7db4..7ff8bc8d4b56c0ed0d72a654a177236fe65bf27b 100644 --- a/src/locales/fr/translation.json +++ b/src/locales/fr/translation.json @@ -115,10 +115,11 @@ "right": "Droite", "rights": "Licence", "scroll": "Défilement horizontal", + "searchAnnotationTooltip": "Filtrer les annotations", "searchInputLabel": "Chercher un mot", "searchNextResult": "Résultat suivant", "searchNoResults": "Aucun résultat trouvé", - "searchPlaceholderAnnotation" : "Rechercher...", + "searchPlaceholderAnnotation" : "Filtrer...", "searchPreviousResult": "Résultat précédent", "searchSubmitAria": "Lancer la recherche", "searchTitle": "Rechercher",