diff options
author | James Cook <james@lindenlab.com> | 2010-05-20 14:15:27 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-05-20 14:15:27 -0700 |
commit | 0df5c0e879ef05116565a79cdf344de5c45ee19b (patch) | |
tree | ddb93550cd854a0ce9f2de765ab84b04aa86c7c5 /indra | |
parent | 6e22cb75b434aa551d5b6133f505a629c397a93e (diff) |
DEV-50013 Tooltip for SLAPP agent inspect links
Reviewed with Erica (language) / Leyla (code)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/llurlentry.cpp | 4 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/strings.xml | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index aeb02aef1c..36b644484d 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -366,6 +366,10 @@ std::string LLUrlEntryAgent::getTooltip(const std::string &string) const // return a tooltip corresponding to the URL type instead of the generic one std::string url = getUrl(string); + if (LLStringUtil::endsWith(url, "/inspect")) + { + return LLTrans::getString("TooltipAgentInspect"); + } if (LLStringUtil::endsWith(url, "/mute")) { return LLTrans::getString("TooltipAgentMute"); diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 2bcae9d39f..83e3fee546 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -89,8 +89,9 @@ or.</string> <!-- tooltips for Urls --> <string name="TooltipHttpUrl">Click to view this web page</string> <string name="TooltipSLURL">Click to view this location's information</string> - <string name="TooltipAgentUrl">Click to view this Resident's profile</string> - <string name="TooltipAgentMute">Click to mute this Resident</string> + <string name="TooltipAgentUrl">Click to view this Resident's profile</string> + <string name="TooltipAgentInspect">Learn more about this Resident</string> + <string name="TooltipAgentMute">Click to mute this Resident</string> <string name="TooltipAgentUnmute">Click to unmute this Resident</string> <string name="TooltipAgentIM">Click to IM this Resident</string> <string name="TooltipAgentPay">Click to Pay this Resident</string> |