diff --git a/browser/base/content/abouthome/aboutHome.xhtml b/browser/base/content/abouthome/aboutHome.xhtml index 1fb2857d0815..264ee99bb996 100644 --- a/browser/base/content/abouthome/aboutHome.xhtml +++ b/browser/base/content/abouthome/aboutHome.xhtml @@ -42,6 +42,7 @@
diff --git a/browser/base/content/contentSearchUI.js b/browser/base/content/contentSearchUI.js index 349bae8e7944..a218bc2487fe 100644 --- a/browser/base/content/contentSearchUI.js +++ b/browser/base/content/contentSearchUI.js @@ -599,7 +599,6 @@ ContentSearchUIController.prototype = { this._updateSearchWithHeader(); document.getElementById("contentSearchSettingsButton").textContent = this._strings.searchSettings; - this.input.setAttribute("placeholder", this._strings.searchPlaceholder); }, _updateDefaultEngineHeader() { diff --git a/browser/base/content/newtab/newTab.xhtml b/browser/base/content/newtab/newTab.xhtml index df6d62404df5..98fb60eab2cf 100644 --- a/browser/base/content/newtab/newTab.xhtml +++ b/browser/base/content/newtab/newTab.xhtml @@ -71,7 +71,8 @@
+ placeholder="&searchInput.placeholder;" + aria-label="&contentSearchInput.label;" maxlength="256"/>
diff --git a/browser/components/search/content/search.xml b/browser/components/search/content/search.xml index 7b4fda4aa44f..2143194eecb0 100644 --- a/browser/components/search/content/search.xml +++ b/browser/components/search/content/search.xml @@ -10,8 +10,6 @@ -%searchBarDTD; %browserDTD; ]> @@ -38,6 +36,7 @@ anonid="searchbar-textbox" type="autocomplete" inputtype="search" + placeholder="&searchInput.placeholder;" flex="1" autocompletepopup="PopupSearchAutoComplete" autocompletesearch="search-autocomplete" @@ -56,22 +55,20 @@ + tooltiptext="&searchIcon.tooltip;"/> + + + + diff --git a/browser/locales/en-US/chrome/browser/searchbar.dtd b/browser/locales/en-US/chrome/browser/searchbar.dtd deleted file mode 100644 index e5d18e4e8b21..000000000000 --- a/browser/locales/en-US/chrome/browser/searchbar.dtd +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/browser/locales/jar.mn b/browser/locales/jar.mn index b407aa99be38..52e58653d36b 100644 --- a/browser/locales/jar.mn +++ b/browser/locales/jar.mn @@ -33,7 +33,6 @@ locale/browser/safeMode.dtd (%chrome/browser/safeMode.dtd) locale/browser/sanitize.dtd (%chrome/browser/sanitize.dtd) locale/browser/search.properties (%chrome/browser/search.properties) - locale/browser/searchbar.dtd (%chrome/browser/searchbar.dtd) locale/browser/sitePermissions.properties (%chrome/browser/sitePermissions.properties) locale/browser/engineManager.properties (%chrome/browser/engineManager.properties) locale/browser/setDesktopBackground.dtd (%chrome/browser/setDesktopBackground.dtd) diff --git a/browser/modules/ContentSearch.jsm b/browser/modules/ContentSearch.jsm index a18fd7923c2f..7c779d133438 100644 --- a/browser/modules/ContentSearch.jsm +++ b/browser/modules/ContentSearch.jsm @@ -119,7 +119,7 @@ this.ContentSearch = { } this._searchSuggestionUIStrings = {}; let searchBundle = Services.strings.createBundle("chrome://browser/locale/search.properties"); - let stringNames = ["searchHeader", "searchPlaceholder", "searchForSomethingWith", + let stringNames = ["searchHeader", "searchForSomethingWith", "searchWithHeader", "searchSettings"]; for (let name of stringNames) {