diff options
Diffstat (limited to 'core/search/js')
-rw-r--r-- | core/search/js/search.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/search/js/search.js b/core/search/js/search.js index 559fbcf9adf..93b1961eea5 100644 --- a/core/search/js/search.js +++ b/core/search/js/search.js @@ -217,7 +217,8 @@ $status.addClass('emptycontent').removeClass('status'); $status.html(''); $status.append('<div class="icon-search"></div>'); - $status.append('<h2>' + t('core', 'No search results in other folders {filter}', {filter:lastQuery}) + '</h2>'); + var error = t('core', "No search results in other folders for '{tag}{filter}{endtag}'", {filter:lastQuery}); + $status.append('<h2>' + error.replace('{tag}', '<strong>').replace('{endtag}', '</strong>') + '</h2>'); } else { $status.removeClass('emptycontent').addClass('status'); $status.text(n('core', '{count} search result in another folder', '{count} search results in other folders', count, {count:count})); |