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': '푸시',
'gitView.sync.pushTooltip': '변경 사항 푸시',
'gitView.sync.pushTooltipAhead': '변경 사항 푸시({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': '{name}에서 파일 {count}개를 풀했습니다',
'gitView.toast.pushedToUpstream': '업스트림에 푸시했습니다',
'gitView.toast.commitOrStashBeforeSync': '동기화하기 전에 변경 사항을 커밋하거나 stash하세요',
'gitView.toast.syncedPulledPluralAndPushed': '{name}에서 파일 {count}개를 풀하고 업스트림에 푸시했습니다',
'gitView.toast.syncedPulledSingleAndPushed': '{name}에서 파일 {count}개를 풀하고 업스트림에 푸시했습니다',
'gitView.toast.syncedChanges': '변경 사항을 동기화했습니다',
'gitView.toast.rebaseAborted': 'rebase 중단됨',
'gitView.toast.rebaseConflictsDetected': '리베이스 충돌이 감지되었습니다',