添加git推送窗口,显示待提交列表和查看文件差异

This commit is contained in:
xintaofei
2026-03-21 20:37:19 +08:00
parent 048b8a8480
commit d9032f1c82
18 changed files with 986 additions and 137 deletions

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "كل الملفات محدثة",
"updatedFiles": "{count, plural, one {# ملف تم تحديثه} other {# ملفات تم تحديثها}}",
"openCommitWindowFailed": "فشل فتح نافذة الالتزام",
"openPushWindowFailed": "فشل فتح نافذة الدفع",
"upstreamSet": "تم تعيين فرع upstream",
"upstreamSetAndPushed": "تم تعيين فرع upstream ودفع {count, plural, one {# التزام} other {# التزامات}}",
"noCommitsToPush": "لا توجد التزامات للدفع",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "انقر اسم الملف لعرض الفرق",
"loadingDiff": "جارٍ تحميل diff..."
},
"pushWindow": {
"title": "دفع الكود",
"noUnpushedCommits": "لا توجد التزامات غير مدفوعة",
"unpushed": "غير مدفوع",
"selectFileToViewDiff": "اختر ملفًا لعرض الفرق",
"before": "قبل",
"after": "بعد",
"push": "دفع",
"toasts": {
"pushSuccess": "تم الدفع بنجاح",
"pushFailed": "فشل الدفع",
"upstreamSet": "تم تعيين الفرع البعيد",
"upstreamSetAndPushed": "تم تعيين الفرع البعيد ودفع {count} التزام",
"noCommitsToPush": "لا توجد التزامات للدفع",
"pushedCommits": "تم دفع {count} التزام"
}
},
"gitLogTab": {
"filesTitle": "الملفات",
"expandAllFiles": "توسيع كل الملفات",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "Alle Dateien sind aktuell",
"updatedFiles": "{count, plural, one {# Datei aktualisiert} other {# Dateien aktualisiert}}",
"openCommitWindowFailed": "Commit-Fenster konnte nicht geöffnet werden",
"openPushWindowFailed": "Push-Fenster konnte nicht geöffnet werden",
"upstreamSet": "Upstream-Branch wurde gesetzt",
"upstreamSetAndPushed": "Upstream-Branch gesetzt und {count, plural, one {# Commit} other {# Commits}} gepusht",
"noCommitsToPush": "Keine Commits zum Pushen",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "Dateinamen anklicken, um Diff zu sehen",
"loadingDiff": "Diff wird geladen..."
},
"pushWindow": {
"title": "Code pushen",
"noUnpushedCommits": "Keine ungepushten Commits",
"unpushed": "Nicht gepusht",
"selectFileToViewDiff": "Datei auswählen, um Unterschiede anzuzeigen",
"before": "Vorher",
"after": "Nachher",
"push": "Pushen",
"toasts": {
"pushSuccess": "Push erfolgreich",
"pushFailed": "Push fehlgeschlagen",
"upstreamSet": "Remote-Tracking-Branch wurde eingerichtet",
"upstreamSetAndPushed": "Remote-Tracking-Branch eingerichtet und {count} Commits gepusht",
"noCommitsToPush": "Keine Commits zum Pushen",
"pushedCommits": "{count} Commits gepusht"
}
},
"gitLogTab": {
"filesTitle": "Dateien",
"expandAllFiles": "Alle Dateien ausklappen",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "All files are up to date",
"updatedFiles": "Updated {count, plural, one {# file} other {# files}}",
"openCommitWindowFailed": "Failed to open commit window",
"openPushWindowFailed": "Failed to open push window",
"upstreamSet": "Upstream branch has been set",
"upstreamSetAndPushed": "Upstream branch set and pushed {count, plural, one {# commit} other {# commits}}",
"noCommitsToPush": "No commits to push",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "Click a file name to view diff",
"loadingDiff": "Loading diff..."
},
"pushWindow": {
"title": "Push Code",
"noUnpushedCommits": "No unpushed commits",
"unpushed": "Unpushed",
"selectFileToViewDiff": "Select a file to view diff",
"before": "Before",
"after": "After",
"push": "Push",
"toasts": {
"pushSuccess": "Push successful",
"pushFailed": "Push failed",
"upstreamSet": "Upstream branch has been set",
"upstreamSetAndPushed": "Upstream branch set and pushed {count, plural, one {# commit} other {# commits}}",
"noCommitsToPush": "No commits to push",
"pushedCommits": "Pushed {count, plural, one {# commit} other {# commits}}"
}
},
"gitLogTab": {
"filesTitle": "Files",
"expandAllFiles": "Expand all files",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "Todos los archivos están actualizados",
"updatedFiles": "{count, plural, one {# archivo actualizado} other {# archivos actualizados}}",
"openCommitWindowFailed": "No se pudo abrir la ventana de commit",
"openPushWindowFailed": "Error al abrir la ventana de envío",
"upstreamSet": "La rama upstream se ha configurado",
"upstreamSetAndPushed": "Rama upstream configurada y se enviaron {count, plural, one {# commit} other {# commits}}",
"noCommitsToPush": "No hay commits para enviar",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "Haz clic en un nombre de archivo para ver diff",
"loadingDiff": "Cargando diff..."
},
"pushWindow": {
"title": "Enviar código",
"noUnpushedCommits": "No hay commits sin enviar",
"unpushed": "Sin enviar",
"selectFileToViewDiff": "Selecciona un archivo para ver las diferencias",
"before": "Antes",
"after": "Después",
"push": "Enviar",
"toasts": {
"pushSuccess": "Envío exitoso",
"pushFailed": "Error al enviar",
"upstreamSet": "Se ha configurado la rama remota",
"upstreamSetAndPushed": "Rama remota configurada y enviados {count} commits",
"noCommitsToPush": "No hay commits para enviar",
"pushedCommits": "Enviados {count} commits"
}
},
"gitLogTab": {
"filesTitle": "Archivos",
"expandAllFiles": "Expandir todos los archivos",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "Tous les fichiers sont à jour",
"updatedFiles": "{count, plural, one {# fichier mis à jour} other {# fichiers mis à jour}}",
"openCommitWindowFailed": "Impossible douvrir la fenêtre de commit",
"openPushWindowFailed": "Impossible douvrir la fenêtre de push",
"upstreamSet": "La branche upstream a été définie",
"upstreamSetAndPushed": "Branche upstream définie et {count, plural, one {# commit} other {# commits}} poussé(s)",
"noCommitsToPush": "Aucun commit à pousser",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "Cliquez sur un nom de fichier pour voir le diff",
"loadingDiff": "Chargement du diff..."
},
"pushWindow": {
"title": "Pousser le code",
"noUnpushedCommits": "Aucun commit non poussé",
"unpushed": "Non poussé",
"selectFileToViewDiff": "Sélectionnez un fichier pour voir les différences",
"before": "Avant",
"after": "Après",
"push": "Pousser",
"toasts": {
"pushSuccess": "Push réussi",
"pushFailed": "Échec du push",
"upstreamSet": "La branche distante a été configurée",
"upstreamSetAndPushed": "Branche distante configurée et {count} commits poussés",
"noCommitsToPush": "Aucun commit à pousser",
"pushedCommits": "{count} commits poussés"
}
},
"gitLogTab": {
"filesTitle": "Fichiers",
"expandAllFiles": "Développer tous les fichiers",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "すべてのファイルは最新です",
"updatedFiles": "{count, plural, one {# 個のファイルを更新} other {# 個のファイルを更新}}",
"openCommitWindowFailed": "コミットウィンドウを開けませんでした",
"openPushWindowFailed": "プッシュウィンドウを開けませんでした",
"upstreamSet": "アップストリームブランチを設定しました",
"upstreamSetAndPushed": "アップストリームブランチを設定し、{count, plural, one {# 件のコミット} other {# 件のコミット}}をプッシュしました",
"noCommitsToPush": "プッシュするコミットはありません",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "ファイル名をクリックして差分を表示",
"loadingDiff": "差分を読み込み中..."
},
"pushWindow": {
"title": "コードをプッシュ",
"noUnpushedCommits": "未プッシュのコミットはありません",
"unpushed": "未プッシュ",
"selectFileToViewDiff": "ファイルを選択して差分を表示",
"before": "変更前",
"after": "変更後",
"push": "プッシュ",
"toasts": {
"pushSuccess": "プッシュ成功",
"pushFailed": "プッシュ失敗",
"upstreamSet": "リモート追跡ブランチが設定されました",
"upstreamSetAndPushed": "リモート追跡ブランチを設定し、{count}件のコミットをプッシュしました",
"noCommitsToPush": "プッシュするコミットはありません",
"pushedCommits": "{count}件のコミットをプッシュしました"
}
},
"gitLogTab": {
"filesTitle": "ファイル",
"expandAllFiles": "すべてのファイルを展開",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "모든 파일이 최신 상태입니다",
"updatedFiles": "{count, plural, one {#개 파일 업데이트됨} other {#개 파일 업데이트됨}}",
"openCommitWindowFailed": "커밋 창을 열지 못했습니다",
"openPushWindowFailed": "푸시 창 열기 실패",
"upstreamSet": "업스트림 브랜치가 설정되었습니다",
"upstreamSetAndPushed": "업스트림 브랜치를 설정하고 {count, plural, one {#개 커밋} other {#개 커밋}}을 푸시했습니다",
"noCommitsToPush": "푸시할 커밋이 없습니다",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "파일 이름을 클릭해 diff를 확인하세요",
"loadingDiff": "diff 로딩 중..."
},
"pushWindow": {
"title": "코드 푸시",
"noUnpushedCommits": "푸시되지 않은 커밋이 없습니다",
"unpushed": "미푸시",
"selectFileToViewDiff": "파일을 선택하여 차이 보기",
"before": "변경 전",
"after": "변경 후",
"push": "푸시",
"toasts": {
"pushSuccess": "푸시 성공",
"pushFailed": "푸시 실패",
"upstreamSet": "원격 추적 브랜치가 설정되었습니다",
"upstreamSetAndPushed": "원격 추적 브랜치 설정 및 {count}개 커밋 푸시 완료",
"noCommitsToPush": "푸시할 커밋이 없습니다",
"pushedCommits": "{count}개 커밋 푸시 완료"
}
},
"gitLogTab": {
"filesTitle": "파일",
"expandAllFiles": "모든 파일 펼치기",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "Todos os arquivos estão atualizados",
"updatedFiles": "{count, plural, one {# arquivo atualizado} other {# arquivos atualizados}}",
"openCommitWindowFailed": "Falha ao abrir a janela de commit",
"openPushWindowFailed": "Falha ao abrir janela de envio",
"upstreamSet": "A branch upstream foi definida",
"upstreamSetAndPushed": "Branch upstream definida e {count, plural, one {# commit} other {# commits}} enviado(s)",
"noCommitsToPush": "Não há commits para enviar",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "Clique no nome do arquivo para ver o diff",
"loadingDiff": "Carregando diff..."
},
"pushWindow": {
"title": "Enviar código",
"noUnpushedCommits": "Nenhum commit não enviado",
"unpushed": "Não enviado",
"selectFileToViewDiff": "Selecione um arquivo para ver as diferenças",
"before": "Antes",
"after": "Depois",
"push": "Enviar",
"toasts": {
"pushSuccess": "Envio bem-sucedido",
"pushFailed": "Falha no envio",
"upstreamSet": "Branch remoto foi configurado",
"upstreamSetAndPushed": "Branch remoto configurado e {count} commits enviados",
"noCommitsToPush": "Nenhum commit para enviar",
"pushedCommits": "{count} commits enviados"
}
},
"gitLogTab": {
"filesTitle": "Arquivos",
"expandAllFiles": "Expandir todos os arquivos",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "所有文件均为最新版本",
"updatedFiles": "已更新 {count} 个文件",
"openCommitWindowFailed": "打开提交窗口失败",
"openPushWindowFailed": "打开推送窗口失败",
"upstreamSet": "已设置远程跟踪分支",
"upstreamSetAndPushed": "已设置远程跟踪分支并推送 {count} 个提交",
"noCommitsToPush": "没有可推送的提交",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "点击文件名查看差异",
"loadingDiff": "加载差异..."
},
"pushWindow": {
"title": "推送代码",
"noUnpushedCommits": "没有未推送的提交",
"unpushed": "未推送",
"selectFileToViewDiff": "选择文件查看差异",
"before": "修改前",
"after": "修改后",
"push": "推送",
"toasts": {
"pushSuccess": "推送成功",
"pushFailed": "推送失败",
"upstreamSet": "已设置远程跟踪分支",
"upstreamSetAndPushed": "已设置远程跟踪分支并推送 {count} 个提交",
"noCommitsToPush": "没有可推送的提交",
"pushedCommits": "已推送 {count} 个提交"
}
},
"gitLogTab": {
"filesTitle": "文件",
"expandAllFiles": "展开全部文件",

View File

@@ -882,6 +882,7 @@
"allFilesUpToDate": "所有檔案均為最新版本",
"updatedFiles": "已更新 {count} 個檔案",
"openCommitWindowFailed": "打開提交視窗失敗",
"openPushWindowFailed": "開啟推送視窗失敗",
"upstreamSet": "已設定遠端追蹤分支",
"upstreamSetAndPushed": "已設定遠端追蹤分支並推送 {count} 個提交",
"noCommitsToPush": "沒有可推送的提交",
@@ -1032,6 +1033,23 @@
"clickFileToDiff": "點擊檔案名稱查看差異",
"loadingDiff": "載入差異中..."
},
"pushWindow": {
"title": "推送程式碼",
"noUnpushedCommits": "沒有未推送的提交",
"unpushed": "未推送",
"selectFileToViewDiff": "選擇檔案查看差異",
"before": "修改前",
"after": "修改後",
"push": "推送",
"toasts": {
"pushSuccess": "推送成功",
"pushFailed": "推送失敗",
"upstreamSet": "已設定遠端追蹤分支",
"upstreamSetAndPushed": "已設定遠端追蹤分支並推送 {count} 個提交",
"noCommitsToPush": "沒有可推送的提交",
"pushedCommits": "已推送 {count} 個提交"
}
},
"gitLogTab": {
"filesTitle": "檔案",
"expandAllFiles": "展開全部檔案",