Skip to content
Snippets Groups Projects
Unverified Commit 12eab6ea authored by Camille Villa's avatar Camille Villa Committed by GitHub
Browse files

Merge pull request #1955 from ProjectMirador/add-some-missing-i18n

Add some missing i18n keys
parents 2eee1986 f7c0f996
Branches
Tags
No related merge requests found
...@@ -42,6 +42,11 @@ ...@@ -42,6 +42,11 @@
"view": "Ansicht", "view": "Ansicht",
"zoomIn": "Vergrößern", "zoomIn": "Vergrößern",
"zoomOut": "Verkleinern", "zoomOut": "Verkleinern",
"zoomReset": "Ansicht zurücksetzen" "zoomReset": "Ansicht zurücksetzen",
"hideZoomControls": "Zoom-Steuerung verbergen",
"showZoomControls": "Zoom-Steuerung anzeigen",
"numItems": "{{number}} Elemente",
} }
} }
...@@ -21,10 +21,12 @@ ...@@ -21,10 +21,12 @@
"downloadExportWorkspace": "Download/export workspace", "downloadExportWorkspace": "Download/export workspace",
"fetchManifest": "Add", "fetchManifest": "Add",
"fullScreen": "Full Screen", "fullScreen": "Full Screen",
"hideZoomControls": "Hide zoom controls",
"light": "Light", "light": "Light",
"listAllOpenWindows": "List all open windows", "listAllOpenWindows": "List all open windows",
"manifestError": "The resource cannot be added:", "manifestError": "The resource cannot be added:",
"menu": "Menu", "menu": "Menu",
"numItems": "{{number}} items",
"off": "Off", "off": "Off",
"openInfoCompanionWindow": "Open information companion window", "openInfoCompanionWindow": "Open information companion window",
"openCanvasNavigationCompanionWindow": "Open canvas navigation companion window", "openCanvasNavigationCompanionWindow": "Open canvas navigation companion window",
...@@ -34,6 +36,7 @@ ...@@ -34,6 +36,7 @@
"right": "Right", "right": "Right",
"single": "Single", "single": "Single",
"settings": "Settings", "settings": "Settings",
"showZoomControls": "Show Zoom Controls",
"theme": "Theme", "theme": "Theme",
"thumbnails": "Thumbnails", "thumbnails": "Thumbnails",
"toggleWindowSideBar": "Toggle window sidebar", "toggleWindowSideBar": "Toggle window sidebar",
......
...@@ -116,7 +116,7 @@ class ManifestListItem extends React.Component { ...@@ -116,7 +116,7 @@ class ManifestListItem extends React.Component {
</Grid> </Grid>
<Grid item xs={8} sm={4}> <Grid item xs={8} sm={4}>
<Typography className={ns('manifest-list-item-provider')}>{provider || t('addedFromUrl')}</Typography> <Typography className={ns('manifest-list-item-provider')}>{provider || t('addedFromUrl')}</Typography>
<Typography>{`${size} items`}</Typography> <Typography>{t('numItems', { number: size })}</Typography>
</Grid> </Grid>
<Grid item xs={4} sm={2}> <Grid item xs={4} sm={2}>
......
...@@ -100,7 +100,9 @@ class WorkspaceMenu extends Component { ...@@ -100,7 +100,9 @@ class WorkspaceMenu extends Component {
<ListItemIcon> <ListItemIcon>
<LoupeIcon /> <LoupeIcon />
</ListItemIcon> </ListItemIcon>
<Typography varient="inherit">{ showZoomControls ? 'Hide zoom controls' : 'Show Zoom Controls' }</Typography> <Typography varient="inherit">
{ showZoomControls ? t('hideZoomControls') : t('showZoomControls') }
</Typography>
</MenuItem> </MenuItem>
<Divider /> <Divider />
<MenuItem <MenuItem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment