Enhance logo formatting and add warning emoji to improve user interface. Update feature display and confirmation prompts for better clarity and user experience.

This commit is contained in:
yeongpin
2025-03-22 20:39:25 +08:00
parent 7a239d3348
commit eb31209b6a
2 changed files with 5 additions and 3 deletions

View File

@@ -67,7 +67,8 @@ LOGO_TEXT = f"""{Fore.CYAN}
██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝ ██████╔╝██████╔╝██║ ██║ ██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝ ██████╔╝██████╔╝██║ ██║
██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗ ██╔═══╝ ██╔══██╗██║ ██║ ██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗ ██╔═══╝ ██╔══██╗██║ ██║
╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║ ██║ ██║ ██║╚██████╔╝ ╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║ ██║ ██║ ██║╚██████╔╝
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝{Style.RESET_ALL}""" ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝
{Style.RESET_ALL}"""
DESCRIPTION_TEXT = f"""{Fore.YELLOW} DESCRIPTION_TEXT = f"""{Fore.YELLOW}
Pro Version Activator v{version}{Fore.GREEN} Pro Version Activator v{version}{Fore.GREEN}

View File

@@ -14,6 +14,7 @@ EMOJI = {
"INFO": "", "INFO": "",
"RESET": "🔄", "RESET": "🔄",
"MENU": "📋", "MENU": "📋",
"WARNING": "⚠️"
} }
def delete_directory(path, translator=None): def delete_directory(path, translator=None):
@@ -71,7 +72,7 @@ def display_features_and_warnings(translator=None):
"""Displays features and warnings before proceeding.""" """Displays features and warnings before proceeding."""
print(f"\n{Fore.GREEN}{EMOJI['MENU']} {translator.get('totally_reset.title')}") print(f"\n{Fore.GREEN}{EMOJI['MENU']} {translator.get('totally_reset.title')}")
print("=====================================") 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_1')}")
print(f"{Fore.GREEN}{translator.get('totally_reset.feature_2')}") print(f"{Fore.GREEN}{translator.get('totally_reset.feature_2')}")
print(f"{Fore.GREEN}{translator.get('totally_reset.feature_3')}") 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): def get_user_confirmation(translator=None):
"""Prompts the user for confirmation to proceed.""" """Prompts the user for confirmation to proceed."""
while True: 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']: if response in ['yes', 'y']:
return True return True
elif response in ['no', 'n']: elif response in ['no', 'n']: