summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-07-26 18:28:06 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-07-26 18:28:06 +0300
commita1b99c4821949c41a735e55eec01126d7e77fb17 (patch)
tree3ae08458c46b786f07df81301b49917abc619f85 /indra/newview/llviewerinventory.cpp
parent825fc273ee5167052d811dc058b1834c86e005da (diff)
STORM-1291 FIXED Localize names of inventory items fetched via HTTP post requests.
These were not localized, unlike ones fetched via the message system.
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r--indra/newview/llviewerinventory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 22666cec0d..c532346e6b 100644
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -418,6 +418,9 @@ void LLViewerInventoryItem::fetchFromServer(void) const
BOOL LLViewerInventoryItem::unpackMessage(LLSD item)
{
BOOL rv = LLInventoryItem::fromLLSD(item);
+
+ LLLocalizedInventoryItemsDictionary::getInstance()->localizeInventoryObjectName(mName);
+
mIsComplete = TRUE;
return rv;
}