diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/style/css/manual.css | 7 | ||||
-rw-r--r-- | docs/manual/style/lang/de.xml | 4 | ||||
-rw-r--r-- | docs/manual/style/lang/en.xml | 4 | ||||
-rw-r--r-- | docs/manual/style/lang/ja.xml | 4 | ||||
-rw-r--r-- | docs/manual/style/lang/ko.xml | 4 | ||||
-rw-r--r-- | docs/manual/style/lang/ru.xml | 4 | ||||
-rw-r--r-- | docs/manual/style/xsl/common.xsl | 22 |
7 files changed, 47 insertions, 2 deletions
diff --git a/docs/manual/style/css/manual.css b/docs/manual/style/css/manual.css index 6dcd04fdd1..9411c0f8e2 100644 --- a/docs/manual/style/css/manual.css +++ b/docs/manual/style/css/manual.css @@ -915,6 +915,13 @@ table div.warning { margin-right: 1em; } +div.outofdate { + background-color: #ffffe0; + color: #036; + padding: 0.5em; + margin: 1em 2em 1em 1em; +} + /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * quotations, indented paragraphs, forms and figures * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ diff --git a/docs/manual/style/lang/de.xml b/docs/manual/style/lang/de.xml index f5b1ba208a..d1b0fb5dfd 100644 --- a/docs/manual/style/lang/de.xml +++ b/docs/manual/style/lang/de.xml @@ -102,4 +102,8 @@ <!-- footer line --> <message name="licensed">Lizenziert unter der</message> <message name="langavail">Verfügbare Sprachen</message> + + <!-- not up to date --> + <message name="outofdate">This translation may be out of date. Check the + English version for recent changes.</message> </messages> diff --git a/docs/manual/style/lang/en.xml b/docs/manual/style/lang/en.xml index 65cef285b6..e6fd85d609 100644 --- a/docs/manual/style/lang/en.xml +++ b/docs/manual/style/lang/en.xml @@ -98,4 +98,8 @@ <!-- footer line --> <message name="licensed">Licensed under the</message> <message name="langavail">Available Languages</message> + + <!-- not up to date --> + <message name="outofdate">This translation may be out of date. Check the + English version for recent changes.</message> </messages> diff --git a/docs/manual/style/lang/ja.xml b/docs/manual/style/lang/ja.xml index 029b70dcfb..14006816b8 100644 --- a/docs/manual/style/lang/ja.xml +++ b/docs/manual/style/lang/ja.xml @@ -93,4 +93,8 @@ <!-- footer line --> <message name="licensed">Licensed under the</message> <message name="langavail">Available Languages</message> + + <!-- not up to date --> + <message name="outofdate">This translation may be out of date. Check the + English version for recent changes.</message> </messages> diff --git a/docs/manual/style/lang/ko.xml b/docs/manual/style/lang/ko.xml index 4281c7f9a6..e13e47647f 100644 --- a/docs/manual/style/lang/ko.xml +++ b/docs/manual/style/lang/ko.xml @@ -102,4 +102,8 @@ <!-- footer line --> <message name="licensed">Licensed under the</message> <message name="langavail">°¡´ÉÇÑ ¾ð¾î</message> + + <!-- not up to date --> + <message name="outofdate">This translation may be out of date. Check the + English version for recent changes.</message> </messages> diff --git a/docs/manual/style/lang/ru.xml b/docs/manual/style/lang/ru.xml index a328515406..8ee49df567 100644 --- a/docs/manual/style/lang/ru.xml +++ b/docs/manual/style/lang/ru.xml @@ -95,4 +95,8 @@ <!-- footer line --> <message name="licensed">Licensed under the</message> <message name="langavail">äÏÓÔÕÐÎÙÅ ÑÚÙËÉ</message> + + <!-- not up to date --> + <message name="outofdate">This translation may be out of date. Check the + English version for recent changes.</message> </messages> diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 7517dfd205..153d5f8580 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -47,7 +47,8 @@ </xsl:variable> <!-- relative path to /manual/ --> -<xsl:variable name="path" select="document(/*/@metafile)/metafile/relpath" /> +<xsl:variable name="metafile" select="document(/*/@metafile)/metafile" /> +<xsl:variable name="path" select="$metafile/relpath" /> <!-- load outsourced page types --> <xsl:include href="moduleindex.xsl" /> @@ -248,6 +249,19 @@ <!-- ==================================================================== --> +<!-- out of date --> +<!-- ==================================================================== --> +<xsl:template name="outofdate"> +<xsl:if test="$metafile/variants/variant[.=$messages/@lang]/@outdated = 'yes'"> + &lf; + <div class="outofdate"> + <xsl:value-of select="$messages/message[@name='outofdate']"/> + </div> +</xsl:if> +</xsl:template> + + +<!-- ==================================================================== --> <!-- page bottom --> <!-- ==================================================================== --> <xsl:template name="bottom"> @@ -283,7 +297,6 @@ <!-- ==================================================================== --> <xsl:template name="langavail"> <xsl:param name="position" select="'top'" /> -<xsl:variable name="metafile" select="document(/*/@metafile)/metafile" /> <xsl:if test="not($is-chm or $is-zip)"> <div class="{$position}lang">&lf; @@ -332,6 +345,11 @@ </p>&lf; </div> <!-- /.{$position}lang --> </xsl:if> + +<xsl:if test="$position = 'top'"> + <xsl:call-template name="outofdate" /> +</xsl:if> + </xsl:template> <!-- /langavail --> |