add first translations
This commit is contained in:
@@ -6,31 +6,32 @@ import { withRouter } from 'react-router-dom';
|
||||
|
||||
import Button from '@material-ui/core/Button';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import * as Blockly from 'blockly'
|
||||
|
||||
class NotFound extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<Breadcrumbs content={[{link: this.props.location.pathname, title: 'Error'}]}/>
|
||||
<Typography variant='h4' style={{marginBottom: '5px'}}>Die von Ihnen angeforderte Seite kann nicht gefunden werden.</Typography>
|
||||
<Typography variant='body1'>Die gesuchte Seite wurde möglicherweise entfernt, ihr Name wurde geändert oder sie ist vorübergehend nicht verfügbar.</Typography>
|
||||
<Breadcrumbs content={[{ link: this.props.location.pathname, title: 'Error' }]} />
|
||||
<Typography variant='h4' style={{ marginBottom: '5px' }}>{Blockly.Msg.notfound_head}</Typography>
|
||||
<Typography variant='body1'>{Blockly.Msg.notfound_text}</Typography>
|
||||
{this.props.button ?
|
||||
<Button
|
||||
style={{marginTop: '20px'}}
|
||||
style={{ marginTop: '20px' }}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
onClick={() => {this.props.history.push(this.props.button.link)}}
|
||||
onClick={() => { this.props.history.push(this.props.button.link) }}
|
||||
>
|
||||
{this.props.button.title}
|
||||
</Button>
|
||||
:
|
||||
:
|
||||
<Button
|
||||
style={{marginTop: '20px'}}
|
||||
style={{ marginTop: '20px' }}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
onClick={() => {this.props.history.push('/')}}
|
||||
onClick={() => { this.props.history.push('/') }}
|
||||
>
|
||||
Zurück zur Startseite
|
||||
{Blockly.Msg.button_back}
|
||||
</Button>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user