diff --git a/app/assets/javascripts/discourse/routes/full-page-search.js.es6 b/app/assets/javascripts/discourse/routes/full-page-search.js.es6 index eb0cc01092c..41ea9d48296 100644 --- a/app/assets/javascripts/discourse/routes/full-page-search.js.es6 +++ b/app/assets/javascripts/discourse/routes/full-page-search.js.es6 @@ -8,6 +8,10 @@ import { getOwner } from 'discourse-common/lib/get-owner'; export default Discourse.Route.extend({ queryParams: { q: {}, expanded: false, context_id: {}, context: {}, skip_context: {} }, + titleToken() { + return I18n.t('search.results_page'); + }, + model(params) { const cached = getTransient('lastSearch'); var args = { q: params.q }; diff --git a/app/views/search/show.html.erb b/app/views/search/show.html.erb index e69de29bb2d..4bc06c6f461 100644 --- a/app/views/search/show.html.erb +++ b/app/views/search/show.html.erb @@ -0,0 +1 @@ +<% content_for :title do %><%= t 'js.search.results_page' %><% end %> diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 98265b0275a..e4dd024d4b0 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1294,6 +1294,7 @@ en: no_more_results: "No more results found." searching: "Searching ..." post_format: "#{{post_number}} by {{username}}" + results_page: "Search Results" context: user: "Search posts by @{{username}}"