aboutsummaryrefslogtreecommitdiff
path: root/t/po.t
Commit message (Collapse)AuthorAge
* po: support language codes in the form of 'es_AR', and 'arn'.intrigeri2011-05-26
| | | | ... additionally to the previously supported two-letters codes.
* po test: add more cases, including (semi-)absolute URLsSimon McVittie2010-12-25
| | | | | Three cases are sub-optimal, but having fixed urlto(''), they all basically work.
* po: test beautify_urlpath with po_link_to=currentSimon McVittie2010-12-25
| | | | Same behaviour as 'default'.
* Merge remote branch 'upstream/master' into prv/pointrigeri2010-08-22
|\
| * Fix po test suite to not assume ikiwiki's underlay is already installed. ↵Joey Hess2010-08-15
| | | | | | | | Closes: #593047
* | po.t: added a bunch of tests for recent code changesintrigeri2010-08-02
|/
* Merge remote branch 'intrigeri/po'Joey Hess2010-07-24
|\
| * po.t: fix expected resultsintrigeri2010-07-20
| | | | | | | | | | | | | | | | | | | | 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.
| * Added tests for po::pofiles.intrigeri2010-07-20
| |
| * Run checkconfig after loading the po plugin, else state is not populated.intrigeri2010-07-20
| | | | | | | | | | The pofiles function relies on @slavelanguages to have been populated by po's checkconfig hook.
* | whitespaceJoey Hess2010-07-23
|/
* po.t: fix test suiteintrigeri2009-01-15
| | | | | | (translatable files now have to exist in srcdir) ) Signed-off-by: intrigeri <intrigeri@boum.org>
* po.t: adapted a few tests to match the current ikiwiki behaviourintrigeri2008-12-30
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po.t: cleanupintrigeri2008-11-13
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: fix istranslation/istranslatable for pages starting with /intrigeri2008-11-12
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: change a bit the way links are generatedintrigeri2008-11-11
| | | | | | This will soon enable usage of translated page titles in link. Signed-off-by: intrigeri <intrigeri@boum.org>
* po: fixed link to home page when po_link_to=negotiated, added testcaseintrigeri2008-11-11
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: fixed link to homepage from non-translation pageintrigeri2008-11-11
| | | | | | | Added testcases for this bug. It remains broken when generated from <TMPL_VAR BASEURL>, though. Signed-off-by: intrigeri <intrigeri@boum.org>
* t/po.t: removed debug linesintrigeri2008-11-10
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: finished backlinks implementationintrigeri2008-11-07
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: oops, removed debug output from testsuitintrigeri2008-11-07
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: implemented linking specification in testcaseintrigeri2008-11-07
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po plugin: added test cases for index.*intrigeri2008-11-02
| | | | | | (Translatable index is currently buggy, let's fix this.) Signed-off-by: intrigeri <intrigeri@boum.org>
* po plugin: added testsuiteintrigeri2008-11-02
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>