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