Skip to content

Commit

Permalink
use string formating
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome committed Nov 20, 2024
1 parent 96095f0 commit 95f03bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class DeleteWorkspaceItemCommand extends Command {
if (result) {
const isSuccess = result.some(k => k.message.includes('removed successfully'));
if (isSuccess) {
void vscode.window.showInformationMessage(vscode.l10n.t(`${workspaceTreeItem.label} removed successfully.`));
void vscode.window.showInformationMessage(vscode.l10n.t('{0} removed successfully.', workspaceTreeItem.label));
await vscode.commands.executeCommand('kiota.workspace.refresh');
} else {
await exportLogsAndShowErrors(result, this._kiotaOutputChannel);
Expand Down

0 comments on commit 95f03bc

Please sign in to comment.