mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
9f319426fd
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7505 b45a01b8-16f6-495d-af2f-9b41ad6348cc
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> |