summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-18po plugin(refreshpot): prevent PO references to be writtenintrigeri
... else we can fall into some kind of nasty infinite loop, when two ikiwiki instances don't store their working copy of the repository at the same place: every POT file update in one repository would trigger an update of the same POT file in the others repository, and so on. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: do not allow msgmerge to create backup filesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18syntax.t: skip po since it uses a perl module not in build depsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: todo++intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: only refresh private module variables when neededintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: add correct dependencies on pages using OTHERLANGUAGESintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: todo++intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: bugfix (OTHERLANGUAGES)intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: initial implementation of automatic POT/PO updateintrigeri
The updated or created PO files are put under version control. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: todo++ more security checks neededintrigeri
... when creating new files. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: rebuild %translations after having created missing POT/PO filesintrigeri
This is not needed yet, but when newly created POT/PO files are added to %pagesources and other data structures, we'll need this. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: create missing POT/PO files in needsbuild hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: documentation workintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added and documented PERCENTTRANSLATED template variableintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: make translation percentage available in OTHERLANGUAGES loopintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: documented custom PageSpec tests, reorganized doc a bitintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added currentlang() custom PageSpec functionintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: todo update wrt. newly translatable pagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added lang() custom PageSpec functionintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: todo++ : security note about system()intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: updated todo wrt. automatic POT/PO update/creationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: make any slave page dependent on the corresponding master pageintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: bugfix - only refresh POT/PO for translatable pagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: do not trust po4a functions return valueintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: todo++: create POT/PO when the plugin is enabledintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: updated doc to reflect current status of automatic PO files updateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: refresh PO files when a master page is updatedintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: refresh POT files when a master page is updatedintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: build %translations in needsbuild hook rather than scanintrigeri
... because we'll need this data to refresh POT/PO files in needsbuild hook Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: created OTHERLANGUAGES template loopintrigeri
It currently only provides basic translations/master pages links. Updated documentation accordingly. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: po_slave_languages is a hash, rather than a hash of hashesintrigeri
The latter seems to be unsupported by ikiwiki config system. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: fix formatting in documentationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: build %translations at scan timeintrigeri
... so that we can consider it as complete at preprocess time Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: memoize istranslatable and _istranslationintrigeri
Both functions are called very often, and: - istranslatable has no side effect - _istranslation is the helper function, without any side effect, for the istranslation function Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin[filter]: avoid converting more than once per destfileintrigeri
Only the first filter function call on a given {page,destpage} must convert it from the PO file, subsequent calls must leave the passed $content unmodified. Else, preprocessing loops are the rule. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: bugfix (calling function in wrong module)intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added *.pot to wiki_file_prune_regexpsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: move translatable pages to setup file, refactorintrigeri
Replaced [[!translatable]] directive with po_translatable_pages setting. Moved istranslatable/istranslation code to helper functions leaving place for future caching and/or memoization. The PageSpec functions still work. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added note about not publishing .pot filesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18po plugin: added todo note about optimizationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
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: update doc (move finished item from todo)intrigeri
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: rewrite internal linking specificationintrigeri
(not implemented yet) 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-18rename urlpath hook into tweakurlpath for consistency's sakeintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18added the tweakbestlink hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>