Different texts, depending on whether translator is given or not.

svn path=/trunk/; revision=11841
This commit is contained in:
2009-01-05 17:52:31 +00:00
parent 82209654e5
commit 18addd308d
26 changed files with 163 additions and 105 deletions
+13 -5
View File
@@ -237,17 +237,25 @@
<!-- Insert the appropriate translation notice -->
<xsl:if test="/buildinfo/document/@language!=/buildinfo/@original">
<xsl:element name="br"/>
<xsl:value-of select="/buildinfo/textset/text[@id='translator1']"/>
<xsl:value-of select="/buildinfo/document/translator"/>
<xsl:value-of select="/buildinfo/textset/text[@id='translator2']"/>
<xsl:choose>
<xsl:when test="/buildinfo/document/translator">
<xsl:value-of select="/buildinfo/textset/text[@id='translator1a']"/>
<xsl:value-of select="/buildinfo/document/translator"/>
<xsl:value-of select="/buildinfo/textset/text[@id='translator1b']"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/buildinfo/textset/text[@id='translator2']"/>
</xsl:otherwise>
</xsl:choose>
<xsl:value-of select="/buildinfo/textset/text[@id='translator3a']"/>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="/buildinfo/@filename"/>
<xsl:text>.en.html</xsl:text>
</xsl:attribute>
<xsl:value-of select="/buildinfo/textset/text[@id='translator3']"/>
<xsl:value-of select="/buildinfo/textset/text[@id='translator3b']"/>
</xsl:element>
<xsl:value-of select="/buildinfo/textset/text[@id='translator4']"/>
<xsl:value-of select="/buildinfo/textset/text[@id='translator3c']"/>
</xsl:if>
<!-- Permission note -->