更新 'rgatc.nas'

This commit is contained in:
2022-11-25 08:36:36 +08:00
parent d4cd485266
commit 50969371bc
+5 -4
View File
@@ -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)
{ {