Skip to content

Commit

Permalink
Give additional fields multi-language support (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwinther authored Jan 19, 2024
1 parent ad9f2a5 commit c3e497a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/datadoc/frontend/fields/display_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit c3e497a

Please sign in to comment.