Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 6c48a1e2c2 Bug 18791: (follow up) Fix translation of copy messages
This patch updates DataTables configuration so that more strings are
translatable:

https://datatables.net/extensions/buttons/examples/html5/copyi18n.html

To test, apply the patch and clear your browser cache.

- Open the account tab for a patron who has only one fine.
- Confirm that the new DataTables buttons appear.
- Click the 'Copy' button and confirm that a "Copied 1 row to clipboard"
  message appears.
- Test again with a patron who has multiple fines, confirm that the
  message reads "Copied X rows to clipboard."

To test the translation:

- Confirm that "Copied 1 row to clipboard" is missing from the language
  file you're testing with (misc/translator/po/xx-YY-staff-prog.po).
- Run 'translate update xx-YY'
- Check that the clipboard strings are now in the po file.
- Add translations for those strings.
- Run 'translate update xx-YY' and 'translate install xx-YY'
- Switch to the translated language and clear your browser cache.
- Test the 'Copy' button again. Your translated text should appear.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-13 13:55:22 -03:00
..
pages Bug 20115: Trigger "modified" when sort is changed 2018-04-04 15:45:44 -03:00
acq.js Bug 19592: Move admin templates JavaScript to the footer: Acquisitions 2017-12-11 11:34:20 -03:00
acquisitions-menu.js Bug 19753: (QA follow-up) Style invoices menu item when on individual invoice page 2017-12-22 13:15:40 -03:00
additem.js Bug 18183: jQuery append error related to script tags in cloneItemBlock 2018-01-02 11:46:40 -03:00
admin-menu.js Bug 19608: (QA follow-up) Fix menu item styling for clone-rules 2017-12-26 12:52:33 -03:00
ajax.js
audio_alerts.js
auth-finder-search.js Bug 19786: (follow-up) Correct js include path, popup window size 2018-03-26 17:31:20 -03:00
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
basketgroup.js
biblio_framework.js
cart.js Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
catalog.js
cataloging.js Bug 19503: Duplicating a dropdown menu subfield yields an empty subfield tag 2017-10-27 13:57:10 -03:00
categories.js Bug 20538: Move categories.js out of language directory 2018-04-13 11:49:44 -03:00
checkouts.js Bug 9573: (follow-up) Lost items report - add KohaTable to itemlost 2018-02-17 18:32:14 -03:00
circ-patron-search-results.js Bug 20221: Fix for JavaScript error during checkout patron search 2018-02-16 13:00:57 -03:00
commons.js Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
datatables.js Bug 18791: (follow up) Fix translation of copy messages 2018-04-13 13:55:22 -03:00
file-upload.js
holds.js
item_search_fields.js
localcovers.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js Bug 19641: (follow-up) Fix update child menu option 2018-02-15 13:30:23 -03:00
members.js Bug 19907: Fix email validation in patron edit form 2018-04-02 18:07:45 -03:00
merge-record.js
messaging-preference-form.js Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
offlinecirc.js
onboarding.js Bug 19514: Add client-side check 2017-12-14 16:58:13 -03:00
prevent_submit.js
rotating-collections.js Bug 19656: Move rotating collections templates JS to the footer 2017-12-11 11:34:22 -03:00
serials-toolbar.js Bug 19777: Move template JavaScript to the footer: Serials, part 3 2017-12-14 16:58:13 -03:00
showpredictionpattern.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
sms_providers.js
staff-global.js Bug 19029: Add JavaScript security question for cloning circ rules 2017-10-27 14:09:00 -03:00
subscription-add.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
table_filters.js Bug 9573: Lost items report - add KohaTable to itemlost 2018-02-17 18:32:14 -03:00
tools-menu.js Bug 19627: (follow-up) Include tools-menu.js on required templates 2017-12-14 16:58:14 -03:00
xmlControlfield.js
z3950_search.js