diff --git a/locales/en/translation.json b/locales/en/translation.json index 2b316ec58f400c10823d9c1105cc405e566832e1..8d6621e2c4e4cb952a57d20047baee1087a69b87 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -21,6 +21,7 @@ "downloadExportWorkspace": "Download/export workspace", "fetchManifest": "Add", "fullScreen": "Full Screen", + "hideZoomControls": "Hide zoom controls", "light": "Light", "listAllOpenWindows": "List all open windows", "manifestError": "The resource cannot be added:", @@ -34,6 +35,7 @@ "right": "Right", "single": "Single", "settings": "Settings", + "showZoomControls": "Show Zoom Controls", "theme": "Theme", "thumbnails": "Thumbnails", "toggleWindowSideBar": "Toggle window sidebar", diff --git a/src/components/WorkspaceMenu.js b/src/components/WorkspaceMenu.js index d7a0020463503a0710788f8e25571b9231bcf90e..de769d15a8923841ed7fce8a2495509423718f22 100644 --- a/src/components/WorkspaceMenu.js +++ b/src/components/WorkspaceMenu.js @@ -100,7 +100,9 @@ class WorkspaceMenu extends Component { <ListItemIcon> <LoupeIcon /> </ListItemIcon> - <Typography varient="inherit">{ showZoomControls ? 'Hide zoom controls' : 'Show Zoom Controls' }</Typography> + <Typography varient="inherit"> + { showZoomControls ? t('hideZoomControls') : t('showZoomControls') } + </Typography> </MenuItem> <Divider /> <MenuItem