Bug 6141 - html glitches causing problems to translator

* opac-topissue.pl = untranslatable string removed
* authorities.pl missing _() in javascript

Rewrite of patch authored by Julian Maurice.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Kyle M Hall 2012-06-09 07:04:48 -04:00 committed by Paul Poulain
parent 828cc512c9
commit 10861e1293
3 changed files with 6 additions and 6 deletions

View File

@ -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 }
});

View File

@ -52,7 +52,7 @@ function Dopop(link) {
<caption>The [% limit %] most checked-out
[% IF ( itemtype ) %]
[% itemtype %]
[% ELSE %] titles[% END %]
[% END %]
[% IF ( branch ) %]
at
[% branch %]
@ -120,7 +120,7 @@ function Dopop(link) {
[% END %]
</select></li>
<li>
<label for="timeLimit">Acquired in the last:</label> <select name="timeLimit" id="timeLimit">
<label for="timeLimit">of the the last:</label> <select name="timeLimit" id="timeLimit">
[% IF ( timeLimit == 3 ) %]<option value="3" selected="selected">3 months</option>[% ELSE %]<option value="3">3 months</option>[% END %]
[% IF ( timeLimit == 6 ) %]<option value="6" selected="selected">6 months</option>[% ELSE %]<option value="6">6 months</option>[% END %]
[% IF ( timeLimit == 12 ) %]<option value="12" selected="selected">12 months</option>[% ELSE %]<option value="12">12 months</option>[% END %]

View File

@ -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,