From 6e4a7331d7ce5336cbabc0ea2439644a49d240a6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Sat, 9 Jun 2012 07:04:48 -0400 Subject: [PATCH] Bug 6141 - html glitches causing problems to translator Content-Type: text/plain; charset="utf-8" * opac-topissue.pl = untranslatable string removed * authorities.pl missing _() in javascript Rewrite of patch authored by Julian Maurice. Signed-off-by: Martin Renvoize --- .../prog/en/modules/authorities/authorities.tt | 4 ++-- .../opac-tmpl/prog/en/modules/opac-topissues.tt | 4 ++-- opac/opac-topissues.pl | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index 6512360..fce6ee0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -529,14 +529,14 @@ function searchauthority() { var addauthButton = new YAHOO.widget.Button({ id: "addauth", type: "button", - label: "Save", + label: _("Save"), container: "addauthc", onclick: {fn: Check } }); var addauthButton2 = new YAHOO.widget.Button({ id: "addauth2", type: "button", - label: "Save", + label: _("Save"), container: "action", onclick: {fn: Check } }); diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt index c05f6fc..ff30035 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt @@ -52,7 +52,7 @@ function Dopop(link) { The [% limit %] most checked-out [% IF ( itemtype ) %] [% itemtype %] - [% ELSE %] titles[% END %] + [% END %] [% IF ( branch ) %] at [% branch %] @@ -120,7 +120,7 @@ function Dopop(link) { [% END %]
  • - [% IF ( timeLimit == 3 ) %][% ELSE %][% END %] [% IF ( timeLimit == 6 ) %][% ELSE %][% END %] [% IF ( timeLimit == 12 ) %][% ELSE %][% END %] diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 6ecc6ad..38986b9 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -122,8 +122,8 @@ if($timeLimit eq 999){ $timeLimitFinite = 0 }; $template->param(do_it => 1, limit => $limit, - branch => $branches->{$branch}->{branchname} || 'all locations', - itemtype => $itemtypes->{$itemtype}->{description} || 'item types', + branch => $branches->{$branch}->{branchname}, + itemtype => $itemtypes->{$itemtype}->{description}, timeLimit => $timeLimit, timeLimitFinite => $timeLimit, results_loop => \@results, -- 1.7.2.5