Skip to content

Commit

Permalink
Fix title and placeholder for python selection when using create env …
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Mar 22, 2023
1 parent 01e798a commit 61f93c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/common/utils/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export namespace CreateEnv {
export const created = l10n.t('Environment created...');
export const installingPackages = l10n.t('Installing packages...');
export const errorCreatingEnvironment = l10n.t('Error while creating virtual environment.');
export const selectPythonQuickPickTitle = l10n.t('Select a python to use for environment creation');
export const selectPythonPlaceHolder = l10n.t('Select a python to create the virtual environment');
export const providerDescription = l10n.t('Creates a `.venv` virtual environment in the current workspace');
export const error = l10n.t('Creating virtual environment failed with error.');
export const tomlExtrasQuickPickTitle = l10n.t('Select optional dependencies to install from pyproject.toml');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ export class VenvCreationProvider implements CreateEnvironmentProvider {
{
skipRecommended: true,
showBackButton: true,
placeholder: CreateEnv.Venv.selectPythonPlaceHolder,
title: null,
},
);
} catch (ex) {
Expand Down

0 comments on commit 61f93c3

Please sign in to comment.