summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwindlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterwindlight.cpp')
-rw-r--r--indra/newview/llfloaterwindlight.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloaterwindlight.cpp b/indra/newview/llfloaterwindlight.cpp
index fb69e6f594..16cb0f5e57 100644
--- a/indra/newview/llfloaterwindlight.cpp
+++ b/indra/newview/llfloaterwindlight.cpp
@@ -82,7 +82,13 @@ BOOL LLFloaterWindLight::postBuild()
LLWLParamManager::getInstance()->mParamList.begin();
for(; mIt != LLWLParamManager::getInstance()->mParamList.end(); mIt++)
{
- comboBox->add(mIt->first.toString(), mIt->first.toLLSD());
+ const LLWLParamKey& key = mIt->first;
+ std::string item_title = key.name;
+ if (key.scope == LLEnvKey::SCOPE_REGION)
+ {
+ item_title += std::string(" (") + LLTrans::getString("Region") + std::string(")");
+ }
+ comboBox->add(item_title, key.toLLSD());
}
// entry for when we're in estate time