Bug 617261: Replace 'donation' with 'contribution'. r=Unfocused, a=blocks-beta9
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 08 Dec 2010 14:41:50 -0800
changeset 58912 b9c28902b79ce5c87291517fd1ae3c013e45db22
parent 58911 c7b784648b0252f9dc1a6f5c8225cae3eaa82e45
child 58913 c44ffda23deb31a686eee13f9301c75a85f7ae2e
push idunknown
push userunknown
push dateunknown
reviewersUnfocused, blocks-beta9
bugs617261
milestone2.0b8pre
Bug 617261: Replace 'donation' with 'contribution'. r=Unfocused, a=blocks-beta9
toolkit/locales/en-US/chrome/mozapps/extensions/extensions.properties
toolkit/mozapps/extensions/content/extensions.js
--- a/toolkit/locales/en-US/chrome/mozapps/extensions/extensions.properties
+++ b/toolkit/locales/en-US/chrome/mozapps/extensions/extensions.properties
@@ -40,18 +40,18 @@ notification.upgrade=%1$S will be update
 notification.downloadError=There was an error downloading %1$S.
 notification.downloadError.retry=Try again
 notification.downloadError.retry.tooltip=Try downloading this add-on again
 #LOCALIZATION NOTE (notification.installError) %1$S is the add-on name. Not yet implemented - see https://bug593535.bugzilla.mozilla.org/attachment.cgi?id=475403
 notification.installError=There was an error installing %1$S.
 notification.installError.retry=Try again
 notification.installError.retry.tooltip=Try downloading and installing this add-on again
 
-#LOCALIZATION NOTE (contributionAmount) %S is the currency amount recommended for contributions
-contributionAmount=Suggested Donation: %S
+#LOCALIZATION NOTE (contributionAmount2) %S is the currency amount recommended for contributions
+contributionAmount2=Suggested Contribution: %S
 
 installDownloading=Downloading
 installDownloaded=Downloaded
 installDownloadFailed=Error downloading
 installVerifying=Verifying
 installInstalling=Installing
 installEnablePending=Restart to enable
 installDisablePending=Restart to disable
--- a/toolkit/mozapps/extensions/content/extensions.js
+++ b/toolkit/mozapps/extensions/content/extensions.js
@@ -2109,17 +2109,17 @@ var gDetailView = {
     var desc = document.getElementById("detail-desc");
     desc.textContent = aAddon.fullDescription ? aAddon.fullDescription
                                               : aAddon.description;
 
     var contributions = document.getElementById("detail-contributions");
     if ("contributionURL" in aAddon && aAddon.contributionURL) {
       contributions.hidden = false;
       var amount = document.getElementById("detail-contrib-suggested");
-      amount.value = gStrings.ext.formatStringFromName("contributionAmount",
+      amount.value = gStrings.ext.formatStringFromName("contributionAmount2",
                                                        [aAddon.contributionAmount],
                                                        1);
     } else {
       contributions.hidden = true;
     }
 
     var updateDateRow = document.getElementById("detail-dateUpdated");
     if (aAddon.updateDate) {