From c2bdcf97e09cf7b1f624ebae8c8adfb5a5f75a0d Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 18 Jan 2024 13:45:26 +0100 Subject: [PATCH] Give additional fields multi-language support --- src/datadoc/frontend/fields/display_dataset.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/datadoc/frontend/fields/display_dataset.py b/src/datadoc/frontend/fields/display_dataset.py index e1ac0443..960816cc 100644 --- a/src/datadoc/frontend/fields/display_dataset.py +++ b/src/datadoc/frontend/fields/display_dataset.py @@ -98,6 +98,7 @@ class DatasetIdentifiers(str, Enum): identifier=DatasetIdentifiers.REGISTER_URI.value, display_name="Register URI", description="Lenke (URI) til register i registeroversikt (oversikt over alle registre meldt Datatilsynet (oppdatering foretas av sikkerhetsrådgiver))", + multiple_language_support=True, ), DatasetIdentifiers.POPULATION_DESCRIPTION: DisplayDatasetMetadata( identifier=DatasetIdentifiers.POPULATION_DESCRIPTION.value, @@ -117,6 +118,7 @@ class DatasetIdentifiers(str, Enum): identifier=DatasetIdentifiers.VERSION_DESCRIPTION.value, display_name="Versjonsbeskrivelse", description="Årsak/grunnlag for denne versjonen av datasettet i form av beskrivende tekst.", + multiple_language_support=True, ), DatasetIdentifiers.UNIT_TYPE: DisplayDatasetMetadata( identifier=DatasetIdentifiers.UNIT_TYPE.value,