Bug 15674: Make "Column visibility" translatable
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 29 Feb 2016 07:32:14 +0000 (07:32 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 00:58:13 +0000 (00:58 +0000)
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: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc

index 7d80435..d228aa3 100644 (file)
@@ -26,6 +26,7 @@ function KohaTable(selector, dt_parameters, columns_settings) {
         {
             extend: 'colvis',
             columns: included_ids,
+            text: _('Column visibility'),
         }
     ];
     var table = $(selector).dataTable($.extend(true, {}, dataTablesDefaults, dt_parameters));