Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SPARQL Interface template #10

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
176 changes: 88 additions & 88 deletions ckanext/sparql_interface/i18n/ckanext-sparql_interface.pot
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
# Translations template for ckanext-sparql_interface.
# Copyright (C) 2023 ORGANIZATION
# This file is distributed under the same license as the
# ckanext-sparql_interface project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ckanext-sparql_interface 2.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-06-20 15:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:8
#: ckanext/sparql_interface/templates/sparql_interface/index.html:34
msgid "Interface SPARQL"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:27
msgid "Punto SPARQL"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:39
msgid "Editor SPARQL"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:45
msgid "Dirección base del punto SPARQL"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:47
#: ckanext/sparql_interface/templates/sparql_interface/index.html:49
msgid "Añade la URL del servicio SPARQL. Por ejempo:"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:52
msgid "Creado usando Code Mirror para la interface"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Consulta SPARQL"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Ejemplos"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:58
msgid "Añada aquí los prefijos para otros vocabularios que pudieran necesitarse"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:68
msgid "Enviar consulta"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:71
msgid "Enlaces permanentes"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
msgid "Formato JSON"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Puede copiar este enlace permanente"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
msgid "Formato TURTLE"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Formato CSV"
msgstr ""
#: ckanext/sparql_interface/templates/sparql_interface/index.html:88
msgid "Enlace permanente a esta Query (para guardar la Query)"
msgstr ""
# Translations template for ckanext-sparql_interface.
# Copyright (C) 2023 ORGANIZATION
# This file is distributed under the same license as the
# ckanext-sparql_interface project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ckanext-sparql_interface 2.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-06-20 15:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:8
#: ckanext/sparql_interface/templates/sparql_interface/index.html:34
msgid "Interface SPARQL"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:27
msgid "Punto SPARQL"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:39
msgid "Editor SPARQL"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:45
msgid "Dirección base del punto SPARQL"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:47
#: ckanext/sparql_interface/templates/sparql_interface/index.html:49
msgid "Añade la URL del servicio SPARQL. Por ejemplo:"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:52
msgid "Creado usando Code Mirror para la interface"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Consulta SPARQL"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Ejemplos"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:58
msgid "Añada aquí los prefijos para otros vocabularios que pudieran necesitarse"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:68
msgid "Enviar consulta"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:71
msgid "Enlaces permanentes"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
msgid "Formato JSON"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Puede copiar este enlace permanente"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
msgid "Formato TURTLE"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Formato CSV"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:88
msgid "Enlace permanente a esta Query (para guardar la Query)"
msgstr ""

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
# English translations for PROJECT.
# Copyright (C) 2023 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-06-20 15:54+0200\n"
"PO-Revision-Date: 2023-07-03 10:42+0200\n"
"Last-Translator: \n"
"Language-Team: en <[email protected]>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.7.0\n"
"X-Generator: Poedit 3.3.2\n"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:8
#: ckanext/sparql_interface/templates/sparql_interface/index.html:34
msgid "Interface SPARQL"
msgstr "Interface SPARQL"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:27
msgid "Punto SPARQL"
msgstr "SPARQL Endpoint"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:39
msgid "Editor SPARQL"
msgstr "SPARQL Editor"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:45
msgid "Dirección base del punto SPARQL"
msgstr "SPARQL Endpoint"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:47
#: ckanext/sparql_interface/templates/sparql_interface/index.html:49
msgid "Añade la URL del servicio SPARQL. Por ejempo:"
msgstr "Add the SPARQL service URL. For Instance:"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:52
msgid "Creado usando Code Mirror para la interface"
msgstr "Created using Code Mirror for the interface"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Consulta SPARQL"
msgstr "SPARQL Query"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Ejemplos"
msgstr "Samples"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:58
msgid "Añada aquí los prefijos para otros vocabularios que pudieran necesitarse"
msgstr "Add here other prefixes for vocabularies that are needed"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:68
msgid "Enviar consulta"
msgstr "Submit Query"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:71
msgid "Enlaces permanentes"
msgstr "Permanent links"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
msgid "Formato JSON"
msgstr "JSON Format"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Puede copiar este enlace permanente"
msgstr "You can copy the permanent link below"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
msgid "Formato TURTLE"
msgstr "TURTLE Format"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Formato CSV"
msgstr "CSV Format"
#: ckanext/sparql_interface/templates/sparql_interface/index.html:88
msgid "Enlace permanente a esta Query (para guardar la Query)"
msgstr "Permanent Link for this Query (To save your Query)"
# English translations for PROJECT.
# Copyright (C) 2023 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-06-20 15:54+0200\n"
"PO-Revision-Date: 2024-05-22 14:29+0200\n"
"Last-Translator: \n"
"Language-Team: en <[email protected]>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.7.0\n"
"X-Generator: Poedit 3.4.2\n"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:8
#: ckanext/sparql_interface/templates/sparql_interface/index.html:34
msgid "Interface SPARQL"
msgstr "Interface SPARQL"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:27
msgid "Punto SPARQL"
msgstr "SPARQL Endpoint"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:39
msgid "Editor SPARQL"
msgstr "SPARQL Editor"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:45
msgid "Dirección base del punto SPARQL"
msgstr "SPARQL Endpoint"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:47
#: ckanext/sparql_interface/templates/sparql_interface/index.html:49
msgid "Añade la URL del servicio SPARQL. Por ejemplo:"
msgstr "Add the SPARQL service URL. For Instance:"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:52
msgid "Creado usando Code Mirror para la interface"
msgstr "Created using Code Mirror for the interface"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Consulta SPARQL"
msgstr "SPARQL Query"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:53
msgid "Ejemplos"
msgstr "Samples"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:58
msgid "Añada aquí los prefijos para otros vocabularios que pudieran necesitarse"
msgstr "Add here other prefixes for vocabularies that are needed"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:68
msgid "Enviar consulta"
msgstr "Submit Query"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:71
msgid "Enlaces permanentes"
msgstr "Permanent links"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
msgid "Formato JSON"
msgstr "JSON Format"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:73
#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Puede copiar este enlace permanente"
msgstr "You can copy the permanent link below"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:78
msgid "Formato TURTLE"
msgstr "TURTLE Format"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:83
msgid "Formato CSV"
msgstr "CSV Format"

#: ckanext/sparql_interface/templates/sparql_interface/index.html:88
msgid "Enlace permanente a esta Query (para guardar la Query)"
msgstr "Permanent Link for this Query (To save your Query)"
11 changes: 6 additions & 5 deletions ckanext/sparql_interface/templates/sparql_interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

{% block breadcrumb_content %}

<li class="active">{{ _('Punto SPARQL') }}</li>
<li class="active"><a href="{{ h.url_for('sparql_interface.index') }}" title="{{ _('Catalog endpoints') }}">{{ _('Punto SPARQL') }}</a></li>

{% endblock %}

Expand All @@ -44,15 +44,16 @@ <h1>{% trans %}Editor SPARQL{% endtrans %}</h1>
<input id="field-sparql-server" type="text" name="sparql-server" value="{{h.sparql_endpoint_url()}}"
placeholder="{{ _('Añade la URL del servicio SPARQL. Por ejemplo:') }} {{h.sparql_endpoint_url()}}">
</div>
<i class="icon-exclamation-sign"></i>&nbsp;<small>{{ _('Añade la URL del servicio SPARQL. Por ejemplo:') }} <abbr title="Sparql Point"><a target="_blank" href="http://semantic.ckan.net/sparql">http://semantic.ckan.net/sparql</a></abbr></small>
</div>

<i class="icon-comment"></i><small><abbr title="Code Mirror"><a target="_blank" href="http://codemirror.net/">&nbsp;{{ _('Creado usando Code Mirror para la interface') }}</a></abbr></small>
<br><br>
<i class="icon-comment"></i><small><abbr title="Code Mirror"><a target="_blank" href="http://codemirror.net/">&nbsp;{{ _('Creado usando Code Mirror para la interface') }}</a></abbr></small>
<br><br>

<div id="test_sparql" class="sparql_hideme"></div>

<label class="control-label" for="field-sparql-server">{{ _('Consulta SPARQL') }}</label>
<label class="control-label" for="field-sparql-server">{{ _('Consulta SPARQL') }}</label> <abbr
title="SPARQL Endpoint"><a target="_blank" href="https://es.dbpedia.org/wiki/Wiki.jsp?page=Ejemplos%20de%20consultas%20SPARQL">({{ _('Ejemplos')
}})</a></abbr></small>
<textarea id="sparql_code" name="sparql_code" resize="both">
#{% trans %}Añada aquí los prefijos para otros vocabularios que pudieran necesitarse{% endtrans %}
#PREFIX othervocab: <http://......
Expand Down
Loading