diff --git a/python/pluginResources/messages/PyBundle.properties b/python/pluginResources/messages/PyBundle.properties index a682cbd2abc6..d45fe0d4098d 100644 --- a/python/pluginResources/messages/PyBundle.properties +++ b/python/pluginResources/messages/PyBundle.properties @@ -397,17 +397,17 @@ python.sdk.poetry.dialog.message.poetry.interpreter.has.been.already.added=Poetr python.sdk.poetry.dialog.add.new.environment.in.project.checkbox=Create an in-project environment # UV -python.sdk.dialog.message.creating.virtual.environments.based.on.uv.environments.not.supported=Creating virtual environments based on UV environments is not supported -python.sdk.dialog.title.setting.up.uv.environment=Setting up UV environment -python.sdk.inspection.message.uv.interpreter.associated.with.another.project=Uv interpreter is associated with another {0}: {1} -python.sdk.inspection.message.uv.interpreter.not.associated.with.any.project=Uv interpreter is not associated with any {0} +python.sdk.dialog.message.creating.virtual.environments.based.on.uv.environments.not.supported=Creating virtual environments based on uv environments is not supported +python.sdk.dialog.title.setting.up.uv.environment=Setting up uv environment +python.sdk.inspection.message.uv.interpreter.associated.with.another.project=uv interpreter is associated with another {0}: {1} +python.sdk.inspection.message.uv.interpreter.not.associated.with.any.project=uv interpreter is not associated with any {0} python.sdk.intention.family.name.install.requirements.from.uv.lock=Install requirements from uv.lock -python.sdk.quickfix.use.uv.name=Use UV interpreter +python.sdk.quickfix.use.uv.name=Use uv interpreter python.sdk.uv.associated.module=Associated module: python.sdk.uv.associated.project=Associated project: -python.sdk.uv.environment.panel.title=Uv Environment -python.sdk.uv.executable.not.found=UV executable is not found -python.sdk.uv.executable=Uv executable: +python.sdk.uv.environment.panel.title=uv environment +python.sdk.uv.executable.not.found=uv executable is not found +python.sdk.uv.executable=uv executable: python.sdk.uv.install.packages.from.toml.checkbox.text=Install packages from pyproject.toml python.sdk.pipenv.has.been.selected=Pipenv interpreter has been already added, select ''{0}'' in your interpreters list @@ -557,7 +557,7 @@ sdk.create.custom.virtualenv=Virtualenv sdk.create.custom.conda=Conda sdk.create.custom.pipenv=Pipenv sdk.create.custom.poetry=Poetry -sdk.create.custom.uv=Uv +sdk.create.custom.uv=uv sdk.create.custom.python=Python sdk.rendering.detected.grey.text=detected in the system diff --git a/python/src/com/jetbrains/python/sdk/uv/UvExt.kt b/python/src/com/jetbrains/python/sdk/uv/UvExt.kt index 9085cbb4950e..0baa2783a75b 100644 --- a/python/src/com/jetbrains/python/sdk/uv/UvExt.kt +++ b/python/src/com/jetbrains/python/sdk/uv/UvExt.kt @@ -35,7 +35,7 @@ internal suspend fun pyProjectToml(module: Module): VirtualFile? { } internal fun suggestedSdkName(basePath: Path): @NlsSafe String { - return "UV (${PathUtil.getFileName(basePath.pathString)})" + return "uv (${PathUtil.getFileName(basePath.pathString)})" } // FIXME: use proper icon diff --git a/python/src/com/jetbrains/python/sdk/uv/UvSdkProvider.kt b/python/src/com/jetbrains/python/sdk/uv/UvSdkProvider.kt index 0af47d27fcd3..3fcfa5671dd3 100644 --- a/python/src/com/jetbrains/python/sdk/uv/UvSdkProvider.kt +++ b/python/src/com/jetbrains/python/sdk/uv/UvSdkProvider.kt @@ -14,10 +14,6 @@ import com.jetbrains.python.sdk.uv.ui.PyAddNewUvPanel import org.jdom.Element import javax.swing.Icon -/** - * This source code is created by @koxudaxi Koudai Aono - */ - class UvSdkProvider : PySdkProvider { override fun createEnvironmentAssociationFix( module: Module, diff --git a/python/src/com/jetbrains/python/sdk/uv/ui/AddNewUvPanel.kt b/python/src/com/jetbrains/python/sdk/uv/ui/AddNewUvPanel.kt index cac560e4cf98..3c917edac3a9 100644 --- a/python/src/com/jetbrains/python/sdk/uv/ui/AddNewUvPanel.kt +++ b/python/src/com/jetbrains/python/sdk/uv/ui/AddNewUvPanel.kt @@ -69,7 +69,7 @@ class PyAddNewUvPanel( override var newProjectPath: String?, context: UserDataHolder, ) : PyAddNewEnvPanel() { - override val envName = "Uv" + override val envName = "uv" override val panelName: String get() = PyBundle.message("python.sdk.uv.environment.panel.title") override val icon: Icon = UV_ICON