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,15 +1,15 @@
|
|||
import Column from '../ui/components/column';
|
||||
import Column from '../ui/components/column';
|
||||
import { Link } from 'react-router';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
const GettingStarted = () => {
|
||||
return (
|
||||
<Column>
|
||||
<div className='static-content'>
|
||||
<h1>Getting started</h1>
|
||||
<p>You can follow people if you know their username and the domain they are on by entering an e-mail-esque address into the form in the bottom of the sidebar.</p>
|
||||
<p>If the target user is on the same domain as you, just the username will work. The same rule applies to mentioning people in statuses.</p>
|
||||
<p>The developer of this project can be followed as Gargron@mastodon.social</p>
|
||||
<p>Also <Link to='/timelines/public' style={{ color: '#2b90d9', textDecoration: 'none' }}>check out the public timeline for a start</Link>!</p>
|
||||
<h1><FormattedMessage id='getting_started.heading' defaultMessage='Getting started' /></h1>
|
||||
<p><FormattedMessage id='getting_started.about_addressing' defaultMessage='You can follow people if you know their username and the domain they are on by entering an e-mail-esque address into the form at the top of the sidebar.' /></p>
|
||||
<p><FormattedMessage id='getting_started.about_shortcuts' defaultMessage='If the target user is on the same domain as you, just the username will work. The same rule applies to mentioning people in statuses.' /></p>
|
||||
<p><FormattedMessage id='getting_started.about_developer' defaultMessage='The developer of this project can be followed as Gargron@mastodon.social' /></p>
|
||||
</div>
|
||||
</Column>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue