[koha-commits] main Koha release repository branch new/bug_6458 created. v3.04.00-373-ga41100a
Git repo owner
gitmaster at git.koha-community.org
Thu Aug 18 11:13:04 CEST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_6458 has been created
at a41100a44519373efafb5c9f3cdc5607657d651e (commit)
- Log -----------------------------------------------------------------
commit a41100a44519373efafb5c9f3cdc5607657d651e
Author: Frédéric Demians <f.demians at tamil.fr>
Date: Thu Jul 21 10:18:29 2011 +0200
Bug 6458 Template Toolkit files test case
This test validate Template Toolkit (TT) Koha files.
For the time being an unique validation is done: Test if TT files
contain TT directive within HTML tag. For example:
<li[% IF
This kind of constuction MUST be avoided because it break Koha
translation process.
This patch transform also translation specific modules into C4 modules
in order to be able to use them in test case:
C4::TTPaser
C4::TmplToken
C4::TmplTokenType
This patch is a Perl adaptation of a Haskell script from Frère Sébastien
Marie.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Notes on testing:
- translate install de-DE - worked ok
- translate update de-DE > translate install de-DE - worked ok
- running the test xt/tt_valid.t - worked ok and pointed out lots of problems.
Found no problems.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list