i18n-ize some strings in BuildManager

GitOrigin-RevId: 330a3e9308ad586aed31c92b029f7a4aeaa8cc58
This commit is contained in:
Vladimir Lagunov
2025-06-27 08:00:33 +00:00
committed by intellij-monorepo-bot
parent 8ced2ca96d
commit 4f4c7584a7
2 changed files with 10 additions and 4 deletions
@@ -1508,7 +1508,8 @@ public final class BuildManager implements Disposable {
// No external project cache -- no copy of external project cache.
}
catch (FileSystemException err) {
throw new ExecutionException("Failed to copy external project configuration", err);
throw new ExecutionException(
JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.external.project.configuration"), err);
}
}
else {
@@ -1676,7 +1677,8 @@ public final class BuildManager implements Disposable {
cmdLine.addPathParameter(parameter.getFirst(), cmdLine.copyProjectSpecificPathToTargetIfRequired(project, parameter.getSecond()));
}
catch (FileSystemException err) {
throw new ExecutionException("Failed to copy parameter " + parameter.getFirst(), err);
throw new ExecutionException(
JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.parameter", parameter.getFirst()), err);
}
}
}
@@ -1745,7 +1747,7 @@ public final class BuildManager implements Disposable {
cmdLine.copyProjectSpecificPathToTargetIfRequired(project, Paths.get(path));
}
catch (FileSystemException err) {
throw new ExecutionException("Failed to copy additional plugin", err);
throw new ExecutionException(JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.additional.plugin"), err);
}
}
}