Skip to content

Commit

Permalink
Fix i18n strings and index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed May 22, 2024
1 parent 02617b0 commit 9382122
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ckanext/sparql_interface/i18n/ckanext-sparql_interface.pot
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ 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:"
msgid "Añade la URL del servicio SPARQL. Por ejemplo:"
msgstr ""

#: ckanext/sparql_interface/templates/sparql_interface/index.html:52
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ msgstr ""
"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"
"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
Expand All @@ -38,7 +38,7 @@ 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:"
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var editor = CodeMirror.fromTextArea(document.getElementById("sparql_code"), {

var hlLine = editor.setLineClass(0, "activeline");

var prefixes = "PREFIX void: <http://rdfs.org/ns/void#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX vann: <http://purl.org/vocab/vann/> PREFIX teach: <http://linkedscience.org/teach/ns#> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dcat: <http://www.w3.org/ns/dcat#> PREFIX crsw: <http://courseware.rkbexplorer.com/ontologies/courseware#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX aiiso: <http://purl.org/vocab/aiiso/schema#> PREFIX univcat: <http://data.upf.edu/upf/ontologies/universidadcatalana#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX vivo: <http://vivoweb.org/ontology/core#> PREFIX sbench: <http://swat.cse.lehigh.edu/onto/univ-bench.owl#> PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> PREFIX sdmx-concept: <http://purl.org/linked-data/sdmx/2009/concept#> PREFIX sdmx-code: <http://purl.org/linked-data/sdmx/2009/code#> PREFIX disco: <http://rdf-vocabulary.ddialliance.org/discovery#> PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX sdmx: <http://purl.org/linked-data/sdmx#> PREFIX plinian:<https://datos.iepnb.es/def/sector-publico/medio-ambiente/pliniancore#> PREFIX darwin: <http://rs.tdwg.org/dwc/terms/>"
var prefixes = "PREFIX void: <http://rdfs.org/ns/void#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX vann: <http://purl.org/vocab/vann/> PREFIX teach: <http://linkedscience.org/teach/ns#> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dcat: <http://www.w3.org/ns/dcat#> PREFIX crsw: <http://courseware.rkbexplorer.com/ontologies/courseware#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX aiiso: <http://purl.org/vocab/aiiso/schema#> PREFIX univcat: <http://data.upf.edu/upf/ontologies/universidadcatalana#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX vivo: <http://vivoweb.org/ontology/core#> PREFIX sbench: <http://swat.cse.lehigh.edu/onto/univ-bench.owl#> PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> PREFIX sdmx-concept: <http://purl.org/linked-data/sdmx/2009/concept#> PREFIX sdmx-code: <http://purl.org/linked-data/sdmx/2009/code#> PREFIX disco: <http://rdf-vocabulary.ddialliance.org/discovery#> PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX sdmx: <http://purl.org/linked-data/sdmx#>"

function call_sparql_point_server() {

Expand Down
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 @@ -42,11 +42,11 @@ <h1>{% trans %}Editor SPARQL{% endtrans %}</h1>
<label class="control-label" for="field-sparql-server">{{ _('Dirección base del punto SPARQL') }}</label>
<div class="controls">
<input id="field-sparql-server" type="text" name="sparql-server" value="{{h.sparql_endpoint_url()}}"
placeholder="{{ _('Añade la URL del servicio SPARQL. Por ejempo:') }} {{h.sparql_endpoint_url()}}">
placeholder="{{ _('Añade la URL del servicio SPARQL. Por ejemplo:') }} {{h.sparql_endpoint_url()}}">
</div>
</div>

<br><br>
<br><br>

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

Expand Down

0 comments on commit 9382122

Please sign in to comment.