[yelp-xsl] docbook: Removed manvolnum.format; nobody changed format anyway
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] docbook: Removed manvolnum.format; nobody changed format anyway
- Date: Sat, 13 Aug 2011 12:59:04 +0000 (UTC)
commit 56c3b0fd929291c34cc3c0dda5500d24efe93133
Author: Shaun McCance <shaunm gnome org>
Date: Sat Aug 13 08:48:32 2011 -0400
docbook: Removed manvolnum.format; nobody changed format anyway
xslt/docbook/common/db-title.xsl | 10 ++++------
xslt/docbook/html/db2html-refentry.xsl | 8 +++-----
2 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/xslt/docbook/common/db-title.xsl b/xslt/docbook/common/db-title.xsl
index 525f0a1..cc8a6fc 100644
--- a/xslt/docbook/common/db-title.xsl
+++ b/xslt/docbook/common/db-title.xsl
@@ -311,12 +311,10 @@ REMARK: Describe this mode
<xsl:apply-templates select="refmeta/refentrytitle/node() |
db:refmeta/db:refentrytitle/node()"/>
<xsl:if test="refmeta/manvolnum | db:refmeta/db:manvolnum">
- <xsl:call-template name="l10n.gettext">
- <xsl:with-param name="msgid" select="'manvolnum.format'"/>
- <xsl:with-param name="node" select="refmeta/manvolnum[1] |
- db:refmeta/db:manvolnum[1]"/>
- <xsl:with-param name="format" select="true()"/>
- </xsl:call-template>
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates select="refmeta/manvolnum[1]/node() |
+ db:refmeta/db:manvolnum[1]/node()"/>
+ <xsl:text>)</xsl:text>
</xsl:if>
</xsl:when>
<xsl:when test="refentryinfo/title">
diff --git a/xslt/docbook/html/db2html-refentry.xsl b/xslt/docbook/html/db2html-refentry.xsl
index 59cdc6e..c09ac22 100644
--- a/xslt/docbook/html/db2html-refentry.xsl
+++ b/xslt/docbook/html/db2html-refentry.xsl
@@ -37,11 +37,9 @@ REMARK: Describe this module. Talk about refenty and friends
<!-- = manvolnum = -->
<xsl:template match="manvolnum | db:manvolnum">
- <xsl:call-template name="l10n.gettext">
- <xsl:with-param name="msgid" select="'manvolnum.format'"/>
- <xsl:with-param name="node" select="."/>
- <xsl:with-param name="format" select="true()"/>
- </xsl:call-template>
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates select="node()"/>
+ <xsl:text>)</xsl:text>
</xsl:template>
<!-- = refentry = -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]