Bugzilla – Attachment 30674 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]
Bug 12621: Z39.50-targets - Record type is untranslatable
Bug-12621-Z3950-targets---Record-type-is-untransla.patch (text/plain), 2.17 KB, created by
Bernardo Gonzalez Kriegel
on 2014-08-10 23:04:58 UTC
(
hide
)
Description:
Bug 12621: Z39.50-targets - Record type is untranslatable
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-08-10 23:04:58 UTC
Size:
2.17 KB
patch
obsolete
>From e8164b3fe17a11a73ba30c708093e8bf1e63d847 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] 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. >--- > 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