@@ -, +, @@
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
@@ -903,17 +903,17 @@ $(document).ready(function(){
} );
[% END %]
[% IF ( RecordedBooksEnabled ) %]
- var $recordedbooks_results = $( '
' + _( 'Searching RecordedBooks...' ) + '
' );
+ var $recordedbooks_results = $( '' + _( "Searching RecordedBooks..." ) + '
' );
$( '#numresults' ) .append( ' ' )
.append( $recordedbooks_results );
KOHA.RecordedBooks.search( querystring, [% OPACnumSearchResults || "null" %], null, function( data ) {
if ( data.error ) {
- $recordedbooks_results.html( _( 'Error searching RecordedBooks collection' ) + ': ' + data.error);
+ $recordedbooks_results.html( _( "Error searching RecordedBooks collection: %s" ).format( data.error ) );
return;
}
if ( data.total > 0 ) {
- $recordedbooks_results.html( _( 'Found' ) + ' ' + data.total + ' ' + _( 'results' ) + ' ' + _( 'in RecordedBooks collection' ) );
+ $recordedbooks_results.html( _( "Found %s results in RecordedBooks collection" ).format('' + data.total + '') );
} else {
$recordedbooks_results.remove();
}
--