refactor: Internationalize and Clean Up Code Comments

- Translate Chinese comments to English across multiple files
- Improve code readability by using consistent, clear comments
- Remove redundant comments and simplify language-specific annotations
- Maintain existing code structure while enhancing internationalization
This commit is contained in:
yeongpin
2025-03-11 12:09:07 +08:00
parent ff358588bb
commit b98f094407
9 changed files with 145 additions and 145 deletions

View File

@@ -28,5 +28,5 @@ def get_linux_cursor_path():
os.path.expanduser("~/.local/share/cursor/resources/app")
]
# 返回第一个存在的路径,如果都不存在则返回第一个路径
# return the first path that exists
return next((path for path in possible_paths if os.path.exists(path)), possible_paths[0])