Skip to content

Commit

Permalink
fix(beta): product name for Q beta aws#6036
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk3 authored Nov 16, 2024
1 parent f1cdbeb commit bd23e71
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/core/src/dev/beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ async function promptInstallToolkit(pluginPath: vscode.Uri, newVersion: string,
const response = await vscode.window.showInformationMessage(
localize(
'AWS.dev.beta.updatePrompt',
`New version of ${productName()} is available at the [beta URL]({0}). Install the new version "{1}" to continue using the beta.`,
'New version of {0} is available at the [beta URL]({1}). Install the new version "{2}" to continue using the beta.',
productName(),
vsixUrl,
newVersion
),
Expand All @@ -174,7 +175,9 @@ async function promptInstallToolkit(pluginPath: vscode.Uri, newVersion: string,
lastCheck: Date.now(),
needUpdate: false,
})
reloadWindowPrompt(localize('AWS.dev.beta.reloadPrompt', 'Reload now to use the new beta AWS Toolkit.'))
reloadWindowPrompt(
localize('AWS.dev.beta.reloadPrompt', 'Reload now to use the new beta {0}.', productName())
)
} catch (e) {
throw ToolkitError.chain(e, `Failed to install ${vsixName}`, { code: 'FailedExtensionInstall' })
}
Expand Down

0 comments on commit bd23e71

Please sign in to comment.