Skip to content

Commit

Permalink
fixes #235895 (#235905)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno authored Dec 12, 2024
1 parent c8379a7 commit 516c29d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vs/workbench/contrib/update/browser/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,13 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu
if (state.type === StateType.AvailableForDownload || state.type === StateType.Downloaded || state.type === StateType.Ready) {
badge = new NumberBadge(1, () => nls.localize('updateIsReady', "New {0} update available.", this.productService.nameShort));
} else if (state.type === StateType.CheckingForUpdates) {
badge = new ProgressBadge(() => nls.localize('checkingForUpdates', "Checking for Updates..."));
badge = new ProgressBadge(() => nls.localize('checkingForUpdates', "Checking for {0} updates...", this.productService.nameShort));
priority = 1;
} else if (state.type === StateType.Downloading) {
badge = new ProgressBadge(() => nls.localize('downloading', "Downloading..."));
badge = new ProgressBadge(() => nls.localize('downloading', "Downloading {0} update...", this.productService.nameShort));
priority = 1;
} else if (state.type === StateType.Updating) {
badge = new ProgressBadge(() => nls.localize('updating', "Updating..."));
badge = new ProgressBadge(() => nls.localize('updating', "Updating {0}...", this.productService.nameShort));
priority = 1;
}

Expand Down Expand Up @@ -427,7 +427,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu
group: '7_update',
command: {
id: 'update.checking',
title: nls.localize('checkingForUpdates', "Checking for Updates..."),
title: nls.localize('checkingForUpdates2', "Checking for Updates..."),
precondition: ContextKeyExpr.false()
},
when: CONTEXT_UPDATE_STATE.isEqualTo(StateType.CheckingForUpdates)
Expand Down

0 comments on commit 516c29d

Please sign in to comment.