Adding react-intl i18n to the frontend. No translations yet
This commit is contained in:
parent
546c4718e7
commit
01e43c3e57
31 changed files with 267 additions and 227 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
const LoadingIndicator = () => {
|
||||
const style = {
|
||||
textAlign: 'center',
|
||||
|
|
@ -7,7 +9,7 @@ const LoadingIndicator = () => {
|
|||
paddingTop: '120px'
|
||||
};
|
||||
|
||||
return <div style={style}>Loading...</div>;
|
||||
return <div style={style}><FormattedMessage id='loading_indicator.label' defaultMessage='Loading...' /></div>;
|
||||
};
|
||||
|
||||
export default LoadingIndicator;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue