diff --git a/locales/en.json b/locales/en.json index d3c1c97..a23c1a4 100644 --- a/locales/en.json +++ b/locales/en.json @@ -105,7 +105,8 @@ "stack_trace": "Stack Trace", "version_too_low": "Cursor Version Too Low: {version} < 0.45.0", "no_write_permission": "No Write Permission: {path}", - "path_not_found": "Path Not Found: {path}" + "path_not_found": "Path Not Found: {path}", + "modify_file_failed": "Modify File Failed: {error}" }, "register": { "title": "Cursor Registration Tool", diff --git a/locales/zh_cn.json b/locales/zh_cn.json index aaf3db4..6a78544 100644 --- a/locales/zh_cn.json +++ b/locales/zh_cn.json @@ -105,7 +105,8 @@ "stack_trace": "堆栈跟踪", "version_too_low": "Cursor版本太低: {version} < 0.45.0", "no_write_permission": "没有写入权限: {path}", - "path_not_found": "路径未找到: {path}" + "path_not_found": "路径未找到: {path}", + "modify_file_failed": "修改文件失败: {error}" }, "register": { "title": "Cursor 注册工具", diff --git a/locales/zh_tw.json b/locales/zh_tw.json index af3d414..ba91c70 100644 --- a/locales/zh_tw.json +++ b/locales/zh_tw.json @@ -103,7 +103,8 @@ "stack_trace": "堆疊跟踪", "version_too_low": "Cursor版本太低: {version} < 0.45.0", "no_write_permission": "沒有寫入權限: {path}", - "path_not_found": "路徑未找到: {path}" + "path_not_found": "路徑未找到: {path}", + "modify_file_failed": "修改文件失敗: {error}" }, "register": { diff --git a/reset_machine_manual.py b/reset_machine_manual.py index 4d9b710..722800b 100644 --- a/reset_machine_manual.py +++ b/reset_machine_manual.py @@ -663,13 +663,10 @@ class MachineIDResetter: self.update_system_ids(new_ids) - ### Remove In v1.7.02 # Modify workbench.desktop.main.js - workbench_path = get_workbench_cursor_path(self.translator) modify_workbench_js(workbench_path, self.translator) - ### Remove In v1.7.02 # Check Cursor version and perform corresponding actions greater_than_0_45 = check_cursor_version(self.translator)