https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29261

            Bug ID: 29261
           Summary: Translation script breaks
                    members/tables/members_results.tt
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: translate.koha-community.org
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: nug...@gmail.com
        QA Contact: testo...@bugs.koha-community.org
                CC: jonathan.druart+k...@gmail.com

Got this in the errors log:

Template process failed: file error - parse error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/fi-FI/modules/members/tables/members_results.tt
line 6: unexpected token (data)


when compared to the original main place of the error localized here, such
line:

                    "<a
href=\"/cgi-bin/koha/members/moremember.pl?borrowernumber=[%
data.borrowernumber | html %]\" class=\"patron_preview\"
data-borrowernumber=\"[% data.borrowernumber | html %]\"
style='white-space:nowrap' title='View'>[% INCLUDE 'patron-title.inc'
borrowernumber = data.borrowernumber category_type = data.category_type
firstname = data.firstname surname = data.surname othernames = data.othernames
invert_name = 1 | $To %]</a><br /><div class='address'><ul>[%~ INCLUDE
'display-address-style' patron=data no_line_break=1 | $To ~%][% IF data.email
%]<li>Email: <a href='mailto:[% data.email | html | $To %]'>[% data.email |
html | $To %]</a></li>[% END %]</ul></div>",


broken by script and messed up:

                    "<a %]\"="%]\"" class="\"patron_preview\""
data-borrowernumber="\"[%" data.borrowernumber="data.borrowernumber"
href="\"/cgi-bin/koha/members/moremember.pl?borrowernumber=[%" html="html"
style="white-space:nowrap" title="Näytä" |="|">[% INCLUDE 'patron-title.inc'
borrowernumber = data.borrowernumber category_type = data.category_type
firstname = data.firstname surname = data.surname othernames = data.othernames
invert_name = 1 | $To %]</a><br /><div class='address'><ul>[%~ INCLUDE
'display-address-style' patron=data no_line_break=1 | $To ~%][% IF data.email
%]<li>Sähköposti: <a href='mailto:[% data.email | html | $To %]'>[% data.email
| html | $To %]</a></li>[% END %]</ul></div>",

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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