From 422b43a84704b0fd999d5e023896e3a1b32b317a Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Wed, 2 Aug 2023 11:26:14 +0200 Subject: [PATCH] Fixed qa star popup translations --- ckanext/odsh/i18n/ckanext-odsh.pot | 4 ++-- ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po | 8 ++++---- ckanext/odsh/templates/qa/stars.html | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ckanext/odsh/i18n/ckanext-odsh.pot b/ckanext/odsh/i18n/ckanext-odsh.pot index e11f82ae..0d3a7aa8 100644 --- a/ckanext/odsh/i18n/ckanext-odsh.pot +++ b/ckanext/odsh/i18n/ckanext-odsh.pot @@ -1130,11 +1130,11 @@ msgid "LD = Linked Data" msgstr "" #: ckanext/odsh/templates/qa/stars.html:37 -msgid "Sterne" +msgid "Stars" msgstr "" #: ckanext/odsh/templates/qa/stars.html:37 -msgid "5-Sterne-Modell für Offene Daten" +msgid "5-Star Model for Open Data" msgstr "" #: ckanext/odsh/templates/snippets/facet_list.html:68 diff --git a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po index d574d34f..c83dc5a3 100644 --- a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po +++ b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po @@ -1175,12 +1175,12 @@ msgid "LD = Linked Data" msgstr "LD = Linked Data" #: ckanext/odsh/templates/qa/stars.html:37 -msgid "Sterne" -msgstr "Stars" +msgid "Stars" +msgstr "Sterne" #: ckanext/odsh/templates/qa/stars.html:37 -msgid "5-Sterne-Modell für Offene Daten" -msgstr "5-Star Model for Open Data" +msgid "5-Star Model for Open Data" +msgstr "5-Sterne-Modell für Offene Daten" #: ckanext/odsh/templates/snippets/facet_list.html:68 msgid "Show More" diff --git a/ckanext/odsh/templates/qa/stars.html b/ckanext/odsh/templates/qa/stars.html index f241255d..9dbc77ba 100644 --- a/ckanext/odsh/templates/qa/stars.html +++ b/ckanext/odsh/templates/qa/stars.html @@ -34,7 +34,7 @@ reason - A reason why the dataset doesn't have a rating. </span> {%- endif -%} <div class='odsh-star-wrap'> - <a tabindex="0" data-module="odsh_popover" data-module-trigger='custom' data-module-text="{{stars}} {{ _('Sterne') }}{{short_texts[stars]}}<br><a target='_blank' href='https://5stardata.info/de/'>{{ _('5-Sterne-Modell für Offene Daten') }}</a>" role="button" data-toggle="popover" data-trigger="focus" class="odsh-star"> + <a tabindex="0" data-module="odsh_popover" data-module-trigger='custom' data-module-text="{{stars}} {{ _('Stars') }}{{short_texts[stars]}}<br><a target='_blank' href='https://5stardata.info/de/'>{{ _('5-Star Model for Open Data') }}</a>" role="button" data-toggle="popover" data-trigger="focus" class="odsh-star"> <i class="fa fa-info odsh-star-info"></i> </a> </div> -- GitLab