Bug 11508: fix untranslatable pull-down in auth_subfields_structure.pl
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 4 Apr 2014 23:37:54 +0000 (20:37 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 14:40:41 +0000 (14:40 +0000)
commit4a32a188ae0a1bf189d3e1a4865051400c39b31e
treecc638ba29a3aa21bf686cdb39b398f28d1af322c
parent35caf5070d2bad3d5ecaad47f1da715e5c040c36
Bug 11508: fix untranslatable pull-down in auth_subfields_structure.pl

This patch replaces occurrences of CGI::scrolling_list with
untranslatable labels. It also fixes capitalization.

To test
1. Go to Administration > Authority types,
click 'MARC structure' of any auth type,
click 'subfields' for any Tag >= 010,
clic 'Edit subfields'

Check pulldowns 'Managed in tab' and 'Select to display or not'

2. Apply the patch

3. Reload and verify functionality of both pulldowns

4. Check that strings are not present on staff PO file
egrep "^msgid \"(Show all|Hide all|ignore)" misc/translator/po/fi-FI-i-staff-t-prog-v-3006000.po

5. Update language file
(cd misc/translator/; perl translate update fi-FI)

6. Check that strings are now present, repeat 4.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
NOTE: drop-downs work identically. Show all, Hide all, and
      ignore were added to the po files too.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Works as described and improves the page to manage authority
subfields.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
admin/auth_subfields_structure.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt