mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-23 18:52:41 +00:00
Adding react-intl i18n to the frontend. No translations yet
This commit is contained in:
parent
546c4718e7
commit
01e43c3e57
31 changed files with 263 additions and 223 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