зеркало из https://github.com/mozilla/pjs.git
Bug 488574 - remove hardcoded english strings caused by bug 488218. r=gavin
This commit is contained in:
Родитель
3ec3aac2fe
Коммит
e1de6457df
|
@ -1114,12 +1114,12 @@ GeolocationPrompt.prototype = {
|
|||
|
||||
var checkbox = newBar.ownerDocument.createElementNS(XULNS, "checkbox");
|
||||
checkbox.className = "rememberChoice";
|
||||
checkbox.setAttribute("label", "Remember for this site"); /* xxx hardcoded english us */
|
||||
checkbox.setAttribute("label", browserBundle.GetStringFromName("geolocation.remember"));
|
||||
newBar.appendChild(checkbox);
|
||||
|
||||
var link = newBar.ownerDocument.createElementNS(XULNS, "label");
|
||||
link.className = "text-link";
|
||||
link.setAttribute("value", "Learn More..."); /* xxx hardcoded english us */
|
||||
link.setAttribute("value", browserBundle.GetStringFromName("geolocation.learnMore"));
|
||||
|
||||
var formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"].getService(Ci.nsIURLFormatter);
|
||||
link.href = formatter.formatURLPref("browser.geolocation.warning.infoURL");
|
||||
|
|
|
@ -175,6 +175,10 @@ geolocation.tellThemKey=e
|
|||
geolocation.dontTellThem=Don't tell them
|
||||
geolocation.dontTellThemKey=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.
|
||||
geolocation.learnMore=Learn More…
|
||||
geolocation.remember=Remember for this site
|
||||
|
||||
# Phishing/Malware Notification Bar.
|
||||
# LOCALIZATION NOTE (notAForgery, notAnAttack)
|
||||
|
|
Загрузка…
Ссылка в новой задаче