From d5ddd0987e5d9ed028507a448110a4d68b428bc0 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. Signed-off-by: Chris Cormack --- 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