Add field description+label translations (#9899)
Add translations for field descriptions
This commit is contained in:
@ -42,8 +42,8 @@ export class ViewFieldWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceField({
|
||||
standardId: VIEW_FIELD_STANDARD_FIELD_IDS.fieldMetadataId,
|
||||
type: FieldMetadataType.UUID,
|
||||
label: 'Field Metadata Id',
|
||||
description: 'View Field target field',
|
||||
label: msg`Field Metadata Id`,
|
||||
description: msg`View Field target field`,
|
||||
icon: 'IconTag',
|
||||
})
|
||||
fieldMetadataId: string;
|
||||
@ -51,8 +51,8 @@ export class ViewFieldWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceField({
|
||||
standardId: VIEW_FIELD_STANDARD_FIELD_IDS.isVisible,
|
||||
type: FieldMetadataType.BOOLEAN,
|
||||
label: 'Visible',
|
||||
description: 'View Field visibility',
|
||||
label: msg`Visible`,
|
||||
description: msg`View Field visibility`,
|
||||
icon: 'IconEye',
|
||||
defaultValue: true,
|
||||
})
|
||||
@ -61,8 +61,8 @@ export class ViewFieldWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceField({
|
||||
standardId: VIEW_FIELD_STANDARD_FIELD_IDS.size,
|
||||
type: FieldMetadataType.NUMBER,
|
||||
label: 'Size',
|
||||
description: 'View Field size',
|
||||
label: msg`Size`,
|
||||
description: msg`View Field size`,
|
||||
icon: 'IconEye',
|
||||
defaultValue: 0,
|
||||
})
|
||||
@ -71,8 +71,8 @@ export class ViewFieldWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceField({
|
||||
standardId: VIEW_FIELD_STANDARD_FIELD_IDS.position,
|
||||
type: FieldMetadataType.NUMBER,
|
||||
label: 'Position',
|
||||
description: 'View Field position',
|
||||
label: msg`Position`,
|
||||
description: msg`View Field position`,
|
||||
icon: 'IconList',
|
||||
defaultValue: 0,
|
||||
})
|
||||
@ -82,8 +82,8 @@ export class ViewFieldWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceRelation({
|
||||
standardId: VIEW_FIELD_STANDARD_FIELD_IDS.view,
|
||||
type: RelationMetadataType.MANY_TO_ONE,
|
||||
label: 'View',
|
||||
description: 'View Field related view',
|
||||
label: msg`View`,
|
||||
description: msg`View Field related view`,
|
||||
icon: 'IconLayoutCollage',
|
||||
inverseSideTarget: () => ViewWorkspaceEntity,
|
||||
inverseSideFieldKey: 'viewFields',
|
||||
@ -93,8 +93,8 @@ export class ViewFieldWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceField({
|
||||
standardId: VIEW_FIELD_STANDARD_FIELD_IDS.aggregateOperation,
|
||||
type: FieldMetadataType.SELECT,
|
||||
label: 'Aggregate operation',
|
||||
description: 'Optional aggregate operation',
|
||||
label: msg`Aggregate operation`,
|
||||
description: msg`Optional aggregate operation`,
|
||||
icon: 'IconCalculator',
|
||||
options: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user