mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +07:00
more consistent naming for uv; PY-75983
(cherry picked from commit 111a9ffb7b7107d3fbdfe01df649a38be2b5b821) GitOrigin-RevId: 2b99c7457d94437d5c4c117b74031c30c5c84ff1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
400fb17865
commit
b21ed9e4e9
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 <koxudaxi@gmail.com>
|
||||
*/
|
||||
|
||||
class UvSdkProvider : PySdkProvider {
|
||||
override fun createEnvironmentAssociationFix(
|
||||
module: Module,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user