[ui] minor typos and formatting issues in startup error messages

This commit is contained in:
Roman Shevchenko
2018-03-29 15:11:08 +02:00
parent 44f889ac8f
commit 32f3d95a3e
@@ -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" +