summaryrefslogtreecommitdiff
path: root/t/po.t
AgeCommit message (Collapse)Author
2010-07-24Merge remote branch 'intrigeri/po'Joey Hess
2010-07-23whitespaceJoey Hess
2010-07-20po.t: fix expected resultsintrigeri
As index.{es,fr} don't exist, po::refreshpofiles copies them from the basewiki underlay before running msgmerge. msgmerge marks as obsolete the translation strings that came from the basewiki po files, but the link plugin does not make the difference between obsolete and up-to-date links. $links{'index.fr'} and $links{'index.es'} are therefore expected to contain SandBox and ikiwiki.
2010-07-20Added tests for po::pofiles.intrigeri
2010-07-20Run checkconfig after loading the po plugin, else state is not populated.intrigeri
The pofiles function relies on @slavelanguages to have been populated by po's checkconfig hook.
2009-01-15po.t: fix test suiteintrigeri
(translatable files now have to exist in srcdir) ) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30po.t: adapted a few tests to match the current ikiwiki behaviourintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13po.t: cleanupintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12po: fix istranslation/istranslatable for pages starting with /intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11po: change a bit the way links are generatedintrigeri
This will soon enable usage of translated page titles in link. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11po: fixed link to home page when po_link_to=negotiated, added testcaseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11po: fixed link to homepage from non-translation pageintrigeri
Added testcases for this bug. It remains broken when generated from <TMPL_VAR BASEURL>, though. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10t/po.t: removed debug linesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: finished backlinks implementationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: oops, removed debug output from testsuitintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: implemented linking specification in testcaseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02po plugin: added test cases for index.*intrigeri
(Translatable index is currently buggy, let's fix this.) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02po plugin: added testsuiteintrigeri
I want to have an easy way to know if I break something when I'll convert custom added hooks to the new "inject" feature. It will also be useful after this conversion, to trigger an alert when IkiWiki's internals change enough to break my wrapper functions. Signed-off-by: intrigeri <intrigeri@boum.org>