更新 'rgatc.nas'
This commit is contained in:
@@ -30,7 +30,8 @@ var rgatcKeyboardListener = setlistener("/devices/status/keyboard/event", func(e
|
|||||||
|
|
||||||
if(isAtcEnabled() == 0)
|
if(isAtcEnabled() == 0)
|
||||||
{
|
{
|
||||||
showPopup(RGAtcName ~ " is not enabled.\nTurn it on from the menu");
|
#showPopup(RGAtcName ~ " is not enabled.\nTurn it on from the menu");
|
||||||
|
showPopup(RGAtcName ~ " 未启用.\nTurn it on from the menu");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1170,13 +1171,13 @@ var updateATC = func(update_mode)
|
|||||||
var type = nil;
|
var type = nil;
|
||||||
var aircraftPosition = "";
|
var aircraftPosition = "";
|
||||||
var txt = "";
|
var txt = "";
|
||||||
var degTag = "°";
|
var degTag = "°";
|
||||||
var popupText = RGAtcTitle ~ "\n\n";
|
var popupText = RGAtcTitle ~ "\n\n";
|
||||||
|
|
||||||
if(update_mode == update_dialog)
|
if(update_mode == update_dialog)
|
||||||
degTag = "°";
|
degTag = "°";
|
||||||
else
|
else
|
||||||
degTag = "°";
|
degTag = "°";
|
||||||
|
|
||||||
if(property_COM1_Serviceable != nil)
|
if(property_COM1_Serviceable != nil)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user