diff --git a/platform/platform-api/resources/messages/IdeBundle.properties b/platform/platform-api/resources/messages/IdeBundle.properties index 85a1c5a9f17e..a207b9632677 100644 --- a/platform/platform-api/resources/messages/IdeBundle.properties +++ b/platform/platform-api/resources/messages/IdeBundle.properties @@ -223,6 +223,9 @@ action.description.view.supertypes.hierarchy=Switch to Supertypes Hierarchy filetype.gui.designer.form.description=GUI Designer form filetype.gui.designer.form.display.name=GUI Designer form +vfs.activity.tracker.name=Virtual File System +saving.activity.tracker.name=Saving + error.name.cannot.be.empty=Name cannot be empty editbox.customfiletype.line.comment=Line comment: editbox.customfiletype.block.comment.start=Block comment start: diff --git a/platform/platform-impl/src/com/intellij/configurationStore/SavingTracker.kt b/platform/platform-impl/src/com/intellij/configurationStore/SavingTracker.kt index c7930b43c3e9..5e5ec78b68fb 100644 --- a/platform/platform-impl/src/com/intellij/configurationStore/SavingTracker.kt +++ b/platform/platform-impl/src/com/intellij/configurationStore/SavingTracker.kt @@ -1,12 +1,13 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.configurationStore +import com.intellij.ide.IdeBundle import com.intellij.openapi.project.Project import com.intellij.platform.backend.observation.ActivityTracker import org.jetbrains.annotations.Nls private class SavingTracker : ActivityTracker { - override val presentableName: @Nls String = "saving" + override val presentableName: @Nls String = IdeBundle.message("saving.activity.tracker.name") override suspend fun isInProgress(project: Project): Boolean { return false diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsActivityTracker.kt b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsActivityTracker.kt index 679adbc9a96d..21b975d02e3d 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsActivityTracker.kt +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsActivityTracker.kt @@ -1,6 +1,7 @@ // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.openapi.vfs.newvfs +import com.intellij.ide.IdeBundle import com.intellij.openapi.project.Project import com.intellij.platform.backend.observation.ActivityTracker import kotlinx.coroutines.delay @@ -10,7 +11,7 @@ import org.jetbrains.annotations.Nls @ApiStatus.Internal class VfsActivityTracker : ActivityTracker { - override val presentableName: @Nls String = "vfs" + override val presentableName: @Nls String = IdeBundle.message("vfs.activity.tracker.name") override suspend fun isInProgress(project: Project): Boolean { return RefreshQueueImpl.isRefreshInProgress() diff --git a/python/pluginResources/messages/PyBundle.properties b/python/pluginResources/messages/PyBundle.properties index 8154c1b194a0..6cb49bdec672 100644 --- a/python/pluginResources/messages/PyBundle.properties +++ b/python/pluginResources/messages/PyBundle.properties @@ -169,6 +169,8 @@ runcfg.python_tests.config.additionalArguments=Additional Arguments runcfg.python_tests.config.target=Target runcfg.python_tests.config.targetType=Target Type +python.activity.key.name=Python + ### nosetests run conf runcfg.nosetests.display_name=Nosetests diff --git a/python/src/com/jetbrains/python/sdk/headless/PythonActivityKey.kt b/python/src/com/jetbrains/python/sdk/headless/PythonActivityKey.kt index fb64c7b94f1e..35b103c9aa28 100644 --- a/python/src/com/jetbrains/python/sdk/headless/PythonActivityKey.kt +++ b/python/src/com/jetbrains/python/sdk/headless/PythonActivityKey.kt @@ -2,9 +2,10 @@ package com.jetbrains.python.sdk.headless import com.intellij.platform.backend.observation.ActivityKey +import com.jetbrains.python.PyBundle import org.jetbrains.annotations.Nls object PythonActivityKey : ActivityKey { override val presentableName: @Nls String - get() = "python" + get() = PyBundle.message("python.activity.key.name") } \ No newline at end of file