normalize to search.title for search help

This commit is contained in:
Jeff Atwood 2014-06-16 16:20:57 -07:00
parent a0d9dcce17
commit 5db621c5fe
3 changed files with 4 additions and 5 deletions

View File

@ -28,6 +28,6 @@ export default TextField.extend({
}
}
return I18n.t('search.placeholder');
return I18n.t('search.title');
}.property('searchContext')
});

View File

@ -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 ..."

View File

@ -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() {