]> granicus.if.org Git - apache/commitdiff
add style rules for the new <transnote> element
authorAstrid Malo <kess@apache.org>
Thu, 16 Jan 2003 02:37:07 +0000 (02:37 +0000)
committerAstrid Malo <kess@apache.org>
Thu, 16 Jan 2003 02:37:07 +0000 (02:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98288 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/css/manual-print.css
docs/manual/style/css/manual.css
docs/manual/style/lang/de.xml
docs/manual/style/xsl/common.xsl

index d36851fb3f3ccbdddf2b7d62a318d64861984b4e..e02d3849cf937d5b83b9c8dd7638a3d4f02ffbe5 100644 (file)
@@ -30,6 +30,12 @@ q, em, var {
     font-style: italic;
 }
 
+span.transnote {
+    background-color: inherit;
+    color: #888;
+    font-size: 90%;
+}
+
 /* fixup IE & Opera
  * otherwise they forget to inherit
  * the computed font-size value
index 3811c06b398c6b0f50609e662da17c7806f49499..13c591873e78c48cd96a731fc934c3c7ae0ce2e9 100644 (file)
@@ -30,6 +30,12 @@ q, em, var {
     font-style: italic;
 }
 
+span.transnote {
+    background-color: inherit;
+    color: #888;
+    font-size:90%;
+}
+
 /* fixup IE & Opera
  * otherwise they forget to inherit
  * the computed font-size value
index 4ec6300042dfe54ea0484ecc4725628260f28859..fd5a0660a304bab5c30e6cac2bb900a729ab337e 100644 (file)
@@ -59,6 +59,9 @@
  <!-- Used in summaries -->
  <message name="summary">Zusammenfassung</message>
 
+ <!-- Used for translation notes -->
+ <message name="transnote">Anm.d.&#220;.:</message>
+
  <!-- Used in headers and footers -->
  <message name="apachetitle">- Apache HTTP Server</message>
  <message name="apachehttpserver">Apache HTTP Server Version 2.1</message>
index 0683fd0960773ffb39b727c3331816d3ba4b0824..0fed1753da1212bc4155a47a378b98a3dc4cf752 100644 (file)
   <!-- /toplink -->
 
 
+  <!--                                                    -->
+  <!-- <transnote>                                        -->
+  <!--                                                    -->
+  <xsl:template match="transnote">
+    <span class="transnote">
+      <xsl:text>(</xsl:text><em>
+      <xsl:value-of select="$messages/message[@name='transnote']"/>
+      </em><xsl:text> </xsl:text>
+      <xsl:apply-templates/>
+      <xsl:text>)</xsl:text>
+    </span>
+  </xsl:template>
+  <!-- /note/title -->
+
+
   <!--                                                    -->
   <!-- Process everything else by just passing it through -->
   <!--                                                    -->