From d3d861bd2d824600b681c006824e3b1a62410708 Mon Sep 17 00:00:00 2001 From: Daniel Dybing Date: Sat, 14 Mar 2026 11:55:35 +0100 Subject: [PATCH] UI: Use title case for Settings and zero-hour toggle menu items --- tamigo.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tamigo.py b/tamigo.py index 65bce72..c1350d8 100644 --- a/tamigo.py +++ b/tamigo.py @@ -315,7 +315,7 @@ def main(): def menu(client): while True: - settings_text = "SETTINGS" if current_theme_name == "fallout" else "Settings" + settings_text = "Settings" choice = questionary.select( "SELECT ACTION:" if current_theme_name == "fallout" else "What would you like to do?", choices=["Calculate actual work days", "Export hours worked", "Show profile info", settings_text, "Logout and Exit"], @@ -336,11 +336,9 @@ def menu(client): def settings_menu(): while True: show_zero = current_config.get("show_zero_hours", False) - toggle_text = "HIDE ZERO-HOUR DAYS" if current_theme_name == "fallout" else "Hide zero-hour days" - if not show_zero: - toggle_text = "SHOW ZERO-HOUR DAYS" if current_theme_name == "fallout" else "Show zero-hour days" + toggle_text = "Hide zero-hour days" if show_zero else "Show zero-hour days" - back_text = "BACK" if current_theme_name == "fallout" else "Back" + back_text = "Back" choice = questionary.select( "SELECT SETTING:" if current_theme_name == "fallout" else "Settings:",