mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-11 17:04:31 -05:00
20 lines
614 B
XML
20 lines
614 B
XML
|
<xsl:stylesheet version="1.0"
|
||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||
|
|
||
|
<xsl:output method="text"/>
|
||
|
|
||
|
<xsl:strip-space elements="*"/>
|
||
|
|
||
|
<xsl:template match="context">
|
||
|
<xsl:text>!insertmacro LANG_STRING </xsl:text>
|
||
|
<xsl:value-of select="./name"/>
|
||
|
<xsl:text> "</xsl:text>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="./message/translation!=''"><xsl:value-of select="./message/translation"/></xsl:when>
|
||
|
<xsl:otherwise><xsl:value-of select="./message/source"/></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:text>"
|
||
|
</xsl:text>
|
||
|
</xsl:template>
|
||
|
|
||
|
</xsl:stylesheet>
|