From eb31209b6a4fd2418a178dafe28a9c420cfa16f9 Mon Sep 17 00:00:00 2001 From: yeongpin Date: Sat, 22 Mar 2025 20:39:25 +0800 Subject: [PATCH] Enhance logo formatting and add warning emoji to improve user interface. Update feature display and confirmation prompts for better clarity and user experience. --- logo.py | 3 ++- totally_reset_cursor.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/logo.py b/logo.py index e3174ef..7a0faa6 100644 --- a/logo.py +++ b/logo.py @@ -67,7 +67,8 @@ LOGO_TEXT = f"""{Fore.CYAN} ██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝ ██████╔╝██████╔╝██║ ██║ ██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗ ██╔═══╝ ██╔══██╗██║ ██║ ╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║ ██║ ██║ ██║╚██████╔╝ - ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝{Style.RESET_ALL}""" + ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ +{Style.RESET_ALL}""" DESCRIPTION_TEXT = f"""{Fore.YELLOW} Pro Version Activator v{version}{Fore.GREEN} diff --git a/totally_reset_cursor.py b/totally_reset_cursor.py index bc2f2f0..3661870 100644 --- a/totally_reset_cursor.py +++ b/totally_reset_cursor.py @@ -14,6 +14,7 @@ EMOJI = { "INFO": "ℹ️", "RESET": "🔄", "MENU": "📋", + "WARNING": "⚠️" } def delete_directory(path, translator=None): @@ -71,7 +72,7 @@ def display_features_and_warnings(translator=None): """Displays features and warnings before proceeding.""" print(f"\n{Fore.GREEN}{EMOJI['MENU']} {translator.get('totally_reset.title')}") print("=====================================") - print(f"{translator.get('totally_reset.features')}") + print(f"{translator.get('totally_reset.feature_title')}") print(f"{Fore.GREEN}{translator.get('totally_reset.feature_1')}") print(f"{Fore.GREEN}{translator.get('totally_reset.feature_2')}") print(f"{Fore.GREEN}{translator.get('totally_reset.feature_3')}") @@ -94,7 +95,7 @@ def display_features_and_warnings(translator=None): def get_user_confirmation(translator=None): """Prompts the user for confirmation to proceed.""" while True: - response = input(f"{Fore.YELLOW} {translator.get('totally_reset.confirm_title')}: ").lower().strip() + response = input(f"{Fore.YELLOW} {translator.get('totally_reset.confirm_title')} {translator.get('totally_reset.invalid_choice')}: ").lower().strip() if response in ['yes', 'y']: return True elif response in ['no', 'n']: