From 5b08a6ccddfcfd930f77fbd1c81aa5d91b4be98d Mon Sep 17 00:00:00 2001 From: shueja <32416547+shueja@users.noreply.github.com> Date: Sat, 1 Jun 2024 12:39:15 -0700 Subject: [PATCH] Fix missing spaces in update prompt (#671) --- vscode-wpilib/src/wpilibupdates.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vscode-wpilib/src/wpilibupdates.ts b/vscode-wpilib/src/wpilibupdates.ts index c2a436bb..0df0b9cf 100644 --- a/vscode-wpilib/src/wpilibupdates.ts +++ b/vscode-wpilib/src/wpilibupdates.ts @@ -47,7 +47,7 @@ export class WPILibUpdates { const persistentState = WPILibUpdates.getUpdatePersistentState(wp); if (newVersion !== undefined && persistentState.Value === false) { const result = await vscode.window.showInformationMessage - (i18n('message', `This project is currently using WPILib version ({1}). Would you like to update the project` + + (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')); @@ -78,7 +78,7 @@ export class WPILibUpdates { return false; } else { const result = await vscode.window.showInformationMessage - (i18n('message', `This project is currently using WPILib version ({1}). Would you like to update the project` + + (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'));