diff --git a/python/pluginResources/messages/PyBundle.properties b/python/pluginResources/messages/PyBundle.properties index 0a0c6daf39c3..21420da61ce6 100644 --- a/python/pluginResources/messages/PyBundle.properties +++ b/python/pluginResources/messages/PyBundle.properties @@ -567,7 +567,7 @@ sdk.create.tooltip.browse=Browse\u2026 sdk.create.custom.venv.install.fix.title=Install {0} {1} sdk.create.custom.venv.run.error.message=Error Running {0} sdk.create.custom.venv.progress.title.detect.executable=Detect executable -sdk.create.custom.existing.env.title={0} env use +sdk.create.custom.existing.env.title=Environment: sdk.create.custom.existing.error.no.interpreters.to.select=No interpreters were found. Please select one manually using the Browse button. sdk.create.custom.hatch.environment=Environment: sdk.create.custom.hatch.environment.loading=Loading environments\u2026 diff --git a/python/src/com/jetbrains/python/sdk/add/v2/CustomExistingEnvironmentSelector.kt b/python/src/com/jetbrains/python/sdk/add/v2/CustomExistingEnvironmentSelector.kt index 02c1b8e2f6a8..e677e8459cac 100644 --- a/python/src/com/jetbrains/python/sdk/add/v2/CustomExistingEnvironmentSelector.kt +++ b/python/src/com/jetbrains/python/sdk/add/v2/CustomExistingEnvironmentSelector.kt @@ -45,10 +45,9 @@ internal abstract class CustomExistingEnvironmentSelector

( missingExecutableText = message("sdk.create.custom.venv.missing.text", name), ) - val nameTitle = name.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() } comboBox = pythonInterpreterComboBox( model.fileSystem, - title = message("sdk.create.custom.existing.env.title", nameTitle), + title = message("sdk.create.custom.existing.env.title"), selectedSdkProperty = selectedEnv, validationRequestor = validationRequestor, onPathSelected = model::addManuallyAddedInterpreter,