Merge lp:~jbicha/ubuntu/oneiric/yelp-xsl/fix-772176 into lp:ubuntu/oneiric/yelp-xsl

Proposed by Jeremy Bícha
Status: Merged
Merged at revision: 9
Proposed branch: lp:~jbicha/ubuntu/oneiric/yelp-xsl/fix-772176
Merge into: lp:ubuntu/oneiric/yelp-xsl
Diff against target: 63 lines (+45/-0)
3 files modified
debian/changelog (+6/-0)
debian/patches/01_translatable_navigation_links.patch (+38/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~jbicha/ubuntu/oneiric/yelp-xsl/fix-772176
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+59932@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-04-05 10:41:37 +0000
+++ debian/changelog 2011-05-04 14:05:58 +0000
@@ -1,3 +1,9 @@
1yelp-xsl (3.0.0-0ubuntu2) oneiric; urgency=low
2
3 * Make next and previous navigation buttons translatable, (LP: #772176)
4
5 -- Jeremy Bicha <jeremy@bicha.net> Wed, 04 May 2011 10:00:08 -0400
6
1yelp-xsl (3.0.0-0ubuntu1) natty; urgency=low7yelp-xsl (3.0.0-0ubuntu1) natty; urgency=low
28
3 * New upstream release9 * New upstream release
410
=== added directory 'debian/patches'
=== added file 'debian/patches/01_translatable_navigation_links.patch'
--- debian/patches/01_translatable_navigation_links.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/01_translatable_navigation_links.patch 2011-05-04 14:05:58 +0000
@@ -0,0 +1,38 @@
1Description: Make next and previous navigations links translatable
2LP: #772176, Can be dropped with yelp-xsl 3.0.2
3http://git.gnome.org/browse/yelp-xsl/commit/?id=935d31f14c66247304796582c9c8ad217063e152
4
5Index: yelp-xsl/xslt/mallard/html/mal2html-page.xsl
6===================================================================
7--- yelp-xsl.orig/xslt/mallard/html/mal2html-page.xsl 2011-05-04 09:49:51.557451474 -0400
8+++ yelp-xsl/xslt/mallard/html/mal2html-page.xsl 2011-05-04 09:54:26.774469894 -0400
9@@ -295,9 +295,11 @@
10 <xsl:with-param name="xref" select="$prev/../../@id"/>
11 </xsl:call-template>
12 </xsl:attribute>
13- <xsl:call-template name="l10n.gettext">
14- <xsl:with-param name="msgid" select="'Previous'"/>
15- </xsl:call-template>
16+ <xsl:for-each select="$node">
17+ <xsl:call-template name="l10n.gettext">
18+ <xsl:with-param name="msgid" select="'Previous'"/>
19+ </xsl:call-template>
20+ </xsl:for-each>
21 </a>
22 </xsl:if>
23 <xsl:if test="$prev and $next">
24@@ -317,9 +319,11 @@
25 <xsl:with-param name="xref" select="$next/@xref"/>
26 </xsl:call-template>
27 </xsl:attribute>
28- <xsl:call-template name="l10n.gettext">
29- <xsl:with-param name="msgid" select="'Next'"/>
30- </xsl:call-template>
31+ <xsl:for-each select="$node">
32+ <xsl:call-template name="l10n.gettext">
33+ <xsl:with-param name="msgid" select="'Next'"/>
34+ </xsl:call-template>
35+ </xsl:for-each>
36 </a>
37 </xsl:if>
38 </div>
039
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2011-05-04 14:05:58 +0000
@@ -0,0 +1,1 @@
101_translatable_navigation_links.patch

Subscribers

People subscribed via source and target branches

to all changes: