Skip to content

Commit

Permalink
Update i18n files and templates for internationalization support
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed Sep 20, 2024
1 parent 8f22343 commit 1e504ca
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 8 deletions.
4 changes: 4 additions & 0 deletions ckanext/schemingdcat/i18n/ckanext-schemingdcat.pot
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,10 @@ msgstr ""
msgid "Further information in the <a href=\"http://docs.ckan.org/en/latest/maintaining/datastore.html\" target=\"_blank\">main CKAN Data API and DataStore documentation</a>."
msgstr ""

#: ckanext/schemingdcat/templates/ajax_snippets
msgid "Example"
msgstr ""

#: ckanext/schemingdcat/templates/schemingdcat/endpoints/index.html
msgid "What are Endpoints?"
msgstr ""
Expand Down
Binary file modified ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,10 @@ msgstr "A simple request to the data API using Python."
msgid "Further information in the <a href=\"http://docs.ckan.org/en/latest/maintaining/datastore.html\" target=\"_blank\">main CKAN Data API and DataStore documentation</a>."
msgstr "Further information in the <a href=\"http://docs.ckan.org/en/latest/maintaining/datastore.html\" target=\"_blank\">main CKAN Data API and DataStore documentation</a>."

#: ckanext/schemingdcat/templates/ajax_snippets
msgid "Example"
msgstr "Example"

#: ckanext/schemingdcat/templates/schemingdcat/endpoints/index.html
msgid "What are Endpoints?"
msgstr "What are Endpoints?"
Expand Down
Binary file modified ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,10 @@ msgstr "Una simple petición a la API de datos utilizando Python."
msgid "Further information in the <a href=\"http://docs.ckan.org/en/latest/maintaining/datastore.html\" target=\"_blank\">main CKAN Data API and DataStore documentation</a>."
msgstr "Más información en la <a href=\"http://docs.ckan.org/en/latest/maintaining/datastore.html\" target=\"_blank\">documentación principal de la API de datos de CKAN y DataStore</a>."

#: ckanext/schemingdcat/templates/ajax_snippets
msgid "Example"
msgstr "Ejemplo"

#: ckanext/schemingdcat/templates/schemingdcat/endpoints/index.html
msgid "What are Endpoints?"
msgstr "¿Qué son los Endpoints?"
Expand Down
2 changes: 1 addition & 1 deletion ckanext/schemingdcat/templates/api_examples/curl.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-curl">{{ _('Example: curl') }} &raquo;</a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-curl">{{ _('Example') }}: curl &raquo;</a>
</div>

<div id="collapse-curl" class="panel-collapse collapse">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="accordion-item">
<div class="accordion-heading">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-curl" aria-expanded="false" aria-controls="collapse-curl"> {{ _('Example: curl') }} &raquo;</button>
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-curl" aria-expanded="false" aria-controls="collapse-curl"> {{ _('Example') }}: curl &raquo;</button>
</div>
<div id="collapse-curl" class="accordion-collapse collapse" aria-labelledby="collapse-curl" data-bs-parent="#accordion2">
<div class="accordion-body">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-javascript">{{ _('Example: Javascript') }} &raquo;</a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-javascript">{{ _('Example') }}: Javascript &raquo;</a>
</div>

<div id="collapse-javascript" class="panel-collapse collapse">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="accordion-item">
<div class="accordion-heading">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-javascript" aria-expanded="false" aria-controls="collapse-javascript"> {{ _('Example: Javascript') }} &raquo;</button>
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-javascript" aria-expanded="false" aria-controls="collapse-javascript">{{ _('Example') }}: Javascript &raquo;</button>
</div>
<div id="collapse-javascript" class="accordion-collapse collapse" aria-labelledby="collapse-javascript" data-bs-parent="#accordion2">
<div class="accordion-body">
Expand Down
2 changes: 1 addition & 1 deletion ckanext/schemingdcat/templates/api_examples/python.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-python">{{ _('Example: Python') }} &raquo;</a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-python">{{ _('Example') }}: Python &raquo;</a>
</div>

<div id="collapse-python" class="panel-collapse collapse">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="accordion-item">
<div class="accordion-heading">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-python" aria-expanded="false" aria-controls="collapse-python"> {{ _('Example: Python') }} &raquo;</button>
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-python" aria-expanded="false" aria-controls="collapse-python">{{ _('Example') }}: Python &raquo;</button>
</div>
<div id="collapse-python" class="accordion-collapse collapse" aria-labelledby="collapse-python" data-bs-parent="#accordion2">
<div class="accordion-body">
Expand Down
2 changes: 1 addition & 1 deletion ckanext/schemingdcat/templates/api_examples/r.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-r">{{ _('Example: R') }} &raquo;</a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="accordion2" href="#collapse-r">{{ _('Example') }}: R &raquo;</a>
</div>

<div id="collapse-r" class="panel-collapse collapse">
Expand Down
2 changes: 1 addition & 1 deletion ckanext/schemingdcat/templates/api_examples/r_v2.10.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="accordion-item">
<div class="accordion-heading">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-r" aria-expanded="false" aria-controls="collapse-r"> {{ _('Example: R') }} &raquo;</button>
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-r" aria-expanded="false" aria-controls="collapse-r"> {{ _('Example') }}: R &raquo;</button>
</div>
<div id="collapse-r" class="accordion-collapse collapse" aria-labelledby="collapse-r" data-bs-parent="#accordion2">
<div class="accordion-body">
Expand Down

0 comments on commit 1e504ca

Please sign in to comment.