[Koha-patches] [PATCH] Bug 6141: html glitches causing problems to translator
Julian Maurice
julian.maurice at biblibre.com
Fri Apr 8 14:17:47 CEST 2011
From: Paul Poulain <paul.poulain at biblibre.com>
* 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) {
<caption>The <!-- TMPL_VAR NAME="limit"--> most checked-out
<!-- TMPL_IF name="itemtype" -->
<!-- TMPL_VAR name="itemtype" -->
- <!-- TMPL_ELSE --> titles<!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
<!-- TMPL_IF name="branch" -->
- at
- <!-- TMPL_VAR name="branch" -->
+ at
+ <!-- TMPL_VAR name="branch" -->
<!-- /TMPL_IF -->
<!-- TMPL_IF name="timeLimitFinite" -->
in the past <!-- TMPL_VAR name="timeLimitFinite" --> months
@@ -120,7 +120,7 @@ function Dopop(link) {
<!-- /TMPL_LOOP -->
</select></li>
<li>
- <label for="timeLimit">Acquired in the last:</label> <select name="timeLimit" id="timeLimit">
+ <label for="timeLimit">of the last:</label> <select name="timeLimit" id="timeLimit">
<!-- TMPL_IF EXPR="timeLimit == 3" --><option value="3" selected="selected">3 months</option><!-- TMPL_ELSE --><option value="3">3 months</option><!-- /TMPL_IF -->
<!-- TMPL_IF EXPR="timeLimit == 6" --><option value="6" selected="selected">6 months</option><!-- TMPL_ELSE --><option value="6">6 months</option><!-- /TMPL_IF -->
<!-- TMPL_IF EXPR="timeLimit == 12" --><option value="12" selected="selected">12 months</option><!-- TMPL_ELSE --><option value="12">12 months</option><!-- /TMPL_IF -->
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
More information about the Koha-patches
mailing list