summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/it
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-07-14 19:43:22 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-07-14 19:43:22 +0300
commit6f640f86ca09e16df5db5316f3e953d8c633249a (patch)
treeeaa2e72d051bf8fbc1bfd706087de74f36b57cf7 /indra/newview/skins/default/xui/it
parentac0046301c98c7b434143f17bfb16eac843a09ca (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/it')
-rw-r--r--indra/newview/skins/default/xui/it/menu_object.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/skins/default/xui/it/menu_object.xml b/indra/newview/skins/default/xui/it/menu_object.xml
index 237b6b3a0e..81f27ab8fa 100644
--- a/indra/newview/skins/default/xui/it/menu_object.xml
+++ b/indra/newview/skins/default/xui/it/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="Tocca" name="Object Touch"/>
+ <menu_item_call label="Tocca" name="Object Touch">
+ <on_enable parameter="Tocca" name="EnableTouch"/>
+ </menu_item_call>
<menu_item_call label="Modifica" name="Edit..."/>
<menu_item_call label="Costruisci" name="Build"/>
<menu_item_call label="Apri" name="Open"/>