Bug 879295: switch hardcoded strings to use localized alternatives. r=jaws

This commit is contained in:
Mike de Boer 2013-06-04 18:08:09 +02:00
parent 5dfdc4518a
commit d08a2f06a0

View File

@ -266,7 +266,7 @@ const CustomizableWidgets = [{
let node = aDocument.createElementNS(kNSXUL, "toolbaritem");
node.setAttribute("id", "zoom-controls");
node.setAttribute("title", "Zoom Controls");
node.setAttribute("title", CustomizableUI.getLocalizedProperty(this, "tooltiptext"));
if (inPanel)
node.setAttribute("flex", "1");
node.classList.add("chromeclass-toolbar-additional");
@ -388,7 +388,7 @@ const CustomizableWidgets = [{
let node = aDocument.createElementNS(kNSXUL, "toolbaritem");
node.setAttribute("id", "edit-controls");
node.setAttribute("title", "Edit Controls");
node.setAttribute("title", CustomizableUI.getLocalizedProperty(this, "tooltiptext"));
if (inPanel)
node.setAttribute("flex", "1");
node.classList.add("chromeclass-toolbar-additional");