Properly subst grid name in legacy profile picks intro text

master
Ansariel 2015-06-30 09:55:56 +02:00
parent 840f0bdc57
commit 4e80dcfba4
4 changed files with 6 additions and 3 deletions

View File

@ -1628,6 +1628,9 @@ BOOL FSPanelProfilePicks::postBuild()
mRlvBehaviorCallbackConnection = gRlvHandler.setBehaviourCallback(boost::bind(&FSPanelProfilePicks::updateRlvRestrictions, this, _1, _2));
mNewButton->setEnabled(!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC));
LLTextBox* intro_txt = getChild<LLTextBox>("Tell everyone about your favorite places in Second Life.");
intro_txt->setTextArg("[GRID]", LLTrans::getString("SECOND_LIFE"));
return TRUE;
}

View File

@ -33,7 +33,7 @@
layout="topleft"
follows="left|top"
name="Tell everyone about your favorite places in Second Life.">
Tell everyone about your favorite places in Second Life.
Tell everyone about your favorite places in [GRID].
</text>
<button

View File

@ -33,7 +33,7 @@
layout="topleft"
follows="left|top"
name="Tell everyone about your favorite places in Second Life.">
Tell everyone about your favorite places in Second Life.
Tell everyone about your favorite places in [GRID].
</text>
<button

View File

@ -33,7 +33,7 @@
layout="topleft"
follows="left|top"
name="Tell everyone about your favorite places in Second Life.">
Tell everyone about your favorite places in Second Life.
Tell everyone about your favorite places in [GRID].
</text>
<button