summaryrefslogtreecommitdiff
path: root/doc/plugins/po.mdwn
AgeCommit message (Collapse)Author
2008-11-06po: redesign (once more) automatic POT/PO files updateintrigeri
Now use the change hook to update these files, check them into VCS, and trigger IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent infinite looping. This more rigorous way of doing this fixes recentchanges (that was previously not updated in some cases), and probably is a better long-term solution than the two previously tested ones. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: doc/todo updateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: use prep_writefile before creating any files in refreshpot and refreshpointrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: reported parentlinks misbehaviour in special caseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: po_link_to is safe, and fallbacks to a working value if neededintrigeri
warnings are displayed if it is set to an invalid or incompatible value (e.g. po_link_to=negotiated and disabled usedirs) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: mark po_translatable_pages as a safe configuration settingintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: po_master_language and po_slave_languages are safe config settingsintrigeri
... and check their validity in checkconfig Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06po: added license and copyrightintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06Merge commit 'upstream/po' into prv/pointrigeri
Conflicts: IkiWiki/Plugin/po.pm doc/plugins/po.mdwn Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-05need licenseJoey Hess
2008-11-05responseJoey Hess
2008-11-05fixed one security problem, two more need reviewJoey Hess
2008-11-05avoid hitting the shell with system()Joey Hess
2008-11-05minor wording improvements/changesJoey Hess
2008-11-05po plugin: more detailed backlinks todo itemintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04po plugin: redesign refresh mechanism after master page updateintrigeri
manually triggering IkiWiki::refresh() was at least dubious, and more or less buggy (it randomly broke the whole backlinks feature); thinking a bit more to add the necessary bits to @needsbuild seems like a better way. don't play with ikiwiki's internals if not absolutely needed. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04po plugin: remove broken parentlinks for home page's translationsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04po plugin: updated doc/todointrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-03po plugin: updated doc+todointrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-03po plugin: slave pages link to the master's discussion pageintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02po plugin: updated todo / docintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02po plugin: added TODO about charset/encoding in new translationsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-20po plugin: todo++intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19po plugin: set every configuration item to unsafeintrigeri
We will check later which ones are actually safe enough for websetup. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19po plugin: doc fixintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19po plugin: added ISTRANSLATION and ISTRANSLATABLE template variablesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19po plugin: todo++intrigeri
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-18po plugin: todo++intrigeri
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: 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: 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: todo update wrt. newly translatable pagesintrigeri
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: 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: 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: 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>