diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-26 10:57:51 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-26 10:57:51 +0100 |
commit | 438f0e372ee8a1d41d535314e4061f20f6c66c88 (patch) | |
tree | f329e9c86829b06ded1742db7edf271aacb7d3c1 /indra/newview/llwearablelist.cpp | |
parent | 1a987e8d32a733cace7ffdb239729380cd53f87c (diff) | |
parent | a0467365140c504eb0f5ad053ac22a2698a2abd7 (diff) |
merge from viewer-trunk
Diffstat (limited to 'indra/newview/llwearablelist.cpp')
-rw-r--r-- | indra/newview/llwearablelist.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp index b2de31218b..20266706da 100644 --- a/indra/newview/llwearablelist.cpp +++ b/indra/newview/llwearablelist.cpp @@ -235,9 +235,7 @@ LLWearable* LLWearableList::createNewWearable( EWearableType type ) LLWearable *wearable = generateNewWearable(); wearable->setType( type ); - LLSD item_name = LLSD().with("[WEARABLE_ITEM]", wearable->getTypeLabel()); - std::string name = LLTrans::getString("NewWearable"); - LLStringUtil::format(name, item_name); + std::string name = LLTrans::getString( LLWearableDictionary::getTypeDefaultNewName(wearable->getType()) ); wearable->setName( name ); LLPermissions perm; |