Bug 15674: Make "Column visibility" translatable
The "Column visibility" text button was not translatable, now it is. Test plan: 1/ Update the template for a given language and translate the "Column visibility" string 2/ Go on admin/currency.pl => The string should be translated. Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
fcff4ee1a6
commit
2c186dd5a0
|
|
@ -21,7 +21,10 @@ function KohaTable(selector, dt_parameters, columns_settings) {
|
|||
}
|
||||
id++;
|
||||
});
|
||||
dt_parameters[ "oColVis" ] = { "aiExclude": excluded_ids };
|
||||
dt_parameters[ "oColVis" ] = {
|
||||
"aiExclude": excluded_ids,
|
||||
"buttonText": _("Column visibility")
|
||||
};
|
||||
var table = $(selector).dataTable($.extend(true, {}, dataTablesDefaults, dt_parameters));
|
||||
|
||||
$(hidden_ids).each(function(index, value) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue