diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-15 18:22:34 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-15 18:22:34 +0300 |
commit | faf262e2a97fe0d4ae63949381af62012606e9ef (patch) | |
tree | fa49cebcf8ca6fb237e6b850911514dc4d2dab93 /indra/newview/secondlife.icns | |
parent | ee19ef5486899028b6ed6307f220daff72a27338 (diff) |
EXT-8373 FIXED Fixed translation of attachment points in "Attach..." / "Attach To..." menus (AE and inventory).
There is an on_enable callback set for the menu items. It tries adding a suffix like "(obj_name)" if there is already an attachment on the attachment point.
No matter whether the suffix has been actually added, the callback resets the menu item label to its parameter (cbparams["label"]).
The problem was that we passed the original English attachment point name to the callback, that set it as the menu item name, thus screwing up translation.
The fix is to pass translated attachment point name to the on_enable callback.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/768/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/secondlife.icns')
0 files changed, 0 insertions, 0 deletions