From 50969371bc8db8608d85f1927da674393a38bb6a Mon Sep 17 00:00:00 2001 From: zhongjin Date: Fri, 25 Nov 2022 08:36:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'rgatc.nas'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rgatc.nas | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rgatc.nas b/rgatc.nas index 3ce51dc..f85ba3e 100644 --- a/rgatc.nas +++ b/rgatc.nas @@ -30,7 +30,8 @@ var rgatcKeyboardListener = setlistener("/devices/status/keyboard/event", func(e 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; } @@ -1170,13 +1171,13 @@ var updateATC = func(update_mode) var type = nil; var aircraftPosition = ""; var txt = ""; - var degTag = "°"; + var degTag = "°"; var popupText = RGAtcTitle ~ "\n\n"; if(update_mode == update_dialog) - degTag = "°"; + degTag = "°"; else - degTag = ""; + degTag = "°"; if(property_COM1_Serviceable != nil) {