From a1b99c4821949c41a735e55eec01126d7e77fb17 Mon Sep 17 00:00:00 2001
From: Vadim ProductEngine <vsavchuk@productengine.com>
Date: Tue, 26 Jul 2011 18:28:06 +0300
Subject: [PATCH] STORM-1291 FIXED Localize names of inventory items fetched
 via HTTP post requests.

These were not localized, unlike ones fetched via the message system.
---
 indra/newview/llviewerinventory.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 22666cec0d5..c532346e6b1 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;
 }
-- 
GitLab