Skip to content
Snippets Groups Projects
Commit faf262e2 authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

EXT-8373 FIXED Fixed translation of attachment points in "Attach..." / "Attach...

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
parent ee19ef54
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment