Skip to content
Snippets Groups Projects
Commit 88a0fe9c authored by Benjamin Becker's avatar Benjamin Becker
Browse files

Merge branch 'dev' into ODPSH--475

parents 9738f2b2 8767617a
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -466,7 +466,7 @@ msgid "subject"
msgstr "Informationsgegenstand"
msgid "Subject must not be empty."
msgstr "Informationsgegenstand muss angegeben werden."
msgstr "Bitte geben Sie einen Informationsgegenstand ein."
msgid "type subject"
msgstr "Informationsgegenstand eingeben"
......
......@@ -119,6 +119,10 @@ class ODSHDCATdeProfile(DCATdeProfile):
self.g.set(
(dist, DCATDE.licenseAttributionByText, rdflib.Literal(attr)))
dct_subject_url = self._get_dataset_value(dataset_dict, 'subject')
items = [('subject', DCT.subject, dct_subject_url, rdflib.Literal)]
self._add_triples_from_dict(dataset_dict, dataset_ref, items)
_RESOURCE_FORMATS_IMPORT = None
_RESOURCE_FORMATS_EXPORT = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment