Skip to content

Commit

Permalink
only check untyped descs or gloss for out of date translations
Browse files Browse the repository at this point in the history
  • Loading branch information
raffazizzi committed Sep 12, 2023
1 parent 2322b81 commit 86e1275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/functions.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1237,8 +1237,8 @@ of this software, even if advised of the possibility of such damage.
<xsl:param name="context"/>
<xsl:for-each select="$context">
<xsl:variable name="lang" select="tei:generateDocumentationLang(.)[1]"/>
<xsl:sequence select="tei:desc[@xml:lang='en']/@versionDate gt tei:desc[@xml:lang=$lang]/@versionDate
or tei:gloss[@xml:lang='en']/@versionDate gt tei:gloss[@xml:lang=$lang]/@versionDate"></xsl:sequence>
<xsl:sequence select="tei:desc[@xml:lang='en'][not(@type)]/@versionDate gt tei:desc[@xml:lang=$lang][not(@type)]/@versionDate
or tei:gloss[@xml:lang='en'][not(@type)]/@versionDate gt tei:gloss[@xml:lang=$lang][not(@type)]/@versionDate"></xsl:sequence>
</xsl:for-each>
</xsl:function>

Expand Down

0 comments on commit 86e1275

Please sign in to comment.