Adding react-intl i18n to the frontend. No translations yet
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
const outerStyle = {
|
||||
padding: '15px',
|
||||
@@ -30,7 +31,7 @@ const ColumnBackButton = React.createClass({
|
||||
return (
|
||||
<div onClick={this.handleClick} style={outerStyle} className='column-back-button'>
|
||||
<i className='fa fa-fw fa-chevron-left' style={iconStyle} />
|
||||
Back
|
||||
<FormattedMessage id='column_back_button.label' defaultMessage='Back' />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user