Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithguruji committed Dec 5, 2020
1 parent 3ed62c8 commit a66bed6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
14 changes: 3 additions & 11 deletions docs/src/pages/components/material-icons/SearchIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,7 @@ let DialogDetails = (props) => {
<DialogTitle disableTypography>
<Tooltip
placement="right"
title={
copied1 ? t('searchIcons.copied') : t('searchIcons.clickToCopy')
}
TransitionComponent={Zoom}
arrow
title={copied1 ? t('copied') : t('clickToCopy')}
>
<Typography
component="h2"
Expand All @@ -290,11 +286,7 @@ let DialogDetails = (props) => {
</Typography>
</Tooltip>
</DialogTitle>
<Tooltip
placement="top"
title={copied2 ? t('searchIcons.copied') : t('searchIcons.clickToCopy')}
TransitionComponent={Zoom}
>
<Tooltip placement="top" title={copied2 ? t('copied') : t('clickToCopy')}>
<HighlightedCode
className={classes.markdown}
onClick={handleClick(2)}
Expand Down Expand Up @@ -375,7 +367,7 @@ let DialogDetails = (props) => {
</Grid>
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>{t('searchIcons.close')}</Button>
<Button onClick={handleClose}>{t('close')}</Button>
</DialogActions>
</React.Fragment>
) : (
Expand Down
5 changes: 2 additions & 3 deletions docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"cdn": "or use a CDN.",
"checkoutDescr": "A step-by-step checkout page layout. Adapt the number of steps to suit your needs, or make steps optional.",
"checkoutTitle": "Checkout",
"clickToCopy": "Click to copy",
"close": "Close",
"codesandbox": "Edit in CodeSandbox",
"copied": "Copied",
"copiedSource": "The source code has been copied to your clipboard.",
"copiedSourceLink": "Link to the source code has been copied to your clipboard.",
"copySource": "Copy the source",
Expand Down Expand Up @@ -76,9 +78,6 @@
"resetDensity": "Reset density",
"resetFocus": "Reset focus to test keyboard navigation",
"searchIcons": {
"clickToCopy": "Click to copy",
"close": "Close",
"copied": "Copied",
"learnMore": "Learn more about the import"
},
"seeMore": "See more",
Expand Down

0 comments on commit a66bed6

Please sign in to comment.