Wizard: fix ui constants
This commit is contained in:
+4
-2
@@ -22,7 +22,7 @@ module.kind.module=Module
|
||||
module.kind.mpp.module=MPP Module
|
||||
module.kind.target=Target
|
||||
|
||||
plugin.buildsystem.setting.type=Build system
|
||||
plugin.buildsystem.setting.type=Build System
|
||||
plugin.buildsystem.setting.type.error.wrong.project.kind={0} cannot be generated using {1}
|
||||
|
||||
plugin.kotlin.downloading.kotlin.versions=Downloading list of Kotlin versions
|
||||
@@ -46,6 +46,8 @@ plugin.structure.setting.group.id=Group ID
|
||||
plugin.structure.setting.artifact.id=Artifact ID
|
||||
plugin.structure.setting.version=Version
|
||||
|
||||
plugin.templates.setting.template=Project Template
|
||||
|
||||
plugin.android.setting.sdk=Android SDK
|
||||
|
||||
|
||||
@@ -132,7 +134,7 @@ project.template.mpp.mobile.lib.description=Library that supports sharing code b
|
||||
module.template.console.jvm.title=Console Application
|
||||
module.template.console.jvm.description=Simple "Hello World!" Kotlin/JVM application that works in the console
|
||||
|
||||
module.template.ktor.server.title=Ktor Server
|
||||
module.template.ktor.server.title=Ktor server
|
||||
module.template.ktor.server.description=Configurable Ktor web server for building web applications
|
||||
module.template.ktor.server.setting.engine=Ktor server engine
|
||||
module.template.ktor.server.setting.engine.netty=Netty
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
package org.jetbrains.kotlin.tools.projectWizard.plugins.projectTemplates
|
||||
|
||||
import org.jetbrains.kotlin.tools.projectWizard.KotlinNewProjectWizardBundle
|
||||
import org.jetbrains.kotlin.tools.projectWizard.core.*
|
||||
|
||||
import org.jetbrains.kotlin.tools.projectWizard.phases.GenerationPhase
|
||||
@@ -9,7 +10,7 @@ import org.jetbrains.kotlin.tools.projectWizard.projectTemplates.ProjectTemplate
|
||||
|
||||
class ProjectTemplatesPlugin(context: Context) : Plugin(context) {
|
||||
val template by dropDownSetting<ProjectTemplate>(
|
||||
"Project template",
|
||||
KotlinNewProjectWizardBundle.message("plugin.templates.setting.template"),
|
||||
GenerationPhase.INIT_TEMPLATE,
|
||||
parser = valueParserM { _, _ ->
|
||||
Failure(ParseError("Project templates is not supported in yaml for now"))
|
||||
|
||||
Reference in New Issue
Block a user