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": "Push змін",
"gitView.sync.pushTooltipAhead": "Push змін ({count} попереду)",
"gitView.sync.sync": "sync",
"gitView.sync.syncChanges": "Sync Changes",
"gitView.sync.syncChangesTooltip": "Sync Changes ({behind} вниз, {ahead} вгору)",
"gitView.sync.syncChangesWithCounts": "Sync Changes {behind}↓ {ahead}↑",
@@ -706,6 +707,8 @@ export const dict: Record<I18nKey, string> = {
"gitView.toast.pulledFilesSingle": "Отримано файл: {count} з {name}",
"gitView.toast.pushedToUpstream": "Надіслано в upstream",
"gitView.toast.commitOrStashBeforeSync": "Закомітьте або сховайте зміни перед синхронізацією",
"gitView.toast.syncedPulledPluralAndPushed": "Отримано файлів: {count} з {name} і надіслано в upstream",
"gitView.toast.syncedPulledSingleAndPushed": "Отримано файл: {count} з {name} і надіслано в upstream",
"gitView.toast.syncedChanges": "Зміни синхронізовано",
"gitView.toast.rebaseAborted": "Перебазування перервано",
"gitView.toast.rebaseConflictsDetected": "Виявлено конфлікти перебазування",