diff --git a/src/views/preview/extension-chip.jsx b/src/views/preview/extension-chip.jsx index 54c01c7e5..5213ab6f1 100644 --- a/src/views/preview/extension-chip.jsx +++ b/src/views/preview/extension-chip.jsx @@ -1,6 +1,7 @@ const classNames = require('classnames'); const React = require('react'); const PropTypes = require('prop-types'); +const FormattedMessage = require('react-intl').FormattedMessage; require('./extension-chip.scss'); const ExtensionChip = props => ( @@ -12,7 +13,10 @@ const ExtensionChip = props => ( /> }
- {props.extensionName} + {props.extensionL10n ? + : + {props.extensionName} + } {props.hasStatus && (
Needs Connection @@ -23,6 +27,7 @@ const ExtensionChip = props => ( ); ExtensionChip.propTypes = { + extensionL10n: PropTypes.string, extensionName: PropTypes.string, hasStatus: PropTypes.bool, iconURI: PropTypes.string diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 3b31f3aef..530a985e1 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -268,10 +268,11 @@ const PreviewPresentation = ({ {extensions && extensions.map(extension => ( ))}