forked from mirrors/cursor-free-vip
添加恢复机器ID功能,新增restore_machine_id.py文件并更新主菜单以支持该功能。更新多语言支持,包含相关提示信息和错误处理。
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
"exiting": "退出中 ……",
|
||||
"bypass_version_check": "繞過 Cursor 版本檢查",
|
||||
"check_user_authorized": "檢查用戶授權",
|
||||
"bypass_token_limit": "繞過 Token 限制"
|
||||
"bypass_token_limit": "繞過 Token 限制",
|
||||
"restore_machine_id": "從備份恢復機器ID"
|
||||
},
|
||||
"languages": {
|
||||
"en": "英文",
|
||||
@@ -122,7 +123,6 @@
|
||||
"update_windows_machine_guid_failed": "更新Windows機器GUID失敗: {error}",
|
||||
"file_not_found": "文件未找到: {path}"
|
||||
},
|
||||
|
||||
"register": {
|
||||
"title": "Cursor 註冊工具",
|
||||
"start": "正在啟動註冊流程...",
|
||||
@@ -709,5 +709,48 @@
|
||||
"title": "繞過 Token 限制工具",
|
||||
"description": "此工具修改 workbench.desktop.main.js 文件以繞過 token 限制",
|
||||
"press_enter": "按回車鍵繼續..."
|
||||
},
|
||||
"restore": {
|
||||
"title": "從備份恢復機器ID",
|
||||
"starting": "正在啟動機器ID恢復進程",
|
||||
"no_backups_found": "未找到備份文件",
|
||||
"available_backups": "可用的備份文件",
|
||||
"select_backup": "選擇要恢復的備份",
|
||||
"to_cancel": "取消操作",
|
||||
"operation_cancelled": "操作已取消",
|
||||
"invalid_selection": "選擇無效",
|
||||
"please_enter_number": "請輸入有效的數字",
|
||||
"missing_id": "缺少ID: {id}",
|
||||
"read_backup_failed": "讀取備份文件失敗: {error}",
|
||||
"current_file_not_found": "未找到當前存儲文件",
|
||||
"current_backup_created": "已創建當前存儲文件的備份",
|
||||
"storage_updated": "存儲文件已成功更新",
|
||||
"update_failed": "更新存儲文件失敗: {error}",
|
||||
"sqlite_not_found": "未找到SQLite數據庫",
|
||||
"updating_sqlite": "正在更新SQLite數據庫",
|
||||
"updating_pair": "正在更新鍵值對",
|
||||
"sqlite_updated": "SQLite數據庫已成功更新",
|
||||
"sqlite_update_failed": "更新SQLite數據庫失敗: {error}",
|
||||
"machine_id_backup_created": "已創建machineId文件的備份",
|
||||
"backup_creation_failed": "創建備份失敗: {error}",
|
||||
"machine_id_updated": "machineId文件已成功更新",
|
||||
"machine_id_update_failed": "更新machineId文件失敗: {error}",
|
||||
"updating_system_ids": "正在更新系統ID",
|
||||
"system_ids_update_failed": "更新系統ID失敗: {error}",
|
||||
"permission_denied": "權限被拒絕。請嘗試以管理員身份運行",
|
||||
"windows_machine_guid_updated": "Windows機器GUID已成功更新",
|
||||
"update_windows_machine_guid_failed": "更新Windows機器GUID失敗: {error}",
|
||||
"windows_machine_id_updated": "Windows機器ID已成功更新",
|
||||
"update_windows_machine_id_failed": "更新Windows機器ID失敗: {error}",
|
||||
"sqm_client_key_not_found": "未找到SQMClient註冊表項",
|
||||
"update_windows_system_ids_failed": "更新Windows系統ID失敗: {error}",
|
||||
"macos_platform_uuid_updated": "macOS平台UUID已成功更新",
|
||||
"failed_to_execute_plutil_command": "執行plutil命令失敗",
|
||||
"update_macos_system_ids_failed": "更新macOS系統ID失敗: {error}",
|
||||
"ids_to_restore": "要恢復的機器ID",
|
||||
"confirm": "您確定要恢復這些ID嗎?",
|
||||
"success": "機器ID已成功恢復",
|
||||
"process_error": "恢復過程錯誤: {error}",
|
||||
"press_enter": "按Enter鍵繼續"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user