X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/86edc5d0f2e59d87d230a61d707bbc81f1a52598..6d98c5290f2542552979e374d8e3dcbef51f31a6:/doc/bugs/hardcoded___34__Discussion__34___link.mdwn diff --git a/doc/bugs/hardcoded___34__Discussion__34___link.mdwn b/doc/bugs/hardcoded___34__Discussion__34___link.mdwn index bdfc22449..d5e5a1a68 100644 --- a/doc/bugs/hardcoded___34__Discussion__34___link.mdwn +++ b/doc/bugs/hardcoded___34__Discussion__34___link.mdwn @@ -12,19 +12,19 @@ ikiwiki sources: I hope it's a bug, not a feature, because I don't have the same problem with other links, for example "Edit", "RecentChanges" -or "History". --Pawel +or "History". --[[Paweł|ptecza]] > There are good reasons for feeding a full html link into the template, > rather than the urls used for the other links. For one, the Discussion > link needs to be different if the Discussion page doesn't yet exist. ->> You can always use `` and `` construct in that place ;) --Pawel +>> You can always use `` and `` construct in that place ;) --[[Paweł|ptecza]] >>> Not without duplicating the logic that constructs a link to an >>> existing/nonexisting page in two places, one in code in ikiwiki and one >>> in the template. Not good design. --[[Joey]] -> As noted in [[patchqueue/l10n]], there are some other places in ikiwiki +> As noted in [[todo/l10n]], there are some other places in ikiwiki > that hard code English strings, and I feel that using standard gettext > and po files is the best approach for these, although Recai suggested an > approach of translating the strings using a template file. --[[Joey]] @@ -34,11 +34,11 @@ or "History". --Pawel >> >> BTW, is there a chance for configurable name of Discussion page? >> In my wiki I use only Polish name of pages, so I would like to have ->> dyskusja.html page, instead of discussion.html page. --Pawel +>> dyskusja.html page, instead of discussion.html page. --[[Paweł|ptecza]] >>> Ikiwiki is now fully internationalised, so you can change the name of >>> the Discussion page and quite a lot more (but hardly everything) by >>> translating it. [[bugs/done]]! There's a `po/debconf.pot` in the source >>> now for translating. See [[translation]]. --[[Joey]] ->>>> Joey, you're great! ;) Thanks a lot! I'll try ikiwiki l10n stuff soon. --Pawel \ No newline at end of file +>>>> Joey, you're great! ;) Thanks a lot! I'll try ikiwiki l10n stuff soon. --[[Paweł|ptecza]]