Koha/koha-tmpl/intranet-tmpl/prog/js
Julian Maurice 0c9b39a66d
Bug 24662: Remove global variables MSG_* from datatables.inc
Now that bug 21156 is pushed, we don't need to have global variables in
.inc or .tt files for translation in .js file. We can simply declare our
translatable strings where they are used.

This patch removes all global variables used in DataTables configuration

Test plan:
1. cd misc/translator && ./translate update fr-FR
2. Translate strings in misc/tranlator/po/fr-FR-messages-js.po
3. cd misc/translator && ./translate install fr-FR
4. Go to the staff interface, in english, and check that DataTables
tables are still working. You should check at least the following pages:
    - catalogue/detail.pl
    - circ/circulation.pl
    - tools/quotes.pl
    - tools/letter.pl
5. Switch to french and check again DataTables tables, and verify that
   strings are translated

This patch depends on bug 24661

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-11 13:49:15 +00:00
..
pages Bug 24219: Preserve sort order when returning to result list 2020-03-06 15:01:50 +00:00
acq.js
acquisitions-menu.js Bug 24347: Add a 'search to order' option similar to 'search to hold' 2020-01-30 10:58:03 +00:00
additem.js
addorderiso2709.js
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js
basketgroup.js
biblio_framework.js
cart.js
catalog.js
cataloging.js Bug 15850: Correct eslint errors in cataloging.js 2020-02-17 10:45:23 +00:00
cataloging_additem.js Bug 8643: Add important constraint to marc subfields 2020-02-11 14:33:29 +00:00
categories.js
charts.js
checkouts.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
circ-patron-search-results.js
commons.js
datatables.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
file-upload.js
funds_sorts.js
holds.js Bug 21296: suspend hold ignores system preference on intranet 2020-01-20 14:03:50 +00:00
ill-list-table.js Bug 24565: Add patron profile to ILL list pages 2020-03-11 13:41:13 +00:00
item_search_fields.js
letter.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
localcovers.js
mana.js
marc_modification_templates.js Bug 22245: Allow copy/move from and to control fields 2020-02-19 11:28:56 +00:00
marc_subfields_structure.js Bug 10469: Display more when editing subfields in frameworks 2020-01-03 16:32:26 +00:00
members-menu.js
members.js Bug 24113: guarantor info lost when a duplicate is found 2019-11-27 07:51:04 +00:00
merge-record.js
messaging-preference-form.js
offlinecirc.js Bug 24545: (follow-up) Fix license statements 2020-02-24 13:31:27 +00:00
onboarding.js
rotating-collections.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js
subscription-add.js Bug 24358: (bug 21232) Make the alert string translatable 2020-01-10 16:08:55 +00:00
table_filters.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
tools-menu.js
xmlControlfield.js
z3950_search.js