Bugzilla – Attachment 60873 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.31 KB, created by
Marc Véron
on 2017-03-07 13:51:02 UTC
(
hide
)
Description:
Bug 18209 - Patron's card manage.pl page is not fully translatable
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-03-07 13:51:02 UTC
Size:
2.31 KB
patch
obsolete
>From 1eef33be44408ae577ccda6d9dd03eac876789c7 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> >--- > .../intranet-tmpl/prog/en/modules/patroncards/manage.tt | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > >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..9704c55 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >@@ -10,6 +10,18 @@ > [%- CASE 'batch' -%]batch > [%- CASE 'Batches' -%]Batches > [%- CASE 'Actions' -%]Actions >+[%- CASE 'Layout ID' -%]Layout ID >+[%- CASE 'Layout' -%]Layout >+[%- CASE 'Action' -%]Action >+[%- CASE 'Select' -%]Select >+[%- CASE 'Template ID' -%]Template ID >+[%- CASE 'Template Name' -%]Template name >+[%- CASE 'Description' -%]Description >+[%- CASE 'Profile ID' -%]Profile ID >+[%- CASE 'Printer Name' -%]Printer name >+[%- CASE 'Paper Bin' -%]Paper bin >+[%- CASE 'Batch ID' -%]Batch ID >+[%- CASE 'Patron Count' -%]Patron Count > [%- END -%] > [% END %] > [% BLOCK translate_card_elements %] >@@ -199,7 +211,7 @@ > [% CASE "Select" -%] > [% IF ( print ) %]<th>Select</th>[% END %] > [% CASE %] >- <th>[% header_field.field_label %]</th> >+ <th>[% PROCESS translate_card_element element=header_field.field_label %]</th> > [% END -%] > [% END %] > </tr> >-- >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 18209
:
60817
|
60873
|
60935
|
60936
|
60953
|
60954