summaryrefslogtreecommitdiff
path: root/indra/newview/llexpandabletextbox.cpp
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-04-01 14:07:45 +0300
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-04-01 14:07:45 +0300
commit9c0087c0a68b37718dbedae0e5a99b8a5920c318 (patch)
tree2f221c7c92e20ad4ebbabac61962bef58af6c9c0 /indra/newview/llexpandabletextbox.cpp
parent69833aff50b1d1d360ff5568314d347dd3df40f5 (diff)
Fixed normal bug EXT-6023 - [HARD CODED]? Side Bar : "More" link inside "Profile" and "Pick"
According to ticket, files in "widgets" folder are not localized and "more_label" is not a translatable attribute. Replaced "more_label" with "label". expandable_text "More" text is accessible through "textbox.label" attribute. Added "textbox.label" to every expandable_text to make "More" text localizable. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llexpandabletextbox.cpp')
-rw-r--r--indra/newview/llexpandabletextbox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp
index 362010d65a..149ba2478d 100644
--- a/indra/newview/llexpandabletextbox.cpp
+++ b/indra/newview/llexpandabletextbox.cpp
@@ -112,13 +112,12 @@ private:
};
LLExpandableTextBox::LLTextBoxEx::Params::Params()
-: more_label("more_label")
{
}
LLExpandableTextBox::LLTextBoxEx::LLTextBoxEx(const Params& p)
: LLTextEditor(p),
- mExpanderLabel(p.more_label),
+ mExpanderLabel(p.label),
mExpanderVisible(false)
{
setIsChrome(TRUE);