diff --git a/platform/external-system-api/resources/messages/ExternalSystemBundle.properties b/platform/external-system-api/resources/messages/ExternalSystemBundle.properties index 96bbf66d7836..e586be193f0d 100644 --- a/platform/external-system-api/resources/messages/ExternalSystemBundle.properties +++ b/platform/external-system-api/resources/messages/ExternalSystemBundle.properties @@ -17,10 +17,6 @@ unlinked.project.notification.help.text=\ untrusted.project.notification.execution.error={0} project is untrusted, so its task cannot be executed. -untrusted.project.notification.trust.link=Trust project\u2026 -untrusted.project.notification.read.more.link=Read more -untrusted.project.notification.description=Safe mode, limited functionality. Trust the project to access full IDE functionality. - untrusted.project.notification.trust.button=Trust Project untrusted.project.notification.distrust.button=Stay in Safe Mode untrusted.project.notification.title=Trust {0} {1,choice,1#Project|1 Unit) : EditorNotificationPanel(fileEditor) { + init { + text = IdeBundle.message("untrusted.project.notification.description") + createActionLabel(IdeBundle.message("untrusted.project.notification.trust.link"), { + TrustedProjectsStatistics.TRUST_PROJECT_FROM_BANNER.log() + onTrustProjectLinkClicked() + }, false) + createActionLabel(IdeBundle.message("untrusted.project.notification.read.more.link"), { + TrustedProjectsStatistics.READ_MORE_FROM_BANNER.log() + HelpManager.getInstance().invokeHelp(TRUSTED_PROJECTS_HELP_TOPIC) + }, false) + } +} \ No newline at end of file