diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2010-03-03 16:56:29 +0200 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2010-03-03 16:56:29 +0200 |
commit | 63678f96adcf195da7f9cf77b592352c79e06c3a (patch) | |
tree | 7ccf177b8926749336d60bb6fd6177bb1c400df7 /indra/newview | |
parent | dbdf02cc0de51e1a7779b68f4f515cc67035335e (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')
-rw-r--r-- | indra/newview/llwearablelist.cpp | 2 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/strings.xml | 3 |
2 files changed, 4 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 ); diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 2510d8b49f..358cd62575 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -1769,6 +1769,9 @@ Clears (deletes) the media and all params from the given face. <string name="tattoo">Tattoo</string> <string name="invalid">invalid</string> + <!-- Wearable List--> + <string name="New">New</string> + <!-- LLGroupNotify --> <!-- used in the construction of a Group Notice blue dialog box, buttons, tooltip etc. Seems to be no longer utilized by code in Viewer 2.0 --> <string name="next">Next</string> |