mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
UX: update placeholder for full page search
This commit is contained in:
parent
c61ce66411
commit
dcf33e74d6
@ -6,7 +6,7 @@ import { applySearchAutocomplete } from "discourse/lib/search";
|
||||
export default TextField.extend({
|
||||
@computed('searchService.searchContextEnabled')
|
||||
placeholder(searchContextEnabled) {
|
||||
return searchContextEnabled ? "" : I18n.t('search.title');
|
||||
return searchContextEnabled ? "" : I18n.t('search.full_page_title');
|
||||
},
|
||||
|
||||
@on("didInsertElement")
|
||||
|
@ -1469,6 +1469,7 @@ en:
|
||||
one: "<span>1 result for</span><span class='term'>{{term}}</span>"
|
||||
other: "<span>{{count}}{{plus}} results for</span><span class='term'>{{term}}</span>"
|
||||
title: "search topics, posts, users, or categories"
|
||||
full_page_title: "search topics or posts"
|
||||
no_results: "No results found."
|
||||
no_more_results: "No more results found."
|
||||
searching: "Searching ..."
|
||||
|
Loading…
Reference in New Issue
Block a user