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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
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/

Reply via email to