Joe Atzberger a écrit :
> Nahuel's recent patch for "no title" reminded me of something.  I
> don't think there is any problem with the patch, but I wanted to bring
> up the use of TMPL_VAR DEFAULT attribute, like:
>
> <!-- TMPL_VAR NAME="title" DEFAULT="No title" -->
>
> I like the way that looks.  But am I remembering correctly that there
> is some flaw in the translation system that impedes our use of this
> rather useful feature?  If so, can anyone say more specifically what
> the problem is?  That should be regarded as a bug worth fixing, and
> not some natural limitation that we just have to work around.  I'm
> willing to attempt it if anybody can narrow the problem down.
>
hi joe.
you are remembering quite correctly.
The only problem would be translation.
It is HTML comments you know, so i think that getttext is just passing
them without processing them.
Maybe we could change <!--TMPL to <TMPL and that would do the job... But
quite a tough job to do all the changes ;) and validate.

-- 
Henri-Damien LAURENT

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to