diff --git a/mobile/chrome/content/extensions.js b/mobile/chrome/content/extensions.js index e281da75fc5..f4fb4bb5246 100644 --- a/mobile/chrome/content/extensions.js +++ b/mobile/chrome/content/extensions.js @@ -526,10 +526,12 @@ var ExtensionsView = { let strings = document.getElementById("bundle_browser"); if (aAddons.length == 0) { - let item = this.displaySectionMessage("repo", - strings.getString("addonsSearchNone.label"), - strings.getString("addonsSearchSuccess.button"), - true); + let msg = aIsRecommended ? strings.getString("addonsSearchNone.recommended") : + strings.getString("addonsSearchNone.search"); + let button = aIsRecommended ? strings.getString("addonsSearchNone.button") : + strings.getString("addonsSearchSuccess2.button"); + let item = this.displaySectionMessage("repo", msg, button, true); + if (aSelectFirstResult) this._list.scrollBoxObject.scrollToElement(item); return; @@ -570,7 +572,7 @@ var ExtensionsView = { } if (!aIsRecommended) - this.displaySectionMessage("repo", null, strings.getString("addonsSearchSuccess.button"), true); + this.displaySectionMessage("repo", null, strings.getString("addonsSearchSuccess2.button"), true); }, showPage: function ev_showPage(aItem) { diff --git a/mobile/locales/en-US/chrome/browser.properties b/mobile/locales/en-US/chrome/browser.properties index 9afbef51d28..a667c0c0ee0 100644 --- a/mobile/locales/en-US/chrome/browser.properties +++ b/mobile/locales/en-US/chrome/browser.properties @@ -2,10 +2,12 @@ addonsLocalNone.label=No add-ons installed addonsSearchStart.label=Searching for add-ons… addonsSearchStart.button=Cancel -addonsSearchNone.label=No matches found +addonsSearchNone.search=No matches found +addonsSearchNone.recommended=No recommended add-ons +addonsSearchNone.button=Try Again addonsSearchFail.label=%S couldn't retrieve add-ons addonsSearchFail.button=OK -addonsSearchSuccess.button=Clear search +addonsSearchSuccess2.button=Clear Search addonsConfirmInstall.title=Installing Add-on addonsConfirmInstall.install=Install