Skip to content

Commit d5bf314

Browse files
authored
update translation labels (#1704) (#1706)
* update translation labels (#1704) * fix
1 parent cbab803 commit d5bf314

8 files changed

Lines changed: 65 additions & 5 deletions

File tree

locale/bs/LC_MESSAGES/messages.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,3 +644,15 @@ msgstr ""
644644

645645
msgid "Display Schema of"
646646
msgstr ""
647+
648+
msgid "Contact"
649+
msgstr ""
650+
651+
msgid "CRS"
652+
msgstr ""
653+
654+
msgid "Epoch"
655+
msgstr ""
656+
657+
msgid "not specified"
658+
msgstr ""

locale/de/LC_MESSAGES/messages.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,3 +694,15 @@ msgstr ""
694694

695695
msgid "Display Schema of"
696696
msgstr ""
697+
698+
msgid "Contact"
699+
msgstr ""
700+
701+
msgid "CRS"
702+
msgstr ""
703+
704+
msgid "Epoch"
705+
msgstr ""
706+
707+
msgid "not specified"
708+
msgstr ""

locale/en/LC_MESSAGES/messages.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,3 +696,15 @@ msgstr ""
696696

697697
msgid "Display Schema of"
698698
msgstr ""
699+
700+
msgid "Contact"
701+
msgstr ""
702+
703+
msgid "CRS"
704+
msgstr ""
705+
706+
msgid "Epoch"
707+
msgstr ""
708+
709+
msgid "not specified"
710+
msgstr ""

locale/fr/LC_MESSAGES/messages.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,3 +703,15 @@ msgstr ""
703703

704704
msgid "Display Schema of"
705705
msgstr ""
706+
707+
msgid "Contact"
708+
msgstr ""
709+
710+
msgid "CRS"
711+
msgstr ""
712+
713+
msgid "Epoch"
714+
msgstr ""
715+
716+
msgid "not specified"
717+
msgstr ""

locale/sr/LC_MESSAGES/messages.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,3 +644,15 @@ msgstr ""
644644

645645
msgid "Display Schema of"
646646
msgstr ""
647+
648+
msgid "Contact"
649+
msgstr ""
650+
651+
msgid "CRS"
652+
msgstr ""
653+
654+
msgid "Epoch"
655+
msgstr ""
656+
657+
msgid "not specified"
658+
msgstr ""

pygeoapi/templates/_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
title="{{ config['metadata']['identification']['title'] }}" style="height:40px;vertical-align: middle;" /></a>
4545
<ul class="nav nav-pills">
4646
<li class="nav-item">
47-
<a href="mailto:{{ config['metadata']['contact']['email'] }}" class="nav-link" aria-current="page">Contact</a>
47+
<a href="mailto:{{ config['metadata']['contact']['email'] }}" class="nav-link" aria-current="page">{% trans %}Contact{% endtrans%}</a>
4848
</li>
4949
{% if config['server']['admin'] %}
5050
<li class="nav-item">

pygeoapi/templates/collections/collection.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ <h3>{% trans %}Reference Systems{% endtrans %}</h3>
106106
<h3>{% trans %}Storage CRS{% endtrans %}</h3>
107107
<ul>
108108
<li>
109-
CRS: <a title="{{ data['storageCRS'] }}" href="{{ data['storageCRS'] }}"><span>{{ data['storageCRS'] }}</span></a>
109+
{% trans %}CRS{% endtrans %}: <a title="{{ data['storageCRS'] }}" href="{{ data['storageCRS'] }}"><span>{{ data['storageCRS'] }}</span></a>
110110
</li>
111111
<li>
112-
Epoch: <span>{{ data['storageCrsCoordinateEpoch'] or 'not specified' }}</span></a>
112+
{% trans %}Epoch{% endtrans %}: <span>{{ data['storageCrsCoordinateEpoch'] or '_(not specified)' }}</span></a>
113113
</li>
114114
</ul>
115115
{% endif %}

pygeoapi/templates/collections/items/item.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "_base.html" %}
2-
{% set ptitle = data['properties'][data['title_field']] or 'Item '.format(data['id']) %}
2+
{% set ptitle = data['properties'][data['title_field']] or '_(Item) '.format(data['id']) %}
33
{% block desc %}{{ data.get('properties',{}).get('description', {}) | string | truncate(250) }}{% endblock %}
44
{% block tags %}{{ data['properties'].get('themes', [{}])[0].get('concepts', []) | join(',') }}{% endblock %}
55
{# Optionally renders an img element, otherwise standard value or link rendering #}
@@ -98,7 +98,7 @@ <h1>{{ ptitle }}</h1>
9898
{% endif %}
9999
{% endfor %}
100100
<tr>
101-
<td>Links</td>
101+
<td>{% trans %}Links{% endtrans %}</td>
102102
<td>
103103
<ul>
104104
{% for l in data['links'] %}

0 commit comments

Comments
 (0)