[Koha-bugs] [Bug 12207] New: TTparser parses certain TT statements wrong
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 7 08:48:27 CEST 2014
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 at pttk.fi
Reporter: pasi.kallinen at pttk.fi
QA Contact: testopia at 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.
More information about the Koha-bugs
mailing list