Koha/koha-tmpl/intranet-tmpl/prog/en/js
Bernardo Gonzalez Kriegel b6518e632d Bug 6709 - marc21_field_006.xml and marc21_field_008.xml can't be translated
This patch changes
1) structure and schema for xml files used in MARC21
006 and 008 value builders.
2) JavaScript functions used to show value builders.

Xml processing is enabled in previous patch

Any translatable string has been moved to an xml element,
those strings that no need translation remains as xml
attributes.

NOTE_1: I do not include as translatable material types
codes, because those values are restricted in schema
definition. But this restriction can be removed.

NOTE_2: Anyone with experience in XML/XSD please
check the new schema definition.

NOTE_3: Anyone with experience in the former and
JavaScript please check xmlControlfield.js

To test:
1) Apply the patch
2) Verify that 006 and 008 value builders show and work
properly
3) Update translation files for your favorite language,
a new set of strings must show up corresponding to
names and descriptions on value builders.

Note: messed up patches, sending again.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.

Did regression tests on the plugins for 006 and 008 and could
spot no differences in behavior of the plugins to before.

Also tested the translation process and found it working nicely.
Thank you for fixing this long standing translation bug!
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-01 06:53:38 -04:00
..
pages Bug 9882 - Use DataTables on batch modifications pages 2013-03-30 20:33:52 -04:00
acq.js Bug 9766 - Remove YUI menu on budget planning page in favor of different column-hiding system 2013-04-25 21:56:49 -04:00
additem.js Bug 8495: Fix JS error when creating a new order 2012-08-28 17:51:24 +02:00
ajax.js Bug 9797 - Untranslatable strings have returned to ajax.js 2013-03-29 21:44:05 -04:00
background-job-progressbar.js
basket.js Bug 7368: Removing occurrences of dependant= feature in javascript open calls 2012-11-20 07:23:03 -05:00
cataloging.js Bug 9759: last subfield can be deleted 2013-03-29 22:48:52 -04:00
datatables.js Bug 9887 [Revised] Use DataTables on circulation page 2013-04-15 09:10:09 -04:00
jquery.jeditable.mini.js Bug 7977: Adding jEditable minified version 2012-05-24 14:14:00 +02:00
localcovers.js Bug 8264 - local cover images not working in IE8 [ prog ] 2013-05-01 06:16:38 -04:00
members.js Bug 9783 - can hit submit twice when adding patrons 2013-03-27 22:58:17 -04:00
staff-global.js Bug 9783 - can hit submit twice when adding patrons 2013-03-27 22:58:17 -04:00
xmlControlfield.js Bug 6709 - marc21_field_006.xml and marc21_field_008.xml can't be translated 2013-05-01 06:53:38 -04:00