From 560186a40b45d35b4670e6f3dc06c0c61612e0d0 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Tue, 28 Sep 2021 17:24:52 +0200 Subject: [PATCH] chore: little UI tweaks, renaming "MTelegramBot" to "Telegram Bot" --- scripts/ui/install_menu.sh | 2 +- scripts/ui/main_menu.sh | 2 +- scripts/ui/remove_menu.sh | 14 +++++++------- scripts/ui/update_menu.sh | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/ui/install_menu.sh b/scripts/ui/install_menu.sh index c16b8f9..5c8fc13 100755 --- a/scripts/ui/install_menu.sh +++ b/scripts/ui/install_menu.sh @@ -13,7 +13,7 @@ install_ui(){ echo -e "| 2) [Moonraker] | 6) [Duet Web Control] | " echo -e "| | 7) [OctoPrint] | " echo -e "| Klipper Webinterface: | 8) [PrettyGCode] | " - echo -e "| 3) [Mainsail] | 9) [MoonrakerTelegramBot]| " + echo -e "| 3) [Mainsail] | 9) [Telegram Bot] | " echo -e "| 4) [Fluidd] | | " echo -e "| | Webcam: | " echo -e "| | 10) [MJPG-Streamer] | " diff --git a/scripts/ui/main_menu.sh b/scripts/ui/main_menu.sh index 0715129..ff991a0 100755 --- a/scripts/ui/main_menu.sh +++ b/scripts/ui/main_menu.sh @@ -11,7 +11,7 @@ main_ui(){ echo -e "| 4) [Advanced] | Mainsail: $MAINSAIL_STATUS|" echo -e "| 5) [Backup] | Fluidd: $FLUIDD_STATUS|" echo -e "| | KlipperScreen: $KLIPPERSCREEN_STATUS|" - echo -e "| 6) [Settings] | MTelegramBot: $MOONRAKER_TELEGRAM_BOT_STATUS|" + echo -e "| 6) [Settings] | Telegram Bot: $MOONRAKER_TELEGRAM_BOT_STATUS|" echo -e "| | |" echo -e "| | DWC2: $DWC2_STATUS|" echo -e "| ${cyan}$KIAUH_VER${default}| Octoprint: $OCTOPRINT_STATUS|" diff --git a/scripts/ui/remove_menu.sh b/scripts/ui/remove_menu.sh index 5abea31..9df4e9f 100755 --- a/scripts/ui/remove_menu.sh +++ b/scripts/ui/remove_menu.sh @@ -13,10 +13,10 @@ remove_ui(){ echo -e "| Klipper API: | Other: | " echo -e "| 2) [Moonraker] | 6) [Duet Web Control] | " echo -e "| | 7) [OctoPrint] | " - echo -e "| Klipper Webinterface: | 8) [MJPG-Streamer] | " - echo -e "| 3) [Mainsail] | 9) [PrettyGCode] | " - echo -e "| 4) [Fluidd] | 10) [MTelegramBot] | " - echo -e "| | | " + echo -e "| Klipper Webinterface: | 8) [PrettyGCode] | " + echo -e "| 3) [Mainsail] | 9) [Telegram Bot] | " + echo -e "| 4) [Fluidd] | | " + echo -e "| | 10) [MJPG-Streamer] | " echo -e "| | 11) [NGINX] | " back_footer } @@ -41,11 +41,11 @@ remove_menu(){ 7) do_action "remove_octoprint" "remove_ui";; 8) - do_action "remove_mjpg-streamer" "remove_ui";; - 9) do_action "remove_prettygcode" "remove_ui";; - 10) + 9) do_action "remove_MoonrakerTelegramBot" "remove_ui";; + 10) + do_action "remove_mjpg-streamer" "remove_ui";; 11) do_action "remove_nginx" "remove_ui";; B|b) diff --git a/scripts/ui/update_menu.sh b/scripts/ui/update_menu.sh index 8986a17..0d23c74 100755 --- a/scripts/ui/update_menu.sh +++ b/scripts/ui/update_menu.sh @@ -22,7 +22,7 @@ update_ui(){ echo -e "| 6) [DWC2-for-Klipper] | $LOCAL_DWC2FK_COMMIT | $REMOTE_DWC2FK_COMMIT | " echo -e "| 7) [DWC2 Web UI] | $DWC2_LOCAL_VER | $DWC2_REMOTE_VER | " echo -e "| 8) [PrettyGCode] | $LOCAL_PGC_COMMIT | $REMOTE_PGC_COMMIT | " - echo -e "| 9) [MTelegramBot] | $LOCAL_MOONRAKER_TELEGRAM_BOT_COMMIT | $REMOTE_MOONRAKER_TELEGRAM_BOT_COMMIT | " + echo -e "| 9) [Telegram Bot] | $LOCAL_MOONRAKER_TELEGRAM_BOT_COMMIT | $REMOTE_MOONRAKER_TELEGRAM_BOT_COMMIT | " echo -e "| |------------------------------| " echo -e "| 10) [System] | $DISPLAY_SYS_UPDATE | " back_footer