bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103775 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -146,7 +146,7 @@ nsIsIndexFrame::UpdatePromptLabel()
|
||||
// because the value is localized for non-english platforms, thus
|
||||
// it might not be the string "This is a searchable index. Enter search keywords: "
|
||||
result = nsFormControlHelper::GetLocalizedString(nsFormControlHelper::GetHTMLPropertiesFileName(),
|
||||
"IsIndexPrompt", prompt);
|
||||
NS_LITERAL_STRING("IsIndexPrompt").get(), prompt);
|
||||
}
|
||||
nsCOMPtr<nsITextContent> text = do_QueryInterface(mTextContent);
|
||||
result = text->SetText(prompt.get(), prompt.Length(), PR_TRUE);
|
||||
|
||||
Reference in New Issue
Block a user