Skip to content
Snippets Groups Projects
Commit e3b869e6 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-16087 [D545] New clothes do not have the word 'New' in their names

parent f30cc7b5
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,8 @@ LLViewerWearable* LLWearableList::createNewWearable( LLWearableType::EType type,
LLViewerWearable *wearable = generateNewWearable();
wearable->setType( type, avatarp );
std::string name = LLWearableType::getInstance()->getTypeLabel(wearable->getType());
// LLWearableType has pre-translated getTypeLabel(), but it returns 'name', not 'New Name'.
std::string name = LLTrans::getString( LLWearableType::getInstance()->getTypeDefaultNewName(wearable->getType()) );
wearable->setName( name );
LLPermissions perm;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment