diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-14 18:18:47 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-14 18:18:47 +0300 |
commit | 223b25de0d2584af13f38b8eea128a32c62dc9f3 (patch) | |
tree | 844517b65efeb3f9c83759933a6bca3bf6934837 /indra/newview/skins/default/xui | |
parent | 706e75dff3afafbec9dd6ca2266c8b6c1bdb6689 (diff) |
EXT-8400 FIXED Updated default inventory item names ("New Script", etc) on viewer language switch.
Bug reason
==========
New inventory items get names like "New Script", "New Undershirt" etc., but the names are translated on-the-fly (see EXT-5839), so the user actually sees "Nouveau script", "Nouveau débardeur" etc., respectively.
However when the user changes viewer language, the old localized names still exist in the inventory cache, so, for example, if you create an undershirt in French and then switch to Enlgish, the undershirt will be named "Nouveau d bardeur", which is the old cached localized name with non-ASCII characters replaced with spaces.
Fix
===
To get rid of obsolete translations I clear all caches whenever viewer language gets changed.
Other changes
=============
- Added a check for agent region being NULL to LLAgentLanguage::update().
- Removed LLAgentLanguage constructor and base classes because it's never instantiated.
Reviewed by Seraph at https://codereview.productengine.com/secondlife/r/744/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/skins/default/xui')
0 files changed, 0 insertions, 0 deletions