Wizard: minor, move message to bundle
This commit is contained in:
+1
@@ -1,6 +1,7 @@
|
|||||||
generator.title=Kotlin (Experimental Wizard)
|
generator.title=Kotlin (Experimental Wizard)
|
||||||
|
|
||||||
error.nothing.selected=Select a module to configure
|
error.nothing.selected=Select a module to configure
|
||||||
|
error.generation=Project generation error
|
||||||
project.preview=Project Structure
|
project.preview=Project Structure
|
||||||
|
|
||||||
additional.buildsystem.settings.kotlin.runtime=Kotlin Runtime
|
additional.buildsystem.settings.kotlin.runtime=Kotlin Runtime
|
||||||
|
|||||||
+1
-1
@@ -100,7 +100,7 @@ class NewProjectWizardModuleBuilder : EmptyModuleBuilder() {
|
|||||||
phases = GenerationPhase.startingFrom(GenerationPhase.FIRST_STEP)
|
phases = GenerationPhase.startingFrom(GenerationPhase.FIRST_STEP)
|
||||||
).onFailure { errors ->
|
).onFailure { errors ->
|
||||||
val errorMessages = errors.joinToString(separator = "\n") { it.message }
|
val errorMessages = errors.joinToString(separator = "\n") { it.message }
|
||||||
Messages.showErrorDialog(project, errorMessages, "The following errors arose during project generation")
|
Messages.showErrorDialog(project, errorMessages, KotlinNewProjectWizardUIBundle.message("error.generation"))
|
||||||
}.isSuccess
|
}.isSuccess
|
||||||
if (success) {
|
if (success) {
|
||||||
val projectCreationStats = ProjectCreationStats(
|
val projectCreationStats = ProjectCreationStats(
|
||||||
|
|||||||
Reference in New Issue
Block a user