增强git贮藏(stash)功能,支持可视化操作

This commit is contained in:
xintaofei
2026-03-15 22:09:05 +08:00
parent 344565b1c8
commit d03be55c6b
20 changed files with 1335 additions and 30 deletions

View File

@@ -827,8 +827,8 @@
"pushCode": "Push...",
"newBranch": "New branch...",
"newWorktree": "New worktree...",
"stashChanges": "Stash changes",
"stashPop": "Pop stash...",
"stashChanges": "Stash changes...",
"stashPop": "Unstash...",
"manageRemotes": "Manage Remotes...",
"localBranches": "Local branches ({count, plural, one {#} other {#}})",
"noLocalBranches": "No local branches",
@@ -859,6 +859,31 @@
"completeMerge": "Complete Merge",
"abortSuccess": "Merge aborted successfully",
"completeSuccess": "Merge completed successfully"
},
"stashDialog": {
"title": "Stash Changes",
"description": "Save your current changes to a stash",
"messageLabel": "Message",
"messagePlaceholder": "Stash message (optional)",
"keepIndex": "Keep index (staged changes remain staged)",
"cancel": "Cancel",
"stash": "Stash",
"success": "Changes stashed successfully",
"error": "Failed to stash changes"
},
"unstashDialog": {
"title": "Unstash Changes",
"noStashes": "No stashes found",
"selectFile": "Select a file to view diff",
"viewDiff": "View Diff",
"original": "Original",
"modified": "Modified",
"apply": "Apply",
"drop": "Drop",
"applySuccess": "Stash applied successfully",
"dropSuccess": "Stash dropped",
"confirmApply": "Apply stash {ref} to working directory?",
"cancel": "Cancel"
}
},
"commitDialog": {