add alerts to account and index page locales
This commit is contained in:
parent
f9e22ae8de
commit
1ee43825a9
|
@ -49,6 +49,7 @@ export async function getStaticProps({ locale }) {
|
||||||
'common',
|
'common',
|
||||||
'close-account',
|
'close-account',
|
||||||
'delegate',
|
'delegate',
|
||||||
|
'alerts',
|
||||||
])),
|
])),
|
||||||
// Will be passed to the page component as props
|
// Will be passed to the page component as props
|
||||||
},
|
},
|
||||||
|
@ -231,7 +232,7 @@ export default function Account() {
|
||||||
>
|
>
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<BellIcon className="h-4 w-4 mr-1.5" />
|
<BellIcon className="h-4 w-4 mr-1.5" />
|
||||||
Alerts
|
{t('alerts')}
|
||||||
</div>
|
</div>
|
||||||
</Button>
|
</Button>
|
||||||
{!isDelegatedAccount && (
|
{!isDelegatedAccount && (
|
||||||
|
|
|
@ -27,7 +27,11 @@ import FavoritesShortcutBar from '../components/FavoritesShortcutBar'
|
||||||
export async function getStaticProps({ locale }) {
|
export async function getStaticProps({ locale }) {
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
...(await serverSideTranslations(locale, ['common', 'tv-chart'])),
|
...(await serverSideTranslations(locale, [
|
||||||
|
'common',
|
||||||
|
'tv-chart',
|
||||||
|
'alerts',
|
||||||
|
])),
|
||||||
// Will be passed to the page component as props
|
// Will be passed to the page component as props
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue