Bug 488574 - remove hardcoded english strings caused by bug 488218. r=gavin

This commit is contained in:
Doug Turner 2009-04-20 09:00:53 -07:00
Родитель 3ec3aac2fe
Коммит e1de6457df
2 изменённых файлов: 6 добавлений и 2 удалений

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

@ -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)