diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-10-16 09:56:45 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-10-16 09:56:45 -0400 |
commit | 988767d5ec4631ad9f0099180a92c4f186553940 (patch) | |
tree | 7ce37b43288813407c0d69fa5eb0b6f2a0a8bcc8 /indra/newview/llinventorymodel.h | |
parent | c5373b90eb2de8f29be6801a07e937064ecb7fbb (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/llinventorymodel.h')
0 files changed, 0 insertions, 0 deletions