]> granicus.if.org Git - apache/commitdiff
allow the space in "xy directive" (directivesynopsis heading)
authorAndre Malo <nd@apache.org>
Wed, 1 Jan 2003 02:35:18 +0000 (02:35 +0000)
committerAndre Malo <nd@apache.org>
Wed, 1 Jan 2003 02:35:18 +0000 (02:35 +0000)
to be replaced by other stuff.
Requested by Kess for German translation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98140 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/lang/de.xml
docs/manual/style/lang/en.xml
docs/manual/style/xsl/synopsis.xsl

index ffce28d6221532a5007c79d3c7a2b6aee9aeb385..4ec6300042dfe54ea0484ecc4725628260f28859 100644 (file)
 
  <!-- Used for directive lists -->
  <message name="directives">Direktiven</message>
- <message name="directive">Direktive</message>
+ <!-- the optional attribute replace-space-with takes a string.
+      if present, the space between <directive name> and 'Directive'
+      in directivesynopsis headings will be replaced by the given string.
+      (see de.xml for an example) -->
+ <message name="directive" replace-space-with="-">Direktive</message>
  <message name="nodirectives">Dieses Modul enth&#228;lt keine Direktiven.</message>
 
  <!-- Used in summaries -->
index 00eacfe6e48800f987a354d684236e9bfe0c9780..57677dcf08d41b0294afe349091d7c12fe2d7e3c 100644 (file)
 
  <!-- Used for directive lists -->
  <message name="directives">Directives</message>
+ <!-- the optional attribute replace-space-with takes a string.
+      if present, the space between <directive name> and 'Directive'
+      in directivesynopsis headings will be replaced by the given string.
+      (see de.xml for an example) -->
  <message name="directive">Directive</message>
  <message name="nodirectives">This module provides no directives.</message>
 
index 0804fef45d1de0be02dc3f59e1daea6435e0a285..e77ec5eb11e51e3f91b213213957beeadde14d17 100644 (file)
             <xsl:value-of select="name"/>
             <xsl:if test="@type='section'">&gt;</xsl:if>
           </a>
-          <xsl:text> </xsl:text>
+          <xsl:choose>
+            <xsl:when test="$messages/message[@name='directive']/@replace-space-with">
+              <xsl:value-of select="$messages/message[@name='directive']/@replace-space-with"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text> </xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
           <a id="{$lowername}" name="{$lowername}">
             <xsl:value-of select="$messages/message[@name='directive']"/>
           </a>