Include roadmap translation in serverSideTranslations

This commit is contained in:
Justin Edmund 2023-01-06 04:24:48 -08:00
parent 3595899233
commit ce2c775f36
5 changed files with 6 additions and 6 deletions

View file

@ -391,7 +391,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex
meta: meta, meta: meta,
raids: raids, raids: raids,
sortedRaids: sortedRaids, sortedRaids: sortedRaids,
...(await serverSideTranslations(locale, ['common'])), ...(await serverSideTranslations(locale, ['common', 'roadmap'])),
// Will be passed to the page component as props // Will be passed to the page component as props
}, },
} }

View file

@ -105,7 +105,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex
raids: raids, raids: raids,
sortedRaids: sortedRaids, sortedRaids: sortedRaids,
weaponKeys: weaponKeys, weaponKeys: weaponKeys,
...(await serverSideTranslations(locale, ['common'])), ...(await serverSideTranslations(locale, ['common', 'roadmap'])),
// Will be passed to the page component as props // Will be passed to the page component as props
}, },
} }

View file

@ -190,9 +190,9 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex
sortedRaids: sortedRaids, sortedRaids: sortedRaids,
weaponKeys: weaponKeys, weaponKeys: weaponKeys,
meta: { meta: {
element: elementEmoji() element: elementEmoji(),
}, },
...(await serverSideTranslations(locale, ['common'])), ...(await serverSideTranslations(locale, ['common', 'roadmap'])),
// Will be passed to the page component as props // Will be passed to the page component as props
}, },
} }

View file

@ -382,7 +382,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex
meta: meta, meta: meta,
raids: raids, raids: raids,
sortedRaids: sortedRaids, sortedRaids: sortedRaids,
...(await serverSideTranslations(locale, ['common'])), ...(await serverSideTranslations(locale, ['common', 'roadmap'])),
// Will be passed to the page component as props // Will be passed to the page component as props
}, },
} }

View file

@ -393,7 +393,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex
meta: meta, meta: meta,
raids: raids, raids: raids,
sortedRaids: sortedRaids, sortedRaids: sortedRaids,
...(await serverSideTranslations(locale, ['common'])), ...(await serverSideTranslations(locale, ['common', 'roadmap'])),
// Will be passed to the page component as props // Will be passed to the page component as props
}, },
} }