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

            Bug ID: 23973
           Summary: Serials module broken by Swedish translation
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Serials
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

One customer recently upgraded to 19.05.04.000 (Debian packages). After the
upgrade the serials module is broken when they view the Swedish translation,
but not when they view it in English. The most visually striking problem is
that both page 1 and 2 of the serials form is displayed on one page. 

I have narrowed the problem down to
koha-tmpl/intranet-tmpl/prog/sv-SE/modules/serials/subscription-add.tt line 509
which looks like this in the Swedish translation:

  var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[%
ELSE %][% END %];

and this in the English original:

  var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[%
ELSE %]0[% END %];

Notice the missing 0 between ELSE and END in the Swedish template. 

I have tried to look through the Swedish staff .po file, but I have not been
able to spot any strings that affect this area of the file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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