Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/fgdata into next
This commit is contained in:
commit
141aad7901
6 changed files with 4967 additions and 12 deletions
|
@ -875,24 +875,24 @@
|
|||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
setprop("/autopilot/settings/target-pitch-degree", arg[0]);
|
||||
setprop("/autopilot/settings/target-pitch-deg", arg[0]);
|
||||
setprop("/autopilot/locks/altitude", "pitch-hold");
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
</key>
|
||||
|
||||
<key n="111">
|
||||
<name>o</name>
|
||||
<desc>AoA hold</desc>
|
||||
<key n="102">
|
||||
<name>f</name>
|
||||
<desc>FPA hold</desc>
|
||||
<key n="901">
|
||||
<name>%f</name>
|
||||
<desc>AoA angle = %.1f degree</desc>
|
||||
<desc>FPA = %.1f degree</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
setprop("/autopilot/settings/target-aoa-degree", arg[0]);
|
||||
setprop("/autopilot/locks/altitude", "aoa-hold");
|
||||
setprop("/autopilot/settings/target-fpa-deg", arg[0]);
|
||||
setprop("/autopilot/locks/altitude", "fpa-hold");
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
|
|
@ -625,13 +625,18 @@ var model = {
|
|||
};
|
||||
|
||||
var mp_mode_changed = func(n) {
|
||||
var is_online = n.getBoolValue();
|
||||
foreach (var menuitem;["mp-chat","mp-chat-menu","mp-list","mp-carrier"])
|
||||
var is_online = getprop("/sim/multiplay/online");
|
||||
var is_replaying = getprop("/sim/replay/replay-state");
|
||||
|
||||
# Always activate multiplayer items if we are replaying, in case the
|
||||
# recording contains MP info.
|
||||
#
|
||||
foreach (var menuitem; ["mp-chat","mp-chat-menu","mp-list","mp-carrier"])
|
||||
{
|
||||
gui.menuEnable(menuitem, is_online);
|
||||
gui.menuEnable(menuitem, is_online or is_replaying);
|
||||
}
|
||||
|
||||
if (is_online) {
|
||||
if (is_online or is_replaying) {
|
||||
if (getprop("/sim/multiplay/write-message-log") and (log_file == nil)) {
|
||||
var t = props.globals.getNode("/sim/time/real");
|
||||
if (t == nil)
|
||||
|
@ -684,6 +689,8 @@ var mp_mode_changed = func(n) {
|
|||
|
||||
model.init();
|
||||
setlistener("/sim/multiplay/online", mp_mode_changed, 1, 1);
|
||||
setlistener("/sim/replay/replay-state", mp_mode_changed, 1, 1);
|
||||
|
||||
# Call-back to ensure we see our own messages.
|
||||
setlistener("/sim/multiplay/chat", chat_listener);
|
||||
|
||||
|
|
|
@ -108,5 +108,10 @@
|
|||
<xliff type="string">Translations/pt/FlightGear-nonQt.xlf</xliff>
|
||||
</locale>
|
||||
|
||||
<locale>
|
||||
<lang type="string">tr</lang>
|
||||
<lang type="string">tr_TR</lang>
|
||||
<xliff type="string">Translations/tr/FlightGear-nonQt.xlf</xliff>
|
||||
</locale>
|
||||
|
||||
</PropertyList>
|
||||
|
|
2884
Translations/tr/FlightGear-Qt.xlf
Normal file
2884
Translations/tr/FlightGear-Qt.xlf
Normal file
File diff suppressed because it is too large
Load diff
2059
Translations/tr/FlightGear-nonQt.xlf
Normal file
2059
Translations/tr/FlightGear-nonQt.xlf
Normal file
File diff suppressed because it is too large
Load diff
|
@ -121,7 +121,7 @@
|
|||
<slider>
|
||||
<row>2</row>
|
||||
<col>2</col>
|
||||
<name>Range</name>
|
||||
<name>range</name>
|
||||
<min>1</min>
|
||||
<max>15</max>
|
||||
<step>0.1</step>
|
||||
|
|
Loading…
Reference in a new issue