Bugzilla – Attachment 60935 Details for
Bug 18209
Patron's card manage.pl page is not fully translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18209 - Patron's card manage.pl page is not fully translatable
Bug-18209---Patrons-card-managepl-page-is-not-full.patch (text/plain), 2.90 KB, created by
Blou
on 2017-03-08 21:50:30 UTC
(
hide
)
Description:
Bug 18209 - Patron's card manage.pl page is not fully translatable
Filename:
MIME Type:
Creator:
Blou
Created:
2017-03-08 21:50:30 UTC
Size:
2.90 KB
patch
obsolete
>From 1d7f5fd5341854c1d76431cbf20a4a7f0be29ee7 Mon Sep 17 00:00:00 2001 >From: Blou <philippe.blouin@inlibro.com> >Date: Fri, 3 Mar 2017 16:13:40 -0500 >Subject: [PATCH] Bug 18209 - Patron's card manage.pl page is not fully > translatable >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The headers of the tables displayed in patroncards/manage.tt are hardcoded in the .pl and thus cannot be translated. > >This simple fix reuse the translate_card_element tool already in the code to make the strings translatable. > >Applied patch and verified that table headers on manage.pl display the same as before. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../prog/en/modules/patroncards/manage.tt | 18 +++++++++++++----- > 1 file changed, 13 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >index dd7a73a..a319067 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >@@ -196,11 +196,19 @@ > <tr> > [% FOREACH header_field IN table_loo.header_fields %] > [% SWITCH header_field.field_label -%] >- [% CASE "Select" -%] >- [% IF ( print ) %]<th>Select</th>[% END %] >- [% CASE %] >- <th>[% header_field.field_label %]</th> >- [% END -%] >+ [%- CASE 'Layout ID' -%]<th>Layout ID</th> >+ [%- CASE 'Layout' -%]<th>Layout</th> >+ [%- CASE 'Action' -%]<th>Action</th> >+ [%- CASE 'Select' -%][% IF ( print ) %]<th>Select</th>[% END %] >+ [%- CASE 'Template ID' -%]<th>Template ID</th> >+ [%- CASE 'Template Name' -%]<th>Template name</th> >+ [%- CASE 'Description' -%]<th>Description</th> >+ [%- CASE 'Profile ID' -%]<th>Profile ID</th> >+ [%- CASE 'Printer Name' -%]<th>Printer name</th> >+ [%- CASE 'Paper Bin' -%]<th>Paper bin</th> >+ [%- CASE 'Batch ID' -%]<th>Batch ID</th> >+ [%- CASE 'Patron Count' -%]<th>Patron Count</th> >+ [% END -%] > [% END %] > </tr> > [% ELSE %] >-- >2.1.0
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 18209
:
60817
|
60873
|
60935
|
60936
|
60953
|
60954