diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2009-11-19 13:55:07 -0500 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2009-11-19 13:55:07 -0500 |
commit | ddb7ce417979cedf733dadb09dbe0edd49b9f4bc (patch) | |
tree | 72287ad1ef87399e9dc9e569d4479de667191abe /indra/newview | |
parent | 815f336a157cc33233633deed66634195d3dc552 (diff) |
EXT-2601 edit appearance: label_min / label_max not translated
strings are already in strings.xml, just had to actually translate the
labels where they were being applied.
Code reviewed by Bigpapi
--HG--
branch : avatar-pipeline
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llscrollingpanelparam.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llscrollingpanelparam.cpp b/indra/newview/llscrollingpanelparam.cpp index b5e55df1f5..32a915608e 100644 --- a/indra/newview/llscrollingpanelparam.cpp +++ b/indra/newview/llscrollingpanelparam.cpp @@ -86,9 +86,8 @@ LLScrollingPanelParam::LLScrollingPanelParam( const LLPanel::Params& panel_param childSetEnabled("param slider", mAllowModify); childSetCommitCallback("param slider", LLScrollingPanelParam::onSliderMoved, this); - // *TODO: Translate - std::string min_name = param->getMinDisplayName(); - std::string max_name = param->getMaxDisplayName(); + std::string min_name = LLTrans::getString(param->getMinDisplayName()); + std::string max_name = LLTrans::getString(param->getMaxDisplayName()); childSetValue("min param text", min_name); childSetValue("max param text", max_name); |