diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-03-03 16:24:25 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-03-03 16:24:25 +0200 |
commit | c01c2ec86f1918d4830365965010d45ad120d425 (patch) | |
tree | eaca31bb6daab77a829e46c5d6b9fa0d7a9e2c69 /indra/newview/llgrouplist.h | |
parent | 66128f678465345850547d9906390f9bc3d3465d (diff) |
Fixed major sub-task EXT-5931 ( [XUI ATTRIBUTE NOT TRANSLATABLE] People > My Groups displays English string when no groups added)
- implemented workaround: added <strings> name="no_filtered_groups_msg" & name="no_groups_msg" in panel_people.xml
- also updated value for no_filtered_groups_msg. It was "Try fine...", seems should be "Try finding..."
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llgrouplist.h')
-rw-r--r-- | indra/newview/llgrouplist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llgrouplist.h b/indra/newview/llgrouplist.h index f3ac676edd..0e9da25c58 100644 --- a/indra/newview/llgrouplist.h +++ b/indra/newview/llgrouplist.h @@ -74,6 +74,11 @@ public: void setNameFilter(const std::string& filter); void toggleIcons(); bool getIconsVisible() const { return mShowIcons; } + + // *WORKAROUND: two methods to overload appropriate Params due to localization issue: + // no_groups_msg & no_filtered_groups_msg attributes are not defined as translatable in VLT. See EXT-5931 + void setNoGroupsMsg(const std::string& msg) { mNoGroupsMsg = msg; } + void setNoFilteredGroupsMsg(const std::string& msg) { mNoFilteredGroupsMsg = msg; } private: void setDirty(bool val = true) { mDirty = val; } |