Skip to content

Commit

Permalink
i18n for close
Browse files Browse the repository at this point in the history
  • Loading branch information
doolse committed Jun 12, 2018
1 parent e0fd727 commit 08b8dad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import ErrorIcon from '@material-ui/icons/Error';
import InfoIcon from '@material-ui/icons/Info';
import WarningIcon from '@material-ui/icons/Warning';
import * as React from 'react';
import { commonString } from '../util/commonstrings';

const variantIcon = {
success: CheckCircleIcon,
Expand Down Expand Up @@ -71,7 +72,7 @@ export default withStyles(styles)(class MessageInfo extends React.Component<Mess
action={
<IconButton
key="close"
aria-label="Close"
aria-label={commonString.action.close}
color="inherit"
onClick={onClose}
><CloseIcon className={classes.icon} /></IconButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export const commonString = prepLangStrings("common", {
select: "Select",
delete: "Delete",
search: "Search",
clear: "Clear"
clear: "Clear",
close: "Close"
},
users : "Users",
groups: "Groups",
Expand Down

0 comments on commit 08b8dad

Please sign in to comment.