diff options
author | skjnldsv <fremulon@protonmail.com> | 2016-10-11 14:21:37 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-10-11 15:06:25 +0200 |
commit | 1930aa3102b52258480c52998661802432c866b1 (patch) | |
tree | f63ccd907ec06a7dae400e64d88f43f4fc7d2300 /core/search/js | |
parent | 35a7a4f3136ab35fbc31a983c2207cf9ecdffb1d (diff) | |
download | nextcloud-server-1930aa3102b52258480c52998661802432c866b1.tar.gz nextcloud-server-1930aa3102b52258480c52998661802432c866b1.zip |
Fix bold no results search text
Fix wording
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})); |