1
0
Fork 0

Add "Walker" menu to translations

This commit is contained in:
PlayeRom 2021-08-04 09:47:50 +02:00 committed by Florent Rougon
parent e634f37c82
commit d16aac9bbc
2 changed files with 21 additions and 9 deletions

View file

@ -84,7 +84,7 @@
<name type="string"></name>
<loop-enabled type="bool">false</loop-enabled>
<loop-to type="int">0</loop-to>
<rest-sec type="double">0</rest-sec>
<rest-sec type="double">0</rest-sec>
<transit-sec type="double">1.0</transit-sec>
<trigger-upon type="string"></trigger-upon>
<limb n="0">
@ -258,9 +258,11 @@
<default n="0">
<menu n="11">
<label>Walker</label>
<enabled type="bool">true</enabled>
<name>walker</name>
<enabled type="bool">true</enabled>
<item>
<label>Walker animation dialog [Tab]</label>
<label>Walker animation dialog</label>
<name>walker-animation-dialog</name>
<binding>
<command>nasal</command>
<script>walker.sequence.showDialog()</script>
@ -269,20 +271,23 @@
<item>
<label>Select Theme</label>
<name>walker-theme</name>
<binding>
<command>nasal</command>
<script>walk.theme_dialog.toggle()</script>
</binding>
<command>nasal</command>
<script>walk.theme_dialog.toggle()</script>
</binding>
</item>
<item>
<label>Select Equipment</label>
<name>walker-equipment</name>
<binding>
<command>nasal</command>
<script>walk.equip_dialog.toggle()</script>
</binding>
<command>nasal</command>
<script>walk.equip_dialog.toggle()</script>
</binding>
</item>
<item>
<label>Toggle Walker outside</label>
<name>walker-toggle-outside</name>
<binding>
<command>property-toggle</command>
<property>sim/walker/key-triggers/outside-toggle</property>

View file

@ -152,4 +152,11 @@
<autostart>Autostart</autostart>
<tiller-steering>Tiller Steering</tiller-steering>
<!-- Walker menu -->
<walker>Walker</walker>
<walker-animation-dialog>Walker animation dialog</walker-animation-dialog>
<walker-theme>Select Theme</walker-theme>
<walker-equipment>Select Equipment</walker-equipment>
<walker-toggle-outside>Toggle Walker outside</walker-toggle-outside>
</PropertyList>