feat(title-bar): add folder-actions menu and branch dropdown with git operations

This commit is contained in:
xintaofei
2026-04-22 00:23:27 +08:00
parent 08fb508736
commit f3bdf94723
19 changed files with 1511 additions and 46 deletions

View File

@@ -1021,7 +1021,8 @@
"fetchInfo": "獲取資訊",
"pushCode": "推送程式碼",
"stashChanges": "暫存變更",
"stashPop": "取消暫存"
"stashPop": "取消暫存",
"deleteBranch": "刪除分支 {branchName}"
},
"confirm": {
"mergeTitle": "合併分支",
@@ -1029,7 +1030,11 @@
"mergeDescription": "確定將 {branchName} 合併到目前分支 {currentBranch} 嗎?",
"rebaseDescription": "確定將目前分支 {currentBranch} 變基到 {branchName} 嗎?",
"deleteRemoteTitle": "刪除遠端分支",
"deleteRemoteDescription": "確定刪除遠端分支 {branchName} 嗎?此操作將從遠端倉庫中移除該分支,且不可恢復。"
"deleteRemoteDescription": "確定刪除遠端分支 {branchName} 嗎?此操作將從遠端倉庫中移除該分支,且不可恢復。",
"deleteTitle": "刪除分支",
"deleteDescription": "確定刪除分支 {branchName} 嗎?此操作無法復原。",
"forceDeleteTitle": "強制刪除分支",
"forceDeleteDescription": "分支 {branchName} 尚未完全合併,確定要強制刪除嗎?此操作不可恢復。"
},
"current": "目前",
"switchToBranch": "切換到此分支",
@@ -1100,7 +1105,8 @@
"dropSuccess": "貯藏已刪除",
"confirmApply": "將貯藏 {ref} 套用到工作目錄?",
"cancel": "取消"
}
},
"deleteBranch": "刪除分支"
},
"commitDialog": {
"toasts": {
@@ -1781,6 +1787,20 @@
"openStashFailed": "Failed to open stash window",
"openMergeFailed": "Failed to open merge window"
}
},
"cloneDialog": {
"title": "複製倉庫",
"repositoryUrl": "倉庫地址",
"repositoryUrlPlaceholder": "https://github.com/user/repo.git",
"directory": "目錄",
"directoryPlaceholder": "選擇目標目錄...",
"browseDirectory": "瀏覽目錄",
"cancel": "取消",
"clone": "複製",
"clonePath": "克隆路徑: {path}"
},
"toasts": {
"cloneFailed": "複製倉庫失敗"
}
},
"ProjectBoot": {