diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-07-26 18:28:06 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-07-26 18:28:06 +0300 |
commit | a1b99c4821949c41a735e55eec01126d7e77fb17 (patch) | |
tree | 3ae08458c46b786f07df81301b49917abc619f85 /indra/newview | |
parent | 825fc273ee5167052d811dc058b1834c86e005da (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')
-rw-r--r-- | indra/newview/llviewerinventory.cpp | 3 |
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; } |