Bug 479645. Slight wording fix to rights stuff. r=gavin,pike.

This commit is contained in:
Mike Beltzner 2009-02-25 14:54:14 -05:00
parent a1f888815b
commit a853df172a
2 changed files with 6 additions and 6 deletions

View File

@ -446,10 +446,10 @@ BrowserGlue.prototype = {
var brandBundle = this._bundleService.createBundle("chrome://branding/locale/brand.properties");
var rightsBundle = this._bundleService.createBundle("chrome://browser/locale/aboutRights.properties");
var buttonLabel = rightsBundle.GetStringFromName("buttonLabel");
var buttonAccessKey = rightsBundle.GetStringFromName("buttonAccessKey");
var productName = brandBundle.GetStringFromName("brandFullName");
var notifyText = rightsBundle.formatStringFromName("notifyText", [productName], 1);
var buttonLabel = rightsBundle.GetStringFromName("buttonLabel");
var buttonAccessKey = rightsBundle.GetStringFromName("buttonAccessKey");
var productName = brandBundle.GetStringFromName("brandFullName");
var notifyRightsText = rightsBundle.formatStringFromName("notifyRightsText", [productName], 1);
var buttons = [
{
@ -466,7 +466,7 @@ BrowserGlue.prototype = {
var currentVersion = this._prefs.getIntPref("browser.rights.version");
this._prefs.setBoolPref("browser.rights." + currentVersion + ".shown", true);
var box = notifyBox.appendNotification(notifyText, "about-rights", null, notifyBox.PRIORITY_INFO_LOW, buttons);
var box = notifyBox.appendNotification(notifyRightsText, "about-rights", null, notifyBox.PRIORITY_INFO_LOW, buttons);
box.persistence = 3; // arbitrary number, just so bar sticks around for a bit
},

View File

@ -1,3 +1,3 @@
buttonLabel = Know your rights…
buttonAccessKey = K
notifyText = %S is free and open software from the non-profit Mozilla Foundation.
notifyRightsText = %S is free and open source software from the non-profit Mozilla Foundation.