mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-03 04:57:36 +08:00
Update cursor reset messages for improved clarity and user feedback. Modify translation strings in English and Chinese (Simplified and Traditional) locales to reflect completed reset status and cancellation notifications.
This commit is contained in:
parent
0b2081175d
commit
048a69be8f
@ -404,7 +404,12 @@
|
|||||||
"failed_to_delete_directory": "Failed to delete directory: {path}",
|
"failed_to_delete_directory": "Failed to delete directory: {path}",
|
||||||
"failed_to_delete_file_or_directory": "Failed to delete file or directory: {path}",
|
"failed_to_delete_file_or_directory": "Failed to delete file or directory: {path}",
|
||||||
"deep_scanning": "Performing deep scan for additional trial/license files",
|
"deep_scanning": "Performing deep scan for additional trial/license files",
|
||||||
"resetting_cursor": "Resetting Cursor AI Editor... Please wait."
|
"resetting_cursor": "Resetting Cursor AI Editor... Please wait.",
|
||||||
|
"completed_in": "Completed in {time} seconds",
|
||||||
|
"cursor_reset_completed": "Cursor AI Editor has been fully reset and trial detection bypassed!",
|
||||||
|
"cursor_reset_failed": "Cursor AI Editor reset failed: {error}",
|
||||||
|
"cursor_reset_cancelled": "Cursor AI Editor reset cancelled. Exiting without making any changes.",
|
||||||
|
"operation_cancelled": "Operation cancelled. Exiting without making any changes."
|
||||||
},
|
},
|
||||||
"github_register": {
|
"github_register": {
|
||||||
"title": "GitHub + Cursor AI Registration Automation",
|
"title": "GitHub + Cursor AI Registration Automation",
|
||||||
|
@ -398,7 +398,12 @@
|
|||||||
"failed_to_delete_directory": "无法删除目录:{path}",
|
"failed_to_delete_directory": "无法删除目录:{path}",
|
||||||
"failed_to_delete_file_or_directory": "无法删除文件或目录:{path}",
|
"failed_to_delete_file_or_directory": "无法删除文件或目录:{path}",
|
||||||
"deep_scanning": "正在进行深度扫描以查找其他试用/授权文件",
|
"deep_scanning": "正在进行深度扫描以查找其他试用/授权文件",
|
||||||
"resetting_cursor": "正在重置 Cursor AI 编辑器... 请稍候。"
|
"resetting_cursor": "正在重置 Cursor AI 编辑器... 请稍候。",
|
||||||
|
"completed_in": "完成时间:{time} 秒",
|
||||||
|
"cursor_reset_completed": "Cursor AI 编辑器已完全重置且绕过试用检测!",
|
||||||
|
"cursor_reset_failed": "Cursor AI 编辑器重置失败:{error}",
|
||||||
|
"cursor_reset_cancelled": "Cursor AI 编辑器重置已取消,未进行任何更改。",
|
||||||
|
"operation_cancelled": "操作已取消,未进行任何更改。"
|
||||||
},
|
},
|
||||||
"github_register": {
|
"github_register": {
|
||||||
"title": "GitHub + Cursor AI 注册自动化",
|
"title": "GitHub + Cursor AI 注册自动化",
|
||||||
|
@ -377,8 +377,12 @@
|
|||||||
"failed_to_delete_directory": "無法刪除目錄:{path}",
|
"failed_to_delete_directory": "無法刪除目錄:{path}",
|
||||||
"failed_to_delete_file_or_directory": "無法刪除檔案或目錄:{path}",
|
"failed_to_delete_file_or_directory": "無法刪除檔案或目錄:{path}",
|
||||||
"deep_scanning": "正在進行深度掃描以查找其他試用/授權檔案",
|
"deep_scanning": "正在進行深度掃描以查找其他試用/授權檔案",
|
||||||
"resetting_cursor": "正在重置 Cursor AI 編輯器... 請稍候。"
|
"resetting_cursor": "正在重置 Cursor AI 編輯器... 請稍候。",
|
||||||
|
"completed_in": "完成時間:{time} 秒",
|
||||||
|
"cursor_reset_completed": "Cursor AI 編輯器已完全重置且繞過試用偵測!",
|
||||||
|
"cursor_reset_failed": "Cursor AI 編輯器重置失敗:{error}",
|
||||||
|
"cursor_reset_cancelled": "Cursor AI 編輯器重置已取消,未進行任何更改。",
|
||||||
|
"operation_cancelled": "操作已取消,未進行任何更改。"
|
||||||
},
|
},
|
||||||
"github_register": {
|
"github_register": {
|
||||||
"title": "GitHub + Cursor AI 注册自动化",
|
"title": "GitHub + Cursor AI 注册自动化",
|
||||||
|
@ -175,7 +175,7 @@ def reset_cursor(translator=None):
|
|||||||
# Reset machine ID
|
# Reset machine ID
|
||||||
reset_machine_id(translator)
|
reset_machine_id(translator)
|
||||||
|
|
||||||
print(f"\n{Fore.GREEN}{EMOJI['SUCCESS']} {translator.get('totally_reset.cursor_reset')}")
|
print(f"\n{Fore.GREEN}{EMOJI['SUCCESS']} {translator.get('totally_reset.cursor_reset_completed')}")
|
||||||
|
|
||||||
def main(translator=None):
|
def main(translator=None):
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
@ -187,9 +187,9 @@ def main(translator=None):
|
|||||||
if get_user_confirmation(translator):
|
if get_user_confirmation(translator):
|
||||||
reset_cursor(translator)
|
reset_cursor(translator)
|
||||||
end_time = time.time()
|
end_time = time.time()
|
||||||
print(f"\n{Fore.GREEN}⏱️ {translator.get('reset.completed_in', time=f'{end_time - start_time:.2f} seconds')}{Style.RESET_ALL}")
|
print(f"\n{Fore.GREEN}⏱️ {translator.get('totally_reset.completed_in', time=f'{end_time - start_time:.2f} seconds')}{Style.RESET_ALL}")
|
||||||
else:
|
else:
|
||||||
print(f"\n{Fore.RED}❌ {translator.get('reset.operation_cancelled')}{Style.RESET_ALL}")
|
print(f"\n{Fore.RED}❌ {translator.get('totally_reset.operation_cancelled')}{Style.RESET_ALL}")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from main import translator
|
from main import translator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user