diff options
| author | Eli Linden <eli@lindenlab.com> | 2010-03-04 11:21:14 -0800 |
|---|---|---|
| committer | Eli Linden <eli@lindenlab.com> | 2010-03-04 11:21:14 -0800 |
| commit | 96fd9253490cd35dca314d7719529b886a3df3ae (patch) | |
| tree | 87207b5070f28ecdc8a38610d00c9c84e2bcb5f2 /indra/newview/llwearablelist.cpp | |
| parent | d0cd8f94db7e9ff5135b05c86fdccc007317d89a (diff) | |
| parent | 462a49fb9dcf9eb9f7d6b438bebabb7dc773c683 (diff) | |
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; |
