https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10492
Bernardo Gonzalez Kriegel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] |ity.org | --- Comment #4 from Bernardo Gonzalez Kriegel <[email protected]> --- (In reply to Katrin Fischer from comment #3) > Searching for [% in the po files for 19.05 finds 69 results. A lot of those > are like: > > Koha [% Version %] > > I am not sure why those exist yet. I would have expected Koha %s. They exist because they belong to 'attributes' in HTML tags, for example 'alt' in 'img', 'value' in inputs, or 'content' in 'meta'. In this particular case, on line 5 of opac-tmpl/bootstrap/en/includes/doc-head-close.inc there is <meta name="generator" content="Koha [% Version | html %]" /> Each line on each TT file is 'tokenized', and TTvariables are replaced with '%s'. But an HTML tag (i.e. <meta ../>) is 'tokenized' as such, so no replacement is made there; only the text of some attributes is extracted in order to translate them. Ideally we should no use TTvariables inside tag attributes, but it's useful :) I'll try to write a patch to (partially) 'fix' this -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
