fix: clarify sync button and result toasts

Show sync label when no remote changes are known
Report pulled file counts in sync success toasts
Count pulled files correctly in VS Code sync
This commit is contained in:
Bohdan Triapitsyn
2026-05-05 23:53:21 +03:00
parent 93267927ff
commit 7b66bca2c5
9 changed files with 61 additions and 8 deletions
+3
View File
@@ -558,6 +558,7 @@ export const dict: Record<I18nKey, string> = {
"gitView.sync.push": "Push",
"gitView.sync.pushTooltip": "Hacer push",
"gitView.sync.pushTooltipAhead": "Hacer push ({count} por delante)",
"gitView.sync.sync": "sync",
"gitView.sync.syncChanges": "Sync Changes",
"gitView.sync.syncChangesTooltip": "Sync Changes ({behind} abajo, {ahead} arriba)",
"gitView.sync.syncChangesWithCounts": "Sync Changes {behind}↓ {ahead}↑",
@@ -706,6 +707,8 @@ export const dict: Record<I18nKey, string> = {
"gitView.toast.pulledFilesSingle": "Se trajo {count} archivo de {name}",
"gitView.toast.pushedToUpstream": "Enviado al upstream",
"gitView.toast.commitOrStashBeforeSync": "Haz commit o stash de tus cambios antes de sincronizar",
"gitView.toast.syncedPulledPluralAndPushed": "Se trajeron {count} archivos de {name} y se envió al upstream",
"gitView.toast.syncedPulledSingleAndPushed": "Se trajo {count} archivo de {name} y se envió al upstream",
"gitView.toast.syncedChanges": "Cambios sincronizados",
"gitView.toast.rebaseAborted": "Rebase abortado",
"gitView.toast.rebaseConflictsDetected": "Se detectaron conflictos al hacer rebase",