Merge pull request #1491 from ajnart/fix-missing-translation-for-about

🐛 Common settings translation not included within all pages for about credits
This commit is contained in:
Thomas Camlong authored and GitHub committed 2023-10-25 12:59:29 +02:00
commit c6a1992a87
1 file changed
+7 -1
@@ -10,7 +10,13 @@ export const getServerSideTranslations = async (
req?: IncomingMessage,
res?: ServerResponse
) => {
namespaces = namespaces.concat(['common', 'zod', 'layout/header', 'layout/modals/about']);
namespaces = namespaces.concat([
'common',
'zod',
'layout/header',
'layout/modals/about',
'settings/common',
]);
if (!req || !res) {
return serverSideTranslations(requestLocale ?? 'en', namespaces);