Add logged out translations (#9983)

Add translation for logged in / sub pages
This commit is contained in:
Félix Malfait
2025-02-03 22:00:54 +01:00
committed by GitHub
parent 351e768038
commit 7a0f2f8c0a
46 changed files with 1505 additions and 600 deletions

View File

@ -8,5 +8,6 @@ export * from './types/FieldMetadataType';
export * from './utils/fieldMetadata/isFieldMetadataDateKind';
export * from './utils/image/getImageAbsoluteURI';
export * from './utils/isDefined';
export * from './utils/isValidLocale';
export * from './utils/strings';
export * from './workspace';

View File

@ -0,0 +1,5 @@
import { APP_LOCALES } from 'src/constants/Locales';
export const isValidLocale = (
value: string | null,
): value is keyof typeof APP_LOCALES => value !== null && value in APP_LOCALES;