Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1000)

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2693873007: MD Settings: Add link around "omnibox" text in search section. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/search_page/search_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
index 5523307c8c35a05d55c9945c676e27a6ba166fba..c7055c889aa35a12747a5220316adbe99820409f 100644
--- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
@@ -1460,7 +1460,6 @@ void AddSearchInSettingsStrings(content::WebUIDataSource* html_source) {
void AddSearchStrings(content::WebUIDataSource* html_source) {
LocalizedString localized_strings[] = {
{"searchPageTitle", IDS_SETTINGS_SEARCH},
- {"searchExplanation", IDS_SETTINGS_SEARCH_EXPLANATION},
{"searchEnginesManage", IDS_SETTINGS_SEARCH_MANAGE_SEARCH_ENGINES},
{"searchEnginesManageDescription",
IDS_SETTINGS_SEARCH_MANAGE_SEARCH_ENGINES_DESCRIPTION},
@@ -1483,6 +1482,10 @@ void AddSearchStrings(content::WebUIDataSource* html_source) {
chrome::kHotwordLearnMoreURL);
html_source->AddString("manageAudioHistoryUrl",
chrome::kManageAudioHistoryURL);
+ base::string16 search_explanation_text = l10n_util::GetStringFUTF16(
+ IDS_SETTINGS_SEARCH_EXPLANATION,
+ base::ASCIIToUTF16(chrome::kOmniboxLearnMoreURL));
+ html_source->AddString("searchExplanation", search_explanation_text);
}
void AddSearchEnginesStrings(content::WebUIDataSource* html_source) {
« no previous file with comments | « chrome/browser/resources/settings/search_page/search_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698