diff --git a/python/pluginResources/messages/PyBundle.properties b/python/pluginResources/messages/PyBundle.properties index f64089ebc607..2a7aa186016c 100644 --- a/python/pluginResources/messages/PyBundle.properties +++ b/python/pluginResources/messages/PyBundle.properties @@ -313,7 +313,7 @@ python.console=Python Console python.console.history.root=Python Consoles python.console.run.anything.provider=Runs Python Console python.console.not.supported=Python console for {0} interpreter is not supported -python.console.toolbar.action.available.non.interactive=The Action Is Not Available For Non-Interactive Shell +python.console.toolbar.action.available.non.interactive=The action is not available for non-interactive shell #Buildout buildout=Buildout diff --git a/python/src/com/jetbrains/python/actions/PyExecuteInConsole.kt b/python/src/com/jetbrains/python/actions/PyExecuteInConsole.kt index a62830f18c31..17b8f89065d5 100644 --- a/python/src/com/jetbrains/python/actions/PyExecuteInConsole.kt +++ b/python/src/com/jetbrains/python/actions/PyExecuteInConsole.kt @@ -90,7 +90,7 @@ object PyExecuteInConsole { return Pair(null, null) } DescriptorType.NON_INTERACTIVE -> { - throw IllegalStateException("This code shouldn't be called for non-interactive descriptor") + throw IllegalStateException("This code shouldn't be called for a non-interactive descriptor") } else -> { throw IllegalStateException("Custom descriptor for ${virtualFile} is null")