bug 464774 - remove fuzzed option from SeaMonkey geolocation prompt, r+sr=Neil
authorRobert Kaiser <kairo@kairo.at>
Fri, 14 Nov 2008 14:02:08 +0100
changeset 1105 9a728ab5d0d12c4429fd4094b15f42f482889016
parent 1104 d243240e9898681c43172d4252a2fddf1154e66d
child 1106 c835317a8ff771a89d20fe1248463261e76c5f09
push idunknown
push userunknown
push dateunknown
bugs464774
bug 464774 - remove fuzzed option from SeaMonkey geolocation prompt, r+sr=Neil
suite/common/src/nsSuiteGlue.js
suite/locales/en-US/chrome/common/notification.properties
--- a/suite/common/src/nsSuiteGlue.js
+++ b/suite/common/src/nsSuiteGlue.js
@@ -173,20 +173,16 @@ GeolocationPrompt.prototype = {
                     .createBundle("chrome://communicator/locale/notification.properties");
 
       var buttons =
         [{
           label: notificationBundle.GetStringFromName("geolocation.exactLocation.label"),
           accessKey: notificationBundle.GetStringFromName("geolocation.exactLocation.accesskey"),
           callback: function() { aRequest.allow() },
         }, {
-          label: notificationBundle.GetStringFromName("geolocation.neighborhoodLocation.label"),
-          accessKey: notificationBundle.GetStringFromName("geolocation.neighborhoodLocation.accesskey"),
-          callback: function() { aRequest.allowButFuzz() },
-        }, {
           label: notificationBundle.GetStringFromName("geolocation.nothingLocation.label"),
           accessKey: notificationBundle.GetStringFromName("geolocation.nothingLocation.accesskey"),
           callback: function() { aRequest.cancel() },
         }];
 
       var message =
           notificationBundle.formatStringFromName("geolocation.requestMessage",
                                                   [aRequest.requestingURI.spec], 1);
--- a/suite/locales/en-US/chrome/common/notification.properties
+++ b/suite/locales/en-US/chrome/common/notification.properties
@@ -18,19 +18,17 @@ xpinstallPromptWarning=%S prevented this
 xpinstallPromptInstallButton=Install Software…
 xpinstallPromptInstallButton.accesskey=I
 xpinstallDisabledMessageLocked=Software installation has been disabled by your system administrator.
 xpinstallDisabledMessage=Software installation is currently disabled. Click Enable and try again.
 xpinstallDisabledButton=Enable
 xpinstallDisabledButton.accesskey=n
 
 # Geolocation UI
-# LOCALIZATION NOTE (exactLocation, neighborhoodLocation): These do not have to be
-# exact value, instead approximations would be fine.
-# examples: Neighborhood (within 2 km)
+# LOCALIZATION NOTE (exactLocation): This does not have to be an exact value,
+# instead an approximation would be fine.
+# example: Exact Location (within 3 m)
 #
 geolocation.requestMessage=%S wants to know where you are.  Tell them:
 geolocation.exactLocation.label=Exact Location (within 10 feet)
 geolocation.exactLocation.accesskey=E
-geolocation.neighborhoodLocation.label=Neighborhood (within 1 mile)
-geolocation.neighborhoodLocation.accesskey=N
 geolocation.nothingLocation.label=Nothing
 geolocation.nothingLocation.accesskey=o