mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
update reload action name (#206971)
This commit is contained in:
parent
b4e63addcb
commit
cdc9903812
|
@ -1598,7 +1598,7 @@ export class ReloadAction extends ExtensionAction {
|
|||
this.enabled = true;
|
||||
this.class = ReloadAction.EnabledClass;
|
||||
this.tooltip = runtimeState.reason;
|
||||
this.label = runtimeState.action === ExtensionRuntimeActionType.Reload ? localize('reload required', 'Reload {0}', this.productService.nameShort)
|
||||
this.label = runtimeState.action === ExtensionRuntimeActionType.Reload ? localize('reload window', 'Reload Window')
|
||||
: runtimeState.action === ExtensionRuntimeActionType.QuitAndInstall ? localize('restart product', 'Restart {0}', this.productService.nameShort)
|
||||
: runtimeState.action === ExtensionRuntimeActionType.ApplyUpdate || runtimeState.action === ExtensionRuntimeActionType.DownloadUpdate ? localize('update product', 'Update {0}', this.productService.nameShort) : '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue