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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user