зеркало из https://github.com/mozilla/gecko-dev.git
Bug 491769 - add access key to the checkbox in the geolocation infobar. r=gavin
This commit is contained in:
Родитель
9f7121559b
Коммит
4af03ecb83
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче