koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] testing text-extract from Ambrose


From: paul POULAIN
Subject: [Koha-devel] testing text-extract from Ambrose
Date: Thu Feb 12 09:33:49 2004
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.4) Gecko/20030630

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]