diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-14 19:43:22 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-14 19:43:22 +0300 |
commit | 6f640f86ca09e16df5db5316f3e953d8c633249a (patch) | |
tree | eaa2e72d051bf8fbc1bfd706087de74f36b57cf7 /indra/newview/skins/default/xui/pl | |
parent | ac0046301c98c7b434143f17bfb16eac843a09ca (diff) |
EXT-8356 FIXED Enabled localization of the "Touch" item of object context menu.
Since label of the "Touch" object context menu item may be overridden by the object with
something like "Sit" or "Kiss", i.e. the label can be different from the default one,
there is a special code for handling this.
The code uses parameter of the on_enable callback as a label for the menu item.
So, the fix is to pass localized label to on_enable callback of the "Object Touch" menu item.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/759/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/skins/default/xui/pl')
-rw-r--r-- | indra/newview/skins/default/xui/pl/menu_object.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/skins/default/xui/pl/menu_object.xml b/indra/newview/skins/default/xui/pl/menu_object.xml index 763b120f89..f25495e8e6 100644 --- a/indra/newview/skins/default/xui/pl/menu_object.xml +++ b/indra/newview/skins/default/xui/pl/menu_object.xml @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8" standalone="yes"?> <context_menu name="Object Pie"> - <menu_item_call label="Dotknij" name="Object Touch"/> + <menu_item_call label="Dotknij" name="Object Touch"> + <on_enable parameter="Dotknij" name="EnableTouch"/> + </menu_item_call> <menu_item_call label="Edytuj" name="Edit..."/> <menu_item_call label="Buduj" name="Build"/> <menu_item_call label="Otwórz" name="Open"/> |