mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[java] Improve arch checker notification title and message
(cherry picked from commit 215391f3f5f1a56d4b6e6d9bdc1ad13718eecd0b) IJ-CR-148865 GitOrigin-RevId: 5470ed33b530169fd40e015b329fc41c6684d122
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4e0243a930
commit
95e915dfd2
@@ -39,7 +39,11 @@ internal class BuildManagerVersionChecker(val project: Project, val scope: Corou
|
||||
if (jdkArch != CpuArch.CURRENT) {
|
||||
NotificationGroupManager.getInstance()
|
||||
.getNotificationGroup("JDK Arch Check")
|
||||
.createNotification(JavaBundle.message("arch.checker.notification.title"), JavaBundle.message("arch.checker.notification.content"), NotificationType.WARNING)
|
||||
.createNotification(
|
||||
JavaBundle.message("arch.checker.notification.title"),
|
||||
JavaBundle.message("arch.checker.notification.content", versionInfo.displayVersionString(), jdkArch.name, CpuArch.CURRENT.name),
|
||||
NotificationType.WARNING
|
||||
)
|
||||
.apply {
|
||||
addAction(NotificationAction.createSimpleExpiring(JavaBundle.message("arch.checker.notification.project.structure")) {
|
||||
ProjectSettingsService.getInstance(project).openProjectSettings()
|
||||
|
||||
@@ -1835,8 +1835,8 @@ notification.group.setup.external.annotations=Failed to load external annotation
|
||||
notification.group.testintegration=Failed to generate tests for @TestDataPath
|
||||
notification.group.legacy.library=Legacy library depends on IDE installation
|
||||
notification.group.arch.checker=JDK and system architectures are different
|
||||
arch.checker.notification.title=JDK can cause slow builds
|
||||
arch.checker.notification.content=The JDK and system architectures do not match. Builds can be much slower as a consequence.
|
||||
arch.checker.notification.title=The selected JDK can cause slow builds
|
||||
arch.checker.notification.content=The JDK ''{0}'' ({1}) does not match the system architecture ({2}).
|
||||
arch.checker.notification.project.structure=Configure JDK
|
||||
inspection.io.stream.constructor.description='InputStream' and 'OutputStream' can be constructed using 'Files' methods
|
||||
inspection.input.stream.constructor.message='InputStream' can be constructed using 'Files.newInputStream()'
|
||||
|
||||
Reference in New Issue
Block a user