Skip to content

Commit

Permalink
Change severity to get a red color
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jung committed Nov 5, 2024
1 parent 715973f commit be84c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xsl/oxygen-termchecker/oxygen-termchecker.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<xsl:param name="language" as="xs:string"/>
<xsl:if test="@language = $language">
<!-- SJ: I had to remove the part-of-speech="noun" attribute, otherwise the termchecker does not work anymore. -->
<incorrect-term ignorecase="true" severity="warning">
<incorrect-term ignorecase="true" severity="error">
<match type="whole-word"><xsl:value-of select="./termVariant/text()"/></match>
<xsl:for-each select="$root//*[contains(@class, ' termentry/termNotation ')][contains(@language, $language)][contains(@usage, 'preferred') or contains(@usage, 'admitted')]">
<suggestion format="text"><xsl:value-of select="normalize-space(./termVariant/text())"/></suggestion>
Expand Down

0 comments on commit be84c11

Please sign in to comment.