From 08eee198c8bf57e89c7e920018fe936c8cb27d2a Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sat, 27 Jul 2024 20:35:09 -0400 Subject: [PATCH] cleanup and rewording notices --- reactor-plc/config/system.lua | 2 +- rtu/configure.lua | 2 +- supervisor/configure.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reactor-plc/config/system.lua b/reactor-plc/config/system.lua index 8170eaa..b6934a1 100644 --- a/reactor-plc/config/system.lua +++ b/reactor-plc/config/system.lua @@ -616,4 +616,4 @@ function system.create(tool_ctl, main_pane, cfg_sys, divs, style, exit) --#endregion end -return system \ No newline at end of file +return system diff --git a/rtu/configure.lua b/rtu/configure.lua index 4cb3ef0..b5cceeb 100644 --- a/rtu/configure.lua +++ b/rtu/configure.lua @@ -285,7 +285,7 @@ local function config_view(display) local y_start = 2 if tool_ctl.ask_config then - TextBox{parent=main_page,x=2,y=y_start,height=4,width=49,text="Notice: This device has no valid config so the configurator has been automatically started. If you previously had a valid config, you may want to check the Change Log to see what changed.",fg_bg=cpair(colors.red,colors.lightGray)} + TextBox{parent=main_page,x=2,y=y_start,height=4,width=49,text="Notice: This device had no valid config so the configurator has been automatically started. If you previously had a valid config, you may want to check the Change Log to see what changed.",fg_bg=cpair(colors.red,colors.lightGray)} y_start = y_start + 5 else TextBox{parent=main_page,x=2,y=2,height=2,text="Welcome to the RTU gateway configurator! Please select one of the following options."} diff --git a/supervisor/configure.lua b/supervisor/configure.lua index eedc476..982550a 100644 --- a/supervisor/configure.lua +++ b/supervisor/configure.lua @@ -181,7 +181,7 @@ local function config_view(display) TextBox{parent=main_page,x=2,y=2,height=2,text="Welcome to the Supervisor configurator! Please select one of the following options."} if tool_ctl.ask_config then - TextBox{parent=main_page,x=2,y=y_start,height=4,width=49,text="Notice: This device has no valid config so the configurator has been automatically started. If you previously had a valid config, you may want to check the Change Log to see what changed.",fg_bg=cpair(colors.red,colors.lightGray)} + TextBox{parent=main_page,x=2,y=y_start,height=4,width=49,text="Notice: This device had no valid config so the configurator has been automatically started. If you previously had a valid config, you may want to check the Change Log to see what changed.",fg_bg=cpair(colors.red,colors.lightGray)} y_start = y_start + 5 end