🐛 Common settings translation not included within all pages for about credits

This commit is contained in:
Meier Lukas
2023-10-23 00:33:18 +02:00
parent fe0b34a6e4
commit fb4d4e4e8d

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