mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-19 22:12:15 +01:00
🐛 Common settings translation not included within all pages for about credits
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user