Bug 1365259 - Update the result not found message.
MozReview-Commit-ID: 3vmUP0GVbgy
--- a/browser/components/preferences/in-content/findInPage.js
+++ b/browser/components/preferences/in-content/findInPage.js
@@ -226,17 +226,17 @@ var gSearchResultsPane = {
srHeader.hidden = false;
if (!resultsFound) {
let noResultsEl = document.querySelector(".no-results-message");
noResultsEl.hidden = false;
let strings = this.strings;
document.getElementById("sorry-message").textContent =
- strings.getFormattedString("searchResults.sorryMessage", [query]);
+ strings.getFormattedString("searchResults.sorryMessage2", [query]);
let brandName = document.getElementById("bundleBrand").getString("brandShortName");
document.getElementById("need-help").innerHTML =
strings.getFormattedString("searchResults.needHelp", [brandName]);
}
} else {
this.searchResultsCategory.hidden = true;
document.getElementById("sorry-message").textContent = "";
// Going back to General when cleared
--- a/browser/locales/en-US/chrome/browser/preferences/preferences.properties
+++ b/browser/locales/en-US/chrome/browser/preferences/preferences.properties
@@ -252,14 +252,14 @@ removeContainerAlertTitle=Remove This Co
# #S is the number of container tabs
removeContainerMsg=If you remove this Container now, #S container tab will be closed. Are you sure you want to remove this Container?;If you remove this Container now, #S container tabs will be closed. Are you sure you want to remove this Container?
removeContainerOkButton=Remove this Container
removeContainerButton2=Don’t remove this Container
# Search Results Pane
# LOCALIZATION NOTE %S will be replaced by the word being searched
-searchResults.sorryMessage=Sorry! No results were found for “%S”
+searchResults.sorryMessage2=Sorry! There are no results in Preferences for “%S”.
# LOCALIZATION NOTE %S gets replaced with the browser name
searchResults.needHelp=Need help? Visit <html:a id="need-help-link">%S Support</html:a>
# LOCALIZATION NOTE %S is the default value of the `dom.ipc.processCount` pref.
defaultContentProcessCount=%S (default)