X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/85566ff3a33298f16bd1102e6e011b85a8e8ea3d..c9e07b583bb730a7697cbbeb8b1b7d912d8a1780:/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 7c7ac1537..fc8406d87 100644 --- a/doc/bugs/hardcoded___34__Discussion__34___link.mdwn +++ b/doc/bugs/hardcoded___34__Discussion__34___link.mdwn @@ -21,6 +21,10 @@ or "History". > link needs to be different if the Discussion page doesn't yet exist. >> You can always use and construct in that place ;) --Pawel + +>>> 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 > that hard code English strings, and I feel that using standard gettext @@ -32,4 +36,7 @@ or "History". >> >> 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 \ No newline at end of file +>> dyskusja.html page, instead of discussion.html page. --Pawel + +>>> I have an incomplete i10n patch for such hardcoded strings in the code, +>>> which I hope to finish up eventually --[[Joey]]