summaryrefslogtreecommitdiffstats
path: root/docs/manual/style/xsl/synopsis.xsl
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2008-03-12 21:26:01 +0100
committerAndré Malo <nd@apache.org>2008-03-12 21:26:01 +0100
commite0fd9d9b91cb9391df9cba181b5c49e66ab588e6 (patch)
tree8330887dd6ace10f2700220fa7c426ab61fbd5a1 /docs/manual/style/xsl/synopsis.xsl
parentFix a typo in an example. (diff)
downloadapache2-e0fd9d9b91cb9391df9cba181b5c49e66ab588e6.tar.xz
apache2-e0fd9d9b91cb9391df9cba181b5c49e66ab588e6.zip
* let status texts and letters completely depend on the language
* let directive contexts and letters completely depend on the language * allow embedding the "licensed" footer text * generate quickreference legend automatically * fix some japanese documents where statusses where translated by accident Initially submitted by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@636495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/style/xsl/synopsis.xsl')
-rw-r--r--docs/manual/style/xsl/synopsis.xsl11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/manual/style/xsl/synopsis.xsl b/docs/manual/style/xsl/synopsis.xsl
index dbda9d0710..ffa18e0e02 100644
--- a/docs/manual/style/xsl/synopsis.xsl
+++ b/docs/manual/style/xsl/synopsis.xsl
@@ -89,14 +89,17 @@
</a>
</th>
<td>
+ <xsl:variable name="status" select="translate(
+ status, $uppercase, $lowercase)"/>
<xsl:choose>
<xsl:when test="status = 'External' and status/@href">
<a href="{status/@href}">
- <xsl:value-of select="status" />
+ <xsl:value-of select="$message[@id=$status]"/>
</a>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="status" />
+ <xsl:value-of
+ select="$message[@id=$status]"/>
</xsl:otherwise>
</xsl:choose>
</td>
@@ -384,7 +387,9 @@
</a>
</th>
<td>
- <xsl:value-of select="../status" />
+ <xsl:variable name="status" select="translate(
+ ../status, $uppercase, $lowercase)"/>
+ <xsl:value-of select="$message[@id=$status]"/>
</td>
</tr>&lf;