diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-04 10:51:49 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-04 10:51:49 +0000 |
commit | 87c986dc5809b71a7ee76438111a37838063cb18 (patch) | |
tree | 80771ab88e80db0d6b61485427fb7bcbf021d7b6 /indra/newview/llwearablelist.cpp | |
parent | 3614dc007328111462297e9244f370fb5f4a0910 (diff) | |
parent | 6d5442fbbd3adc9a708b894d402c9719f2dfa324 (diff) |
PE merge.
Diffstat (limited to 'indra/newview/llwearablelist.cpp')
-rw-r--r-- | indra/newview/llwearablelist.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp index d6a9837b86..b2de31218b 100644 --- a/indra/newview/llwearablelist.cpp +++ b/indra/newview/llwearablelist.cpp @@ -235,8 +235,9 @@ LLWearable* LLWearableList::createNewWearable( EWearableType type ) LLWearable *wearable = generateNewWearable(); wearable->setType( type ); - std::string name = "New "; - name.append( wearable->getTypeLabel() ); + LLSD item_name = LLSD().with("[WEARABLE_ITEM]", wearable->getTypeLabel()); + std::string name = LLTrans::getString("NewWearable"); + LLStringUtil::format(name, item_name); wearable->setName( name ); LLPermissions perm; |