From a3ba3d3cbad3031910c1617c01a4a53d64d46940 Mon Sep 17 00:00:00 2001 From: RudiThoeni Date: Tue, 8 Oct 2024 14:57:13 +0200 Subject: [PATCH] improving field descs --- .../config/tourism/odhTag/odhTag.sharedView.ts | 14 +++++++------- .../src/config/tourism/tag/tag.sharedView.ts | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/databrowser/src/config/tourism/odhTag/odhTag.sharedView.ts b/databrowser/src/config/tourism/odhTag/odhTag.sharedView.ts index 57c137a8..fcce05ed 100644 --- a/databrowser/src/config/tourism/odhTag/odhTag.sharedView.ts +++ b/databrowser/src/config/tourism/odhTag/odhTag.sharedView.ts @@ -27,7 +27,7 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({ properties: [ shortnameCell({ required: true }), { - title: 'TagName', + title: 'Tag Name', component: CellComponent.StringCell, objectMapping: { text: 'TagName.{language}' }, }, @@ -60,7 +60,7 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({ }, }, { - title: 'ValidForEntity', + title: 'Valid for Entity', component: CellComponent.CustomDataArrayCell, arrayMapping: { targetPropertyName: 'listItems', @@ -89,12 +89,12 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({ name: 'Additional data', properties: [ { - title: 'DisplayAsCategory', + title: 'Display as Category', component: CellComponent.ToggleTriStateCell, objectMapping: { enabled: 'DisplayAsCategory' }, }, { - title: 'MappedTagIds', + title: 'Mapped Tag Ids', component: CellComponent.CustomDataArrayCell, arrayMapping: { targetPropertyName: 'listItems', @@ -107,21 +107,21 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({ }, }, { - title: 'LTSTaggingInfo', + title: 'LTS Tagging Info', component: CellComponent.DictionaryCell, objectMapping: { dictitems: 'LTSTaggingInfo', }, }, { - title: 'IDMCategoryMapping', + title: 'IDM Category Mapping', component: CellComponent.DictionaryCell, objectMapping: { dictitems: 'IDMCategoryMapping', }, }, { - title: 'PublishDataWithTagOn', + title: 'Publish Data with this Tag on', component: CellComponent.DictionaryCell, objectMapping: { dictitems: 'PublishDataWithTagOn', diff --git a/databrowser/src/config/tourism/tag/tag.sharedView.ts b/databrowser/src/config/tourism/tag/tag.sharedView.ts index fd750516..b792634d 100644 --- a/databrowser/src/config/tourism/tag/tag.sharedView.ts +++ b/databrowser/src/config/tourism/tag/tag.sharedView.ts @@ -27,7 +27,7 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({ properties: [ shortnameCell({ required: true }), { - title: 'TagName', + title: 'Tag Name', component: CellComponent.StringCell, objectMapping: { text: 'TagName.{language}' }, }, @@ -60,7 +60,7 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({ }, }, { - title: 'ODHTagIds', + title: 'ODHTagIds (If Tag was imported from ODHTag)', component: CellComponent.CustomDataArrayCell, arrayMapping: { targetPropertyName: 'listItems', @@ -88,7 +88,7 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({ }, }, { - title: 'ValidForEntity', + title: 'Valid for Entity', component: CellComponent.CustomDataArrayCell, arrayMapping: { targetPropertyName: 'listItems', @@ -117,12 +117,12 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({ name: 'Additional data', properties: [ { - title: 'DisplayAsCategory', + title: 'Display as Category', component: CellComponent.ToggleTriStateCell, objectMapping: { enabled: 'DisplayAsCategory' }, }, { - title: 'MappedTagIds', + title: 'Mapped Tag Ids', component: CellComponent.CustomDataArrayCell, arrayMapping: { targetPropertyName: 'listItems', @@ -135,21 +135,21 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({ }, }, { - title: 'LTSTaggingInfo', + title: 'LTS Tagging Info', component: CellComponent.DictionaryCell, objectMapping: { dictitems: 'LTSTaggingInfo', }, }, { - title: 'IDMCategoryMapping', + title: 'IDM Category Mapping', component: CellComponent.DictionaryCell, objectMapping: { dictitems: 'IDMCategoryMapping', }, }, { - title: 'PublishDataWithTagOn', + title: 'Publish Data with this Tag on', component: CellComponent.DictionaryCell, objectMapping: { dictitems: 'PublishDataWithTagOn',