User: tobias
Date: 01/03/11 16:48:04
Modified: src/docs/docbook/common ChangeLog common.xsl en.xml et.xml
hu.xml id.xml it.xml ko.xml l10n.xml l10n.xsl
sl.xml
Log:
updated to newest version (dbx130.zip) for better PDF support
Revision Changes Path
1.2 +36 -0 manual/src/docs/docbook/common/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 2001/02/11 00:04:55 1.1
+++ ChangeLog 2001/03/12 00:48:02 1.2
@@ -1,3 +1,39 @@
+2001-02-19 Norman Walsh <[EMAIL PROTECTED]>
+
+ * common.xsl: Handle title-content reqest for partintro by grabbing title of
parent
+
+2001-02-17 Norman Walsh <[EMAIL PROTECTED]>
+
+ * common.xsl: Commented out the DTD question
+
+2001-01-30 Norman Walsh <[EMAIL PROTECTED]>
+
+ * en.xml: Added index symbols entry
+
+2001-01-28 Norman Walsh <[EMAIL PROTECTED]>
+
+ * common.xsl: Support suppressing anchors in referenced titles; support
imageobjectco
+
+ * hu.xml: Tweak chapter title xref template
+
+2001-01-07 Norman Walsh <[EMAIL PROTECTED]>
+
+ * common.xsl: Added 'Chapter' and 'Appendix' to the gentext for chapter and
appendix titles
+
+ * et.xml, hu.xml, id.xml, ko.xml, sl.xml: Added dingbats
+
+ * l10n.xml, zh_tw.xml: Added traditional Chinese
+
+ * l10n.xsl: Generalized 'gentext.element.name' to 'gentext' with key parameter
+
+2000-12-14 Norman Walsh <[EMAIL PROTECTED]>
+
+ * it.xml: Updated
+
+2000-11-29 Norman Walsh <[EMAIL PROTECTED]>
+
+ * l10n.xsl: Changed variables to parameters
+
2000-11-05 Norman Walsh <[EMAIL PROTECTED]>
* nl.xml: Updates
1.2 +160 -40 manual/src/docs/docbook/common/common.xsl
Index: common.xsl
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/common.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- common.xsl 2001/02/11 00:04:56 1.1
+++ common.xsl 2001/03/12 00:48:02 1.2
@@ -5,7 +5,7 @@
version='1.0'>
<!-- ********************************************************************
- $Id: common.xsl,v 1.1 2001/02/11 00:04:56 tobias Exp $
+ $Id: common.xsl,v 1.2 2001/03/12 00:48:02 tobias Exp $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -19,7 +19,7 @@
<doc:reference xmlns="">
<referenceinfo>
<releaseinfo role="meta">
-$Id: common.xsl,v 1.1 2001/02/11 00:04:56 tobias Exp $
+$Id: common.xsl,v 1.2 2001/03/12 00:48:02 tobias Exp $
</releaseinfo>
<author><surname>Walsh</surname>
<firstname>Norman</firstname></author>
@@ -855,12 +855,19 @@
<xsl:template match="*" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:choose>
<xsl:when test="title">
<xsl:apply-templates select="title[1]" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:when>
+ <xsl:when test="local-name(.) = 'partintro'">
+ <!-- partintro's don't have titles, use the parent (part or reference)
+ title instead. -->
+ <xsl:apply-templates select="parent::*" mode="title.content"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:message>
<xsl:text>Request for title of unexpected element: </xsl:text>
@@ -871,54 +878,77 @@
</xsl:choose>
</xsl:template>
+<xsl:template match="*" mode="no.anchor.mode">
+ <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="anchor" mode="no.anchor.mode">
+ <!-- nop, suppressed -->
+</xsl:template>
+
<xsl:template match="title" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:choose>
<xsl:when test="$text-only != 0">
<xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates/>
+ <xsl:choose>
+ <xsl:when test="$allow-anchors != 0">
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="no.anchor.mode"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="set" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(setinfo/title|title)[1]"
mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="book" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(bookinfo/title|title)[1]"
mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="part" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(partinfo/title|docinfo/title|title)[1]"
mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="preface|chapter|appendix" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:variable name="title" select="(docinfo/title
|prefaceinfo/title
|chapterinfo/title
|appendixinfo/title
|title)[1]"/>
-
<xsl:choose>
<xsl:when test="$title">
<xsl:apply-templates select="$title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
@@ -931,10 +961,12 @@
<xsl:template match="dedication|colophon" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:choose>
<xsl:when test="title">
<xsl:apply-templates select="title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
@@ -947,25 +979,30 @@
<xsl:template match="article" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:variable name="title" select="(artheader/title
|articleinfo/title
|title)[1]"/>
<xsl:apply-templates select="$title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="reference" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(referenceinfo/title|docinfo/title|title)[1]"
mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="refentry" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:variable name="refmeta" select=".//refmeta"/>
<xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
<xsl:variable name="refnamediv" select=".//refnamediv"/>
@@ -1001,6 +1038,7 @@
|simplesect"
mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:variable name="title" select="(sectioninfo/title
|sect1info/title
|sect2info/title
@@ -1014,15 +1052,18 @@
<xsl:apply-templates select="$title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="bibliography|glossary|index" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:choose>
<xsl:when test="title">
<xsl:apply-templates select="title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
@@ -1035,17 +1076,21 @@
<xsl:template match="figure|table|example|equation" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="abstract" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:choose>
<xsl:when test="title">
<xsl:apply-templates select="title" mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
@@ -1083,6 +1128,7 @@
<xsl:template match="subtitle" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:choose>
<xsl:when test="$text-only != 0">
<xsl:value-of select="."/>
@@ -1095,32 +1141,39 @@
<xsl:template match="set" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(setinfo/subtitle|subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="book" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(bookinfo/subtitle|subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="part" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(partinfo/subtitle
|docinfo/subtitle
|subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="preface|chapter|appendix" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(docinfo/subtitle
|prefaceinfo/subtitle
|chapterinfo/subtitle
@@ -1128,33 +1181,40 @@
|subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="dedication|colophon" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="subtitle"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="reference" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(referenceinfo/subtitle
|docinfo/subtitle
|subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="refentry" mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(refentryinfo/subtitle
|docinfo/subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
@@ -1164,6 +1224,7 @@
|simplesect"
mode="subtitle.content">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:apply-templates select="(sectioninfo/subtitle
|sect1info/subtitle
|sect2info/subtitle
@@ -1176,6 +1237,7 @@
|subtitle)[1]"
mode="subtitle.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:template>
@@ -1245,6 +1307,7 @@
<xsl:template match="*" mode="title.ref">
<xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
<xsl:param name="label-wrapper" select="''"/>
<xsl:param name="title-wrapper" select="''"/>
<!-- Dirty hack -->
@@ -1294,12 +1357,14 @@
</xsl:if>
<xsl:apply-templates select="." mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
@@ -1307,50 +1372,88 @@
<xsl:otherwise>
<xsl:apply-templates select="." mode="title.content">
<xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-<xsl:template match="figure|table|example|equation" mode="title.ref">
+<xsl:template match="figure|table|example|equation
+ |chapter|appendix" mode="title.ref">
<xsl:param name="text-only" select="'0'"/>
-
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">
- <xsl:value-of select="name(.)"/>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="." mode="label.content"/>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- </xsl:apply-templates>
-</xsl:template>
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="label-wrapper" select="''"/>
+ <xsl:param name="title-wrapper" select="''"/>
+ <!-- Dirty hack -->
+ <xsl:param name="label-wrapper-class" select="''"/>
+ <xsl:param name="title-wrapper-class" select="''"/>
-<!-- ====================================================================== -->
+ <xsl:variable name="label">
+ <xsl:call-template name="gentext.element.name">
+ <xsl:with-param name="element.name">
+ <xsl:value-of select="name(.)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:apply-templates select="." mode="label.content"/>
+ </xsl:variable>
-<xsl:template name="string.subst">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="target"></xsl:param>
- <xsl:param name="replacement"></xsl:param>
+ <xsl:if test="$label != ''">
+ <xsl:choose>
+ <xsl:when test="$text-only = 0">
+ <xsl:choose>
+ <xsl:when test="$label-wrapper != ''">
+ <xsl:element name="{$label-wrapper}">
+ <xsl:if test="$label-wrapper-class != ''">
+ <xsl:attribute name="class">
+ <xsl:value-of select="$label-wrapper-class"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:copy-of select="$label"/>
+ </xsl:element>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy-of select="$label"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text> </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$label"/>
+ <xsl:text> </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
<xsl:choose>
- <xsl:when test="contains($string, $target)">
- <xsl:variable name="rest">
- <xsl:call-template name="string.subst">
- <xsl:with-param name="string"
- select="substring-after($string, $target)"/>
- <xsl:with-param name="target" select="$target"/>
- <xsl:with-param name="replacement" select="$replacement"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="concat(substring-before($string, $target),
- $replacement,
- $rest)"/>
+ <xsl:when test="$text-only = 0">
+ <xsl:choose>
+ <xsl:when test="$title-wrapper != ''">
+ <xsl:element name="{$title-wrapper}">
+ <xsl:if test="$title-wrapper-class != ''">
+ <xsl:attribute name="class">
+ <xsl:value-of select="$title-wrapper-class"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:apply-templates select="." mode="title.content">
+ <xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:element>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="title.content">
+ <xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$string"/>
+ <xsl:apply-templates select="." mode="title.content">
+ <xsl:with-param name="text-only" select="$text-only"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -1539,7 +1642,8 @@
<xsl:template name="select.mediaobject">
<xsl:param name="olist"
- select="imageobject|videoobject|audioobject|textobject"/>
+ select="imageobject|imageobjectco
+ |videoobject|audioobject|textobject"/>
<xsl:param name="count">1</xsl:param>
<xsl:if test="$count <= count($olist)">
@@ -1561,9 +1665,19 @@
</xsl:when>
<!-- Otherwise, see if this one is a useable graphic -->
<xsl:otherwise>
- <xsl:call-template name="is.acceptable.mediaobject">
- <xsl:with-param name="object" select="$object"/>
- </xsl:call-template>
+ <xsl:choose>
+ <!-- peek inside imageobjectco to simplify the test -->
+ <xsl:when test="local-name($object) = 'imageobjectco'">
+ <xsl:call-template name="is.acceptable.mediaobject">
+ <xsl:with-param name="object" select="$object/imageobject"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="is.acceptable.mediaobject">
+ <xsl:with-param name="object" select="$object"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -1770,6 +1884,12 @@
<xsl:value-of select="$linkend"/>
<xsl:text>.</xsl:text>
</xsl:message>
+ <!--
+ <xsl:message>
+ <xsl:text>If the ID exists in your document, did your </xsl:text>
+ <xsl:text>XSLT Processor load the DTD?</xsl:text>
+ </xsl:message>
+ -->
</xsl:if>
<xsl:if test="count($targets)>1">
1.2 +2 -0 manual/src/docs/docbook/common/en.xml
Index: en.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/en.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- en.xml 2001/02/11 00:04:57 1.1
+++ en.xml 2001/03/12 00:48:02 1.2
@@ -84,6 +84,8 @@
<gentext key="the section called" text="the section called"/>
+<gentext key="index symbols" text="Symbols"/>
+
<dingbat key="startquote" text='“'/>
<dingbat key="endquote" text='”'/>
<dingbat key="nestedstartquote" text="`"/>
1.2 +6 -0 manual/src/docs/docbook/common/et.xml
Index: et.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/et.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- et.xml 2001/02/11 00:04:57 1.1
+++ et.xml 2001/03/12 00:48:02 1.2
@@ -88,6 +88,12 @@
<gentext key="nav-up" text="Üles"/>
<gentext key="nav-home" text="Koju"/>
+<dingbat key="startquote" text='“'/>
+<dingbat key="endquote" text='”'/>
+<dingbat key="nestedstartquote" text="`"/>
+<dingbat key="nestedendquote" text="'"/>
+<dingbat key="bullet" text="ߦ"/>
+
<xref element="bibliography" text="%t"/>
<xref element="chapter" text="%g %n, %t"/>
<xref element="dedication" text="%t"/>
1.2 +7 -1 manual/src/docs/docbook/common/hu.xml
Index: hu.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/hu.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hu.xml 2001/02/11 00:04:58 1.1
+++ hu.xml 2001/03/12 00:48:02 1.2
@@ -78,8 +78,14 @@
<gentext key="nav-up" text="Fel"/>
<gentext key="nav-home" text="Tartalom"/>
+<dingbat key="startquote" text='“'/>
+<dingbat key="endquote" text='”'/>
+<dingbat key="nestedstartquote" text="`"/>
+<dingbat key="nestedendquote" text="'"/>
+<dingbat key="bullet" text="ߦ"/>
+
<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
+<xref element="chapter" text="%n %g %t"/>
<xref element="dedication" text="%t"/>
<xref element="glossary" text="%t"/>
<xref element="index" text="%t"/>
1.2 +6 -0 manual/src/docs/docbook/common/id.xml
Index: id.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/id.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- id.xml 2001/02/11 00:04:58 1.1
+++ id.xml 2001/03/12 00:48:02 1.2
@@ -88,6 +88,12 @@
<gentext key="nav-up" text="Up"/>
<gentext key="nav-home" text="Home"/>
+<dingbat key="startquote" text='“'/>
+<dingbat key="endquote" text='”'/>
+<dingbat key="nestedstartquote" text="`"/>
+<dingbat key="nestedendquote" text="'"/>
+<dingbat key="bullet" text="ߦ"/>
+
<xref element="bibliography" text="%t"/>
<xref element="chapter" text="%g %n, %t"/>
<xref element="dedication" text="%t"/>
1.2 +5 -0 manual/src/docs/docbook/common/it.xml
Index: it.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/it.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- it.xml 2001/02/11 00:04:58 1.1
+++ it.xml 2001/03/12 00:48:02 1.2
@@ -1,4 +1,5 @@
<localization language="it">
+<!-- updates from [EMAIL PROTECTED] -->
<gentext key="abstract" text="Estratto"/>
<gentext key="appendix" text="Appendice"/>
@@ -9,6 +10,7 @@
<gentext key="caution" text="CAUTELA"/>
<gentext key="caution" text="Cautela"/>
<gentext key="chapter" text="Capitolo"/>
+<gentext key="colophon" text="Colophon"/>
<gentext key="copyright" text="Copyright"/>
<gentext key="dedication" text="Dedica"/>
<gentext key="edition" text="Edizione"/>
@@ -16,6 +18,8 @@
<gentext key="example" text="Esempio"/>
<gentext key="figure" text="Figura"/>
<gentext key="glossary" text="Glossario"/>
+<gentext key="glosssee" text="Vedi"/>
+<gentext key="glossseealso" text="Vedi anche"/>
<gentext key="important" text="IMPORTANTE"/>
<gentext key="isbn" text="ISBN"/>
<gentext key="important" text="Importante"/>
@@ -33,6 +37,7 @@
<gentext key="reference" text="Riferimento"/>
<gentext key="revision" text="Revisione"/>
<gentext key="history" text="Diario"/>
+<gentext key="refsynopsisdiv" text="Sinossi"/>
<gentext key="revisionhistory" text="Diario delle revisioni"/>
<gentext key="section" text="Sezione"/>
<gentext key="see" text="Vd."/>
1.2 +6 -0 manual/src/docs/docbook/common/ko.xml
Index: ko.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/ko.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ko.xml 2001/02/11 00:04:58 1.1
+++ ko.xml 2001/03/12 00:48:03 1.2
@@ -80,6 +80,12 @@
<gentext key="nav-up" text="Up"/>
<gentext key="nav-home" text="Home"/>
+<dingbat key="startquote" text='“'/>
+<dingbat key="endquote" text='”'/>
+<dingbat key="nestedstartquote" text="`"/>
+<dingbat key="nestedendquote" text="'"/>
+<dingbat key="bullet" text="ߦ"/>
+
<xref element="bibliography" text="%t"/>
<xref element="chapter" text="%g %n, %t"/>
<xref element="dedication" text="%t"/>
1.2 +2 -0 manual/src/docs/docbook/common/l10n.xml
Index: l10n.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/l10n.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- l10n.xml 2001/02/11 00:04:59 1.1
+++ l10n.xml 2001/03/12 00:48:03 1.2
@@ -26,6 +26,7 @@
<!ENTITY sl SYSTEM "sl.xml">
<!ENTITY sv SYSTEM "sv.xml">
<!ENTITY zh_cn SYSTEM "zh_cn.xml">
+<!ENTITY zh_tw SYSTEM "zh_tw.xml">
]>
<internationalization>
&ca;
@@ -54,4 +55,5 @@
&sl;
&sv;
&zh_cn;
+&zh_tw;
</internationalization>
1.2 +22 -10 manual/src/docs/docbook/common/l10n.xsl
Index: l10n.xsl
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/l10n.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- l10n.xsl 2001/02/11 00:04:59 1.1
+++ l10n.xsl 2001/03/12 00:48:03 1.2
@@ -3,7 +3,7 @@
version='1.0'>
<!-- ********************************************************************
- $Id: l10n.xsl,v 1.1 2001/02/11 00:04:59 tobias Exp $
+ $Id: l10n.xsl,v 1.2 2001/03/12 00:48:03 tobias Exp $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -13,11 +13,11 @@
This file contains localization templates (for internationalization)
******************************************************************** -->
-<xsl:variable name="l10n.xml" select="document('../common/l10n.xml')"/>
+<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
-<xsl:variable name="l10n.gentext.language"></xsl:variable>
-<xsl:variable name="l10n.gentext.default.language">en</xsl:variable>
-<xsl:variable name="l10n.gentext.use.xref.language" select="false()"/>
+<xsl:param name="l10n.gentext.language" select="''"/>
+<xsl:param name="l10n.gentext.default.language" select="'en'"/>
+<xsl:param name="l10n.gentext.use.xref.language" select="false()"/>
<xsl:template name="l10n.language">
<xsl:param name="target" select="."/>
@@ -105,14 +105,14 @@
</xsl:choose>
</xsl:template>
-<xsl:template name="gentext.element.name">
- <xsl:param name="element.name" select="name(.)"/>
+<xsl:template name="gentext">
+ <xsl:param name="key" select="local-name(.)"/>
<xsl:param name="lang">
<xsl:call-template name="l10n.language"/>
</xsl:param>
<xsl:variable name="l10n.gentext"
-
select="($l10n.xml/internationalization/localization[@language=$lang]/gentext[@key=$element.name])[1]"/>
+
select="($l10n.xml/internationalization/localization[@language=$lang]/gentext[@key=$key])[1]"/>
<xsl:variable name="l10n.name">
<xsl:value-of select="$l10n.gentext/@text"/>
@@ -124,16 +124,28 @@
<xsl:text>No "</xsl:text>
<xsl:value-of select="$lang"/>
<xsl:text>" localization of "</xsl:text>
- <xsl:value-of select="$element.name"/>
+ <xsl:value-of select="$key"/>
<xsl:text>" exists; using "en".</xsl:text>
</xsl:message>
- <xsl:value-of
select="($l10n.xml/internationalization/localization[@language='en']/gentext[@key=$element.name])[1]/@text"/>
+ <xsl:value-of
select="($l10n.xml/internationalization/localization[@language='en']/gentext[@key=$key])[1]/@text"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$l10n.name"/>
</xsl:otherwise>
</xsl:choose>
+</xsl:template>
+
+<xsl:template name="gentext.element.name">
+ <xsl:param name="element.name" select="name(.)"/>
+ <xsl:param name="lang">
+ <xsl:call-template name="l10n.language"/>
+ </xsl:param>
+
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="$element.name"/>
+ <xsl:with-param name="lang" select="$lang"/>
+ </xsl:call-template>
</xsl:template>
<xsl:template name="gentext.space">
1.2 +6 -0 manual/src/docs/docbook/common/sl.xml
Index: sl.xml
===================================================================
RCS file: /products/cvs/ejboss/manual/src/docs/docbook/common/sl.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sl.xml 2001/02/11 00:05:00 1.1
+++ sl.xml 2001/03/12 00:48:03 1.2
@@ -88,6 +88,12 @@
<gentext key="nav-up" text="Gor"/>
<gentext key="nav-home" text="Domov"/>
+<dingbat key="startquote" text='“'/>
+<dingbat key="endquote" text='”'/>
+<dingbat key="nestedstartquote" text="`"/>
+<dingbat key="nestedendquote" text="'"/>
+<dingbat key="bullet" text="ߦ"/>
+
<xref element="bibliography" text="%t"/>
<xref element="chapter" text="%g %n, %t"/>
<xref element="dedication" text="%t"/>