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
2023-10-25 12:59:29 +02:00
committed by GitHub

View File

@@ -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);