Skip to content

Commit

Permalink
Clarify WPILib update message (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Mar 14, 2024
1 parent cc60742 commit 3b415a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vscode-wpilib/src/wpilibupdates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export class WPILibUpdates {
const persistentState = WPILibUpdates.getUpdatePersistentState(wp);
if (newVersion !== undefined && persistentState.Value === false) {
const result = await vscode.window.showInformationMessage
(i18n('message', `WPILib project update ({0}) found, would you like to install it? ` +
`{1} currently installed`, newVersion, grVersion), {
(i18n('message', `This project is currently using WPILib version ({1}). Would you like to update the project` +
`to WPILib version {0}?`, newVersion, grVersion), {
modal: true,
}, i18n('ui', 'Yes'), i18n('ui', 'No'), i18n('ui', 'No, Don\'t ask again'));
if (result !== undefined && result === i18n('ui', 'Yes')) {
Expand Down Expand Up @@ -78,8 +78,8 @@ export class WPILibUpdates {
return false;
} else {
const result = await vscode.window.showInformationMessage
(i18n('message', `WPILib project update ({0}) found, would you like to install it? ` +
`{1} currently installed`, newVersion.newVersion, grVersion), {
(i18n('message', `This project is currently using WPILib version ({1}). Would you like to update the project` +
`to WPILib version {0}?`, newVersion.newVersion, grVersion), {
modal: true,
}, i18n('ui', 'Yes'), i18n('ui', 'No'));
if (result !== undefined && result === i18n('ui', 'Yes')) {
Expand Down

0 comments on commit 3b415a1

Please sign in to comment.