Translation and debranding fixes

This commit is contained in:
Siana Gearz
2013-11-29 08:47:25 +01:00
parent 8a13599436
commit faf5a8e694
20 changed files with 82 additions and 89 deletions

View File

@@ -1963,6 +1963,8 @@ void LLMenuGL::parseChildXML(LLXMLNodePtr child, LLView *parent, LLUICtrlFactory
child->getAttributeString("type", type);
child->getAttributeString("name", item_name);
child->getAttributeString("label", source_label);
LLStringUtil::format(source_label, LLTrans::getDefaultArgs());
// parse jump key out of label
typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
@@ -2303,6 +2305,8 @@ LLView* LLMenuGL::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *fa
std::string label = name;
node->getAttributeString("label", label);
LLStringUtil::format(label, LLTrans::getDefaultArgs());
// parse jump key out of label
std::string new_menu_label;