From 5d8f2aea25ac4a639404f6e65d89b556afdf2d92 Mon Sep 17 00:00:00 2001 From: Mark Finkle Date: Wed, 1 Oct 2008 15:36:38 -0500 Subject: [PATCH] Bug 454869: Geolocation UI strings have a typo, r=gavin --- mobile/chrome/content/browser.js | 16 +++++++------- .../locales/en-US/chrome/browser.properties | 21 ++++++++++++------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/mobile/chrome/content/browser.js b/mobile/chrome/content/browser.js index 6a0ccf563a8..bb8521b8470 100644 --- a/mobile/chrome/content/browser.js +++ b/mobile/chrome/content/browser.js @@ -195,21 +195,21 @@ var Browser = { if (!notification) { var bundle_browser = document.getElementById("bundle_browser"); var buttons = [{ - label: bundle_browser.getString("gelocation.exactLocation"), - subLabel: bundle_browser.getString("gelocation.exactLocation.subLabel"), - accessKey: bundle_browser.getString("gelocation.exactLocationKey"), + label: bundle_browser.getString("geolocation.exactLocation"), + subLabel: bundle_browser.getString("geolocation.exactLocation.subLabel"), + accessKey: bundle_browser.getString("geolocation.exactLocationKey"), callback: function(){request.allow()} }, { - label: bundle_browser.getString("gelocation.neighborhoodLocation"), - subLabel: bundle_browser.getString("gelocation.neighborhoodLocation.subLabel"), - accessKey: bundle_browser.getString("gelocation.neighborhoodLocationKey"), + label: bundle_browser.getString("geolocation.neighborhoodLocation"), + subLabel: bundle_browser.getString("geolocation.neighborhoodLocation.subLabel"), + accessKey: bundle_browser.getString("geolocation.neighborhoodLocationKey"), callback: function(){request.allowButFuzz()} }, { - label: bundle_browser.getString("gelocation.nothingLocation"), + label: bundle_browser.getString("geolocation.nothingLocation"), subLabel: "", - accessKey: bundle_browser.getString("gelocation.nothingLocationKey"), + accessKey: bundle_browser.getString("geolocation.nothingLocationKey"), callback: function(){request.cancel()} }]; diff --git a/mobile/locales/en-US/chrome/browser.properties b/mobile/locales/en-US/chrome/browser.properties index 5449e65d26a..83fa9ad9d4e 100644 --- a/mobile/locales/en-US/chrome/browser.properties +++ b/mobile/locales/en-US/chrome/browser.properties @@ -26,12 +26,17 @@ identity.unknown.tooltip=This web site does not supply identity information. identity.ownerUnknown2=(unknown) # Geolocation UI -gelocation.exactLocation=Exact Location -gelocation.exactLocation.subLabel=within 10 feet -gelocation.exactLocationKey=E -gelocation.neighborhoodLocation=Neighborhood -gelocation.neighborhoodLocation.subLabel=within 1 mile -gelocation.neighborhoodLocationKey=N -gelocation.nothingLocation=Nothing -gelocation.nothingLocationKey=C +# LOCALIZATION NOTE (exactLocation, neighborhoodLocation): These do not have to be +# exact value, instead approximations would be fine. +# examples: Neighborhood (within 2 km) +# Exact Location (within 3 m) +# +geolocation.exactLocation=Exact Location +geolocation.exactLocation.subLabel=within 10 feet +geolocation.exactLocationKey=E +geolocation.neighborhoodLocation=Neighborhood +geolocation.neighborhoodLocation.subLabel=within 1 mile +geolocation.neighborhoodLocationKey=N +geolocation.nothingLocation=Nothing +geolocation.nothingLocationKey=C geolocation.requestMessage=%S wants to know where you are. Tell them: