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';
|
||||
@ -29,9 +30,9 @@ export enum ConnectedAccountProvider {
|
||||
@WorkspaceEntity({
|
||||
standardId: STANDARD_OBJECT_IDS.connectedAccount,
|
||||
namePlural: 'connectedAccounts',
|
||||
labelSingular: 'Connected Account',
|
||||
labelPlural: 'Connected Accounts',
|
||||
description: 'A connected account',
|
||||
labelSingular: msg`Connected Account`,
|
||||
labelPlural: msg`Connected Accounts`,
|
||||
description: msg`A connected account`,
|
||||
icon: STANDARD_OBJECT_ICONS.connectedAccount,
|
||||
labelIdentifierStandardId: CONNECTED_ACCOUNT_STANDARD_FIELD_IDS.handle,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user