mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-06-29 18:15:55 +08:00
feat: 重写为 Tauri + React + TypeScript (v4.0)
完全移除旧 C+IUP 代码,改用 Tauri 2.x + React 19 + TypeScript + Rust 技术栈重写。 功能与 v3.1 完全等价: - React 前端:Tailwind CSS 4、Zustand 状态管理、i18next 国际化 - Rust 后端:winreg 注册表读写、Win32 API FFI 调用 - 核心逻辑:StringList、UndoRedoManager、PathManager、Import/Export - 深色模式、中英文切换、键盘快捷键、合并预览 - 66 个 Vitest 单元测试 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "PathEditor",
|
||||
"nameReadonly": "PathEditor (Read-only)"
|
||||
},
|
||||
"tab": {
|
||||
"system": "System Variables",
|
||||
"user": "User Variables",
|
||||
"merged": "Merge Preview"
|
||||
},
|
||||
"button": {
|
||||
"new": "New",
|
||||
"edit": "Edit",
|
||||
"browse": "Browse...",
|
||||
"delete": "Delete",
|
||||
"moveUp": "Move Up",
|
||||
"moveDown": "Move Down",
|
||||
"clean": "Clean",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"save": "OK",
|
||||
"cancel": "Cancel",
|
||||
"help": "Help",
|
||||
"undo": "Undo",
|
||||
"redo": "Redo",
|
||||
"darkMode": "Dark Mode",
|
||||
"lightMode": "Light Mode",
|
||||
"language": "Language"
|
||||
},
|
||||
"status": {
|
||||
"normal": "Ready",
|
||||
"readonly": "Read-only mode — Administrator privileges required for editing",
|
||||
"saving": "Saving...",
|
||||
"saved": "Saved successfully",
|
||||
"error": "Operation failed",
|
||||
"deleted": "Deleted {{count}} path(s)",
|
||||
"loaded": "Loaded {{sysCount}} system and {{userCount}} user paths",
|
||||
"dragFolderOnly": "Only folders can be dropped",
|
||||
"adminWarning": "Running without administrator privileges, some features are disabled"
|
||||
},
|
||||
"dialog": {
|
||||
"newPath": "New Path",
|
||||
"editPath": "Edit Path",
|
||||
"pathLabel": "Enter path:",
|
||||
"selectDir": "Select Directory",
|
||||
"importTitle": "Import Paths",
|
||||
"exportTitle": "Export Paths",
|
||||
"importTarget": "Import Target",
|
||||
"importSystem": "System Only",
|
||||
"importUser": "User Only",
|
||||
"importBoth": "Both",
|
||||
"helpTitle": "Help",
|
||||
"languageTitle": "Select Language",
|
||||
"backupTitle": "Backup Confirmation",
|
||||
"backupMessage": "Back up registry before saving?",
|
||||
"confirm": "Confirm",
|
||||
"cancel": "Cancel",
|
||||
"search": "Search paths..."
|
||||
},
|
||||
"help": {
|
||||
"content": "PathEditor v4.0 — Windows System Environment Variable (PATH) Editor\n\nFeatures:\n• Create/Edit/Delete path entries\n• Move Up/Down to adjust priority\n• One-click cleanup of invalid & duplicate paths\n• Import/Export JSON, CSV, TXT formats\n• Full Undo/Redo support\n\nShortcuts:\n• Ctrl+N New\n• Ctrl+S Save\n• Ctrl+Z Undo\n• Ctrl+Y Redo\n• Ctrl+F Search\n• Delete Delete selected\n• F1 Help\n\nAuthor: 刘航宇\nGitHub: https://github.com/LHY0125/PathEditor"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user