Bug 491739 - change geolocation prompt strings for 3.5 final r=gavin

This commit is contained in:
Doug Turner 2009-05-06 16:25:31 -07:00
parent c3cae8225f
commit 9f7121559b
2 changed files with 11 additions and 8 deletions

View File

@ -1083,8 +1083,8 @@ GeolocationPrompt.prototype = {
var browserBundle = bundleService.createBundle("chrome://browser/locale/browser.properties");
var buttons = [{
label: browserBundle.GetStringFromName("geolocation.tellThem"),
accessKey: browserBundle.GetStringFromName("geolocation.tellThemKey"),
label: browserBundle.GetStringFromName("geolocation.shareLocation"),
accessKey: browserBundle.GetStringFromName("geolocation.shareLocation.accesskey"),
callback: function(notification) {
if (notification.getElementsByClassName("rememberChoice")[0].checked)
setPagePermission(request.requestingURI, true);
@ -1092,8 +1092,8 @@ GeolocationPrompt.prototype = {
},
},
{
label: browserBundle.GetStringFromName("geolocation.dontTellThem"),
accessKey: browserBundle.GetStringFromName("geolocation.dontTellThemKey"),
label: browserBundle.GetStringFromName("geolocation.dontShareLocation"),
accessKey: browserBundle.GetStringFromName("geolocation.dontShareLocation.accesskey"),
callback: function(notification) {
if (notification.getElementsByClassName("rememberChoice")[0].checked)
setPagePermission(request.requestingURI, false);

View File

@ -170,10 +170,13 @@ editBookmarkPanel.editBookmarkTitle=Edit This Bookmark
editBookmark.removeBookmarks.label=Remove Bookmark;Remove Bookmarks (#1)
# Geolocation UI
geolocation.tellThem=Tell them
geolocation.tellThemKey=e
geolocation.dontTellThem=Don't tell them
geolocation.dontTellThemKey=o
# LOCALIZATION NOTE (geolocation.shareLocation geolocation.dontShareLocation):
#If you're having trouble with the word Share, please use Allow and Block in your language.
geolocation.shareLocation=Share Location
geolocation.shareLocation.accesskey=a
geolocation.dontShareLocation=Don't Share
geolocation.dontShareLocation.accesskey=o
geolocation.siteWantsToKnow=%S wants to know your location.
# LOCALIZATION NOTE (geolocation.learnMore): Use the unicode ellipsis char, \u2026,
# or use "..." unless \u2026 doesn't suit traditions in your locale.