fix improper localization for rtl languages, thanks Muayyad Alsadi(#475077)
This commit is contained in:
parent
e8ed157c04
commit
3376b79dbd
@ -1,6 +1,6 @@
|
||||
Name: docbook-style-xsl
|
||||
Version: 1.74.0
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Group: Applications/Text
|
||||
|
||||
Summary: Norman Walsh's XSL stylesheets for DocBook XML
|
||||
@ -121,6 +121,10 @@ if [ "$1" = 0 ]; then
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Mon Feb 02 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.0-6
|
||||
- fix improper localization for rtl languages, thanks
|
||||
Muayyad Alsadi(#475077)
|
||||
|
||||
* Wed Jan 28 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.0-5
|
||||
- fix xsl stylesheets for rtl languages(#475077)
|
||||
|
||||
|
@ -1173,44 +1173,80 @@ diff -urNp docbook-xsl-1.74.0-orig/html/lists.xsl docbook-xsl-1.74.0/html/lists.
|
||||
diff -urNp docbook-xsl-1.74.0-orig/html/param.xsl docbook-xsl-1.74.0/html/param.xsl
|
||||
--- docbook-xsl-1.74.0-orig/html/param.xsl 2009-01-28 14:27:36.000000000 +0100
|
||||
+++ docbook-xsl-1.74.0/html/param.xsl 2009-01-28 15:00:20.000000000 +0100
|
||||
@@ -266,6 +266,7 @@ set toc,title
|
||||
@@ -266,6 +266,16 @@ set toc,title
|
||||
<xsl:param name="inherit.keywords" select="1"/>
|
||||
<xsl:param name="insert.xref.page.number">no</xsl:param>
|
||||
<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param>
|
||||
+<xsl:param name="writing.mode">lr</xsl:param>
|
||||
+<xsl:param name="writing.mode">
|
||||
+ <xsl:call-template name="gentext">
|
||||
+ <xsl:with-param name="key">writing-mode</xsl:with-param>
|
||||
+ <xsl:with-param name="lang">
|
||||
+ <xsl:call-template name="l10n.language">
|
||||
+ <xsl:with-param name="target" select="/*[1]"/>
|
||||
+ </xsl:call-template>
|
||||
+ </xsl:with-param>
|
||||
+ </xsl:call-template>
|
||||
+</xsl:param>
|
||||
<xsl:param name="keep.relative.image.uris" select="1"/>
|
||||
|
||||
<xsl:param name="l10n.gentext.default.language">en</xsl:param>
|
||||
diff -urNp docbook-xsl-1.74.0-orig/fo/param.xsl docbook-xsl-1.74.0/fo/param.xsl
|
||||
--- docbook-xsl-1.74.0-orig/fo/param.xsl 2009-01-29 14:32:29.000000000 +0100
|
||||
+++ docbook-xsl-1.74.0/fo/param.xsl 2009-01-29 14:37:06.000000000 +0100
|
||||
@@ -353,6 +353,7 @@ set toc,title
|
||||
@@ -353,6 +353,16 @@ set toc,title
|
||||
<xsl:param name="itemizedlist.label.width">1.0em</xsl:param>
|
||||
|
||||
|
||||
+<xsl:param name="writing.mode">lr</xsl:param>
|
||||
+<xsl:param name="writing.mode">
|
||||
+ <xsl:call-template name="gentext">
|
||||
+ <xsl:with-param name="key">writing-mode</xsl:with-param>
|
||||
+ <xsl:with-param name="lang">
|
||||
+ <xsl:call-template name="l10n.language">
|
||||
+ <xsl:with-param name="target" select="/*[1]"/>
|
||||
+ </xsl:call-template>
|
||||
+ </xsl:with-param>
|
||||
+ </xsl:call-template>
|
||||
+</xsl:param>
|
||||
<xsl:param name="keep.relative.image.uris" select="0"/>
|
||||
<xsl:param name="l10n.gentext.default.language">en</xsl:param>
|
||||
<xsl:param name="l10n.gentext.language"/>
|
||||
diff -urNp docbook-xsl-1.74.0-orig/xhtml/param.xsl docbook-xsl-1.74.0/xhtml/param.xsl
|
||||
--- docbook-xsl-1.74.0-orig/xhtml/param.xsl 2009-01-29 14:32:29.000000000 +0100
|
||||
+++ docbook-xsl-1.74.0/xhtml/param.xsl 2009-01-29 14:36:42.000000000 +0100
|
||||
@@ -267,6 +267,7 @@ set toc,title
|
||||
@@ -267,6 +267,16 @@ set toc,title
|
||||
<xsl:param name="inherit.keywords" select="1"/>
|
||||
<xsl:param name="insert.xref.page.number">no</xsl:param>
|
||||
<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param>
|
||||
+<xsl:param name="writing.mode">lr</xsl:param>
|
||||
+<xsl:param name="writing.mode">
|
||||
+ <xsl:call-template name="gentext">
|
||||
+ <xsl:with-param name="key">writing-mode</xsl:with-param>
|
||||
+ <xsl:with-param name="lang">
|
||||
+ <xsl:call-template name="l10n.language">
|
||||
+ <xsl:with-param name="target" select="/*[1]"/>
|
||||
+ </xsl:call-template>
|
||||
+ </xsl:with-param>
|
||||
+ </xsl:call-template>
|
||||
+</xsl:param>
|
||||
<xsl:param name="keep.relative.image.uris" select="1"/>
|
||||
|
||||
<xsl:param name="l10n.gentext.default.language">en</xsl:param>
|
||||
diff -urNp docbook-xsl-1.74.0-orig/xhtml-1_1/param.xsl docbook-xsl-1.74.0/xhtml-1_1/param.xsl
|
||||
--- docbook-xsl-1.74.0-orig/xhtml-1_1/param.xsl 2009-01-29 14:32:29.000000000 +0100
|
||||
+++ docbook-xsl-1.74.0/xhtml-1_1/param.xsl 2009-01-29 14:36:04.000000000 +0100
|
||||
@@ -267,6 +267,7 @@ set toc,title
|
||||
@@ -267,6 +267,16 @@ set toc,title
|
||||
<xsl:param name="inherit.keywords" select="1"/>
|
||||
<xsl:param name="insert.xref.page.number">no</xsl:param>
|
||||
<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param>
|
||||
+<xsl:param name="writing.mode">lr</xsl:param>
|
||||
+<xsl:param name="writing.mode">
|
||||
+ <xsl:call-template name="gentext">
|
||||
+ <xsl:with-param name="key">writing-mode</xsl:with-param>
|
||||
+ <xsl:with-param name="lang">
|
||||
+ <xsl:call-template name="l10n.language">
|
||||
+ <xsl:with-param name="target" select="/*[1]"/>
|
||||
+ </xsl:call-template>
|
||||
+ </xsl:with-param>
|
||||
+ </xsl:call-template>
|
||||
+</xsl:param>
|
||||
<xsl:param name="keep.relative.image.uris" select="1"/>
|
||||
|
||||
<xsl:param name="l10n.gentext.default.language">en</xsl:param>
|
||||
|
Loading…
Reference in New Issue
Block a user