Bugzilla – Attachment 48726 Details for
Bug 15674
'Show/hide columns' is not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[3.22] Bug 15674: Make "Column visibility" translatable
Bug-15674-Make-Column-visibility-translatable.patch (text/plain), 1.40 KB, created by
Julian Maurice
on 2016-03-07 09:14:10 UTC
(
hide
)
Description:
[3.22] Bug 15674: Make "Column visibility" translatable
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-03-07 09:14:10 UTC
Size:
1.40 KB
patch
obsolete
>From 2c186dd5a00cf8cb18fb596957a5ddfa9559bc42 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 29 Feb 2016 07:32:14 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >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 ec86690..b3884b2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >@@ -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) { >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15674
:
48428
|
48483
|
48487
|
48525
|
48526
| 48726