From 24d95dc0ba3a1fc642484192d79d92bcaa6dfdd9 Mon Sep 17 00:00:00 2001
From: Mike Antipov <mantipov@productengine.com>
Date: Wed, 17 Mar 2010 10:57:45 +0200
Subject: Fixed normal task EXT-6021 	[HARD CODED] Bubble shown when you
 mouseover on script within Contents is in EN (task inventory) * Added new
 string name="PanelContentsTooltip into strings.xml * Set this tooltip to
 LLFolderView inside the Build Tool

Note: Fix for localization of default "New Script" name will be fixed in the EXT-5839.

Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/43/

--HG--
branch : product-engine
---
 indra/newview/llpanelobjectinventory.cpp       | 2 +-
 indra/newview/skins/default/xui/en/strings.xml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

(limited to 'indra/newview')

diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index 9e92ee337f..7505581904 100644
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -1578,7 +1578,7 @@ void LLPanelObjectInventory::reset()
 	p.title = "task inventory";
 	p.task_id = getTaskUUID();
 	p.parent_panel = this;
-	p.tool_tip= p.name;
+	p.tool_tip= LLTrans::getString("PanelContentsTooltip");
 	mFolders = LLUICtrlFactory::create<LLFolderView>(p);
 	// this ensures that we never say "searching..." or "no items found"
 	mFolders->getFilter()->setShowFolderState(LLInventoryFilter::SHOW_ALL_FOLDERS);
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index 111daec242..707a830622 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -2121,6 +2121,7 @@ Clears (deletes) the media and all params from the given face.
 
 	<!-- panel contents -->
 	<string name="PanelContentsNewScript">New Script</string>
+	<string name="PanelContentsTooltip">Content of object</string>
 
   <!-- panel preferences general -->
   <string name="BusyModeResponseDefault">The Resident you messaged is in &apos;busy mode&apos; which means they have requested not to be disturbed.  Your message will still be shown in their IM panel for later viewing.</string>
-- 
cgit v1.2.3