diff --git a/platform/platform-impl/src/com/intellij/ide/actions/DumpThreadsAction.java b/platform/platform-impl/src/com/intellij/ide/actions/DumpThreadsAction.java index 19f8084e208b..c4feabe6b934 100644 --- a/platform/platform-impl/src/com/intellij/ide/actions/DumpThreadsAction.java +++ b/platform/platform-impl/src/com/intellij/ide/actions/DumpThreadsAction.java @@ -1,8 +1,8 @@ // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.actions; -import com.intellij.CommonBundle; import com.intellij.diagnostic.PerformanceWatcher; +import com.intellij.ide.IdeBundle; import com.intellij.notification.Notification; import com.intellij.notification.NotificationDisplayType; import com.intellij.notification.NotificationGroup; @@ -33,11 +33,11 @@ public class DumpThreadsAction extends AnAction implements DumbAware { private Notification createNotification(@Nullable File file) { if (file != null) { String url = FileUtil.getUrl(file); - String message = CommonBundle.message("thread.dump.is.taken", url); + String message = IdeBundle.message("thread.dump.is.taken", url); return GROUP.createNotification("", message, NotificationType.INFORMATION, RevealFileAction.FILE_SELECTING_LISTENER); } else { - return GROUP.createNotification(CommonBundle.message("failed.to.take.thread.dump"), NotificationType.INFORMATION); + return GROUP.createNotification(IdeBundle.message("failed.to.take.thread.dump"), NotificationType.INFORMATION); } } -} +} \ No newline at end of file diff --git a/platform/platform-resources-en/src/messages/CommonBundle.properties b/platform/platform-resources-en/src/messages/CommonBundle.properties index ec6fa5204cd9..f062899e30c6 100644 --- a/platform/platform-resources-en/src/messages/CommonBundle.properties +++ b/platform/platform-resources-en/src/messages/CommonBundle.properties @@ -117,9 +117,6 @@ format.file.size.bytes={0}b format.file.size.kbytes={0}Kb format.file.size.mbytes={0}Mb -thread.dump.is.taken=Thread dump is taken. -failed.to.take.thread.dump=Failed to take a thread dump. - error.reading.color.scheme.from.file.error.message=Error reading color scheme from {0} button.background=&Background button.load.file=Load File diff --git a/platform/platform-resources-en/src/messages/IdeBundle.properties b/platform/platform-resources-en/src/messages/IdeBundle.properties index ad2408caa8a1..b987c99dcfd9 100644 --- a/platform/platform-resources-en/src/messages/IdeBundle.properties +++ b/platform/platform-resources-en/src/messages/IdeBundle.properties @@ -1415,4 +1415,7 @@ cannot.redo.title=Cannot Redo cannot.redo.message=Cannot redo undo.conflicting.change.confirmation=Other files affected by this action have been already changed. cannot.undo.error.other.affected.files.changed.message=Following files affected by this action have been already changed: -cannot.undo.error.contains.nonundoable.changes.message=Following files have changes that cannot be undone: \ No newline at end of file +cannot.undo.error.contains.nonundoable.changes.message=Following files have changes that cannot be undone: + +thread.dump.is.taken=Thread dump is taken. +failed.to.take.thread.dump=Failed to take a thread dump. \ No newline at end of file