[Koha-bugs] [Bug 23973] New: Serials module broken by Swedish translation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 14:58:43 CET 2019
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: koha-bugs at lists.koha-community.org
Reporter: magnus at libriotech.no
QA Contact: testopia at bugs.koha-community.org
CC: colin.campbell at ptfs-europe.com
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.
More information about the Koha-bugs
mailing list