mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
fix(NotFound): added missing translation keys
This commit is contained in:
parent
7b57c0f508
commit
a25d23559f
1 changed files with 4 additions and 2 deletions
|
|
@ -1,15 +1,17 @@
|
|||
// Copyright (C) 2017-2023 Smart code 203358507
|
||||
|
||||
const React = require('react');
|
||||
const { useTranslation } = require('react-i18next');
|
||||
const { HorizontalNavBar, Image } = require('stremio/components');
|
||||
const styles = require('./styles');
|
||||
|
||||
const NotFound = () => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className={styles['not-found-container']}>
|
||||
<HorizontalNavBar
|
||||
className={styles['nav-bar']}
|
||||
title={'Page not found'}
|
||||
title={t('PAGE_NOT_FOUND')}
|
||||
backButton={true}
|
||||
fullscreenButton={true}
|
||||
navMenu={true}
|
||||
|
|
@ -20,7 +22,7 @@ const NotFound = () => {
|
|||
src={require('/images/empty.png')}
|
||||
alt={' '}
|
||||
/>
|
||||
<div className={styles['not-found-label']}>Page not found!</div>
|
||||
<div className={styles['not-found-label']}>{t('PAGE_NOT_FOUND')}</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue