mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11: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()
|
||||
|
||||
Reference in New Issue
Block a user