Created
July 26, 2010 18:51
-
-
Save pcwalton/491030 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# Parent 37f3f119d3a84494075169efa7d0cf237f55cfb6 | |
Bug 581241 - Add a "Filter" placeholder string to the Console filter box. r=gavin a=johnath | |
diff --git a/toolkit/components/console/hudservice/HUDService.jsm b/toolkit/components/console/hudservice/HUDService.jsm | |
--- a/toolkit/components/console/hudservice/HUDService.jsm | |
+++ b/toolkit/components/console/hudservice/HUDService.jsm | |
@@ -1807,6 +1807,7 @@ | |
this.filterBox = this.makeXULNode("textbox"); | |
this.filterBox.setAttribute("class", "hud-filter-box"); | |
this.filterBox.setAttribute("hudId", this.hudId); | |
+ this.filterBox.setAttribute("placeholder", this.getStr("stringFilter")); | |
this.filterClearButton = this.makeXULNode("button"); | |
this.filterClearButton.setAttribute("class", "hud-filter-clear"); | |
diff --git a/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties b/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties | |
--- a/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties | |
+++ b/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties | |
@@ -33,4 +33,5 @@ | |
localConsole=Local Console | |
btnClear=Clear Console | |
tipClear=Clear the console output | |
+stringFilter=Filter | |
stringFilterClear=Clear Filter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment