Skip to content
Snippets Groups Projects
Commit 131f83ee authored by Thorge Petersen's avatar Thorge Petersen
Browse files

More translations and code formatting

parent bab5d2f9
No related branches found
No related tags found
1 merge request!50Upgraded to CKAN 2.10
......@@ -50,15 +50,16 @@
{% else %}
<div class="module-content error-page">
<div class="error-title">
HTTP Status 404
<div class="error-body"><h2>Seite nicht gefunden</h2>
<h3>Wie finde ich die gesuchten Inhalte im Landesportal?</h3>
{{ _('HTTP Status 404') }}
<div class="error-body">
<h2>{{ _('Page not found') }}</h2>
<h3>{{ _('How do I find the content I am looking for in the state portal?') }}</h3>
<p><a class="" href="http://www.schleswig-holstein.de/odpstart" title="Zur Startseite">Zur Startseite des Open-Data-Portals</a></p>
<p><a class="" href="{{ h.odsh_public_url() }}" title="{{ _('To home page') }}">{{ _('To the home page of the open data portal') }}</a></p>
<h3>Kontakt</h3>
<p>Bei Fragen oder Problemen mit dem Open-Data-Portal schicken Sie bitte eine E-Mail an die Adresse opendata@lr.landsh.de oder verwenden das Kontaktformular:</p>
<p><a class="" href="https://www.schleswig-holstein.de/odpkontakt" title="Kontakt">Zum Kontaktformular</a></p>
<h3>{{ _('Contact') }}</h3>
<p>{{ _('If you have any questions or problems with the open data portal, please send an email to opendata@lr.landsh.de or use the contact form:') }}</p>
<p><a class="" href="https://www.schleswig-holstein.de/odpkontakt" title="{{ _('Contact') }}">{{ _('To contact form') }}</a></p>
</div>
</div>
</div>
......
......@@ -16,8 +16,7 @@
{% if collection['members'] %}
<p>
Dies ist die Übersichtsseite der Reihe "{{ collection_title }}".
Sie enthält folgende Datensätze (neuere Datensätze zuerst):
{% trans title=collection_title %}This is the overview page of the "{{ title }}" series. It contains the following datasets (newer datasets first):{% endtrans %}
</p>
{% snippet 'snippets/package_list.html', packages=collection['members'] | reverse() %}
{% endif %}
......
......@@ -38,31 +38,10 @@
</div>
{% if res_format %}
<a href="{{ download }}">
<div class="badge badge-default dataformat-label resource-dataformat-label" property="dc:format" data-format="{{ res.format.lower() or 'data' }}" style='font-size:{{150/(res_format|length)}}px'>{{ res_format }}</div>
<div class="badge badge-default dataformat-label resource-dataformat-label" property="dc:format"
data-format="{{ res.format.lower() or 'data' }}" style='font-size:{{150/(res_format|length)}}px'>{{ res_format
}}</div>
</a>
{% endif %}
</div>
</li>
<!-- </div>
<div class="row resource-description-container">
</div>
<div class="resource-icons">
<a href="{{ download }}" aria-label="{{ _('download file') }}">
<div aria-hidden="true" class="icon icon-download"></div>
</a>
{% if can_edit %}
<a href="{{ h.url_for('resource.edit', id=pkg.name, resource_id=res.id) }}">
<div class="icon icon-edit"></div>
</a>
{% endif %}
</div>
<div>
</div>
</div>
</div>
</div>
</li> -->
......@@ -2,7 +2,7 @@
{% block skip %}
<a class="skip-link" href="#content">
Zum Inhalt springen.
{{ _('Skip to content.') }}
</a>
{% endblock skip %}
......@@ -23,7 +23,6 @@
{% if not request.referrer or not request.referrer.startswith(h.odsh_public_url()) %}
<div class="alert alert-info alert-dismissible fade show" role="alert">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<span aria-hidden="true"></span>
</button>
......@@ -33,7 +32,6 @@
<a href="https://insight.uni-speyer.de/ODSH/" class="btn">zum Fragebogen</a><br>
<small>(extern beim Deutschen Forschungsinstitut für öffentliche Verwaltung Speyer).</small>
</p>
</div>
{% endif %}
......
......@@ -35,7 +35,6 @@ Example:
{% if query %}
{%- if count -%}
{{ text_query.format(number=h.localised_number(count), query=query) }}
{%- else -%}
{{ text_query_none.format(query=query) }}
{%- endif -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment