From 2de36de17901cd3c1baaa0e45ca9a3d22c50e15b Mon Sep 17 00:00:00 2001 From: Leyla Farazha Date: Tue, 20 Oct 2009 20:50:07 +0000 Subject: Pulled out another pair of strings from the locationctrl widgets file. Also apparently search doesn't need it's tooltip in widgets, it gets specified in the xml file that uses it. --- indra/newview/lllocationinputctrl.cpp | 2 ++ indra/newview/llsearchcombobox.cpp | 5 ----- indra/newview/skins/default/xui/en/strings.xml | 6 +++--- indra/newview/skins/default/xui/en/widgets/location_input.xml | 4 +--- 4 files changed, 6 insertions(+), 11 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp index 42838b311b..00f12ae2eb 100644 --- a/indra/newview/lllocationinputctrl.cpp +++ b/indra/newview/lllocationinputctrl.cpp @@ -264,6 +264,8 @@ LLLocationInputCtrl::LLLocationInputCtrl(const LLLocationInputCtrl::Params& p) mAddLandmarkTooltip = LLTrans::getString("LocationCtrlAddLandmarkTooltip"); mEditLandmarkTooltip = LLTrans::getString("LocationCtrlEditLandmarkTooltip"); + getChild("Location History")->setToolTip(LLTrans::getString("LocationCtrlComboBtnTooltip")); + getChild("Place Information")->setToolTip(LLTrans::getString("LocationCtrlInfoBtnTooltip")); } LLLocationInputCtrl::~LLLocationInputCtrl() diff --git a/indra/newview/llsearchcombobox.cpp b/indra/newview/llsearchcombobox.cpp index 5123d862ce..f95671685b 100644 --- a/indra/newview/llsearchcombobox.cpp +++ b/indra/newview/llsearchcombobox.cpp @@ -85,11 +85,6 @@ LLSearchComboBox::LLSearchComboBox(const Params&p) setSelectionCallback(boost::bind(&LLSearchComboBox::onSelectionCommit, this)); setPrearrangeCallback(boost::bind(&LLSearchComboBox::onSearchPrearrange, this, _2)); mSearchButton->setCommitCallback(boost::bind(&LLSearchComboBox::onTextCommit, this, _2)); - - // set tooltip here for now since we don't want to parse /en/widgets - std::string tool_tip = LLTrans::getString("Search"); - getChild("child1")->setToolTip(tool_tip); - getChild("child3")->setToolTip(tool_tip); } void LLSearchComboBox::rebuildSearchHistory(const std::string& filter) diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 0ca6c87585..579c6d50db 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -2844,13 +2844,13 @@ If you continue to receive this message, contact the [SUPPORT_SITE]. Wide Lips Wild Wrinkles - - Search Add to My Landmarks Edit My Landmark - + See more info about the current location + My location history + [APP_NAME] Update diff --git a/indra/newview/skins/default/xui/en/widgets/location_input.xml b/indra/newview/skins/default/xui/en/widgets/location_input.xml index 1377a3c945..f2e48c517d 100644 --- a/indra/newview/skins/default/xui/en/widgets/location_input.xml +++ b/indra/newview/skins/default/xui/en/widgets/location_input.xml @@ -21,7 +21,6 @@ > + pad_right="0"/>