summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/po.pm
AgeCommit message (Collapse)Author
2008-10-18po plugin: allow pagestate update (bugfix)intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: respect documented convention to store pagestateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: implemented po_link_to=currentintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added istranslatable() pagespec function, and use itintrigeri
(do not name non-translatable pages index.LL.html) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: implemented po_link_to=negotiatedintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: implement linking specification in one of the main casesintrigeri
i.e. in case usedirs is enabled and po_link_to_current_language is disabled Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: add po_link_to_current_language option, check configintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: use pagespec_match() instead of direct match_istranslation callsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added [[!translatable]] directiveintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: switch to page.LL.html naming conventionintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: name rendered master pages like slave ones (page.html.LL)intrigeri
Apache's content negotiation transparently redirects any old URL (page.html) to the new one, depending on the client preferred language (i.e. a German browser will be fed with page.html.de). Transition to this naming convention is then really smooth. This naming convention allows one to deliberately display the master page, even if her browser is configured for another language. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: reworked available optionsintrigeri
- renamed po_supported_languages to po_slave_languages - added po_master_language option, which will soon be useful Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: htmlize translated content as if it was the same type as the ↵intrigeri
master page Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: convert PO to master page's type in filter hookintrigeri
Master page's type htmlize hook should also be run in po's htmlize hook, but let's proceed step by step. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: factorize most checks into a new match_istranslation PageSpecintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: initial workintrigeri
- .po is a new supported wiki page type - PO files are rendered verbatim into HTML - override targetpage to ease Content Negotiation Signed-off-by: intrigeri <intrigeri@boum.org>