From e8164b3fe17a11a73ba30c708093e8bf1e63d847 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel 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 @@ [% END %] [% loo.name %][% loo.host %]:[% loo.port %][% loo.db %][% loo.userid %][% IF loo.password %]########[% END %][% IF ( loo.checked ) %]Yes[% ELSE %]No[% END %][% loo.rank %] -[% loo.syntax %][% loo.encoding %][% loo.timeout %][% loo.recordtype %] +[% loo.syntax %][% loo.encoding %][% loo.timeout %] + [% IF ( loo.recordtype == 'biblio' ) %] + Bibliographic + [% ELSIF ( loo.recordtype == 'authority' ) %] + Authority + [% END %] + Edit Copy Delete [% END %] -- 1.9.1