X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b19d0d3d245c7c2b605ac6c972c73c909a941db4..c440a39ba4ba6726ab67b0e1d04b064ae84f67ef:/doc/plugins/po.mdwn?ds=sidebyside diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index eeeabe730..d16d13edc 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -198,14 +198,18 @@ Also, when the plugin has just been enabled, or when a page has just been declared as being translatable, the needed POT and PO files are created, and the PO files are checked into version control. -Discussion pages ----------------- +Discussion pages and other sub-pages +------------------------------------ Discussion should happen in the language in which the pages are written for real, *i.e.* the "master" one. If discussion pages are enabled, "slave" pages therefore link to the "master" page's discussion page. +Likewise, "slave" pages are not supposed to have sub-pages; +[[WikiLinks|wikilink]] that appear on a "slave" page therefore link to +the master page's sub-pages. + Translating ----------- @@ -499,11 +503,6 @@ gettext/po4a rough corners Better links ------------ -### Subpages - -On a translation page, links to subpages should actually be links to -the master page's subpages. They currently appear as broken links. - ### Page title in links To use the page titles set with the [[meta|plugins/meta]] plugin when @@ -557,6 +556,16 @@ Creating new pages on the web See [[contrib/po]]. +Robustness tests +---------------- + +- adding and removing pages from `po_translatable_pages` +- creating and removing pages listed in `po_translatable_pages` +- enabling the plugin, with and without `po_translatable_pages` set +- disabling the plugin +- test with `usedirs` disabled +- test with `indexpages` enabled + Documentation -------------