From 2dc010d66a4e29071100910a2d888895cb74bb11 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 31 Jan 2007 07:10:11 +0000 Subject: [PATCH 1/1] * Fix one more missing translation of Discussion. --- IkiWiki/Plugin/inline.pm | 2 +- debian/changelog | 6 ++++++ doc/bugs/Discussion_link_not_translated_in_post.mdwn | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 4bdb14032..ec1cf0970 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -162,7 +162,7 @@ sub preprocess_inline (@) { #{{{ (length $config{cgiurl} || exists $links{$page."/".$discussionlink})) { $template->param(have_actions => 1); - $template->param(discussionlink => htmllink($page, $params{page}, "Discussion", 1, 1)); + $template->param(discussionlink => htmllink($page, $params{page}, gettext("Discussion"), 1, 1)); } } if (length $config{cgiurl} && defined $type) { diff --git a/debian/changelog b/debian/changelog index 32a93e1a7..b6c696960 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (1.42) UNRELEASED; urgency=low + + * Fix one more missing translation of Discussion. + + -- Joey Hess Wed, 31 Jan 2007 02:08:57 -0500 + ikiwiki (1.41) unstable; urgency=low * Gettext 1.04 or up is needed for the OO interface that ikiwiki needs, diff --git a/doc/bugs/Discussion_link_not_translated_in_post.mdwn b/doc/bugs/Discussion_link_not_translated_in_post.mdwn index 500025fc0..9d69953ab 100644 --- a/doc/bugs/Discussion_link_not_translated_in_post.mdwn +++ b/doc/bugs/Discussion_link_not_translated_in_post.mdwn @@ -53,3 +53,6 @@ can see "Discussion" link, instead of Polish "Dyskusja" link. --Pawel >>>>>> Not really.. I was able to reproduce the problem you desciribed and >>>>>> my changes fixed the problem I reproduced. --[[Joey]] + +> Found and fixed one more, when per-post discussion links are used in a +> blog. --[[Joey]] -- 2.45.1