From c238615b504f2727882b0e5337f4d5cd28ef4eed Mon Sep 17 00:00:00 2001 From: Aldo Mihasi Date: Fri, 6 Oct 2023 09:36:35 +0300 Subject: [PATCH] add enable prefilling property in description templates --- .../eu/eudat/logic/managers/AdminManager.java | 1 + .../ExportXmlBuilderDatasetProfile.java | 1 + .../datasetProfileModel/DatasetProfile.java | 11 +++++++++++ .../data/admin/composite/DatasetProfile.java | 10 ++++++++++ .../ViewStyleModel.java | 18 ++++++++++++++++++ .../data/user/composite/DatasetProfile.java | 10 ++++++++++ .../admin/dataset-profile/dataset-profile.ts | 1 + .../editor/dataset-profile-editor-model.ts | 3 +++ .../dataset-profile-editor.component.html | 10 +++++++++- .../editor/dataset-profile-editor.component.ts | 1 + dmp-frontend/src/assets/i18n/de.json | 2 ++ dmp-frontend/src/assets/i18n/en.json | 2 ++ dmp-frontend/src/assets/i18n/es.json | 2 ++ dmp-frontend/src/assets/i18n/gr.json | 2 ++ dmp-frontend/src/assets/i18n/hr.json | 2 ++ dmp-frontend/src/assets/i18n/pl.json | 2 ++ dmp-frontend/src/assets/i18n/pt.json | 2 ++ dmp-frontend/src/assets/i18n/sk.json | 2 ++ dmp-frontend/src/assets/i18n/sr.json | 2 ++ dmp-frontend/src/assets/i18n/tr.json | 2 ++ 20 files changed, 85 insertions(+), 1 deletion(-) diff --git a/dmp-backend/web/src/main/java/eu/eudat/logic/managers/AdminManager.java b/dmp-backend/web/src/main/java/eu/eudat/logic/managers/AdminManager.java index afde380e8..c515636c0 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/logic/managers/AdminManager.java +++ b/dmp-backend/web/src/main/java/eu/eudat/logic/managers/AdminManager.java @@ -21,6 +21,7 @@ public class AdminManager { public static DescriptionTemplate generateViewStyleDefinition(DatasetProfile profile, ApiContext apiContext) throws Exception { ViewStyleModel viewStyleModel = new ViewStyleModel(); + viewStyleModel.setEnablePrefilling(profile.isEnablePrefilling()); viewStyleModel.setSections(new ModelBuilder().toViewStyleDefinition(profile.getSections(), eu.eudat.models.data.entities.xmlmodels.datasetprofiledefinition.Section.class)); viewStyleModel.setPages(new ModelBuilder().toViewStyleDefinition(profile.getPages(), eu.eudat.models.data.entities.xmlmodels.datasetprofiledefinition.Page.class)); Document viewStyleDoc = XmlBuilder.getDocument(); diff --git a/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/ExportXmlBuilderDatasetProfile.java b/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/ExportXmlBuilderDatasetProfile.java index a64fd0de5..d1b849775 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/ExportXmlBuilderDatasetProfile.java +++ b/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/ExportXmlBuilderDatasetProfile.java @@ -37,6 +37,7 @@ public class ExportXmlBuilderDatasetProfile { pages.setAttribute("description", datasetProfile.getDescription()); pages.setAttribute("language", datasetProfile.getLanguage()); pages.setAttribute("type", datasetProfile.getType()); + pages.setAttribute("enablePrefilling", String.valueOf(datasetProfile.isEnablePrefilling())); String xml = XmlBuilder.generateXml(xmlDoc); writer.write(xml); writer.close(); diff --git a/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/datasetProfileModel/DatasetProfile.java b/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/datasetProfileModel/DatasetProfile.java index e36160e92..36d917879 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/datasetProfileModel/DatasetProfile.java +++ b/dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/xml/datasetProfileXml/datasetProfileModel/DatasetProfile.java @@ -15,6 +15,7 @@ public class DatasetProfile { private String description; private String language; private String type; + private boolean enablePrefilling; private List page; @@ -54,6 +55,15 @@ public class DatasetProfile { this.type = type; } + @XmlAttribute(name = "enablePrefilling") + public boolean isEnablePrefilling() { + return enablePrefilling; + } + + public void setEnablePrefilling(boolean enablePrefilling) { + this.enablePrefilling = enablePrefilling; + } + public eu.eudat.models.data.admin.composite.DatasetProfile toAdminCompositeModel(String label){ eu.eudat.models.data.admin.composite.DatasetProfile newDatasetEntityProfile = new eu.eudat.models.data.admin.composite.DatasetProfile(); newDatasetEntityProfile.setLabel(label); @@ -61,6 +71,7 @@ public class DatasetProfile { newDatasetEntityProfile.setDescription(description); newDatasetEntityProfile.setLanguage(language); newDatasetEntityProfile.setType(type); + newDatasetEntityProfile.setEnablePrefilling(enablePrefilling); List pagesDatasetEntity = new LinkedList<>(); List sectionDatasetEntity = new LinkedList<>(); for (Page xmlPage: page) { diff --git a/dmp-backend/web/src/main/java/eu/eudat/models/data/admin/composite/DatasetProfile.java b/dmp-backend/web/src/main/java/eu/eudat/models/data/admin/composite/DatasetProfile.java index 146a4acc5..0e468c542 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/models/data/admin/composite/DatasetProfile.java +++ b/dmp-backend/web/src/main/java/eu/eudat/models/data/admin/composite/DatasetProfile.java @@ -14,6 +14,7 @@ public class DatasetProfile { private String label; private String description; private String type; + private boolean enablePrefilling; private List pages; private List
sections; private Short status; @@ -43,6 +44,13 @@ public class DatasetProfile { this.type = type; } + public boolean isEnablePrefilling() { + return enablePrefilling; + } + public void setEnablePrefilling(boolean enablePrefilling) { + this.enablePrefilling = enablePrefilling; + } + public List getPages() { return pages; } @@ -80,6 +88,7 @@ public class DatasetProfile { } public void buildProfile(eu.eudat.models.data.entities.xmlmodels.datasetprofiledefinition.ViewStyleModel viewStyle) { + this.enablePrefilling = viewStyle.isEnablePrefilling(); this.sections = new ModelBuilder().fromViewStyleDefinition(viewStyle.getSections(), Section.class); this.pages = new ModelBuilder().fromViewStyleDefinition(viewStyle.getPages(), Page.class); } @@ -89,6 +98,7 @@ public class DatasetProfile { shortProfile.setLabel(this.label); shortProfile.setDescription(this.description); shortProfile.setType(this.type); + shortProfile.setEnablePrefilling(this.enablePrefilling); List
shortSection = new LinkedList<>(); for (Section toshortSection : this.getSections()) { shortSection.add(toshortSection.toShort()); diff --git a/dmp-backend/web/src/main/java/eu/eudat/models/data/entities/xmlmodels/datasetprofiledefinition/ViewStyleModel.java b/dmp-backend/web/src/main/java/eu/eudat/models/data/entities/xmlmodels/datasetprofiledefinition/ViewStyleModel.java index fd8ed6a71..99c62b402 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/models/data/entities/xmlmodels/datasetprofiledefinition/ViewStyleModel.java +++ b/dmp-backend/web/src/main/java/eu/eudat/models/data/entities/xmlmodels/datasetprofiledefinition/ViewStyleModel.java @@ -11,9 +11,18 @@ import java.util.LinkedList; import java.util.List; public class ViewStyleModel implements XmlSerializable { + private boolean enablePrefilling; private List
sections; private List pages; + public boolean isEnablePrefilling() { + return enablePrefilling; + } + + public void setEnablePrefilling(boolean enablePrefilling) { + this.enablePrefilling = enablePrefilling; + } + public List
getSections() { return sections; } @@ -33,6 +42,8 @@ public class ViewStyleModel implements XmlSerializable { @Override public Element toXml(Document doc) { Element root = doc.createElement("root"); + Element prefilling = doc.createElement("enablePrefilling"); + prefilling.setTextContent(String.valueOf(this.enablePrefilling)); Element sections = doc.createElement("sections"); Element pages = doc.createElement("pages"); for (Section section : this.sections) { @@ -44,6 +55,7 @@ public class ViewStyleModel implements XmlSerializable { pages.appendChild(page.toXml(doc)); } + root.appendChild(prefilling); root.appendChild(pages); root.appendChild(sections); return root; @@ -52,6 +64,12 @@ public class ViewStyleModel implements XmlSerializable { @Override public ViewStyleModel fromXml(Element element) { + this.enablePrefilling = true; + Element prefilling = (Element) XmlBuilder.getNodeFromListByTagName(element.getChildNodes(), "enablePrefilling"); + if (prefilling != null) { + this.enablePrefilling = Boolean.parseBoolean(prefilling.getChildNodes().item(0).getNodeValue()); + } + this.sections = new LinkedList(); Element sections = (Element) XmlBuilder.getNodeFromListByTagName(element.getChildNodes(), "sections"); if (sections != null) { diff --git a/dmp-backend/web/src/main/java/eu/eudat/models/data/user/composite/DatasetProfile.java b/dmp-backend/web/src/main/java/eu/eudat/models/data/user/composite/DatasetProfile.java index 115c8cc7d..f2714ead1 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/models/data/user/composite/DatasetProfile.java +++ b/dmp-backend/web/src/main/java/eu/eudat/models/data/user/composite/DatasetProfile.java @@ -13,6 +13,7 @@ public class DatasetProfile implements PropertiesModelBuilder { private String description; private String language; private String type; + private boolean enablePrefilling; private List
sections; private List rules; private List pages; @@ -42,6 +43,14 @@ public class DatasetProfile implements PropertiesModelBuilder { this.type = type; } + public boolean isEnablePrefilling() { + return enablePrefilling; + } + + public void setEnablePrefilling(boolean enablePrefilling) { + this.enablePrefilling = enablePrefilling; + } + public List
getSections() { return sections; } @@ -76,6 +85,7 @@ public class DatasetProfile implements PropertiesModelBuilder { } public void buildProfile(eu.eudat.models.data.entities.xmlmodels.datasetprofiledefinition.ViewStyleModel viewStyle) { + this.enablePrefilling = viewStyle.isEnablePrefilling(); this.sections = new ModelBuilder().fromViewStyleDefinition(viewStyle.getSections(), Section.class); this.pages = new ModelBuilder().fromViewStyleDefinition(viewStyle.getPages(), Page.class); this.rules = ModelBuilderCollector.collectRules(viewStyle.getSections()); diff --git a/dmp-frontend/src/app/core/model/admin/dataset-profile/dataset-profile.ts b/dmp-frontend/src/app/core/model/admin/dataset-profile/dataset-profile.ts index 68b0d64db..8f2d70106 100644 --- a/dmp-frontend/src/app/core/model/admin/dataset-profile/dataset-profile.ts +++ b/dmp-frontend/src/app/core/model/admin/dataset-profile/dataset-profile.ts @@ -4,6 +4,7 @@ import { UserInfoListingModel } from "../../user/user-info-listing"; export interface DatasetProfile { label: string; type: string; + enablePrefilling: boolean; sections: Section[]; pages: Page[]; status: number; diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor-model.ts b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor-model.ts index 059a1feb0..79555f95f 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor-model.ts +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor-model.ts @@ -16,6 +16,7 @@ export class DatasetProfileEditorModel extends BaseFormModel { public version: number; private description: string; private type: string; + public enablePrefilling: boolean; private language: string; private users: UserInfoListingModel[] = []; @@ -24,6 +25,7 @@ export class DatasetProfileEditorModel extends BaseFormModel { if (item.pages) { this.pages = item.pages.map(x => new PageEditorModel().fromModel(x)); } this.label = item.label; this.type = item.type; + this.enablePrefilling = item.enablePrefilling; this.status = item.status; this.version = item.version; this.description = item.description; @@ -37,6 +39,7 @@ export class DatasetProfileEditorModel extends BaseFormModel { label: [{ value: this.label, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.label')) }, [Validators.required]], description: [{ value: this.description, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.description')) }, [Validators.required]], type: [{ value: this.type, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.type')) }, [Validators.required]], + enablePrefilling: [{ value: this.enablePrefilling, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.enablePrefilling')) }, []], language: [{ value: this.language, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.language')) }, [Validators.required]], status: [{ value: this.status, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.status')) }], version: [{ value: this.version, disabled: (disabled && !skipDisable.includes('DatasetProfileEditorModel.version')) }], diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html index 6604815b9..aeaf7ec31 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html @@ -170,7 +170,15 @@
-
1.5 {{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-USERS'| translate}}
+
1.5 {{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DESCRIPTION-TEMPLATE-PREFILLING'| translate}}
+
+ + {{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DESCRIPTION-TEMPLATE-ENABLE-PREFILLING'| translate}} + +
+
+
+
1.6 {{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-USERS'| translate}}
{{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-USERS-HINT'| translate}}
diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts index 904ab51ad..f3ccaf287 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts @@ -214,6 +214,7 @@ export class DatasetProfileEditorComponent extends CheckDeactivateBaseComponent ); } else { this.dataModel = new DatasetProfileEditorModel(); + this.dataModel.enablePrefilling = true; this.form = this.dataModel.buildForm(); // this.form.setValidators([EditorCustomValidators.atLeastOneElementListValidator('pages'), EditorCustomValidators.pagesHaveAtLeastOneSection('pages', 'sections')]); diff --git a/dmp-frontend/src/assets/i18n/de.json b/dmp-frontend/src/assets/i18n/de.json index cc842b749..bd029097e 100644 --- a/dmp-frontend/src/assets/i18n/de.json +++ b/dmp-frontend/src/assets/i18n/de.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index ea2c54200..b57448cbf 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/es.json b/dmp-frontend/src/assets/i18n/es.json index 5467b760f..c86acbb90 100644 --- a/dmp-frontend/src/assets/i18n/es.json +++ b/dmp-frontend/src/assets/i18n/es.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Seleccione un idioma", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/gr.json b/dmp-frontend/src/assets/i18n/gr.json index 456942277..8517af524 100644 --- a/dmp-frontend/src/assets/i18n/gr.json +++ b/dmp-frontend/src/assets/i18n/gr.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/hr.json b/dmp-frontend/src/assets/i18n/hr.json index eb7445c07..d3a724f1c 100644 --- a/dmp-frontend/src/assets/i18n/hr.json +++ b/dmp-frontend/src/assets/i18n/hr.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Izaberi jezik predloška", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Korisnici predloška", "DATASET-TEMPLATE-USERS-HINT": "Kako biste obavijestili korisnike, dodajte korisnike i spremite promjene.", "DATASET-TEMPLATE-REMOVE-USER": "Izbriši korisnika", diff --git a/dmp-frontend/src/assets/i18n/pl.json b/dmp-frontend/src/assets/i18n/pl.json index 8633207c8..288cbd39f 100644 --- a/dmp-frontend/src/assets/i18n/pl.json +++ b/dmp-frontend/src/assets/i18n/pl.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Wybierz język", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Redaktorzy", "DATASET-TEMPLATE-USERS-HINT": "Dodaj redaktorów i zapisz zmiany, aby ich powiadomić.", "DATASET-TEMPLATE-REMOVE-USER": "Usuń redaktora", diff --git a/dmp-frontend/src/assets/i18n/pt.json b/dmp-frontend/src/assets/i18n/pt.json index b419c2d3b..791996716 100644 --- a/dmp-frontend/src/assets/i18n/pt.json +++ b/dmp-frontend/src/assets/i18n/pt.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Selecione o idioma", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/sk.json b/dmp-frontend/src/assets/i18n/sk.json index 03a8c874d..3ab92051d 100644 --- a/dmp-frontend/src/assets/i18n/sk.json +++ b/dmp-frontend/src/assets/i18n/sk.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/sr.json b/dmp-frontend/src/assets/i18n/sr.json index e8c8b274a..65ffac0a4 100644 --- a/dmp-frontend/src/assets/i18n/sr.json +++ b/dmp-frontend/src/assets/i18n/sr.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor", diff --git a/dmp-frontend/src/assets/i18n/tr.json b/dmp-frontend/src/assets/i18n/tr.json index b5fdbbae6..c2e6e20d9 100644 --- a/dmp-frontend/src/assets/i18n/tr.json +++ b/dmp-frontend/src/assets/i18n/tr.json @@ -310,6 +310,8 @@ "DESCRIPTION-TEMPLATE-SELECT-TYPE": "Select a type", "DATASET-TEMPLATE-LANGUAGE": "Description template language", "DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language", + "DESCRIPTION-TEMPLATE-PREFILLING": "Prefilling", + "DESCRIPTION-TEMPLATE-ENABLE-PREFILLING": "Enable prefilling", "DATASET-TEMPLATE-USERS": "Editors", "DATASET-TEMPLATE-USERS-HINT": "Add editors and save changes to notify them.", "DATASET-TEMPLATE-REMOVE-USER": "Remove Editor",