diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-18 13:48:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-18 13:48:01 +0200 |
commit | 2bb031ecc6d8aaee496ffedaaff02a7485f9b16c (patch) | |
tree | 2b03fb16e4cd093c7660c4269362521feec74bc7 /core | |
parent | 129fdf2e2ec8caedadf7896e3400213144c23a8e (diff) | |
parent | 1930aa3102b52258480c52998661802432c866b1 (diff) | |
download | nextcloud-server-2bb031ecc6d8aaee496ffedaaff02a7485f9b16c.tar.gz nextcloud-server-2bb031ecc6d8aaee496ffedaaff02a7485f9b16c.zip |
Merge pull request #1606 from nextcloud/search-detail
search design details
Diffstat (limited to 'core')
-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 ef99cf7e961..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') + '</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})); |