aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-10-18 19:21:46 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-10-18 19:21:46 +0000
commit4ce40b2819249e9e96db73874e277865024f5d05 (patch)
tree229805e02b0e826ed04930884ed9571b840b5e9d
parent1d796ffd27a31f8aa3ff043936b1f5140d4403a2 (diff)
Another internationalization change in the stylesheets.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.0/BOOK@4299 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--stylesheets/xhtml/lfs-admon.xsl7
1 files changed, 6 insertions, 1 deletions
diff --git a/stylesheets/xhtml/lfs-admon.xsl b/stylesheets/xhtml/lfs-admon.xsl
index d558fe671..9b03394a9 100644
--- a/stylesheets/xhtml/lfs-admon.xsl
+++ b/stylesheets/xhtml/lfs-admon.xsl
@@ -21,9 +21,14 @@
<xsl:otherwise>Note</xsl:otherwise>
</xsl:choose>
</xsl:variable>
+ <xsl:variable name="alt">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="$admon.type"/>
+ </xsl:call-template>
+ </xsl:variable>
<div class="{name(.)}">
<div class ="admonhead">
- <img alt="[{$admon.type}]">
+ <img alt="[{$alt}]">
<xsl:attribute name="src">
<xsl:call-template name="admon.graphic"/>
</xsl:attribute>