Skip to content

Commit

Permalink
Merge pull request #670 from vChavezB/swrl-toc
Browse files Browse the repository at this point in the history
Fixed SWRL Toc
  • Loading branch information
dgarijo authored Jan 5, 2024
2 parents eeca662 + dc05a50 commit 35b0c75
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/lode/cs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<developedby>vyvinuto</developedby>
<or>nebo</or>
<classtoc>Obsah tříd</classtoc>
<swrltoc>Obsah SWRL</swrltoc>
<objectpropertytoc>Obsah objektových vlastností</objectpropertytoc>
<datapropertytoc>Obsah datových vlastností</datapropertytoc>
<annotationpropertytoc>Obsah anotačních vlastností</annotationpropertytoc>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/lode/de.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<developedby>erzeugt, entwickelt durch</developedby>
<or>oder</or>
<classtoc>Klassenübersicht</classtoc>
<swrltoc>Übersicht der SWRL</swrltoc>
<objectpropertytoc>Übersicht der Objekteigenschaften</objectpropertytoc>
<datapropertytoc>Übersicht der Dateneigenschaften</datapropertytoc>
<annotationpropertytoc>Übersicht der Anmerkungseigenschaften</annotationpropertytoc>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/lode/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<developedby>developed by</developedby>
<or>or</or>
<classtoc>Class ToC</classtoc>
<swrltoc>SWRL ToC</swrltoc>
<objectpropertytoc>Object Property ToC</objectpropertytoc>
<datapropertytoc>Data Property ToC</datapropertytoc>
<annotationpropertytoc>Annotation Property ToC</annotationpropertytoc>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/lode/es.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<developedby>desarrollado por</developedby>
<or>o</or>
<classtoc>Índice de clases</classtoc>
<swrltoc>Índice de SWRL</swrltoc>
<objectpropertytoc>Índice de propiedades de objetos</objectpropertytoc>
<datapropertytoc>Índice de propiedades de datos</datapropertytoc>
<annotationpropertytoc>Índice de propiedades de anotación</annotationpropertytoc>
Expand Down
6 changes: 5 additions & 1 deletion src/main/resources/lode/swrl-module.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ Copyright (C) 2023, Victor Chavez <vchavezb@protonmail.com>
<xsl:value-of select="concat('Rule #', count(preceding-sibling::swrl:Imp | preceding-sibling::rdf:Description[rdf:type[@rdf:resource = 'http://www.w3.org/2003/11/swrl#Imp']]) + 1)"/>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="get.backlink.to.top" />
<xsl:call-template name="get.backlink.to.top">
<xsl:with-param name="toc" select="'swrlrules'" tunnel="yes" as="xs:string"/>
<xsl:with-param name="toc.string" select="f:getDescriptionLabel('swrltoc')" tunnel="yes"
as="xs:string"/>
</xsl:call-template>
</h3>
<p>
<!-- Add rdfs:comment -->
Expand Down

0 comments on commit 35b0c75

Please sign in to comment.