Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-18 | syntax.t: skip po since it uses a perl module not in build deps | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: todo++ | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: only refresh private module variables when needed | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: add correct dependencies on pages using OTHERLANGUAGES | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: todo++ | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: bugfix (OTHERLANGUAGES) | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: initial implementation of automatic POT/PO update | intrigeri | |
The updated or created PO files are put under version control. Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: todo++ more security checks needed | intrigeri | |
... when creating new files. Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: rebuild %translations after having created missing POT/PO files | intrigeri | |
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-18 | po plugin: create missing POT/PO files in needsbuild hook | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: documentation work | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: added and documented PERCENTTRANSLATED template variable | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: make translation percentage available in OTHERLANGUAGES loop | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: documented custom PageSpec tests, reorganized doc a bit | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: added currentlang() custom PageSpec function | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: todo update wrt. newly translatable pages | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: added lang() custom PageSpec function | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: todo++ : security note about system() | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: updated todo wrt. automatic POT/PO update/creation | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: make any slave page dependent on the corresponding master page | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: bugfix - only refresh POT/PO for translatable pages | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: do not trust po4a functions return value | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: todo++: create POT/PO when the plugin is enabled | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: updated doc to reflect current status of automatic PO files update | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: refresh PO files when a master page is updated | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: refresh POT files when a master page is updated | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: build %translations in needsbuild hook rather than scan | intrigeri | |
... because we'll need this data to refresh POT/PO files in needsbuild hook Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: created OTHERLANGUAGES template loop | intrigeri | |
It currently only provides basic translations/master pages links. Updated documentation accordingly. Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: po_slave_languages is a hash, rather than a hash of hashes | intrigeri | |
The latter seems to be unsupported by ikiwiki config system. Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: fix formatting in documentation | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: build %translations at scan time | intrigeri | |
... so that we can consider it as complete at preprocess time Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: memoize istranslatable and _istranslation | intrigeri | |
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-18 | po plugin[filter]: avoid converting more than once per destfile | intrigeri | |
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-18 | po plugin: bugfix (calling function in wrong module) | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: added *.pot to wiki_file_prune_regexps | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: move translatable pages to setup file, refactor | intrigeri | |
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-18 | po plugin: added note about not publishing .pot files | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: added todo note about optimization | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: allow pagestate update (bugfix) | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: respect documented convention to store pagestate | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: update doc (move finished item from todo) | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: implemented po_link_to=current | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: added istranslatable() pagespec function, and use it | intrigeri | |
(do not name non-translatable pages index.LL.html) Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: implemented po_link_to=negotiated | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: rewrite internal linking specification | intrigeri | |
(not implemented yet) Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: implement linking specification in one of the main cases | intrigeri | |
i.e. in case usedirs is enabled and po_link_to_current_language is disabled Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | rename urlpath hook into tweakurlpath for consistency's sake | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | added the tweakbestlink hook | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: add po_link_to_current_language option, check config | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> | |||
2008-10-18 | po plugin: use pagespec_match() instead of direct match_istranslation calls | intrigeri | |
Signed-off-by: intrigeri <intrigeri@boum.org> |