Bug 491769 - add access key to the checkbox in the geolocation infobar. r=gavin

This commit is contained in:
Doug Turner 2009-05-06 16:32:37 -07:00
Родитель 9f7121559b
Коммит 4af03ecb83
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1119,6 +1119,7 @@ GeolocationPrompt.prototype = {
var checkbox = newBar.ownerDocument.createElementNS(XULNS, "checkbox");
checkbox.className = "rememberChoice";
checkbox.setAttribute("label", browserBundle.GetStringFromName("geolocation.remember"));
checkbox.setAttribute("accesskey", browserBundle.GetStringFromName("geolocation.remember.accesskey"));
newBar.appendChild(checkbox);
var link = newBar.ownerDocument.createElementNS(XULNS, "label");

Просмотреть файл

@ -182,6 +182,7 @@ geolocation.siteWantsToKnow=%S wants to know your location.
# or use "..." unless \u2026 doesn't suit traditions in your locale.
geolocation.learnMore=Learn More…
geolocation.remember=Remember for this site
geolocation.remember.accesskey=R
# Phishing/Malware Notification Bar.
# LOCALIZATION NOTE (notAForgery, notAnAttack)