mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 21:24:00 +08: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({
|
export default TextField.extend({
|
||||||
@computed('searchService.searchContextEnabled')
|
@computed('searchService.searchContextEnabled')
|
||||||
placeholder(searchContextEnabled) {
|
placeholder(searchContextEnabled) {
|
||||||
return searchContextEnabled ? "" : I18n.t('search.title');
|
return searchContextEnabled ? "" : I18n.t('search.full_page_title');
|
||||||
},
|
},
|
||||||
|
|
||||||
@on("didInsertElement")
|
@on("didInsertElement")
|
||||||
|
@ -1469,6 +1469,7 @@ en:
|
|||||||
one: "<span>1 result for</span><span class='term'>{{term}}</span>"
|
one: "<span>1 result for</span><span class='term'>{{term}}</span>"
|
||||||
other: "<span>{{count}}{{plus}} results 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"
|
title: "search topics, posts, users, or categories"
|
||||||
|
full_page_title: "search topics or posts"
|
||||||
no_results: "No results found."
|
no_results: "No results found."
|
||||||
no_more_results: "No more results found."
|
no_more_results: "No more results found."
|
||||||
searching: "Searching ..."
|
searching: "Searching ..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user