[jps caches] Update notification

GitOrigin-RevId: 5e95b0c91b5a1fa5e8f163800538f9c32dada9e8
This commit is contained in:
Mikhail Mazurkevich
2021-11-24 15:35:13 +03:00
committed by intellij-monorepo-bot
parent 44ba1d224d
commit ebd198f8b7
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ public interface JpsServerAuthExtension {
ApplicationManager.getApplication().invokeLater(() -> {
ATTENTION
.createNotification(JavaCompilerBundle.message("notification.title.jps.caches.downloader"),
JavaCompilerBundle.message("notification.content.internal.authentication.plugin.required.for.correct.work.plugin"),
JavaCompilerBundle.message("notification.content.internal.authentication.plugin.required.for.correct.work"),
NotificationType.WARNING)
.setListener(NotificationListener.URL_OPENING_LISTENER)
.notify(project);

View File

@@ -18,7 +18,7 @@ public final class JpsServerAuthUtil {
public static @NotNull Map<String, String> getRequestHeaders(@NotNull Project project) {
JpsServerAuthExtension authExtension = JpsServerAuthExtension.getInstance();
if (authExtension == null) {
String message = JavaCompilerBundle.message("notification.content.internal.authentication.plugin.required.for.correct.work.plugin");
String message = JavaCompilerBundle.message("notification.content.internal.authentication.plugin.required.for.correct.work");
ApplicationManager.getApplication().invokeLater(() -> {
ATTENTION.createNotification(JavaCompilerBundle.message("notification.title.jps.caches.downloader"), message, NotificationType.WARNING).notify(project);
});

View File

@@ -331,5 +331,5 @@ plugins.advertiser.feature.artifact=artifact
notification.group.compiler=Build finished
notification.title.jps.caches.downloader=Jps caches downloader
notification.content.internal.authentication.plugin.required.for.correct.work.plugin=<a href="https://plugins.jetbrains.com/plugin/14567-jetbrains-internal-authentication">JetBrains Internal Authentication</a> is required for the correct work of the plugin
notification.content.internal.authentication.plugin.required.for.correct.work=<a href="https://plugins.jetbrains.com/plugin/14567-jetbrains-internal-authentication">JetBrains Internal Authentication</a> is required for the correct work of JPS Caches
internal.authentication.plugin.missing.token=Unexpected state: jetbrains.team token is missing. Please report this exception and perform actions 'Logout from JetBrains.team' and 'Login to JetBrains.team' as a workaround