mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[i18n] Compilation finished message better i18n
GitOrigin-RevId: 5d883ab3d81d9f5c1e5261b067e33231ef709cd0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c4144fd203
commit
b8d808ca0d
@@ -555,15 +555,16 @@ public final class CompileDriver {
|
||||
message = JavaCompilerBundle.message("status.all.up.to.date");
|
||||
}
|
||||
else {
|
||||
String durationString = StringUtil.formatDurationApproximate(duration);
|
||||
if (status == ExitStatus.SUCCESS) {
|
||||
message = warningCount > 0
|
||||
? JavaCompilerBundle.message("status.compilation.completed.successfully.with.warnings", warningCount)
|
||||
: JavaCompilerBundle.message("status.compilation.completed.successfully");
|
||||
? JavaCompilerBundle.message("status.compilation.completed.successfully.with.warnings", warningCount, durationString)
|
||||
: JavaCompilerBundle.message("status.compilation.completed.successfully", durationString);
|
||||
}
|
||||
else {
|
||||
message = JavaCompilerBundle.message("status.compilation.completed.successfully.with.warnings.and.errors", errorCount, warningCount);
|
||||
message = JavaCompilerBundle.message("status.compilation.completed.successfully.with.warnings.and.errors",
|
||||
errorCount, warningCount, durationString);
|
||||
}
|
||||
message = message + " in " + StringUtil.formatDurationApproximate(duration);
|
||||
}
|
||||
return message;
|
||||
}
|
||||
|
||||
@@ -26,9 +26,9 @@ compiler.content.name.rebuild=Rebuild
|
||||
compiler.content.name.recompile=Recompile
|
||||
compiler.content.name.make=Build
|
||||
modules.classpath.title=Dependencies
|
||||
status.compilation.completed.successfully.with.warnings=Build completed successfully with {0} {0,choice, 0#warnings|1#warning|2#warnings}
|
||||
status.compilation.completed.successfully=Build completed successfully
|
||||
status.compilation.completed.successfully.with.warnings.and.errors=Build completed with {0} {0,choice, 0#errors|1#error|2#errors} and {1} {1,choice, 0#warnings|1#warning|2#warnings}
|
||||
status.compilation.completed.successfully.with.warnings=Build completed successfully with {0} {0,choice, 0#warnings|1#warning|2#warnings} in {1}
|
||||
status.compilation.completed.successfully=Build completed successfully in {0}
|
||||
status.compilation.completed.successfully.with.warnings.and.errors=Build completed with {0} {0,choice, 0#errors|1#error|2#errors} and {1} {1,choice, 0#warnings|1#warning|2#warnings} in {2}
|
||||
progress.executing.precompile.tasks=Executing pre-compile tasks...
|
||||
progress.executing.postcompile.tasks=Executing post-compile tasks...
|
||||
error.chunk.modules.must.have.same.jdk=The following modules must have the same JDK assigned because of cyclic dependencies between them:\n{0}\nPlease update modules configuration
|
||||
|
||||
Reference in New Issue
Block a user