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/fr/menu_object.xml | |
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/fr/menu_object.xml')
-rw-r--r-- | indra/newview/skins/default/xui/fr/menu_object.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/skins/default/xui/fr/menu_object.xml b/indra/newview/skins/default/xui/fr/menu_object.xml index 6492a83e06..f5dfa25f05 100644 --- a/indra/newview/skins/default/xui/fr/menu_object.xml +++ b/indra/newview/skins/default/xui/fr/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="Toucher" name="Object Touch"/> + <menu_item_call label="Toucher" name="Object Touch"> + <on_enable parameter="Toucher" name="EnableTouch"/> + </menu_item_call> <menu_item_call label="Éditer" name="Edit..."/> <menu_item_call label="Construire" name="Build"/> <menu_item_call label="Ouvrir" name="Open"/> |