From 372660a04a26b4b945beddca4e1a2921f882f230 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 28 Feb 2011 15:44:50 +0100 Subject: [PATCH] Bug 6141: html glitches causing problems to translator * opac-topissue.pl = untranslatable string removed * authorities.pl missing _() in javascript --- .../prog/en/modules/authorities/authorities.tmpl | 4 ++-- .../opac-tmpl/prog/en/modules/opac-topissues.tmpl | 8 ++++---- opac/opac-topissues.pl | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl index cadea08..ce2bf54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl @@ -557,14 +557,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.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tmpl index 183c483..80124cc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tmpl @@ -52,10 +52,10 @@ function Dopop(link) { The most checked-out - titles + - at - + at + in the past months @@ -120,7 +120,7 @@ function Dopop(link) {
  • - diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 80e7c35..fa7f3a2 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -114,8 +114,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.4.1