8000 Fix title and placeholder for python selection when using create env … · microsoft/vscode-python@61f93c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 61f93c3

Browse files
authored
Fix title and placeholder for python selection when using create env command (#20896)
Closes #19891 ![image](https://user-images.githubusercontent.com/3840081/227031948-de595993-80e1-43a0-8dd8-658848c6b3d5.png)
1 parent 01e798a commit 61f93c3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/client/common/utils/localize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ export namespace CreateEnv {
440440
export const created = l10n.t('Environment created...');
441441
export const installingPackages = l10n.t('Installing packages...');
442442
export const errorCreatingEnvironment = l10n.t('Error while creating virtual environment.');
443-
export const selectPythonQuickPickTitle = l10n.t('Select a python to use for environment creation');
443+
export const selectPythonPlaceHolder = l10n.t('Select a python to create the virtual environment');
444444
export const providerDescription = l10n.t('Creates a `.venv` virtual environment in the current workspace');
445445
export const error = l10n.t('Creating virtual environment failed with error.');
446446
export const tomlExtrasQuickPickTitle = l10n.t('Select optional dependencies to install from pyproject.toml');

src/client/pythonEnvironments/creation/provider/venvCreationProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ export class VenvCreationProvider implements CreateEnvironmentProvider {
166166
{
167167
skipRecommended: true,
168168
showBackButton: true,
169+
placeholder: CreateEnv.Venv.selectPythonPlaceHolder,
170+
title: null,
169171
},
170172
);
171173
} catch (ex) {

0 commit comments

Comments
 (0)
0