[Koha-devel] testing text-extract from Ambrose
paul POULAIN
paul.poulain at free.fr
Thu Feb 12 09:33:49 CET 2004
Hi,
I tried the text-extract tool that ambrose commited today for translator
tool.
Here is a small report :
Processing ../../koha-tmpl/intranet-tmpl/default/en/default.tmpl...
Warning: Strange attribute syntax in line 9: <!-- TMPL_VAR
NAME=biblionumber ESCAPE=HTML --
OK, the line is :
<td><a href=/cgi-bin/koha/detail.pl?type=intra&bib=<!-- TMPL_VAR
NAME=biblionumber ESCAPE=HTML -->><!-- TMPL_VAR NAME=title --></a></td>
If I add "" around href :
<td><a href="/cgi-bin/koha/detail.pl?type=intra&bib=<!-- TMPL_VAR
NAME=biblionumber ESCAPE=HTML -->"><!-- TMPL_VAR NAME=title --></a></td>
I get no message.
Nice thing : the tool reports HTML errors in english templates :-)
Other things :
* Processing
../../koha-tmpl/intranet-tmpl/default/en/acqui.simple/marcimport.tmpl...
Warning: Strange attribute syntax in line 32: /
but the line is valid :
<td width="10%" rowspan=2 valign="middle"><input
type="submit" value="Go" class="button"/></td>
(the input is self-closed, that is valid. More than an unclosed tag)
* lot of errors are about "Warning: Syntax error in comment at line ..."
At the end, It seems I missed many strings. buggy Templates should be
fixed to see what happends really (extractor bug or template bug)
--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)
More information about the Koha-devel
mailing list