normalize to search.title for search help
This commit is contained in:
parent
a0d9dcce17
commit
5db621c5fe
|
@ -28,6 +28,6 @@ export default TextField.extend({
|
|||
}
|
||||
}
|
||||
|
||||
return I18n.t('search.placeholder');
|
||||
return I18n.t('search.title');
|
||||
}.property('searchContext')
|
||||
});
|
||||
|
|
|
@ -488,7 +488,7 @@ en:
|
|||
last_seen: 'Seen'
|
||||
created: 'Created'
|
||||
trust_level: 'Trust Level'
|
||||
search_hint: 'Username or email'
|
||||
search_hint: 'username or email'
|
||||
|
||||
create_account:
|
||||
title: "Create New Account"
|
||||
|
@ -645,8 +645,7 @@ en:
|
|||
image_link: "link your image will point to"
|
||||
|
||||
search:
|
||||
title: "search for topics, posts, users, or categories"
|
||||
placeholder: "type your search terms here"
|
||||
title: "search topics, posts, users, or categories"
|
||||
no_results: "No results found."
|
||||
searching: "Searching ..."
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ module("view:search-text-field", {
|
|||
});
|
||||
|
||||
test("formats placeholder correctly when no searchContext is provided", function() {
|
||||
placeholderUsesKeyAndContext("search.placeholder", undefined);
|
||||
placeholderUsesKeyAndContext("search.title", undefined);
|
||||
});
|
||||
|
||||
test("formats placeholder correctly when user searchContext is provided", function() {
|
||||
|
|
Loading…
Reference in New Issue