Skip to content
Snippets Groups Projects
Commit b7411191 authored by Jessie Keck's avatar Jessie Keck Committed by Chris Beer
Browse files

Add a minimize window translation.

parent 4830ec55
Branches
Tags
No related merge requests found
......@@ -35,7 +35,9 @@
"light": "Light",
"listAllOpenWindows": "List all open windows",
"manifestError": "The resource cannot be added:",
"maximizeWindow": "Maximize window",
"menu": "Menu",
"minimizeWindow": "Minimize window",
"miradorResources": "Mirador resources",
"miradorViewer": "Mirador viewer",
"mosaic": "Mosaic",
......
......@@ -43,7 +43,7 @@ export class WindowTopBar extends Component {
<WindowTopBarButtons windowId={windowId} />
<WindowTopMenuButton className={ns('window-menu-btn')} windowId={windowId} />
<MiradorMenuButton
aria-label={t('maximizeWindow')}
aria-label={(maximized ? t('minimizeWindow') : t('maximizeWindow'))}
className={ns('window-maximize')}
color="inherit"
onClick={(maximized ? minimizeWindow : maximizeWindow)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment