Refactor cursor reset functionality to enhance user experience with improved prompts and error handling. Update translation support for various messages and warnings in English, Chinese (Simplified and Traditional). Change function calls in main.py to align with updated definitions in totally_reset_cursor.py.

This commit is contained in:
yeongpin
2025-03-22 20:27:39 +08:00
parent a9eed9818c
commit 7a239d3348
5 changed files with 87 additions and 45 deletions

View File

@@ -498,7 +498,7 @@ def main():
print_menu()
elif choice == "10":
import totally_reset_cursor
totally_reset_cursor.run(translator)
totally_reset_cursor.main(translator)
print_menu()
else:
print(f"{Fore.RED}{EMOJI['ERROR']} {translator.get('menu.invalid_choice')}{Style.RESET_ALL}")