diff --git a/src/jquery.uls.lcd.js b/src/jquery.uls.lcd.js index c3e8a1c..b52dcee 100644 --- a/src/jquery.uls.lcd.js +++ b/src/jquery.uls.lcd.js @@ -24,22 +24,25 @@ var noResultsTemplate, LanguageCategoryDisplay; - /*jshint multistr:true */ - noResultsTemplate = '
\ -

\ - No results found\ -

\ -
\ -
\ -

\ - You can search by language name, \ - script name, ISO code of language or \ - you can browse by region.\ -

\ -
\ -
\ -
'; - /*jshint multistr:false */ + noResultsTemplate = $( '
' ).addClass( 'twelve columns uls-no-results-view hide' ); + noResultsTemplate.append( + $( '

' ) + .attr( 'data-i18n', 'uls-no-results-found' ) + .addClass( 'eleven columns offset-by-one uls-no-results-found-title' ) + .text( 'No results found' ), + $( '
' ) + .attr( 'id', 'uls-no-found-more' ) + .addClass( 'uls-no-found-more' ) + .append( + $( '
' ) + .addClass( 'ten columns offset-by-one' ) + .append( + $( '

' ).append( + $( '' ).text( 'You can search by language name, script name, ISO code of language or you can browse by region.' ) + ) + ) + ) + ); LanguageCategoryDisplay = function ( element, options ) { this.$element = $( element );