From 0de389d91d3b4e1e5c8a3f88d3a893c808316228 Mon Sep 17 00:00:00 2001 From: "CITE\\dtziotzios" Date: Mon, 15 Jul 2024 13:29:07 +0300 Subject: [PATCH] changed the flow of Desription creation to first select a description template --- .../editor/description-editor.component.html | 7 +- .../editor/description-editor.component.ts | 65 +++++++++---------- .../editor/description-editor.module.ts | 4 +- .../new-description-editor.model.ts} | 0 .../new-description.component.html} | 55 ++++++++-------- .../new-description.component.scss} | 0 .../new-description.component.ts} | 41 +++++++----- .../plan-editor.component.html | 2 +- frontend/src/assets/i18n/baq.json | 25 +++---- frontend/src/assets/i18n/de.json | 27 ++++---- frontend/src/assets/i18n/en.json | 5 +- frontend/src/assets/i18n/es.json | 25 +++---- frontend/src/assets/i18n/gr.json | 25 +++---- frontend/src/assets/i18n/hr.json | 25 +++---- frontend/src/assets/i18n/pl.json | 25 +++---- frontend/src/assets/i18n/pt.json | 25 +++---- frontend/src/assets/i18n/sk.json | 25 +++---- frontend/src/assets/i18n/sr.json | 25 +++---- frontend/src/assets/i18n/tr.json | 25 +++---- 19 files changed, 221 insertions(+), 210 deletions(-) rename frontend/src/app/ui/description/editor/{prefill-description/prefill-description-editor.model.ts => new-description/new-description-editor.model.ts} (100%) rename frontend/src/app/ui/description/editor/{prefill-description/prefill-description.component.html => new-description/new-description.component.html} (53%) rename frontend/src/app/ui/description/editor/{prefill-description/prefill-description.component.scss => new-description/new-description.component.scss} (100%) rename frontend/src/app/ui/description/editor/{prefill-description/prefill-description.component.ts => new-description/new-description.component.ts} (80%) diff --git a/frontend/src/app/ui/description/editor/description-editor.component.html b/frontend/src/app/ui/description/editor/description-editor.component.html index cdd297aa8..f4e629805 100644 --- a/frontend/src/app/ui/description/editor/description-editor.component.html +++ b/frontend/src/app/ui/description/editor/description-editor.component.html @@ -104,8 +104,8 @@
{{'DESCRIPTION-EDITOR.TOC.MAIN-INFO' | translate}} (done)
-
-
+
+
= new Map(); - private initialTemplateId: string = Guid.EMPTY; private permissionPerSection: Map; @@ -141,7 +140,7 @@ export class DescriptionEditorComponent extends BaseEditor { + dialogRef.afterClosed().subscribe((result: NewDescriptionDialogComponentResult) => { if (result) { - this.titleService.setTitle(result.label); + if (result.description != null) { + this.titleService.setTitle(result.description.label); - result.plan = this.item.plan; - result.planDescriptionTemplate = this.item.planDescriptionTemplate; + result.description.plan = this.item.plan; + result.description.planDescriptionTemplate = this.item.planDescriptionTemplate; - const sectionId = this.item.planDescriptionTemplate.sectionId; - result.planDescriptionTemplate = this.item.plan.planDescriptionTemplates.find(x => x.sectionId == sectionId && x.descriptionTemplateGroupId == result.descriptionTemplate.groupId); + const sectionId = this.item.planDescriptionTemplate.sectionId; + result.description.planDescriptionTemplate = this.item.plan.planDescriptionTemplates.find(x => x.sectionId == sectionId && x.descriptionTemplateGroupId == result.description.descriptionTemplate.groupId); - this.prepareForm(result); - this.changeDetectorRef.markForCheck(); // when prefilling a description the "prepareForm" has already being executed from the base-editor and we need to trigger the angular's change-detector manually - this.descriptionFormService.detectChanges(true); + this.prepareForm(result.description); + this.changeDetectorRef.markForCheck(); // when prefilling a description the "prepareForm" has already being executed from the base-editor and we need to trigger the angular's change-detector manually + this.descriptionFormService.detectChanges(true); + } else if (result.descriptionTemplateId != null) { + this.formGroup.get('descriptionTemplateId').setValue(result.descriptionTemplateId); + } + } else { + this.reachedBase = true; } }) } @@ -237,7 +242,6 @@ export class DescriptionEditorComponent extends BaseEditor x === AppPermission.AnnotateDescription); this.formGroup = this.editorModel.buildForm(null, this.isDeleted || !this.canEdit, this.visibilityRulesService); if (this.item.descriptionTemplate?.definition) this.visibilityRulesService.setContext(this.item.descriptionTemplate.definition, this.formGroup.get('properties')); - if (this.item.descriptionTemplate?.definition) this.pageToFieldSetMap = this.mapPageToFieldSet(this.item.descriptionTemplate);; // this.selectedSystemFields = this.selectedSystemFieldDisabled(); this.descriptionEditorService.setValidationErrorModel(this.editorModel.validationErrorModel); @@ -644,8 +648,10 @@ export class DescriptionEditorComponent extends BaseEditor x.sectionId == sectionId && x.descriptionTemplateGroupId == descriptionTemplate.groupId); this.formGroup.get('planDescriptionTemplateId').setValue(this.item.planDescriptionTemplate.id); if (descriptionTemplate.definition) this.visibilityRulesService.setContext(this.item.descriptionTemplate.definition, this.formGroup.get('properties')); - if (descriptionTemplate.definition) this.pageToFieldSetMap = this.mapPageToFieldSet(this.item.descriptionTemplate); + if (this.formGroup.get('label').value == null || this.formGroup.get('label').value.length == 0) { + this.formGroup.get('label').setValue(descriptionTemplate.label); + } this.registerFormListeners(); }, error => { @@ -655,17 +661,6 @@ export class DescriptionEditorComponent extends BaseEditor { - const pageToFieldSetMap = new Map(); - - descriptionTemplate.definition.pages?.forEach((page: DescriptionTemplatePage) => { - let fieldsByPage = this.getFieldsetsOfPage(page); - pageToFieldSetMap.set(page.id, fieldsByPage); - }); - - return pageToFieldSetMap; - } - getFieldsetsOfPage(page: DescriptionTemplatePage): DescriptionFieldIndicator[] { const fieldsByPage: DescriptionFieldIndicator[] = [] diff --git a/frontend/src/app/ui/description/editor/description-editor.module.ts b/frontend/src/app/ui/description/editor/description-editor.module.ts index d1ae96d26..e1a4bf14d 100644 --- a/frontend/src/app/ui/description/editor/description-editor.module.ts +++ b/frontend/src/app/ui/description/editor/description-editor.module.ts @@ -12,7 +12,7 @@ import { DescriptionFormProgressIndicationModule } from './form-progress-indicat import { TableOfContentsModule } from './table-of-contents/table-of-contents.module'; import { RichTextEditorModule } from '@app/library/rich-text-editor/rich-text-editor.module'; import { TagsFieldModule } from '@app/ui/tag/tags-field/tags-field.module'; -import { PrefillDescriptionDialogComponent } from './prefill-description/prefill-description.component'; +import { NewDescriptionDialogComponent } from './new-description/new-description.component'; import { AutoCompleteModule } from '@app/library/auto-complete/auto-complete.module'; import { DeprecatedDescriptionTemplateDialog } from './description-base-fields-editor/dialog-description-template/deprecated-description-template-dialog.component'; @@ -33,7 +33,7 @@ import { DeprecatedDescriptionTemplateDialog } from './description-base-fields-e declarations: [ DescriptionEditorComponent, DescriptionBaseFieldsEditorComponent, - PrefillDescriptionDialogComponent, + NewDescriptionDialogComponent, DeprecatedDescriptionTemplateDialog ], exports: [ diff --git a/frontend/src/app/ui/description/editor/prefill-description/prefill-description-editor.model.ts b/frontend/src/app/ui/description/editor/new-description/new-description-editor.model.ts similarity index 100% rename from frontend/src/app/ui/description/editor/prefill-description/prefill-description-editor.model.ts rename to frontend/src/app/ui/description/editor/new-description/new-description-editor.model.ts diff --git a/frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.html b/frontend/src/app/ui/description/editor/new-description/new-description.component.html similarity index 53% rename from frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.html rename to frontend/src/app/ui/description/editor/new-description/new-description.component.html index 10d077767..9b32597a8 100644 --- a/frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.html +++ b/frontend/src/app/ui/description/editor/new-description/new-description.component.html @@ -1,31 +1,20 @@
- {{'PREFILL-DESCRIPTION-DIALOG.TITLE' | translate}} - close + {{'NEW-DESCRIPTION-DIALOG.TITLE' | translate}} + close
-
+
- {{'PREFILL-DESCRIPTION-DIALOG.HINT' | translate}} + {{'NEW-DESCRIPTION-DIALOG.DESCRIPTION-TEMPLATE-HINT' | translate}}
-
- -
{{'PREFILL-DESCRIPTION-DIALOG.OR' | translate}}
- -
-
-
-

{{'PREFILL-DESCRIPTION-DIALOG.DESCRIPTION-TEMPLATE' | translate}}

-
- - +
+ +
{{descriptionTemplate.label}}, @@ -35,25 +24,34 @@ {{'GENERAL.VALIDATION.REQUIRED' | translate}} +
+
+
+ {{'NEW-DESCRIPTION-DIALOG.PREFILL-HINT' | translate}} +
+
+ +
+ +
{{'NEW-DESCRIPTION-DIALOG.OR' | translate}}
+ +
+
-

{{'PREFILL-DESCRIPTION-DIALOG.PREFILLING-SOURCE' | translate}}

+

{{'NEW-DESCRIPTION-DIALOG.PREFILLING-SOURCE' | translate}}

- + {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-

{{'PREFILL-DESCRIPTION-DIALOG.SEARCH-HEADER' | translate}}

+

{{'NEW-DESCRIPTION-DIALOG.SEARCH-HEADER' | translate}}

- +
@@ -61,8 +59,7 @@
- +
-
+
\ No newline at end of file diff --git a/frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.scss b/frontend/src/app/ui/description/editor/new-description/new-description.component.scss similarity index 100% rename from frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.scss rename to frontend/src/app/ui/description/editor/new-description/new-description.component.scss diff --git a/frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.ts b/frontend/src/app/ui/description/editor/new-description/new-description.component.ts similarity index 80% rename from frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.ts rename to frontend/src/app/ui/description/editor/new-description/new-description.component.ts index 2584edc63..379a3a885 100644 --- a/frontend/src/app/ui/description/editor/prefill-description/prefill-description.component.ts +++ b/frontend/src/app/ui/description/editor/new-description/new-description.component.ts @@ -1,8 +1,10 @@ import { Component, Inject, OnInit } from "@angular/core"; import { UntypedFormGroup } from "@angular/forms"; import { MAT_DIALOG_DATA, MatDialogRef } from "@angular/material/dialog"; +import { IsActive } from "@app/core/common/enum/is-active.enum"; import { DescriptionPrefillingRequest, PrefillingSearchRequest } from "@app/core/model/description-prefilling-request/description-prefilling-request"; import { DescriptionTemplate } from "@app/core/model/description-template/description-template"; +import { Description } from "@app/core/model/description/description"; import { Plan } from "@app/core/model/plan/plan"; import { Prefilling } from "@app/core/model/prefilling-source/prefilling-source"; import { PrefillingSourceService } from "@app/core/services/prefilling-source/prefilling-source.service"; @@ -10,20 +12,19 @@ import { ProgressIndicationService } from "@app/core/services/progress-indicatio import { SingleAutoCompleteConfiguration } from "@app/library/auto-complete/single/single-auto-complete-configuration"; import { BaseComponent } from "@common/base/base.component"; import { FormService } from "@common/forms/form-service"; +import { HttpErrorHandlingService } from "@common/modules/errors/error-handling/http-error-handling.service"; import { Guid } from "@common/types/guid"; import { Observable } from "rxjs"; import { takeUntil } from "rxjs/operators"; import { DescriptionEditorEntityResolver } from "../resolvers/description-editor-entity.resolver"; -import { IsActive } from "@app/core/common/enum/is-active.enum"; -import { DescriptionPrefillingRequestEditorModel } from "./prefill-description-editor.model"; -import { HttpErrorHandlingService } from "@common/modules/errors/error-handling/http-error-handling.service"; +import { DescriptionPrefillingRequestEditorModel } from "./new-description-editor.model"; @Component({ - selector: 'prefill-description-component', - templateUrl: 'prefill-description.component.html', - styleUrls: ['prefill-description.component.scss'] + selector: 'new-description-component', + templateUrl: 'new-description.component.html', + styleUrls: ['new-description.component.scss'] }) -export class PrefillDescriptionDialogComponent extends BaseComponent implements OnInit { +export class NewDescriptionDialogComponent extends BaseComponent implements OnInit { progressIndication = false; singlePrefillingSourceAutoCompleteConfiguration: SingleAutoCompleteConfiguration; @@ -35,7 +36,7 @@ export class PrefillDescriptionDialogComponent extends BaseComponent implements planSectionId: Guid; availableDescriptionTemplates: DescriptionTemplate[] = []; - constructor(public dialogRef: MatDialogRef, + constructor(public dialogRef: MatDialogRef, private progressIndicationService: ProgressIndicationService, public prefillingSourceService: PrefillingSourceService, private formService: FormService, @@ -69,7 +70,7 @@ export class PrefillDescriptionDialogComponent extends BaseComponent implements }; } - changePreffillingSource(){ + changePreffillingSource() { this.prefillForm.get('data').setValue(null); } @@ -78,7 +79,7 @@ export class PrefillDescriptionDialogComponent extends BaseComponent implements } searchDescriptions(query: string): Observable { - const request: PrefillingSearchRequest= { + const request: PrefillingSearchRequest = { like: query, prefillingSourceId: this.prefillForm.get('prefillingSourceId').value }; @@ -92,18 +93,28 @@ export class PrefillDescriptionDialogComponent extends BaseComponent implements this.prefillingSourceService.generate(formData, DescriptionEditorEntityResolver.descriptionTemplateLookupFieldsForDescrption()) .pipe(takeUntil(this._destroyed)).subscribe(description => { if (description) { - this.closeDialog(description); + this.closeDialog({ description: description }); } else { this.closeDialog(); } }, - error => { - this.httpErrorHandlingService.handleBackedRequestError(error); - this.dialogRef.close(); - }); + error => { + this.httpErrorHandlingService.handleBackedRequestError(error); + this.dialogRef.close(); + }); + } + + manuallySelected() { + if (!this.prefillForm.get('descriptionTemplateId').valid) return; + this.closeDialog({ descriptionTemplateId: this.prefillForm.get('descriptionTemplateId').value }); } closeDialog(result = null): void { this.dialogRef.close(result); } } + +export class NewDescriptionDialogComponentResult { + description: Description; + descriptionTemplateId: Guid; +} diff --git a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html index 362cb75e7..6f05d49b9 100644 --- a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html +++ b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html @@ -206,7 +206,7 @@
diff --git a/frontend/src/assets/i18n/baq.json b/frontend/src/assets/i18n/baq.json index 140a3542f..8f715ec43 100644 --- a/frontend/src/assets/i18n/baq.json +++ b/frontend/src/assets/i18n/baq.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "Plan Blueprints", "USERS": "Erabiltzaileak", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Marka partekatua", "SUPPORT": "Laguntza", "FEEDBACK": "Bidali feedback-a", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/de.json b/frontend/src/assets/i18n/de.json index 25c1048dc..4cc6fc1e0 100644 --- a/frontend/src/assets/i18n/de.json +++ b/frontend/src/assets/i18n/de.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Benutzer", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Co-Branding", "SUPPORT": "Support", "FEEDBACK": "Send feedback", @@ -895,7 +895,7 @@ "ANY": "Any", "DRAFT": "Draft", "FINALIZED": "Finalized", - "CANCELED": "Canceled" + "CANCELED": "Canceled" } }, "RELATED-TENANT": { @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/en.json b/frontend/src/assets/i18n/en.json index dc5b11a04..eaab59b96 100644 --- a/frontend/src/assets/i18n/en.json +++ b/frontend/src/assets/i18n/en.json @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", diff --git a/frontend/src/assets/i18n/es.json b/frontend/src/assets/i18n/es.json index f85192a60..69eda105f 100644 --- a/frontend/src/assets/i18n/es.json +++ b/frontend/src/assets/i18n/es.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Usuarios", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Marca compartida", "SUPPORT": "Soporte", "FEEDBACK": "Enviar feedback", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/gr.json b/frontend/src/assets/i18n/gr.json index 63a6a13ca..dd871a662 100644 --- a/frontend/src/assets/i18n/gr.json +++ b/frontend/src/assets/i18n/gr.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Users", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Co-Branding", "SUPPORT": "Υποστήριξη", "FEEDBACK": "Στείλετε τα σχόλιά σας", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/hr.json b/frontend/src/assets/i18n/hr.json index 3832c8dca..7ebdaa432 100644 --- a/frontend/src/assets/i18n/hr.json +++ b/frontend/src/assets/i18n/hr.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Korisnici", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Razvoj i suradnja", "SUPPORT": "Podrška", "FEEDBACK": "Molimo pošaljite nam svoje sugestije i komentare", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/pl.json b/frontend/src/assets/i18n/pl.json index cbe11c61a..5e973a81d 100644 --- a/frontend/src/assets/i18n/pl.json +++ b/frontend/src/assets/i18n/pl.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Użytkownicy", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Wspólne oznaczenie", "SUPPORT": "Wsparcie", "FEEDBACK": "Wyślij opinię", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/pt.json b/frontend/src/assets/i18n/pt.json index 9a347827b..2f38abfdd 100644 --- a/frontend/src/assets/i18n/pt.json +++ b/frontend/src/assets/i18n/pt.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Utilizadores", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Co-Branding", "SUPPORT": "Suporte", "FEEDBACK": "Enviar comentários", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/sk.json b/frontend/src/assets/i18n/sk.json index 6f33012b4..a64aab679 100644 --- a/frontend/src/assets/i18n/sk.json +++ b/frontend/src/assets/i18n/sk.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Používatelia", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Co-Branding", "SUPPORT": "Podpora", "FEEDBACK": "Poslať spätnú väzbu", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/sr.json b/frontend/src/assets/i18n/sr.json index 3d8a295fd..fe27bfcc5 100644 --- a/frontend/src/assets/i18n/sr.json +++ b/frontend/src/assets/i18n/sr.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Korisnici", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Partnerstvo", "SUPPORT": "Podrška", "FEEDBACK": "Pošaljite nam sugestije i komentare", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/tr.json b/frontend/src/assets/i18n/tr.json index 8c6948702..c56c36bac 100644 --- a/frontend/src/assets/i18n/tr.json +++ b/frontend/src/assets/i18n/tr.json @@ -73,7 +73,7 @@ "PLAN-INACTIVE-USER": "This plan contains users that are not exist", "PLAN-MISSING-USER-CONTACT-INFO": "This plan contains users that don't have contact info", "DESCRIPTION-TEMPLATE-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this description template.", - "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", + "PLAN-BLUEPRINT-NEW-VERSION-ALREADY-CREATED-DRAFT": "You have already created a new draft version for this blueprint.", "REFERENCE-TYPE-CODE-EXISTS": "The reference type code you provided already exists. Please choose a different code.", "PREFILLING-SOURCE-CODE-EXISTS": "The prefilling source code you provided already exists. Please choose a different code.", "DUPLICATE-PLAN-USER": "You can't invite authors with same role and plan section more than once", @@ -163,8 +163,8 @@ "DESCRIPTION-OVERVIEW": "Description Overview", "MAINTENANCE-TASKS": "Maintenance", "HOME": "Home", - "ANNOTATION-STATUSES":"Annotation Statuses", - "SUPPORTIVE-MATERIAL":"Supportive Material", + "ANNOTATION-STATUSES": "Annotation Statuses", + "SUPPORTIVE-MATERIAL": "Supportive Material", "USAGE-LIMITS": "Usage Limits" }, "FILE-TRANSFORMER": { @@ -253,8 +253,8 @@ "TENANT-CONFIGURATION": "Tenant Configuration", "ENTITY-LOCKS": "Entity Locks", "ANNOTATION-STATUSES": "Annotation Statuses", - "USERS":"Users", - "TENANT-USERS":"Tenant Users", + "USERS": "Users", + "TENANT-USERS": "Tenant Users", "NEW-USAGE-LIMIT": "New", "USAGE-LIMITS": "Usage Limits" }, @@ -302,7 +302,7 @@ "DESCRIPTION-TEMPLATE-TYPES": "Description Types", "PLAN-BLUEPRINTS": "DMP Blueprints", "USERS": "Kullanıcılar", - "TENANT-USERS":"Tenant Users", + "TENANT-USERS": "Tenant Users", "CO-BRANDING": "Birlikte Markalama", "SUPPORT": "Destek", "FEEDBACK": "Geribildirim Yolla", @@ -1020,10 +1020,11 @@ "SELECT-PLAN": "Select Plan", "PLAN-SECTION": "Select Section" }, - "PREFILL-DESCRIPTION-DIALOG": { + "NEW-DESCRIPTION-DIALOG": { "TITLE": "Initialize your Description", "OR": "OR", - "HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", + "DESCRIPTION-TEMPLATE-HINT": "Select the Template to be used for your Description.", + "PREFILL-HINT": "Select the item from Zenodo to automatically retrieve answers to some questions in your template or start by answering the questions manually.", "DESCRIPTION-TEMPLATE": "Description Template", "PREFILLING-SOURCE": "Prefilling Source", "SEARCH-HEADER": "Prefilled object", @@ -1263,7 +1264,7 @@ }, "ANNOTATION-SERVICE": { "TYPES": { - "INTERNAL-STATUS":{ + "INTERNAL-STATUS": { "RESOLVED": "Resolved" }, "IS-ACTIVE": { @@ -1289,7 +1290,7 @@ "APPLY-FILTERS": "Apply filters" }, "ACTIONS": { - "EDIT":"Edit", + "EDIT": "Edit", "DELETE": "Delete" } }, @@ -1297,7 +1298,7 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS":"Internal Status" + "INTERNAL-STATUS": "Internal Status" }, "ACTIONS": { "SAVE": "Save", @@ -2363,4 +2364,4 @@ "copy": "Copy", "clone": "Clone", "new-version": "New Version" -} +} \ No newline at end of file