summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterexperienceprofile.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2014-10-28 11:43:45 -0700
committerdolphin <dolphin@lindenlab.com>2014-10-28 11:43:45 -0700
commit8cc8e7dc77c7aff6d4698632d6a3bebe76698ff7 (patch)
treed578ab68aedf55dc35d4ded7205396f88bb43be1 /indra/newview/llfloaterexperienceprofile.cpp
parent0784ee76042e4e24431a61f93fc56bda939aa934 (diff)
ACME-1601: Updated message to match behavior
ACME-1616: Change references of "Grid-Wide" to "Grid-Scope" and "non Grid-Wide" to "Land-Scope"
Diffstat (limited to 'indra/newview/llfloaterexperienceprofile.cpp')
-rw-r--r--indra/newview/llfloaterexperienceprofile.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/indra/newview/llfloaterexperienceprofile.cpp b/indra/newview/llfloaterexperienceprofile.cpp
index 4ee31f5df1..197162487d 100644
--- a/indra/newview/llfloaterexperienceprofile.cpp
+++ b/indra/newview/llfloaterexperienceprofile.cpp
@@ -520,13 +520,19 @@ void LLFloaterExperienceProfile::refreshExperience( const LLSD& experience )
enable = getChild<LLCheckBoxCtrl>(EDIT BTN_PRIVATE);
enable->set(properties & LLExperienceCache::PROPERTY_PRIVATE);
+
+ topPanel->setVisible(TRUE);
+ child=getChild<LLTextBox>(TF_GRID_WIDE);
+ child->setVisible(TRUE);
+
if(properties & LLExperienceCache::PROPERTY_GRID)
{
- topPanel->setVisible(TRUE);
- child=getChild<LLTextBox>(TF_GRID_WIDE);
- child->setVisible(TRUE);
- child->setText(LLTrans::getString("GRID_WIDE"));
+ child->setText(LLTrans::getString("Grid-Scope"));
}
+ else
+ {
+ child->setText(LLTrans::getString("Land-Scope"));
+ }
if(getChild<LLButton>(BTN_EDIT)->getVisible())
{