Translations cleaning / workflows (#10125)

This commit is contained in:
Félix Malfait
2025-02-11 15:26:21 +01:00
committed by GitHub
parent 6da9976193
commit cc68deaab1
63 changed files with 376 additions and 164 deletions

View File

@ -1,7 +1,7 @@
import { registerEnumType } from '@nestjs/graphql';
import { msg } from '@lingui/core/macro';
import { APP_LOCALES, FieldMetadataType } from 'twenty-shared';
import { APP_LOCALES, FieldMetadataType, SOURCE_LOCALE } from 'twenty-shared';
import { Relation } from 'src/engine/workspace-manager/workspace-sync-metadata/interfaces/relation.interface';
@ -107,7 +107,7 @@ export class WorkspaceMemberWorkspaceEntity extends BaseWorkspaceEntity {
label: msg`Language`,
description: msg`Preferred language`,
icon: 'IconLanguage',
defaultValue: "'en'",
defaultValue: `'${SOURCE_LOCALE}'`,
})
locale: keyof typeof APP_LOCALES;