diff --git a/toolkit/content/widgets/findbar.xml b/toolkit/content/widgets/findbar.xml index 7bd4ea1d9a73..f1bf8e8dd491 100644 --- a/toolkit/content/widgets/findbar.xml +++ b/toolkit/content/widgets/findbar.xml @@ -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; ]]> diff --git a/toolkit/locales/en-US/chrome/global/findbar.properties b/toolkit/locales/en-US/chrome/global/findbar.properties index 94abc1e98292..8cb3a106a211 100644 --- a/toolkit/locales/en-US/chrome/global/findbar.properties +++ b/toolkit/locales/en-US/chrome/global/findbar.properties @@ -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)