diff --git a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo index c528d8a4d04acd00f257539dcb59ab7b60adb359..6270f749ef487656af6250dc8cabb5e2fb2f4ca3 100644 Binary files a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo and b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo differ diff --git a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po index 0955b67bb54f08e8f36dfee053d7c1863d45a6c9..6649d0180a014559cb1e301bf3064cfba38a621a 100644 --- a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po +++ b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po @@ -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" diff --git a/ckanext/odsh/profiles.py b/ckanext/odsh/profiles.py index f2bb70906c29f1a418fb2f5a7e042bed37ca6229..3dac09f2f97a65d8df762131534f42bab6dfb3ab 100644 --- a/ckanext/odsh/profiles.py +++ b/ckanext/odsh/profiles.py @@ -118,6 +118,10 @@ class ODSHDCATdeProfile(DCATdeProfile): for dist in self.g.objects(dataset_ref, DCAT.distribution): 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