summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderview.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-04-28 11:01:43 +0300
committerMike Antipov <mantipov@productengine.com>2010-04-28 11:01:43 +0300
commitee1c5729a8eb6b1d2553c591db3478cc0ac6d82e (patch)
tree8e6a31b18db8cbb4a4027ee9c6456c4c035afe13 /indra/newview/llfolderview.cpp
parent7d78440d9d3052ac81cee77199bca0f5414f2805 (diff)
parent872b4d7ed0bd532e349d3c177a63d48e17d0bdb3 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfolderview.cpp')
-rw-r--r--indra/newview/llfolderview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp
index c492bfcef1..eba4cdfa31 100644
--- a/indra/newview/llfolderview.cpp
+++ b/indra/newview/llfolderview.cpp
@@ -946,7 +946,9 @@ void LLFolderView::draw()
}
else
{
- mStatusText = LLTrans::getString(getFilter()->getEmptyLookupMessage());
+ LLStringUtil::format_map_t args;
+ args["[SEARCH_TERM]"] = LLURI::escape(getFilter()->getFilterSubStringOrig());
+ mStatusText = LLTrans::getString(getFilter()->getEmptyLookupMessage(), args);
//font->renderUTF8(mStatusText, 0, 2, 1, sSearchStatusColor, LLFontGL::LEFT, LLFontGL::TOP, LLFontGL::NORMAL, LLFontGL::NO_SHADOW, S32_MAX, S32_MAX, NULL, FALSE );
}
mStatusTextBox->setValue(mStatusText);