Bug 518572 - When no network is available in Addons, display "Retry" instead of "OK"; r=mbrubeck
authorShyam Prasad Murarka <murshyam@gmail.com>
Sun, 11 Sep 2011 07:35:29 -0700
changeset 76880 7b9267933bb44fe14511997e8cf338b9bc3017b3
parent 76877 b384cfab8b1d5bfabd2229c8f84717a5442e5bb1
child 76881 870d1be89bcdb1f8811d5a3909bc4d9b39af7847
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersmbrubeck
bugs518572
milestone9.0a1
Bug 518572 - When no network is available in Addons, display "Retry" instead of "OK"; r=mbrubeck
mobile/chrome/content/extensions.js
mobile/locales/en-US/chrome/browser.properties
--- a/mobile/chrome/content/extensions.js
+++ b/mobile/chrome/content/extensions.js
@@ -859,17 +859,17 @@ var ExtensionsView = {
 function searchFailed() {
   ExtensionsView.clearSection("repo");
 
   let strings = Strings.browser;
   let brand = Strings.brand;
 
   let failLabel = strings.formatStringFromName("addonsSearchFail.label",
                                              [brand.GetStringFromName("brandShortName")], 1);
-  let failButton = strings.GetStringFromName("addonsSearchFail.button");
+  let failButton = strings.GetStringFromName("addonsSearchFail.retryButton");
   ExtensionsView.displaySectionMessage("repo", failLabel, failButton, true);
 }
 
 
 ///////////////////////////////////////////////////////////////////////////////
 // callback for the recommended search
 var RecommendedSearchResults = {
   cache: null,
--- a/mobile/locales/en-US/chrome/browser.properties
+++ b/mobile/locales/en-US/chrome/browser.properties
@@ -1,17 +1,17 @@
 # Add-on Manager
 addonsLocalNone.label=No add-ons installed
 addonsSearchStart.label=Searching for add-ons…
 addonsSearchStart.button=Cancel
 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
+addonsSearchFail.retryButton=Retry
 addonsSearchSuccess2.button=Clear Search
 addonsBrowseAll.label=Browse all add-ons
 addonsBrowseAll.description=addons.mozilla.org has many to explore
 addonsBrowseAll.seeMore=See More Add-ons
 addonsBrowseAll.browseSite=Browse Site
 
 # LOCALIZATION NOTE (addonsSearchMore.label): Semi-colon list of plural forms.
 # See: http://developer.mozilla.org/en/docs/Localization_and_Plurals