Bugzilla – Attachment 30804 Details for
Bug 12621
Z39.50-targets - Record type is untranslatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 12621: Z39.50-targets - Record type is untranslatable
PASSED-QA-Bug-12621-Z3950-targets---Record-type-is.patch (text/plain), 2.33 KB, created by
Katrin Fischer
on 2014-08-14 20:24:02 UTC
(
hide
)
Description:
[PASSED QA] Bug 12621: Z39.50-targets - Record type is untranslatable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-08-14 20:24:02 UTC
Size:
2.33 KB
patch
obsolete
>From 6b49ae47bd046d979aafbc1dfbcdaf85d68818e1 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Sun, 10 Aug 2014 19:53:44 -0300 >Subject: [PATCH] [PASSED QA] Bug 12621: Z39.50-targets - Record type is > untranslatable > >This patch makes displayed record types translatable > >To test: >1) Go to Administration > Z39.50 servers >2) On column Record type the value is 'biblio' or 'authority' >3) Apply the patch >4) Reload the page, now record type must show 'Bibliographic' >or 'Authority' >5) Update translation file for a language, verify new entries >Strings are already on translation file, only a reference >for new entry on the file. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely, no problems found. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >index c43e6eb..9657a0e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >@@ -179,7 +179,13 @@ > <tr> > [% END %] > <td><a href="[% loo.script_name %]?op=edit&id=[% loo.id %]">[% loo.name %]</a></td><td>[% loo.host %]:[% loo.port %]</td><td>[% loo.db %]</td><td>[% loo.userid %]</td><td>[% IF loo.password %]########[% END %]</td><td>[% IF ( loo.checked ) %]Yes[% ELSE %]No[% END %]</td><td>[% loo.rank %]</td> >-<td>[% loo.syntax %]</td><td>[% loo.encoding %]</td><td>[% loo.timeout %]</td><td>[% loo.recordtype %]</td> >+<td>[% loo.syntax %]</td><td>[% loo.encoding %]</td><td>[% loo.timeout %]</td> >+ <td>[% IF ( loo.recordtype == 'biblio' ) %] >+ <span>Bibliographic</span> >+ [% ELSIF ( loo.recordtype == 'authority' ) %] >+ <span>Authority</span> >+ [% END %] >+ </td> > <td><a href="[% loo.script_name %]?op=edit&id=[% loo.id %]">Edit</a> <a href="[% loo.script_name %]?op=add&id=[% loo.id %]">Copy</a> <a href="javascript:void(0);" onclick="ConfirmDelete('[% loo.name | replace("['\"]","") %]','[% loo.id %]');">Delete</a></td> > </tr> > [% END %] >-- >1.9.1
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 12621
:
30674
|
30685
| 30804