diff --git a/platform/platform-api/resources/messages/ApplicationBundle.properties b/platform/platform-api/resources/messages/ApplicationBundle.properties index 2e87c26457eb..aeec8e5ff380 100644 --- a/platform/platform-api/resources/messages/ApplicationBundle.properties +++ b/platform/platform-api/resources/messages/ApplicationBundle.properties @@ -609,6 +609,7 @@ launcher.script.prompt=You can create a launcher script to enable opening launcher.script.overwrite=The file ''{0}'' already exists. Would you like to overwrite it? launcher.script.overwrite.button=&Overwrite launcher.script.sudo.prompt=Please enter your password to create a launcher script in a ''{0}'' +launcher.script.progress=Creating launcher script... desktop.entry.title=Create Desktop Entry desktop.entry.success=You may now exit {0} and start it from the system menu
\ diff --git a/platform/platform-impl/src/com/intellij/ide/actions/CreateLauncherScriptAction.java b/platform/platform-impl/src/com/intellij/ide/actions/CreateLauncherScriptAction.java index 8132b474c9ae..80e9b4ef02bf 100644 --- a/platform/platform-impl/src/com/intellij/ide/actions/CreateLauncherScriptAction.java +++ b/platform/platform-impl/src/com/intellij/ide/actions/CreateLauncherScriptAction.java @@ -44,8 +44,8 @@ public class CreateLauncherScriptAction extends DumbAwareAction { private static class Holder { private static final String INTERPRETER_NAME = - PathEnvironmentVariableUtil.findInPath("python") != null ? "python": - PathEnvironmentVariableUtil.findInPath("python3") != null ? "python3" :null; + PathEnvironmentVariableUtil.findInPath("python") != null ? "python" : + PathEnvironmentVariableUtil.findInPath("python3") != null ? "python3" : null; } public static boolean isAvailable() { @@ -101,7 +101,7 @@ public class CreateLauncherScriptAction extends DumbAwareAction { } } - new Task.Backgroundable(project, ApplicationBundle.message("launcher.script.title")) { + new Task.Backgroundable(project, ApplicationBundle.message("launcher.script.progress")) { @Override public void run(@NotNull ProgressIndicator indicator) { try {