improved english in wizard's descriptions. also now user knows about project's build system from its name

This commit is contained in:
Anton Yalyshev
2019-03-15 19:13:02 +03:00
parent 1d6cd90043
commit 71eb540eaf
6 changed files with 13 additions and 13 deletions
@@ -26,7 +26,7 @@ class KotlinGradleNativeMultiplatformModuleBuilder : KotlinGradleAbstractMultipl
override fun getBuilderId() = "kotlin.gradle.multiplatform.native"
override fun getPresentableName() = "Kotlin/Native"
override fun getPresentableName() = "Native | Gradle"
override fun getDescription() = "Gradle-based Kotlin project for native binaries"
@@ -29,10 +29,10 @@ class KotlinGradleMobileMultiplatformModuleBuilder :
override fun getBuilderId() = "kotlin.gradle.multiplatform.mobile"
override fun getPresentableName() = "Mobile Android/iOS"
override fun getPresentableName() = "Mobile Android/iOS | Gradle"
override fun getDescription() =
"Multiplatform Gradle projects allow reusing the same Kotlin code between Android and iOS mobile platforms."
"Multiplatform Gradle project allowing reuse of the same Kotlin code between Android and iOS mobile platforms"
override fun BuildScriptDataBuilder.setupAdditionalDependencies() {
addBuildscriptDependencyNotation("classpath 'com.android.tools.build:gradle:3.2.0'")
@@ -25,10 +25,10 @@ class KotlinGradleMobileSharedMultiplatformModuleBuilder : KotlinGradleAbstractM
override fun getBuilderId() = "kotlin.gradle.multiplatform.mobileshared"
override fun getPresentableName() = "Mobile Shared Library"
override fun getPresentableName() = "Mobile Shared Library | Gradle"
override fun getDescription() =
"Multiplatform Gradle projects allow sharing the same Kotlin code between two mobile platforms (JVM/Android, Native)."
"Multiplatform Gradle project allowing reuse of the same Kotlin code between two mobile platforms (JVM/Android and Native)"
override fun createProjectSkeleton(rootDir: VirtualFile) {
val src = rootDir.createChildDirectory(this, "src")
@@ -29,10 +29,10 @@ class KotlinGradleSharedMultiplatformModuleBuilder : KotlinGradleAbstractMultipl
override fun getBuilderId() = "kotlin.gradle.multiplatform.shared"
override fun getPresentableName() = "Gradle-based Multiplatform Library"
override fun getPresentableName() = "Multiplatform Library | Gradle"
override fun getDescription() =
"Multiplatform Gradle projects allow sharing the same Kotlin code between all three main platforms (JVM, JS, Native)."
"Multiplatform Gradle project allowing reuse of the same Kotlin code between all three main platforms (JVM, JS, and Native)"
override fun createProjectSkeleton(rootDir: VirtualFile) {
val src = rootDir.createChildDirectory(this, "src")
@@ -24,10 +24,10 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
override fun getBuilderId() = "kotlin.gradle.multiplatform.web"
override fun getPresentableName() = "JS Client and JVM Server"
override fun getPresentableName() = "JS Client and JVM Server | Gradle"
override fun getDescription() =
"Multiplatform Gradle projects allow reusing the same Kotlin code between JS Client and JVM Server."
"Multiplatform Gradle project allowing reuse of the same Kotlin code between JS Client and JVM Server"
override fun BuildScriptDataBuilder.setupAdditionalDependencies() {
addBuildscriptRepositoriesDefinition("jcenter()")
@@ -40,12 +40,12 @@ class KotlinTemplatesFactory : ProjectTemplatesFactory() {
override fun createTemplates(group: String?, context: WizardContext?): Array<out ProjectTemplate> {
val result = mutableListOf<ProjectTemplate>(
BuilderBasedTemplate(KotlinModuleBuilder(JvmPlatform,
"Kotlin/JVM",
"Kotlin project with JVM target based on IntelliJ IDEA build system",
"JVM | IDEA",
"Kotlin project with a JVM target based on the IntelliJ IDEA build system",
KotlinIcons.SMALL_LOGO)),
BuilderBasedTemplate(KotlinModuleBuilder(JsPlatform, "Kotlin/JS",
"Kotlin project with JavaScript target based on IntelliJ IDEA build system",
BuilderBasedTemplate(KotlinModuleBuilder(JsPlatform, "JS | IDEA",
"Kotlin project with a JavaScript target based on the IntelliJ IDEA build system",
KotlinIcons.JS)
)
)