From fec195f2882150748152fc49c259949de20a0c3c Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Wed, 13 Nov 2019 15:16:37 +0100 Subject: [PATCH 01/12] Add configuration check for sudan project --- app/core/settings/settings-service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/core/settings/settings-service.ts b/app/core/settings/settings-service.ts index e8ecfd53a2..33e559e7a7 100644 --- a/app/core/settings/settings-service.ts +++ b/app/core/settings/settings-service.ts @@ -97,6 +97,7 @@ export class SettingsService { if (this.getSelectedProject().startsWith('monte-turcisi')) customProjectName = 'MonTur'; if (this.getSelectedProject().startsWith('al-ula')) customProjectName = 'AlUla'; if (this.getSelectedProject().startsWith('kalapodi')) customProjectName = 'Kalapodi'; + if (this.getSelectedProject().startsWith('sudan-digital')) customProjectName = 'Sudan'; try { From bf2f4fea30d74bb082d15f00fb2eb2ce5f43e3fb Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Wed, 13 Nov 2019 15:35:45 +0100 Subject: [PATCH 02/12] Change project name in tilemap check --- app/components/resources/map/map/layer-map.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/resources/map/map/layer-map.component.ts b/app/components/resources/map/map/layer-map.component.ts index 89818b337d..56fd3162e7 100644 --- a/app/components/resources/map/map/layer-map.component.ts +++ b/app/components/resources/map/map/layer-map.component.ts @@ -85,7 +85,7 @@ export class LayerMapComponent extends MapComponent { await super.updateMap(changes); - if (this.settingsService.getSelectedProject().toLowerCase().startsWith('sudan-digital')) { + if (this.settingsService.getSelectedProject().toLowerCase().startsWith('sudan-heritage')) { this.updateSudanTileLayer(); } From 75f54a6348bad175f77da358899df1c7d7849846 Mon Sep 17 00:00:00 2001 From: maxhaibt <55451612+maxhaibt@users.noreply.github.com> Date: Thu, 14 Nov 2019 08:03:31 +0100 Subject: [PATCH 03/12] Create configs, valuelists, language, load at start for sudan-heritage --- app/core/settings/settings-service.ts | 4 +- config/Config-SudanHeritage.json | 72 +++++++++++++++++++++++++++ config/Config-WES.json | 14 ++++-- config/Language-SudanHeritage.en.json | 46 +++++++++++++++++ config/Library/Valuelists.json | 57 ++++++++++++++++++++- package-lock.json | 2 +- 6 files changed, 188 insertions(+), 7 deletions(-) create mode 100644 config/Config-SudanHeritage.json create mode 100644 config/Language-SudanHeritage.en.json diff --git a/app/core/settings/settings-service.ts b/app/core/settings/settings-service.ts index 33e559e7a7..99da98d255 100644 --- a/app/core/settings/settings-service.ts +++ b/app/core/settings/settings-service.ts @@ -97,7 +97,7 @@ export class SettingsService { if (this.getSelectedProject().startsWith('monte-turcisi')) customProjectName = 'MonTur'; if (this.getSelectedProject().startsWith('al-ula')) customProjectName = 'AlUla'; if (this.getSelectedProject().startsWith('kalapodi')) customProjectName = 'Kalapodi'; - if (this.getSelectedProject().startsWith('sudan-digital')) customProjectName = 'Sudan'; + if (this.getSelectedProject().startsWith('sudan-heritage')) customProjectName = 'SudanHeritage'; try { @@ -314,4 +314,4 @@ export class SettingsService { modified: [{ user: username, date: new Date() }] }; } -} \ No newline at end of file +} diff --git a/config/Config-SudanHeritage.json b/config/Config-SudanHeritage.json new file mode 100644 index 0000000000..8c506c574f --- /dev/null +++ b/config/Config-SudanHeritage.json @@ -0,0 +1,72 @@ +{ + "Project:default": { + "hidden": [], + "fields": {} + }, + "Operation:default": { + "hidden": [], + "fields": {} + }, + "Place:default": { + "hidden": [ + "buildingHistory", + "buildingResearchHistory", + "excavationHistory", + "findSituation", + "findspotClassification" + ], + "typeFamily": "Place", + "description": {}, + "createdBy": "", + "creationDate": "", + "color": "#5572A1", + "commons": [ + "dating", + "description" + ], + "valuelists": { + "siteClassification": "Place-siteClassification-SudanHeritage", + "periodSudanHeritage": "period-SudanHeritage" + }, + "fields": { + "placeName": { + "inputType": "input" + }, + "placeNameOriginalLaguage": { + "inputType": "input" + }, + "periodSudanHeritage": { + "inputType": "checkboxes" + }, + "researchHistory": { + "inputType": "text" + }, + "modernIntervention": { + "inputType": "input" + }, + "siteClassification": { + "inputType": "checkboxes" + }, + "stateOfPerservation": { + "inputType": "text" + }, + "coservationMeasures": { + "inputType": "text" + }, + "objectCirculation": { + "inputType": "text" + }, + "staffInCharge": { + "inputType": "text" + }, + "securityMeasures": { + "inputType": "text" + } + } + }, + "Image:default": { + "hidden": [], + "fields": {} + } + +} diff --git a/config/Config-WES.json b/config/Config-WES.json index e195d3f0d6..ac16476f35 100644 --- a/config/Config-WES.json +++ b/config/Config-WES.json @@ -37,7 +37,10 @@ }, "Find:default": { "hidden": [], - "fields": {} + "fields": {}, + "valuelists": { + "period": "periods-wes-1" + } }, "Feature:default": { "hidden": [], @@ -135,7 +138,12 @@ "hidden": [], "fields": {} }, - "Pottery:default": { + "Pottery:wes": { + "parent": "Find", + "typeFamily": "Pottery", + "description": {}, + "createdBy": "Max Haibt", + "creationDate": "", "fields": { "vesselpart": { "inputType": "checkboxes" @@ -637,4 +645,4 @@ "classification": "Mollusk-classification-WES" } } -} \ No newline at end of file +} diff --git a/config/Language-SudanHeritage.en.json b/config/Language-SudanHeritage.en.json new file mode 100644 index 0000000000..7668a48785 --- /dev/null +++ b/config/Language-SudanHeritage.en.json @@ -0,0 +1,46 @@ +{ + "types": { + "Place": { + "label": "Heritage Site", + "fields": { + "placeName": { + "label":"Place Name" + }, + "placeNameOriginalLaguage": { + "label": "Place Name in arabic" + }, + + "researchHistory": { + "label": "Research History" + }, + "modernIntervention": { + "label": "Modern Structures on the site" + }, + "periodSudanHeritage": { + "label": "Periods observable on the site" + }, + "siteClassification": { + "label": "General archaeological classification for the Site" + }, + "stateOfPerservation": { + "label": "Description of the State of Perservation" + + }, + "conservationMeasures": { + "label": "Measures for Conservation of the Site" + }, + "objectCirculation": { + "label": "Archaeological Objects from this Site in Circulation" + }, + "staffInCharge": { + "label": "Persons in Charge of this Site" + }, + "securityMeasures": { + "label": "Measures for securing the Site" + } + + } + } + } + +} diff --git a/config/Library/Valuelists.json b/config/Library/Valuelists.json index cc7b6e9281..29c64d18f2 100644 --- a/config/Library/Valuelists.json +++ b/config/Library/Valuelists.json @@ -274,6 +274,28 @@ "Recent": {} } }, + "period-SudanHeritage": { + "creationDate": "14-11-2019", + "createdBy": "Sami Elamin", + "description": { + "de": "", + "en": "" + }, + "values": { + "Paleolithic": {}, + "Mesolithic": {}, + "Neolithic": {}, + "Pre-Kerma": {}, + "Kerma": {}, + "New Egyptian Kingdom": {}, + "Napata": {}, + "Meroe": {}, + "Post-Meroitic": {}, + "Christian": {}, + "Islamic": {}, + "Modern History": {} + } + }, "colors-default-1": { "creationDate": "", "createdBy": "IT-Referat, DAI, 2019", @@ -1340,6 +1362,39 @@ "Siedlung": {} } }, + "Place-siteClassification-SudanHeritage": { + "creationDate": "", + "createdBy": "", + "description": { + "de": "", + "en": "" + }, + "values": { + "settlement": {}, + "cemetery": {}, + "tumuli grave": {}, + "mound grave": {}, + "rock grave": {}, + "box grave": {}, + "other grave": {}, + "Pyramid (Sandstone)": {}, + "Pyramid (Mud Brick)": {}, + "Rock Art": {}, + "Fortress": {}, + "Castle": {}, + "Hafir": {}, + "Quarry": {}, + "Granary": {}, + "Old mining site": {}, + "Workshop": {}, + "Church": {}, + "Monastery": {}, + "Cathedral": {}, + "Mosque": {}, + "Landscape feature": {}, + "Historical building": {} + } + }, "Layer-consistency-default": { "creationDate": "", "createdBy": "", @@ -8813,4 +8868,4 @@ "Spätklassisch": {} } } -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 5ed503c628..984cc81bbc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5240,7 +5240,7 @@ }, "external-editor": { "version": "2.2.0", - "resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, "requires": { From b71879d2e01ec4182e6adf2845b051fcadb655df Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 14:53:27 +0100 Subject: [PATCH 04/12] Do not reset page every time an image is deselected --- .../imageoverview/image-overview-taskbar.component.ts | 4 +--- app/components/imageoverview/view/imageoverview-facade.ts | 5 +++++ package-lock.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/components/imageoverview/image-overview-taskbar.component.ts b/app/components/imageoverview/image-overview-taskbar.component.ts index 1a3e1d6825..661d8e4cec 100644 --- a/app/components/imageoverview/image-overview-taskbar.component.ts +++ b/app/components/imageoverview/image-overview-taskbar.component.ts @@ -38,9 +38,7 @@ export class ImageOverviewTaskbarComponent { private imageOverviewFacade: ImageOverviewFacade, private persistenceHelper: PersistenceHelper, private imageOverviewComponent: ImageOverviewComponent - ) { - this.imageOverviewFacade.initialize(); - } + ) {} public onKeyDown(event: KeyboardEvent) { diff --git a/app/components/imageoverview/view/imageoverview-facade.ts b/app/components/imageoverview/view/imageoverview-facade.ts index 584a63bf55..001b523e23 100644 --- a/app/components/imageoverview/view/imageoverview-facade.ts +++ b/app/components/imageoverview/view/imageoverview-facade.ts @@ -1,4 +1,5 @@ import {Injectable} from '@angular/core'; +import {equal} from 'tsfun'; import {Query, ImageDocument} from 'idai-components-2'; import {ImagesState} from './images-state'; import {ImageDocumentsManager} from './image-documents-manager'; @@ -96,11 +97,13 @@ export class ImageOverviewFacade { public getPageCount() { + return Math.ceil(this.getTotalDocumentCount() / this.getNrImagesPerPage()); } public getCurrentPage() { + return this.currentOffset / this.getNrImagesPerPage() + 1; } @@ -141,6 +144,8 @@ export class ImageOverviewFacade { public setCustomConstraints(customConstraints: { [name: string]: string }) { + if (equal(this.imagesState.getCustomConstraints())(customConstraints)) return; + this.currentOffset = 0; this.imagesState.setCustomConstraints(customConstraints); diff --git a/package-lock.json b/package-lock.json index 984cc81bbc..5ed503c628 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5240,7 +5240,7 @@ }, "external-editor": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, "requires": { From 26ebdb51b9c76b93f55e6cce93aa957ca48dd9b1 Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:13:01 +0100 Subject: [PATCH 05/12] Do not rely on configured operation types in NavigationService --- .../resources/navigation/navigation-service.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/components/resources/navigation/navigation-service.ts b/app/components/resources/navigation/navigation-service.ts index 6e89c26ce1..5025769a38 100644 --- a/app/components/resources/navigation/navigation-service.ts +++ b/app/components/resources/navigation/navigation-service.ts @@ -1,9 +1,9 @@ import {Injectable} from '@angular/core'; +import {Observable, Observer} from 'rxjs'; import {FieldDocument, Document} from 'idai-components-2'; import {RoutingService} from '../../routing-service'; import {ViewFacade} from '../view/view-facade'; import {ObserverUtil} from '../../../core/util/observer-util'; -import {Observable, Observer} from 'rxjs'; import {TypeUtility} from '../../../core/model/type-utility'; import {ProjectConfiguration} from '../../../core/configuration/project-configuration'; import {RelationDefinition} from '../../../core/configuration/model/relation-definition'; @@ -12,7 +12,8 @@ import {IdaiType} from '../../../core/configuration/model/idai-type'; @Injectable() /** - * This serves to centralize the behaviour of navigation buttons of both the sidebar as well as the full scale list. + * This serves to centralize the behaviour of navigation buttons of both the sidebar as well as the + * full scale list. * * @author Daniel de Oliveira * @author Thomas Kleinke @@ -98,8 +99,11 @@ export class NavigationService { if (!document.resource.id) return false; // do not show as long as it is not saved if (this.viewFacade.getBypassHierarchy()) return false; - return this.projectConfiguration.getTypesMap()['Operation'].children - .map((type: IdaiType) => type.name) - .includes(document.resource.type); + const operationType: IdaiType|undefined = this.projectConfiguration.getTypesMap()['Operation']; + + return operationType !== undefined && operationType.children !== undefined + && operationType.children + .map((type: IdaiType) => type.name) + .includes(document.resource.type); } } From 5e97238fb95e790e2e6727697cea8658934b124f Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:21:16 +0100 Subject: [PATCH 06/12] Do not throw error in matrix view if no trench type is configured --- app/components/matrix/matrix-view.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/components/matrix/matrix-view.component.ts b/app/components/matrix/matrix-view.component.ts index 9175be857c..9d42205de6 100644 --- a/app/components/matrix/matrix-view.component.ts +++ b/app/components/matrix/matrix-view.component.ts @@ -12,6 +12,7 @@ import {DotBuilder} from './dot-builder'; import {MatrixSelection, MatrixSelectionMode} from './matrix-selection'; import {Edges, EdgesBuilder, GraphRelationsConfiguration} from './edges-builder'; import {TabManager} from '../tab-manager'; +import {ProjectConfiguration} from '../../core/configuration/project-configuration'; import {POSITION_RELATIONS, TIME_RELATIONS} from '../../core/model/relation-constants'; import IS_CONTEMPORARY_WITH = TIME_RELATIONS.IS_CONTEMPORARY_WITH; import IS_EQUIVALENT_TO = POSITION_RELATIONS.IS_EQUIVALENT_TO; @@ -21,7 +22,6 @@ import IS_ABOVE = POSITION_RELATIONS.IS_ABOVE; import IS_BELOW = POSITION_RELATIONS.IS_BELOW; import IS_CUT_BY = POSITION_RELATIONS.IS_CUT_BY; import CUTS = POSITION_RELATIONS.CUTS; -import {ProjectConfiguration} from '../../core/configuration/project-configuration'; @Component({ @@ -159,6 +159,8 @@ export class MatrixViewComponent implements OnInit { private async populateTrenches(): Promise { + if (!this.projectConfiguration.getTypesMap()['Trench']) return; + this.trenches = (await this.datastore.find({ types: ['Trench'] })).documents; if (this.trenches.length === 0) return; From 5b7ad6bf1e0dc77a5b038d177886b716e07b0ecb Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:32:41 +0100 Subject: [PATCH 07/12] Autoselect filter type if only one filter type is available --- app/widgets/search-bar.component.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/widgets/search-bar.component.ts b/app/widgets/search-bar.component.ts index 9aa8505e40..7f479a7d60 100644 --- a/app/widgets/search-bar.component.ts +++ b/app/widgets/search-bar.component.ts @@ -1,4 +1,4 @@ -import {Component, EventEmitter, Input, Output, ViewChild, ElementRef} from '@angular/core'; +import {Component, EventEmitter, Input, Output, ViewChild, ElementRef, OnChanges} from '@angular/core'; import {sameset} from 'tsfun'; import {TypeUtility} from '../core/model/type-utility'; import {IdaiType} from '../core/configuration/model/idai-type'; @@ -18,7 +18,7 @@ import {IdaiType} from '../core/configuration/model/idai-type'; * @author Thomas Kleinke * @author Jan G. Wieners */ -export class SearchBarComponent { +export class SearchBarComponent implements OnChanges { @Input() filterOptions: Array = []; @Input() showFiltersMenu: boolean = true; @@ -40,6 +40,14 @@ export class SearchBarComponent { constructor(private typeUtility: TypeUtility) {} + ngOnChanges() { + + if ((!this.types || this.types.length === 0) && this.filterOptions.length === 1) { + this.types = [this.filterOptions[0].name]; + } + } + + public isAllTypesOptionVisible = () => this.filterOptions && this.filterOptions.length > 1; From 6ba0f4def680fe107a92ba885ebbe1d548dda2e9 Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:42:22 +0100 Subject: [PATCH 08/12] Fix field specific search --- .../searchbar/image-overview-search-constraints.component.ts | 3 ++- .../searchbar/resources-search-constraints.component.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/components/imageoverview/searchbar/image-overview-search-constraints.component.ts b/app/components/imageoverview/searchbar/image-overview-search-constraints.component.ts index 3f22f0fad8..87f75521a6 100644 --- a/app/components/imageoverview/searchbar/image-overview-search-constraints.component.ts +++ b/app/components/imageoverview/searchbar/image-overview-search-constraints.component.ts @@ -6,6 +6,7 @@ import {ImageOverviewFacade} from '../view/imageoverview-facade'; import {ProjectConfiguration} from '../../../core/configuration/project-configuration'; import {FieldDefinition} from '../../../core/configuration/model/field-definition'; import {DocumentReadDatastore} from '../../../core/datastore/document-read-datastore'; +import {clone} from '../../../core/util/object-util'; @Component({ @@ -47,7 +48,7 @@ export class ImageOverviewSearchConstraintsComponent extends SearchConstraintsCo protected getCustomConstraints(): { [name: string]: string } { - return this.imageOverviewFacade.getCustomConstraints(); + return clone(this.imageOverviewFacade.getCustomConstraints()); } diff --git a/app/components/resources/searchbar/resources-search-constraints.component.ts b/app/components/resources/searchbar/resources-search-constraints.component.ts index c918171334..6db21073de 100644 --- a/app/components/resources/searchbar/resources-search-constraints.component.ts +++ b/app/components/resources/searchbar/resources-search-constraints.component.ts @@ -6,6 +6,7 @@ import {ViewFacade} from '../view/view-facade'; import {FieldDefinition} from '../../../core/configuration/model/field-definition'; import {ProjectConfiguration} from '../../../core/configuration/project-configuration'; import {DocumentReadDatastore} from '../../../core/datastore/document-read-datastore'; +import {clone} from '../../../core/util/object-util'; @Component({ @@ -58,7 +59,7 @@ export class ResourcesSearchConstraintsComponent extends SearchConstraintsCompon protected getCustomConstraints(): { [name: string]: string } { - return this.viewFacade.getCustomConstraints(); + return clone(this.viewFacade.getCustomConstraints()); } From 66fd5c5a6e3e6a5bd1cc40902cf1bb229761ff96 Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:44:59 +0100 Subject: [PATCH 09/12] Remove type Operation from SudanHeritage configuration --- config/Config-SudanHeritage.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/Config-SudanHeritage.json b/config/Config-SudanHeritage.json index 8c506c574f..96367b4952 100644 --- a/config/Config-SudanHeritage.json +++ b/config/Config-SudanHeritage.json @@ -3,10 +3,6 @@ "hidden": [], "fields": {} }, - "Operation:default": { - "hidden": [], - "fields": {} - }, "Place:default": { "hidden": [ "buildingHistory", From acd5929ce6a7ae88dd4fb4611b3a34e543360aea Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:53:00 +0100 Subject: [PATCH 10/12] Add empty file Language-SudanHeritage.de.json --- config/Language-SudanHeritage.de.json | 1 + config/Language-SudanHeritage.en.json | 76 +++++++++++++-------------- 2 files changed, 37 insertions(+), 40 deletions(-) create mode 100644 config/Language-SudanHeritage.de.json diff --git a/config/Language-SudanHeritage.de.json b/config/Language-SudanHeritage.de.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/config/Language-SudanHeritage.de.json @@ -0,0 +1 @@ +{} diff --git a/config/Language-SudanHeritage.en.json b/config/Language-SudanHeritage.en.json index 7668a48785..4cd57f12b7 100644 --- a/config/Language-SudanHeritage.en.json +++ b/config/Language-SudanHeritage.en.json @@ -1,46 +1,42 @@ { "types": { - "Place": { - "label": "Heritage Site", - "fields": { - "placeName": { - "label":"Place Name" - }, - "placeNameOriginalLaguage": { - "label": "Place Name in arabic" - }, - - "researchHistory": { - "label": "Research History" - }, - "modernIntervention": { - "label": "Modern Structures on the site" - }, - "periodSudanHeritage": { - "label": "Periods observable on the site" - }, - "siteClassification": { - "label": "General archaeological classification for the Site" - }, - "stateOfPerservation": { - "label": "Description of the State of Perservation" - - }, - "conservationMeasures": { - "label": "Measures for Conservation of the Site" - }, - "objectCirculation": { - "label": "Archaeological Objects from this Site in Circulation" - }, - "staffInCharge": { - "label": "Persons in Charge of this Site" - }, - "securityMeasures": { - "label": "Measures for securing the Site" - } - + "Place": { + "label": "Heritage Site", + "fields": { + "placeName": { + "label": "Place Name" + }, + "placeNameOriginalLaguage": { + "label": "Place Name in arabic" + }, + "researchHistory": { + "label": "Research History" + }, + "modernIntervention": { + "label": "Modern Structures on the site" + }, + "periodSudanHeritage": { + "label": "Periods observable on the site" + }, + "siteClassification": { + "label": "General archaeological classification for the Site" + }, + "stateOfPerservation": { + "label": "Description of the State of Perservation" + }, + "conservationMeasures": { + "label": "Measures for Conservation of the Site" + }, + "objectCirculation": { + "label": "Archaeological Objects from this Site in Circulation" + }, + "staffInCharge": { + "label": "Persons in Charge of this Site" + }, + "securityMeasures": { + "label": "Measures for securing the Site" } } } - + } } From ca1549a263e8d1e3f5640d18bf8465f010b38569 Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:55:41 +0100 Subject: [PATCH 11/12] Edit Language-SudanHeritage.en.json --- config/Language-SudanHeritage.en.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config/Language-SudanHeritage.en.json b/config/Language-SudanHeritage.en.json index 4cd57f12b7..2420628c26 100644 --- a/config/Language-SudanHeritage.en.json +++ b/config/Language-SudanHeritage.en.json @@ -4,37 +4,37 @@ "label": "Heritage Site", "fields": { "placeName": { - "label": "Place Name" + "label": "Place name" }, - "placeNameOriginalLaguage": { - "label": "Place Name in arabic" + "placeNameOriginalLanguage": { + "label": "Place name in arabic" }, "researchHistory": { - "label": "Research History" + "label": "Research history" }, "modernIntervention": { - "label": "Modern Structures on the site" + "label": "Modern structures on the site" }, "periodSudanHeritage": { "label": "Periods observable on the site" }, "siteClassification": { - "label": "General archaeological classification for the Site" + "label": "General archaeological classification for the site" }, - "stateOfPerservation": { - "label": "Description of the State of Perservation" + "stateOfPreservation": { + "label": "Description of the state of preservation" }, "conservationMeasures": { - "label": "Measures for Conservation of the Site" + "label": "Measures for conservation of the site" }, "objectCirculation": { - "label": "Archaeological Objects from this Site in Circulation" + "label": "Archaeological objects from this site in circulation" }, "staffInCharge": { - "label": "Persons in Charge of this Site" + "label": "Persons in charge of this site" }, "securityMeasures": { - "label": "Measures for securing the Site" + "label": "Measures for securing the site" } } } From 370c9fd4bbc6d1f105631c9f1b6a853b92288c98 Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Thu, 14 Nov 2019 15:57:02 +0100 Subject: [PATCH 12/12] Edit Config-SudanHeritage.json --- config/Config-SudanHeritage.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/Config-SudanHeritage.json b/config/Config-SudanHeritage.json index 96367b4952..cbedca2c9b 100644 --- a/config/Config-SudanHeritage.json +++ b/config/Config-SudanHeritage.json @@ -28,7 +28,7 @@ "placeName": { "inputType": "input" }, - "placeNameOriginalLaguage": { + "placeNameOriginalLanguage": { "inputType": "input" }, "periodSudanHeritage": { @@ -43,10 +43,10 @@ "siteClassification": { "inputType": "checkboxes" }, - "stateOfPerservation": { + "stateOfPreservation": { "inputType": "text" }, - "coservationMeasures": { + "conservationMeasures": { "inputType": "text" }, "objectCirculation": { @@ -64,5 +64,4 @@ "hidden": [], "fields": {} } - }