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 { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity';
|
||||
@ -13,9 +14,9 @@ import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync
|
||||
@WorkspaceEntity({
|
||||
standardId: STANDARD_OBJECT_IDS.apiKey,
|
||||
namePlural: 'apiKeys',
|
||||
labelSingular: 'API Key',
|
||||
labelPlural: 'API Keys',
|
||||
description: 'An API key',
|
||||
labelSingular: msg`API Key`,
|
||||
labelPlural: msg`API Keys`,
|
||||
description: msg`An API key`,
|
||||
icon: STANDARD_OBJECT_ICONS.apiKey,
|
||||
labelIdentifierStandardId: API_KEY_STANDARD_FIELD_IDS.name,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user