mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 347249 - QuickFind Link/Text Visual Distinction. r=gavin, ui-r=mconnor.
This commit is contained in:
parent
484b955348
commit
68acf6d941
@ -694,6 +694,8 @@
|
||||
stringsBundle.GetStringFromName("NormalFindLabel");
|
||||
this._fastFindStr =
|
||||
stringsBundle.GetStringFromName("FastFindLabel");
|
||||
this._fastFindLinksStr =
|
||||
stringsBundle.GetStringFromName("FastFindLinksLabel");
|
||||
this._caseSensitiveStr =
|
||||
stringsBundle.GetStringFromName("CaseSensitive");
|
||||
}
|
||||
@ -1046,8 +1048,12 @@
|
||||
nodes[i].hidden = showMinimalUI;
|
||||
}
|
||||
|
||||
this.getElement("find-label").value = showMinimalUI ?
|
||||
this._fastFindStr : this._normalFindStr;
|
||||
if (this._findMode == this.FIND_TYPEAHEAD)
|
||||
this.getElement("find-label").value = this._fastFindStr;
|
||||
else if (this._findMode == this.FIND_LINKS)
|
||||
this.getElement("find-label").value = this._fastFindLinksStr;
|
||||
else
|
||||
this.getElement("find-label").value = this._normalFindStr;
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
|
@ -4,4 +4,5 @@ WrappedToTop=Reached end of page, continued from top
|
||||
WrappedToBottom=Reached top of page, continued from bottom
|
||||
NormalFindLabel=Find:
|
||||
FastFindLabel=Quick Find:
|
||||
FastFindLinksLabel=Quick Find (links only):
|
||||
CaseSensitive=(Case sensitive)
|
||||
|
Loading…
Reference in New Issue
Block a user