[Koha-bugs] [Bug 16478] New: Translation breaks display of Checkout history in tab Checks / On-site-checkouts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 9 18:07:13 CEST 2016


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

            Bug ID: 16478
           Summary: Translation breaks display of Checkout history in tab
                    Checks / On-site-checkouts
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org

In koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt the filter
for the tabs 'Checkouts' and 'On-site checkouts' uses text that is exposed to
translation.

If they are translated, the tabs will be empty on translated pages. (Note:
Enable syspref OnSiteCheckuts for testing)

See opac-readingrecord.tt line 83ff:
[% IF issue.onsite_checkout %]
    onsite
[% ELSE %]
    checkout
[% END %]

E.g. in German (/de-DE/modules/opac-readingrecord.tt), it translates to:
[% IF issue.onsite_checkout %] vor Ort [% ELSE %] ausgeliehen [% END %]

It should be the same as in the English version. A very dirty workaround would
be not to translate 'onsite' and 'checkout' in Pootle.

Most problably other language will fall into this trap as well.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list