From 34738593eb925c38d25e9ae6072b3deaa7519c2f Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Wed, 25 Sep 2013 17:04:44 -0400 Subject: [PATCH] Allow species selection for plant creation Fixes hardcoded "Random" string for translation of this new combobox. --- indra/newview/llfloatertools.cpp | 2 +- indra/newview/skins/default/xui/en-us/floater_tools.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index d63fde073..99863e103 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -2003,7 +2003,7 @@ void LLFloaterTools::updateTreeGrassCombo(bool visible) } mComboTreesGrass->removeall(); - mComboTreesGrass->add("Random"); + mComboTreesGrass->add(getString("Random")); int select = 0, i = 0; diff --git a/indra/newview/skins/default/xui/en-us/floater_tools.xml b/indra/newview/skins/default/xui/en-us/floater_tools.xml index 400727da7..73d03d0cb 100644 --- a/indra/newview/skins/default/xui/en-us/floater_tools.xml +++ b/indra/newview/skins/default/xui/en-us/floater_tools.xml @@ -294,6 +294,9 @@ image_unselected="object_grass.tga" label="" label_selected="" left_delta="23" mouse_opaque="true" name="ToolGrass" scale_image="TRUE" tool_tip="Grass" width="24" /> + + + Random