Bug 1267057 - Fix spelling of errorAddPermission. r=Ratty a=Ratty typo fix
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Sun, 24 Apr 2016 22:37:17 +0800
changeset 24845 e29ad0b53601a44f1f7611bf8ca762b7b62dab5a
parent 24844 d6cc99efbe15cd824b6adb766d26e1d42323b4db
child 24846 9ebe6f187f59d48f7fae551390d0a55a7c88f7e6
push id1657
push userclokep@gmail.com
push dateMon, 06 Jun 2016 19:50:21 +0000
treeherdercomm-beta@9fac989284b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersRatty, Ratty
bugs1267057
Bug 1267057 - Fix spelling of errorAddPermission. r=Ratty a=Ratty typo fix
suite/common/permissions/cookieViewer.js
suite/locales/en-US/chrome/common/permissions/cookieViewer.properties
--- a/suite/common/permissions/cookieViewer.js
+++ b/suite/common/permissions/cookieViewer.js
@@ -488,17 +488,17 @@ function setCookiePermissions(action) {
 
   var ioService = Components.classes["@mozilla.org/network/io-service;1"]
                             .getService(Components.interfaces.nsIIOService);
 
   try {
     var uri = ioService.newURI(url, null, null);
   } catch (e) {
     // show an error if URI can not be constructed or adding it failed
-    window.alert(cookieBundle.getString("errorAddPermisison"));
+    window.alert(cookieBundle.getString("errorAddPermission"));
     return;
   }
   // only allow a few schemes here
   // others like file:// would produce an invalid entry in the database
   if (uri.scheme != 'http'  &&
       uri.scheme != 'https') {
     // show an error if uri uses invalid scheme
     window.alert(uri.scheme + ": " + cookieBundle.getString("allowedURLSchemes"));
--- a/suite/locales/en-US/chrome/common/permissions/cookieViewer.properties
+++ b/suite/locales/en-US/chrome/common/permissions/cookieViewer.properties
@@ -10,17 +10,17 @@ canSession=website can set session cooki
 domain=Domain for which this cookie applies:
 host=Server which set the cookie:
 hostColon=Host:
 domainColon=Domain:
 forSecureOnly=Encrypted connections only
 forAnyConnection=Any type of connection
 expireAtEndOfSession=At end of session
 allowedURLSchemes=Check the entered url. Also you can only add permissions for http or https schemes
-errorAddPermisison=Permission for site could not be added
+errorAddPermission=Permission for site could not be added
 deleteAllCookies=Are you sure you want to delete all the cookies?
 deleteAllCookiesTitle=Remove All Cookies
 deleteAllCookiesYes=&Remove
 deleteAllCookiesSites=Are you sure you want to delete all of the cookie websites?
 deleteAllSitesTitle=Remove All Websites
 deleteAllSitesYes=&Remove
 deleteSelectedCookies=Are you sure you want to delete the selected cookies?
 deleteSelectedCookiesTitle=Remove Selected Cookies