summaryrefslogtreecommitdiff
path: root/indra/newview/llgroupiconctrl.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-10-16 09:56:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2012-10-16 09:56:45 -0400
commit988767d5ec4631ad9f0099180a92c4f186553940 (patch)
tree7ce37b43288813407c0d69fa5eb0b6f2a0a8bcc8 /indra/newview/llgroupiconctrl.cpp
parentc5373b90eb2de8f29be6801a07e937064ecb7fbb (diff)
Introduce LLAppViewer::initStrings(); reload default_trans_args.
Calling LLTrans::setDefaultArg() after LLTransUtil::parseStrings() is almost good enough -- but it fails to address the case in which one or more of the default_trans_args strings (e.g. "create_account_url") embeds a reference to the new substitution. So after the setDefaultArg() call, go back through default_trans_args, refetching each string to perform the substitution and updating it with a setDefaultArg() call of its own. All this is way too much logic to replicate in both LLAppViewer::initConfiguration() and init(), so break out new LLAppViewer::initStrings() method and call it from both places.
Diffstat (limited to 'indra/newview/llgroupiconctrl.cpp')
0 files changed, 0 insertions, 0 deletions