@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/js/table_filters.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc @@ -23,5 +23,7 @@ var MSG_DT_COPY_SUCCESS_ONE = _("Copied one row to clipboard"); var MSG_DT_COPY_SUCCESS_X = _("Copied %d rows to clipboard"); var MSG_CLEAR_FILTER = _("Clear filter"); + var MSG_ACTIVATE_FILTERS = _("Activate filters"); + var MSG_DEACTIVATE_FILTERS = _("Deactivate filters"); [% Asset.js("js/datatables.js") | $raw %] --- a/koha-tmpl/intranet-tmpl/prog/js/table_filters.js +++ a/koha-tmpl/intranet-tmpl/prog/js/table_filters.js @@ -23,7 +23,7 @@ function activate_filters(id) { } $('#' + id + '_activate_filters') - .html(' ' + _("Deactivate filters") ) + .html(' ' + MSG_DEACTIVATE_FILTERS ) .unbind('click') .click(function() { deactivate_filters(id); @@ -41,7 +41,7 @@ function deactivate_filters(id) { filters_row.hide(); $('#' + id + '_activate_filters') - .html(' ' + _("Activate filters") ) + .html(' ' + MSG_ACTIVATE_FILTERS ) .unbind('click') .click(function() { activate_filters(id); --