Fixed normal bug EXT - 5426 (Invalid message is shown while viewing empty picks tab of another avata)

- Added particular messages for 'PICKS' and 'My Picks' tabs in MyProfile and People panels appropriately. Before there was one message for these tabs.

--HG--
branch : product-engine
meow-7.2.2
Paul Guslisty 2010-02-18 15:19:57 +02:00
parent c8fec65544
commit a52a761460
2 changed files with 9 additions and 1 deletions

View File

@ -351,7 +351,14 @@ void LLPanelPicks::processProperties(void* data, EAvatarProcessorType type)
if (mNoPicks && mNoClassifieds)
{
childSetValue("picks_panel_text", LLTrans::getString("NoPicksClassifiedsText"));
if(getAvatarId() == gAgentID)
{
childSetValue("picks_panel_text", LLTrans::getString("NoPicksClassifiedsText"));
}
else
{
childSetValue("picks_panel_text", LLTrans::getString("NoAvatarPicksClassifiedsText"));
}
}
}

View File

@ -2127,6 +2127,7 @@ Clears (deletes) the media and all params from the given face.
<!-- panel picks -->
<string name="NoPicksClassifiedsText">You haven't created any Picks or Classifieds. Click the Plus button below to create a Pick or Classified.</string>
<string name="NoAvatarPicksClassifiedsText">User has no picks or classfields</string>
<string name="PicksClassifiedsLoadingText">Loading...</string>
<!-- Multi Preview Floater -->