From 32f3d95a3ed48dd1816d103da0ea5614b1994e8e Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 29 Mar 2018 15:10:38 +0200 Subject: [PATCH] [ui] minor typos and formatting issues in startup error messages --- .../src/com/intellij/idea/StartupUtil.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/idea/StartupUtil.java b/platform/platform-impl/src/com/intellij/idea/StartupUtil.java index 3d27d09ca4f3..2c905b932d70 100644 --- a/platform/platform-impl/src/com/intellij/idea/StartupUtil.java +++ b/platform/platform-impl/src/com/intellij/idea/StartupUtil.java @@ -179,7 +179,7 @@ public class StartupUtil { if ("true".equals(System.getProperty("idea.64bit.check"))) { if (PlatformUtils.isCidr() && !SystemInfo.is64Bit) { - String message = "32-bit JVM is not supported. Please install 64-bit version."; + String message = "32-bit JVM is not supported. Please use 64-bit version."; Main.showMessage("Unsupported JVM", message, true); return false; } @@ -204,8 +204,8 @@ public class StartupUtil { String configPath = PathManager.getConfigPath(); PathManager.ensureConfigFolderExists(); if (!new File(configPath).isDirectory()) { - String message = "Config path '" + configPath + "' is invalid.\n" + - "If you have modified the '" + PathManager.PROPERTY_CONFIG_PATH + "' property please make sure it is correct,\n" + + String message = "Config path '" + configPath + "' is invalid.\n\n" + + "If you have modified the '" + PathManager.PROPERTY_CONFIG_PATH + "' property, please make sure it is correct,\n" + "otherwise please re-install the IDE."; Main.showMessage("Invalid Config Path", message, true); return false; @@ -213,15 +213,15 @@ public class StartupUtil { String systemPath = PathManager.getSystemPath(); if (!new File(systemPath).isDirectory()) { - String message = "System path '" + systemPath + "' is invalid.\n" + - "If you have modified the '" + PathManager.PROPERTY_SYSTEM_PATH + "' property please make sure it is correct,\n" + + String message = "System path '" + systemPath + "' is invalid.\n\n" + + "If you have modified the '" + PathManager.PROPERTY_SYSTEM_PATH + "' property, please make sure it is correct,\n" + "otherwise please re-install the IDE."; Main.showMessage("Invalid System Path", message, true); return false; } if (FileUtil.pathsEqual(configPath, systemPath)) { - String message = "Config and system paths seem to be equal.\n" + + String message = "Config and system paths seem to be equal.\n\n" + "If you have modified '" + PathManager.PROPERTY_CONFIG_PATH + "' or '" + PathManager.PROPERTY_SYSTEM_PATH + "' properties,\n" + "please make sure they point to different directories, otherwise please re-install the IDE."; Main.showMessage("Invalid Config or System Path", message, true); @@ -240,7 +240,7 @@ public class StartupUtil { catch (IOException ignored) { } } if (!logOk) { - String message = "Log path '" + logDir.getPath() + "' is inaccessible.\n" + + String message = "Log path '" + logDir.getPath() + "' is inaccessible.\n\n" + "If you have modified the '" + PathManager.PROPERTY_LOG_PATH + "' property please make sure it is correct,\n" + "otherwise please re-install the IDE."; Main.showMessage("Invalid Log Path", message, true); @@ -279,7 +279,7 @@ public class StartupUtil { } if (tempInaccessible != null) { - String message = "Temp directory '" + ideTempDir + "' is inaccessible.\n" + + String message = "Temp directory '" + ideTempDir + "' is inaccessible.\n\n" + "If you have modified the '" + PathManager.PROPERTY_SYSTEM_PATH + "' property please make sure it is correct,\n" + "otherwise please re-install the IDE.\n\nDetails: " + tempInaccessible; Main.showMessage("Invalid System Path", message, true); @@ -417,7 +417,7 @@ public class StartupUtil { } catch (IOException e) { String message = - "The IDE failed to install some plugins.\n" + + "The IDE failed to install some plugins.\n\n" + "Most probably, this happened because of a change in a serialization format.\n" + "Please try again, and if the problem persists, please report it\n" + "to http://jb.gg/ide/critical-startup-errors" +