Bug 6141 - html glitches causing problems to translator - 3.8.x

* 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: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 8403c9d2c7)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Kyle M Hall 2012-06-09 07:04:48 -04:00 committed by Jared Camins-Esakov
parent 2075889275
commit 6c9b1f8bd8
2 changed files with 4 additions and 4 deletions

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,