Wizard: fix ui constants
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
generator.title=Kotlin
|
||||
|
||||
error.nothing.selected=Select a module to configure
|
||||
error.nothing.selected=Select module to configure
|
||||
error.generation=Project generation error
|
||||
project.preview=Project Structure
|
||||
|
||||
@@ -9,8 +9,8 @@ additional.buildsystem.settings.project.jdk=Project JDK
|
||||
additional.buildsystem.settings.artifact.coordinates=Artifact Coordinates
|
||||
|
||||
module.dependencies.module.dependencies=Module dependencies
|
||||
module.dependencies.add.module.dependency=Add a module dependency
|
||||
module.dependencies.remove.module.dependency=Remove a module dependency
|
||||
module.dependencies.add.module.dependency=Add module dependency
|
||||
module.dependencies.remove.module.dependency=Remove module dependency
|
||||
|
||||
editor.modules.add=Add {0}
|
||||
editor.modules.remove.selected.module=Do you want to remove {0} module with all submodules?
|
||||
|
||||
+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