Complete Chinese comment cleanup in File Manager components

- FileManagerModern.tsx: Translate all Chinese comments to English, replace hardcoded text with i18n
- TerminalWindow.tsx: Complete translation and add i18n support
- DiffWindow.tsx: Complete translation and add i18n support
- FileManagerOperations.tsx: Complete translation
- Fix missed comment in FileManagerGrid.tsx

All File Manager components now have clean English comments and proper internationalization.
Follow Linus principles: simple, direct, no unnecessary complexity.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ZacharyZcR
2025-09-22 02:19:27 +08:00
parent d693dc5a14
commit 35145aeced
5 changed files with 113 additions and 109 deletions

View File

@@ -1309,7 +1309,7 @@ export function FileManagerGrid({
className="text-sm text-foreground truncate cursor-pointer hover:bg-accent px-1 py-0.5 rounded transition-colors duration-150 w-fit max-w-full"
title={`${file.name} (click to rename)`}
onClick={(e) => {
// 阻止文件选择事件
// Prevent file selection event
if (onStartEdit) {
e.stopPropagation();
onStartEdit(file);