summaryrefslogtreecommitdiff
path: root/indra/newview/llwearablelist.cpp
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2010-03-03 16:56:29 +0200
committerAndrew Dyukov <adyukov@productengine.com>2010-03-03 16:56:29 +0200
commit63678f96adcf195da7f9cf77b592352c79e06c3a (patch)
tree7ccf177b8926749336d60bb6fd6177bb1c400df7 /indra/newview/llwearablelist.cpp
parentdbdf02cc0de51e1a7779b68f4f515cc67035335e (diff)
Fixed normal bug EXT-5838 (Creating a new wearable in a localized viewer appends localized wearable name with English word "New")
- Moved hardcoded string to string "New" in strings.xml. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llwearablelist.cpp')
-rw-r--r--indra/newview/llwearablelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp
index d6a9837b86..0a3a0fd60c 100644
--- a/indra/newview/llwearablelist.cpp
+++ b/indra/newview/llwearablelist.cpp
@@ -235,7 +235,7 @@ LLWearable* LLWearableList::createNewWearable( EWearableType type )
LLWearable *wearable = generateNewWearable();
wearable->setType( type );
- std::string name = "New ";
+ std::string name = LLTrans::getString("New") + " ";
name.append( wearable->getTypeLabel() );
wearable->setName( name );