http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12207 Bug ID: 12207 Summary: TTparser parses certain TT statements wrong Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Templates Assignee: pasi.kallinen@pttk.fi Reporter: pasi.kallinen@pttk.fi QA Contact: testopia@bugs.koha-community.org This piece of TT code in intranet-tmpl/prog/en/includes/authorities-search-results.inc: [% SWITCH lang %] [% CASE ['en', 'eng'] %]English [% CASE ['fr', 'fre'] %]French [% CASE ['it', 'ita'] %]Italian ... [% CASE %][% lang %] [% END %] is parsed by the TTparser.pm wrong. In the po-files, it shows up as: #. %7$s: SWITCH lang #. %8$s: ERROR #. %9$s: ERROR ... #. %17$s: CASE #. %18$s: lang #. %19$s: END All the "CASE [ ... ]" codes are shown as "ERROR". This happens if any TT statement contains a ']' in it. -- You are receiving this mail because: You are watching all bug changes.