From 7be917256cd0e9eaa730c0a803bc0a66c604635c Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Mon, 23 Aug 2021 17:14:30 +0300 Subject: [PATCH] i18n fixes GitOrigin-RevId: aebfc077a6611dbacfbca7b46f48c36d1acfad85 --- python/pluginResources/messages/PyBundle.properties | 2 +- python/src/com/jetbrains/python/actions/PyExecuteInConsole.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")