From 994ad3bcfd38993fd72e94a1c8f0a7c2041d0414 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 22 Aug 2022 08:18:46 +0100 Subject: [PATCH] Bug 31428: 'Configure this table' -> 'Configure' I agree, the shorter wording should be used. Signed-off-by: Owen Leonard Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc index 7b109eb3e9..332868f370 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc @@ -165,8 +165,8 @@ function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { dt_parameters[ "buttons" ].push( { className: "dt_button_configure_table", - titleAttr: _("Configure this table"), - text: ' ' + _("Configure this table") + '', + titleAttr: _("Table settings"), + text: ' ' + _("Configure") + '', action: function() { window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table']; }, diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js index d39bec0588..f4247ae343 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js +++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js @@ -817,8 +817,8 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { settings[ "buttons" ].push( { className: "dt_button_configure_table", - titleAttr: __("Configure this table"), - text: ' ' + __("Configure this table") + '', + titleAttr: __("Table settings"), + text: ' ' + __("Configure") + '', action: function() { window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table']; }, -- 2.39.5