Translate label and descriptions for objects (#9876)
Begin server-side translations
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { msg } from '@lingui/core/macro';
|
||||
import { FieldMetadataType } from 'twenty-shared';
|
||||
|
||||
import { Relation } from 'src/engine/workspace-manager/workspace-sync-metadata/interfaces/relation.interface';
|
||||
@ -26,9 +27,9 @@ import { WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/sta
|
||||
@WorkspaceEntity({
|
||||
standardId: STANDARD_OBJECT_IDS.attachment,
|
||||
namePlural: 'attachments',
|
||||
labelSingular: 'Attachment',
|
||||
labelPlural: 'Attachments',
|
||||
description: 'An attachment',
|
||||
labelSingular: msg`Attachment`,
|
||||
labelPlural: msg`Attachments`,
|
||||
description: msg`An attachment`,
|
||||
icon: STANDARD_OBJECT_ICONS.attachment,
|
||||
labelIdentifierStandardId: ATTACHMENT_STANDARD_FIELD_IDS.name,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user