mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +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");
|
stringsBundle.GetStringFromName("NormalFindLabel");
|
||||||
this._fastFindStr =
|
this._fastFindStr =
|
||||||
stringsBundle.GetStringFromName("FastFindLabel");
|
stringsBundle.GetStringFromName("FastFindLabel");
|
||||||
|
this._fastFindLinksStr =
|
||||||
|
stringsBundle.GetStringFromName("FastFindLinksLabel");
|
||||||
this._caseSensitiveStr =
|
this._caseSensitiveStr =
|
||||||
stringsBundle.GetStringFromName("CaseSensitive");
|
stringsBundle.GetStringFromName("CaseSensitive");
|
||||||
}
|
}
|
||||||
@ -1046,8 +1048,12 @@
|
|||||||
nodes[i].hidden = showMinimalUI;
|
nodes[i].hidden = showMinimalUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.getElement("find-label").value = showMinimalUI ?
|
if (this._findMode == this.FIND_TYPEAHEAD)
|
||||||
this._fastFindStr : this._normalFindStr;
|
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>
|
]]></body>
|
||||||
</method>
|
</method>
|
||||||
|
|
||||||
|
@ -4,4 +4,5 @@ WrappedToTop=Reached end of page, continued from top
|
|||||||
WrappedToBottom=Reached top of page, continued from bottom
|
WrappedToBottom=Reached top of page, continued from bottom
|
||||||
NormalFindLabel=Find:
|
NormalFindLabel=Find:
|
||||||
FastFindLabel=Quick Find:
|
FastFindLabel=Quick Find:
|
||||||
|
FastFindLinksLabel=Quick Find (links only):
|
||||||
CaseSensitive=(Case sensitive)
|
CaseSensitive=(Case sensitive)
|
||||||
|
Loading…
Reference in New Issue
Block a user