Skip to content

Commit

Permalink
change refresh to reload
Browse files Browse the repository at this point in the history
Signed-off-by: Rudy Flores <[email protected]>
  • Loading branch information
rudyflores committed Oct 26, 2023
1 parent 9608789 commit 30dceaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ProfilesUtils.promptAndHandleMissingCredentialManager.revertToDefault": "Use Default",
"ProfilesUtils.promptAndHandleMissingCredentialManager.install": "Install",
"ProfilesUtils.promptAndHandleMissingCredentialManager.refreshMessage": "After installing the extension, please make sure to reload your VS Code window in order\n to start using the installed credential manager",
"ProfilesUtils.promptAndHandleMissingCredentialManager.refreshButton": "Refresh",
"ProfilesUtils.promptAndHandleMissingCredentialManager.refreshButton": "Reload",
"zowe.promptCredentials.notSupported": "\"Update Credentials\" operation not supported when \"autoStore\" is false",
"createNewConnection.option.prompt.profileName.placeholder": "Connection Name",
"createNewConnection.option.prompt.profileName": "Enter a name for the connection.",
Expand Down
4 changes: 2 additions & 2 deletions packages/zowe-explorer/src/utils/ProfilesUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ export class ProfilesUtils {
`After installing the extension, please make sure to reload your VS Code window in order
to start using the installed credential manager`
);
const refreshButton = localize("ProfilesUtils.promptAndHandleMissingCredentialManager.refreshButton", "Refresh");
if ((await Gui.showMessage(refreshMessage, { items: [refreshButton] })) === refreshButton) {
const reloadButton = localize("ProfilesUtils.promptAndHandleMissingCredentialManager.refreshButton", "Reload");
if ((await Gui.showMessage(refreshMessage, { items: [reloadButton] })) === reloadButton) {
await vscode.commands.executeCommand("workbench.action.reloadWindow");
}
}
Expand Down

0 comments on commit 30dceaa

Please sign in to comment.