diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-08-27 15:50:43 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-27 15:50:43 -0400 |
commit | f8ad1bfec4e12944482d5f58a0961b0c476602c9 (patch) | |
tree | 03dbb8d6e372ee823ad68caa6dbbd515d4d3569e | |
parent | f4583c1524ea1aab4ec1eb83a361355788b5b531 (diff) | |
download | ikiwiki-f8ad1bfec4e12944482d5f58a0961b0c476602c9.tar ikiwiki-f8ad1bfec4e12944482d5f58a0961b0c476602c9.tar.gz |
fix cherry-picked
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | doc/plugins/po.mdwn | 21 |
2 files changed, 1 insertions, 21 deletions
diff --git a/debian/changelog b/debian/changelog index 69e197e37..9f10c2913 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,7 @@ ikiwiki (3.1415926) UNRELEASED; urgency=low * Rebuild wikis on upgrade to this version to fix bloat caused by the dependency bug. * htmltidy: Print a warning message if tidy fails. Closes: #543722 + * po: Fix name of translated toplevel index page. (intrigeri) -- Joey Hess <joeyh@debian.org> Wed, 12 Aug 2009 12:25:30 -0400 diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index 9c4d8ffbd..f020adac2 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -289,27 +289,6 @@ order, as `po_slave_languages` is a hash. It would need to be converted to an array to support this. (If twere done, twere best done quickly.) --[[Joey]] -Name of toplevel index page ---------------------------- - -Normally at the top index page of a wiki, you see the wiki name at -the top. However, at the top *translated* index page, you see something -like "index.da". --[[Joey]] - -> I suggest changing `Render.pm`, line 115, to replace the `$page eq 'index'` -> test with a predicate call such as isindexpage($page). Such a predicate -> function could then be overriden by the po plugin. --[[intrigeri]] - ->> Could do that, but if you have such a function it's natural to want to ->> use it elsewhere. Not clear to me it would make sense for po to override ->> such a function if it were used in some of the other places that compare ->> to index. ->> ->> The other option would be for po to override the template setting. ->> --[[Joey]] - ->>> Great idea. Commit 6c0f9c691c3df3a in my po branch does it. --[[intrigeri]] - Pagespecs --------- |