diff --git a/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.ts b/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.ts index 206f8f87d2..b7d69cb4a2 100644 --- a/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.ts +++ b/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.ts @@ -19,7 +19,7 @@ export interface MetadataResourceApiModel { metadataResourceExternalManagementProperties?: MetadataResourceExternalManagementPropertiesApiModel lastModification?: string version?: string - url?: URL + url?: string filename?: string id?: string size?: number diff --git a/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html b/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html index 78ac6cee4f..20ff0dc890 100644 --- a/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +++ b/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html @@ -1,9 +1,10 @@ diff --git a/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.spec.ts b/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.spec.ts index d07b71b57e..0be3e0cebe 100644 --- a/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.spec.ts +++ b/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.spec.ts @@ -5,13 +5,27 @@ import { TranslateModule } from '@ngx-translate/core' import { of } from 'rxjs' import { OverviewUploadComponent } from './overview-upload.component' +const imageFileName = 'doge.jpg' +const imageUrl = + 'http://localhost:8080/geonetwork/srv/api/records/8698bf0b-fceb-4f0f-989b-111e7c4af0a4/attachments/doge.jpg' + class RecordsApiServiceMock { getAllResources = jest.fn(() => - of([{ filename: 'filenameGet', url: 'urlGet' }]) + of([ + { + filename: imageFileName, + url: imageUrl, + }, + ]) + ) + putResource = jest.fn(() => + of({ + filename: imageFileName, + url: imageUrl, + }) ) - putResource = jest.fn(() => of({ filename: 'filenamePut', url: 'urlPut' })) putResourceFromURL = jest.fn(() => - of({ filename: 'filenamePutUrl', url: 'urlPutUrl' }) + of({ filename: imageFileName, url: imageUrl }) ) delResource = jest.fn(() => of(void 0)) } @@ -50,9 +64,11 @@ describe('OverviewUploadComponent', () => { }) it('should get all resources corresponding to the metadata UUID on init', () => { + fixture.detectChanges() expect(recordsApiService.getAllResources).toHaveBeenCalledWith(metadataUuid) - expect(component.imageAltText).toEqual('filenameGet') - expect(component.resourceUrl).toEqual('urlGet') + expect(component.resourceAltText).toEqual(imageFileName) + expect(component.resourceFileName).toEqual(imageFileName) + expect(component.resourceUrl.href).toEqual(imageUrl) }) it('should put the file resource on file change', () => { @@ -63,8 +79,22 @@ describe('OverviewUploadComponent', () => { someFile, 'public' ) - expect(component.imageAltText).toEqual('filenamePut') - expect(component.resourceUrl).toEqual('urlPut') + expect(component.resourceAltText).toEqual(imageFileName) + expect(component.resourceUrl.href).toEqual(imageUrl) + }) + + it('should put the file resource on alt text change', () => { + const altTextChangeSpy = jest.spyOn(component.overviewChange, 'emit') + + const newAltText = 'newAltText' + const newImageUrl = new URL(imageUrl) + + component.handleAltTextChange(newAltText) + expect(altTextChangeSpy).toHaveBeenCalledWith({ + description: newAltText, + url: newImageUrl, + }) + expect(component.resourceAltText).toEqual('newAltText') }) it('should put the resource from URL on URL change', () => { @@ -74,18 +104,18 @@ describe('OverviewUploadComponent', () => { 'someUrl', 'public' ) - expect(component.imageAltText).toEqual('filenamePutUrl') - expect(component.resourceUrl).toEqual('urlPutUrl') + expect(component.resourceAltText).toEqual(imageFileName) + expect(component.resourceUrl.href).toEqual(imageUrl) }) it('should delete the resource corresponding to the metadata UUID on delete', () => { - component.imageAltText = 'filenameDelete' + component.resourceAltText = 'filenameDelete' component.handleDelete() expect(recordsApiService.delResource).toHaveBeenCalledWith( metadataUuid, - 'filenameDelete' + imageFileName ) - expect(component.imageAltText).toBeNull() + expect(component.resourceAltText).toBeNull() expect(component.resourceUrl).toBeNull() }) }) diff --git a/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts b/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts index ce32eddf0f..3816829642 100644 --- a/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +++ b/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts @@ -4,23 +4,20 @@ import { Component, EventEmitter, Input, - OnDestroy, + OnChanges, OnInit, Output, + SimpleChanges, } from '@angular/core' import { CommonModule } from '@angular/common' import { RecordsApiService } from '@geonetwork-ui/data-access/gn4' import { UiInputsModule } from '@geonetwork-ui/ui/inputs' import { FormControl } from '@angular/forms' import { GraphicOverview } from '@geonetwork-ui/common/domain/model/record' -import { Subject, takeUntil } from 'rxjs' - -const extractFileNameFormUrl = (url: URL, metadataUuid: string): string => { - const pattern = new RegExp( - `records/${metadataUuid}/attachments/([^/?#]+)(?:[/?#]|$)`, - 'i' - ) - const match = url.href.match(pattern) + +const extractFileNameFromUrl = (url: string): string => { + const pattern = new RegExp(`attachments/([^/?#]+)(?:[/?#]|$)`, 'i') + const match = url.match(pattern) return match ? match[1] : '' } @@ -32,52 +29,50 @@ const extractFileNameFormUrl = (url: URL, metadataUuid: string): string => { styleUrls: ['./overview-upload.component.css'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class OverviewUploadComponent implements OnInit, OnDestroy { +export class OverviewUploadComponent implements OnInit, OnChanges { @Input() metadataUuid: string @Input() formControl!: FormControl @Output() overviewChange = new EventEmitter() + @Output() altTextChange: EventEmitter = new EventEmitter() - imageAltText: string + resourceAltText = '' // = ressourceFileName by default + resourceFileName = '' resourceUrl: URL - private destroy$ = new Subject() - constructor( private recordsApiService: RecordsApiService, private cd: ChangeDetectorRef ) {} ngOnInit(): void { - this.recordsApiService - .getAllResources(this.metadataUuid) - .pipe(takeUntil(this.destroy$)) - .subscribe({ - next: (resources) => { - if (resources && resources.length > 0) { - this.resourceUrl = new URL(resources[0]?.url) - this.imageAltText = resources[0].filename - } else if (this.formControl.value[0]) { - this.resourceUrl = new URL(this.formControl.value[0].url.href) - this.imageAltText = this.formControl.value[0].description - } else { - this.resourceUrl = null - this.imageAltText = '' - } - - this.cd.markForCheck() - }, - error: this.errorHandle, - }) + this.recordsApiService.getAllResources(this.metadataUuid).subscribe({ + next: (resources) => { + if (resources && resources.length > 0) { + this.resourceUrl = new URL(resources[0]?.url) + this.resourceAltText = + this.resourceAltText === '' + ? resources[0].filename + : this.resourceAltText + this.resourceFileName = extractFileNameFromUrl(resources[0]?.url) + } else { + this.resourceUrl = null + this.resourceAltText = '' + this.resourceFileName = '' + } + + this.cd.markForCheck() + }, + error: this.errorHandle, + }) } handleFileChange(file: File) { this.recordsApiService .putResource(this.metadataUuid, file, 'public') - .pipe(takeUntil(this.destroy$)) .subscribe({ next: (resource) => { this.resourceUrl = new URL(resource.url) - this.imageAltText = resource.filename + this.resourceAltText = resource.filename this.overviewChange.emit({ url: new URL(resource.url), @@ -93,11 +88,10 @@ export class OverviewUploadComponent implements OnInit, OnDestroy { handleUrlChange(url: string) { this.recordsApiService .putResourceFromURL(this.metadataUuid, url, 'public') - .pipe(takeUntil(this.destroy$)) .subscribe({ next: (resource) => { this.resourceUrl = new URL(resource.url) - this.imageAltText = resource.filename + this.resourceAltText = resource.filename this.overviewChange.emit({ url: new URL(resource.url), @@ -110,15 +104,22 @@ export class OverviewUploadComponent implements OnInit, OnDestroy { }) } - handleDelete() { - const fileName = extractFileNameFormUrl(this.resourceUrl, this.metadataUuid) + handleAltTextChange(newAltText: string) { + this.resourceAltText = newAltText + this.overviewChange.emit({ + url: this.resourceUrl, + description: this.resourceAltText, + }) + this.cd.markForCheck() + } + + handleDelete() { this.recordsApiService - .delResource(this.metadataUuid, fileName) - .pipe(takeUntil(this.destroy$)) + .delResource(this.metadataUuid, this.resourceFileName) .subscribe({ next: () => { - this.imageAltText = null + this.resourceAltText = null this.resourceUrl = null this.overviewChange.emit(null) @@ -133,15 +134,33 @@ export class OverviewUploadComponent implements OnInit, OnDestroy { console.error(error) this.resourceUrl = null - this.imageAltText = '' + this.resourceAltText = '' + this.resourceFileName = '' this.overviewChange.emit(null) this.cd.markForCheck() } - ngOnDestroy(): void { - this.destroy$.next() - this.destroy$.complete() + ngOnChanges(changes: SimpleChanges): void { + const overviewChanges = changes['formControl'] + if ( + overviewChanges && + overviewChanges.currentValue !== overviewChanges.previousValue + ) { + let overview: GraphicOverview + if ( + overviewChanges.currentValue.value && + overviewChanges.currentValue.value.length > 0 + ) { + overview = overviewChanges.currentValue.value[0] as GraphicOverview + } else { + return + } + if (overview.description && overview.description !== '') { + this.resourceAltText = overview.description + this.cd.markForCheck() + } + } } } diff --git a/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html b/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html index 31a67c2683..12ca60d9e2 100644 --- a/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +++ b/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html @@ -1,5 +1,5 @@ diff --git a/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts b/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts index 88af229862..5f41978ebb 100644 --- a/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +++ b/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts @@ -16,7 +16,7 @@ export class FormFieldOverviewsComponent { @Input() metadataUuid: string @Input() control!: FormControl - handleOverViewChange(overView: GraphicOverview | null) { + handleOverviewChange(overView: GraphicOverview | null) { this.control.setValue(overView ? [overView] : []) } } diff --git a/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.spec.ts b/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.spec.ts index 77561c4f1a..2596d65e6f 100644 --- a/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.spec.ts +++ b/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.spec.ts @@ -179,7 +179,7 @@ describe('FormFieldComponent', () => { By.directive(FormFieldOverviewsComponent) ).componentInstance }) - it('creates an array form field', () => { + it('creates an overview upload form field', () => { expect(formField).toBeTruthy() }) }) diff --git a/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts b/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts index d4b20e4fe9..db576ccb2d 100644 --- a/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +++ b/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts @@ -31,6 +31,7 @@ import { FormFieldKeywordsComponent } from './form-field-keywords/form-field-key import { FormFieldOverviewsComponent } from './form-field-overviews/form-field-overviews.component' import { map, take } from 'rxjs/operators' import { EditorFacade } from '../../../+state/editor.facade' +import { FormFieldConfig } from '../../../models' @Component({ selector: 'gn-ui-form-field', diff --git a/libs/feature/editor/src/lib/components/record-form/record-form.component.ts b/libs/feature/editor/src/lib/components/record-form/record-form.component.ts index 54d4e59b87..24048c7656 100644 --- a/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +++ b/libs/feature/editor/src/lib/components/record-form/record-form.component.ts @@ -24,6 +24,7 @@ export class RecordFormComponent { if (!model) { return } + console.log(newValue) this.facade.updateRecordField(model, newValue) } diff --git a/libs/feature/editor/src/lib/fields.config.ts b/libs/feature/editor/src/lib/fields.config.ts index cf72fef64d..1614eb1e05 100644 --- a/libs/feature/editor/src/lib/fields.config.ts +++ b/libs/feature/editor/src/lib/fields.config.ts @@ -83,6 +83,13 @@ export const RECORD_ABSTRACT_FIELD: EditorField = { }, } +export const RECORD_GRAPHICAL_OVERVIEW_FIELD: EditorField = { + model: 'overviews', + formFieldConfig: { + labelKey: marker('editor.record.form.field.overviews'), + }, +} + /************************************************************ *************** SECTIONS ***************** ************************************************************ @@ -90,7 +97,11 @@ export const RECORD_ABSTRACT_FIELD: EditorField = { export const TITLE_SECTION: EditorSection = { hidden: false, - fields: [RECORD_TITLE_FIELD, RECORD_ABSTRACT_FIELD], + fields: [ + RECORD_TITLE_FIELD, + RECORD_ABSTRACT_FIELD, + RECORD_GRAPHICAL_OVERVIEW_FIELD, + ], } export const ABOUT_SECTION: EditorSection = { @@ -167,18 +178,6 @@ export const DEFAULT_CONFIGURATION: EditorConfig = { { labelKey: marker('editor.record.form.page.description'), sections: [TITLE_SECTION, ABOUT_SECTION, GEOGRAPHICAL_COVERAGE_SECTION], - { - model: 'overviews', - formFieldConfig: { - labelKey: marker('editor.record.form.overviews'), - type: 'list', - }, - }, - { - model: 'keywords', - formFieldConfig: { - labelKey: marker('editor.record.form.keywords'), - type: 'list', }, { labelKey: marker('editor.record.form.page.ressources'), diff --git a/translations/de.json b/translations/de.json index 8e2341a956..fd2e3ed679 100644 --- a/translations/de.json +++ b/translations/de.json @@ -168,18 +168,16 @@ "editor.record.form.bottomButtons.comeBackLater": "", "editor.record.form.bottomButtons.next": "", "editor.record.form.bottomButtons.previous": "", - "editor.record.form.field.abstract": "", + "editor.record.form.field.abstract": "Kurzbeschreibung", "editor.record.form.field.keywords": "Schlagwörter", "editor.record.form.field.license": "Lizenz", - "editor.record.form.field.recordUpdated": "", - "editor.record.form.field.resourceUpdated": "", - "editor.record.form.field.temporalExtents": "", - "editor.record.form.field.title": "", - "editor.record.form.field.uniqueIdentifier": "", - "editor.record.form.field.updateFrequency": "", - "editor.record.form.abstract": "Kurzbeschreibung", - "editor.record.form.keywords": "Schlüsselwörter", - "editor.record.form.license": "Lizenz", + "editor.record.form.field.overviews": "", + "editor.record.form.field.recordUpdated": "Datensatz zuletzt aktualisiert", + "editor.record.form.field.resourceUpdated": "Letztes Aktualisierungsdatum", + "editor.record.form.field.temporalExtents": "Zeitlicher Umfang", + "editor.record.form.field.title": "Metadaten-Titel", + "editor.record.form.field.uniqueIdentifier": "Eindeutige Kennung (ID)", + "editor.record.form.field.updateFrequency": "Aktualisierungshäufigkeit", "editor.record.form.license.cc-by": "Creative Commons CC-BY", "editor.record.form.license.cc-by-sa": "Creative Commons CC-BY-SA", "editor.record.form.license.cc-zero": "Creative Commons CC-0", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "", "editor.record.form.section.geographicalCoverage.label": "", "editor.record.form.section.useAndAccessConditions.label": "", - "editor.record.form.metadata.title": "Metadaten-Titel", - "editor.record.form.record.updated": "Datensatz zuletzt aktualisiert", - "editor.record.form.resourceUpdated": "Letztes Aktualisierungsdatum", - "editor.record.form.temporalExtents": "Zeitlicher Umfang", "editor.record.form.temporalExtents.addDate": "Zeitpunkt", "editor.record.form.temporalExtents.addRange": "Zeitraum", "editor.record.form.temporalExtents.date": "Datum", "editor.record.form.temporalExtents.range": "Datumsbereich", - "editor.record.form.unique.identifier": "Eindeutige Kennung (ID)", - "editor.record.form.updateFrequency": "Aktualisierungshäufigkeit", "editor.record.form.updateFrequency.planned": "Die Daten sollten regelmäßig aktualisiert werden.", "editor.record.loadError.body": "Der Datensatz konnte nicht geladen werden:", "editor.record.loadError.closeMessage": "Verstanden", diff --git a/translations/en.json b/translations/en.json index b9078b516d..67e0af0390 100644 --- a/translations/en.json +++ b/translations/en.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "Abstract", "editor.record.form.field.keywords": "Keywords", "editor.record.form.field.license": "License", + "editor.record.form.field.overviews": "Overviews", "editor.record.form.field.recordUpdated": "Record Updated", "editor.record.form.field.resourceUpdated": "Resource Updated", "editor.record.form.field.temporalExtents": "Temporal extents", "editor.record.form.field.title": "Metadata title", "editor.record.form.field.uniqueIdentifier": "Unique identifier", "editor.record.form.field.updateFrequency": "Update frequency", - "editor.record.form.abstract": "Abstract", - "editor.record.form.keywords": "Keywords", - "editor.record.form.license": "License", "editor.record.form.license.cc-by": "Creative Commons CC-BY", "editor.record.form.license.cc-by-sa": "Creative Commons CC-BY-SA", "editor.record.form.license.cc-zero": "Creative Commons CC-0", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "Data point of contact", "editor.record.form.section.geographicalCoverage.label": "Geographical coverage", "editor.record.form.section.useAndAccessConditions.label": "Use and access conditions", - "editor.record.form.metadata.title": "Metadata title", - "editor.record.form.record.updated": "Record updated", - "editor.record.form.resourceUpdated": "Last update date", - "editor.record.form.temporalExtents": "Temporal extent", "editor.record.form.temporalExtents.addDate": "Time instant", "editor.record.form.temporalExtents.addRange": "Time period", "editor.record.form.temporalExtents.date": "Date", "editor.record.form.temporalExtents.range": "Date range", - "editor.record.form.unique.identifier": "Unique identifier", - "editor.record.form.updateFrequency": "Update frequency", "editor.record.form.updateFrequency.planned": "The data should be updated regularly.", "editor.record.loadError.body": "The record could not be loaded:", "editor.record.loadError.closeMessage": "Understood", diff --git a/translations/es.json b/translations/es.json index b5a2d014cd..bef8b6ed2f 100644 --- a/translations/es.json +++ b/translations/es.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "", "editor.record.form.field.keywords": "", "editor.record.form.field.license": "", + "editor.record.form.field.overviews": "", "editor.record.form.field.recordUpdated": "", "editor.record.form.field.resourceUpdated": "", "editor.record.form.field.temporalExtents": "", "editor.record.form.field.title": "", "editor.record.form.field.uniqueIdentifier": "", "editor.record.form.field.updateFrequency": "", - "editor.record.form.abstract": "", - "editor.record.form.keywords": "", - "editor.record.form.license": "", "editor.record.form.license.cc-by": "", "editor.record.form.license.cc-by-sa": "", "editor.record.form.license.cc-zero": "", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "", "editor.record.form.section.geographicalCoverage.label": "", "editor.record.form.section.useAndAccessConditions.label": "", - "editor.record.form.metadata.title": "", - "editor.record.form.record.updated": "", - "editor.record.form.resourceUpdated": "", - "editor.record.form.temporalExtents": "", "editor.record.form.temporalExtents.addDate": "", "editor.record.form.temporalExtents.addRange": "", "editor.record.form.temporalExtents.date": "", "editor.record.form.temporalExtents.range": "", - "editor.record.form.unique.identifier": "", - "editor.record.form.updateFrequency": "", "editor.record.form.updateFrequency.planned": "", "editor.record.loadError.body": "", "editor.record.loadError.closeMessage": "", diff --git a/translations/fr.json b/translations/fr.json index c481e041ce..d0588a2a07 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "Résumé", "editor.record.form.field.keywords": "Mots-clés", "editor.record.form.field.license": "Licence", + "editor.record.form.field.overviews": "Aperçus", "editor.record.form.field.recordUpdated": "Date de dernière révision", "editor.record.form.field.resourceUpdated": "Date de dernière révision", "editor.record.form.field.temporalExtents": "Étendue temporelle", "editor.record.form.field.title": "Titre", "editor.record.form.field.uniqueIdentifier": "Identifiant unique", "editor.record.form.field.updateFrequency": "Fréquence de mise à jour", - "editor.record.form.abstract": "", - "editor.record.form.keywords": "", - "editor.record.form.license": "Licence", "editor.record.form.license.cc-by": "", "editor.record.form.license.cc-by-sa": "", "editor.record.form.license.cc-zero": "", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "Point de contact de la metadonee", "editor.record.form.section.geographicalCoverage.label": "Couverture geographique", "editor.record.form.section.useAndAccessConditions.label": "Conditions d'acces et usage", - "editor.record.form.metadata.title": "", - "editor.record.form.record.updated": "", - "editor.record.form.resourceUpdated": "Date de dernière révision", - "editor.record.form.temporalExtents": "Étendue temporelle", "editor.record.form.temporalExtents.addDate": "Date déterminée", "editor.record.form.temporalExtents.addRange": "Période de temps", "editor.record.form.temporalExtents.date": "Date concernée", "editor.record.form.temporalExtents.range": "Période concernée", - "editor.record.form.unique.identifier": "", - "editor.record.form.updateFrequency": "Fréquence de mise à jour", "editor.record.form.updateFrequency.planned": "Ces données doivent être mise à jour régulièrement.", "editor.record.loadError.body": "", "editor.record.loadError.closeMessage": "", diff --git a/translations/it.json b/translations/it.json index 73f3bbeca0..7db08fa048 100644 --- a/translations/it.json +++ b/translations/it.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "", "editor.record.form.field.keywords": "", "editor.record.form.field.license": "Licenza", + "editor.record.form.field.overviews": "", "editor.record.form.field.recordUpdated": "", "editor.record.form.field.resourceUpdated": "", "editor.record.form.field.temporalExtents": "", "editor.record.form.field.title": "", "editor.record.form.field.uniqueIdentifier": "", "editor.record.form.field.updateFrequency": "", - "editor.record.form.abstract": "", - "editor.record.form.keywords": "", - "editor.record.form.license": "Licenza", "editor.record.form.license.cc-by": "", "editor.record.form.license.cc-by-sa": "", "editor.record.form.license.cc-zero": "", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "", "editor.record.form.section.geographicalCoverage.label": "", "editor.record.form.section.useAndAccessConditions.label": "", - "editor.record.form.metadata.title": "", - "editor.record.form.record.updated": "", - "editor.record.form.resourceUpdated": "", - "editor.record.form.temporalExtents": "", "editor.record.form.temporalExtents.addDate": "", "editor.record.form.temporalExtents.addRange": "", "editor.record.form.temporalExtents.date": "", "editor.record.form.temporalExtents.range": "", - "editor.record.form.unique.identifier": "", - "editor.record.form.updateFrequency": "", "editor.record.form.updateFrequency.planned": "", "editor.record.loadError.body": "", "editor.record.loadError.closeMessage": "", diff --git a/translations/nl.json b/translations/nl.json index b706426447..050ac145c5 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "", "editor.record.form.field.keywords": "", "editor.record.form.field.license": "", + "editor.record.form.field.overviews": "", "editor.record.form.field.recordUpdated": "", "editor.record.form.field.resourceUpdated": "", "editor.record.form.field.temporalExtents": "", "editor.record.form.field.title": "", "editor.record.form.field.uniqueIdentifier": "", "editor.record.form.field.updateFrequency": "", - "editor.record.form.abstract": "", - "editor.record.form.keywords": "", - "editor.record.form.license": "", "editor.record.form.license.cc-by": "", "editor.record.form.license.cc-by-sa": "", "editor.record.form.license.cc-zero": "", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "", "editor.record.form.section.geographicalCoverage.label": "", "editor.record.form.section.useAndAccessConditions.label": "", - "editor.record.form.metadata.title": "", - "editor.record.form.record.updated": "", - "editor.record.form.resourceUpdated": "", - "editor.record.form.temporalExtents": "", "editor.record.form.temporalExtents.addDate": "", "editor.record.form.temporalExtents.addRange": "", "editor.record.form.temporalExtents.date": "", "editor.record.form.temporalExtents.range": "", - "editor.record.form.unique.identifier": "", - "editor.record.form.updateFrequency": "", "editor.record.form.updateFrequency.planned": "", "editor.record.loadError.body": "", "editor.record.loadError.closeMessage": "", diff --git a/translations/pt.json b/translations/pt.json index ef163b9e4f..62897470fb 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "", "editor.record.form.field.keywords": "", "editor.record.form.field.license": "", + "editor.record.form.field.overviews": "", "editor.record.form.field.recordUpdated": "", "editor.record.form.field.resourceUpdated": "", "editor.record.form.field.temporalExtents": "", "editor.record.form.field.title": "", "editor.record.form.field.uniqueIdentifier": "", "editor.record.form.field.updateFrequency": "", - "editor.record.form.abstract": "", - "editor.record.form.keywords": "", - "editor.record.form.license": "", "editor.record.form.license.cc-by": "", "editor.record.form.license.cc-by-sa": "", "editor.record.form.license.cc-zero": "", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "", "editor.record.form.section.geographicalCoverage.label": "", "editor.record.form.section.useAndAccessConditions.label": "", - "editor.record.form.metadata.title": "", - "editor.record.form.record.updated": "", - "editor.record.form.resourceUpdated": "", - "editor.record.form.temporalExtents": "", "editor.record.form.temporalExtents.addDate": "", "editor.record.form.temporalExtents.addRange": "", "editor.record.form.temporalExtents.date": "", "editor.record.form.temporalExtents.range": "", - "editor.record.form.unique.identifier": "", - "editor.record.form.updateFrequency": "", "editor.record.form.updateFrequency.planned": "", "editor.record.loadError.body": "", "editor.record.loadError.closeMessage": "", diff --git a/translations/sk.json b/translations/sk.json index 4fe8fe1082..a1f711930a 100644 --- a/translations/sk.json +++ b/translations/sk.json @@ -171,15 +171,13 @@ "editor.record.form.field.abstract": "", "editor.record.form.field.keywords": "", "editor.record.form.field.license": "Licencia", + "editor.record.form.field.overviews": "", "editor.record.form.field.recordUpdated": "", "editor.record.form.field.resourceUpdated": "", "editor.record.form.field.temporalExtents": "", "editor.record.form.field.title": "", "editor.record.form.field.uniqueIdentifier": "", "editor.record.form.field.updateFrequency": "", - "editor.record.form.abstract": "", - "editor.record.form.keywords": "", - "editor.record.form.license": "Licencia", "editor.record.form.license.cc-by": "", "editor.record.form.license.cc-by-sa": "", "editor.record.form.license.cc-zero": "", @@ -205,16 +203,10 @@ "editor.record.form.section.dataPointOfContact.label": "", "editor.record.form.section.geographicalCoverage.label": "", "editor.record.form.section.useAndAccessConditions.label": "", - "editor.record.form.metadata.title": "", - "editor.record.form.record.updated": "", - "editor.record.form.resourceUpdated": "", - "editor.record.form.temporalExtents": "", "editor.record.form.temporalExtents.addDate": "", "editor.record.form.temporalExtents.addRange": "", "editor.record.form.temporalExtents.date": "", "editor.record.form.temporalExtents.range": "", - "editor.record.form.unique.identifier": "", - "editor.record.form.updateFrequency": "", "editor.record.form.updateFrequency.planned": "", "editor.record.loadError.body": "", "editor.record.loadError.closeMessage": "",