Translations cleaning / workflows (#10125)
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user