summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-18 13:48:01 +0200
committerGitHub <noreply@github.com>2016-10-18 13:48:01 +0200
commit2bb031ecc6d8aaee496ffedaaff02a7485f9b16c (patch)
tree2b03fb16e4cd093c7660c4269362521feec74bc7 /core
parent129fdf2e2ec8caedadf7896e3400213144c23a8e (diff)
parent1930aa3102b52258480c52998661802432c866b1 (diff)
downloadnextcloud-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.js3
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}));