[python] move keys for forms from PyBundle.properties to PySyntaxBundle.properties

GitOrigin-RevId: 24bd35ffdb0f4c97721aaeac632db3aadc95ffbe
This commit is contained in:
Vladimir Koshelev
2024-02-16 14:29:43 +01:00
committed by intellij-monorepo-bot
parent b9167aef8b
commit 8b918211ba
4 changed files with 32 additions and 33 deletions

View File

@@ -575,24 +575,6 @@ windowWithActions.closeWindow=Close window
# "Stop" button title
windowWithActions.stopProcess=Stop currently running process
formatter.imports.panel.optimize.imports=Optimize Imports
formatter.imports.panel.sort.imports=Sort import statements
formatter.imports.panel.sort.names.in.from.imports=Sort imported names in "from" imports
formatter.imports.panel.from.imports.structure.title=Structure of "from" imports
formatter.imports.panel.from.imports.leave.as.is=Leave as is
formatter.imports.panel.from.imports.join.with.same.source=Join imports with the same source
formatter.imports.panel.from.imports.always.split=Always split imports
formatter.imports.panel.sort.by.type=Sort plain and "from" imports separately within a group
formatter.imports.panel.sort.case.insensitively=Sort case-insensitively
formatter.panel.dict.alignment.label=Dict alignment:
formatter.panel.add.trailing.line.feed=Add line feed at the end of file
formatter.panel.use.continuation.indent.for.title=Use continuation indent for
formatter.panel.use.continuation.indent.for.parameters=Method declaration parameters
formatter.panel.use.continuation.indent.for.arguments=Method call arguments
formatter.panel.use.continuation.indent.for.collection.literals=Collections and comprehensions
smartKeys.insert.self.in.method=Insert 'self' when defining a method
smartKeys.insert.type.placeholder.in.docstring.stub=Insert type placeholders in the documentation comment stub
smartKeys.wrap.in.parentheses.instead.of.backslash=Use parentheses instead of backslashes for breaking lines

View File

@@ -24,5 +24,22 @@ formatter.from.import.statements.force.comma.if.multline=Force trailing comma if
formatter.dictionary.literals=Dictionary literals
formatter.hang.closing.brackets=Hang closing brackets
formatter.imports.panel.optimize.imports=Optimize Imports
formatter.imports.panel.sort.imports=Sort import statements
formatter.imports.panel.sort.names.in.from.imports=Sort imported names in "from" imports
formatter.imports.panel.from.imports.structure.title=Structure of "from" imports
formatter.imports.panel.from.imports.leave.as.is=Leave as is
formatter.imports.panel.from.imports.join.with.same.source=Join imports with the same source
formatter.imports.panel.from.imports.always.split=Always split imports
formatter.imports.panel.sort.by.type=Sort plain and "from" imports separately within a group
formatter.imports.panel.sort.case.insensitively=Sort case-insensitively
formatter.panel.dict.alignment.label=Dict alignment:
formatter.panel.add.trailing.line.feed=Add line feed at the end of file
formatter.panel.use.continuation.indent.for.title=Use continuation indent for
formatter.panel.use.continuation.indent.for.parameters=Method declaration parameters
formatter.panel.use.continuation.indent.for.arguments=Method call arguments
formatter.panel.use.continuation.indent.for.collection.literals=Collections and comprehensions
configurable.PyLanguageCodeStyleSettingsProvider.display.name=Python

View File

@@ -22,14 +22,14 @@
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/PyBundle" title-key="formatter.imports.panel.optimize.imports"/>
<border type="none" title-resource-bundle="messages/PySyntaxBundle" title-key="formatter.imports.panel.optimize.imports"/>
<children>
<component id="e4d2f" class="com.intellij.ui.components.JBCheckBox" binding="mySortImports" default-binding="true">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.sort.imports"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.sort.imports"/>
</properties>
</component>
<component id="fdf9d" class="com.intellij.ui.components.JBCheckBox" binding="mySortNamesInFromImports" default-binding="true">
@@ -37,7 +37,7 @@
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="2" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.sort.names.in.from.imports"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.sort.names.in.from.imports"/>
</properties>
</component>
<component id="f7db4" class="com.intellij.ui.components.JBCheckBox" binding="mySortImportsByTypeFirst">
@@ -45,7 +45,7 @@
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="2" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.sort.by.type"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.sort.by.type"/>
</properties>
</component>
<component id="48046" class="com.intellij.ui.components.JBCheckBox" binding="mySortCaseInsensitively">
@@ -54,7 +54,7 @@
</constraints>
<properties>
<selected value="false"/>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.sort.case.insensitively"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.sort.case.insensitively"/>
</properties>
</component>
<grid id="fdf68" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -66,7 +66,7 @@
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/PyBundle" title-key="formatter.imports.panel.from.imports.structure.title">
<border type="etched" title-resource-bundle="messages/PySyntaxBundle" title-key="formatter.imports.panel.from.imports.structure.title">
<title-color color="-16777216"/>
</border>
<children>
@@ -75,7 +75,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.from.imports.leave.as.is"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.from.imports.leave.as.is"/>
</properties>
</component>
<hspacer id="83cf6">
@@ -89,7 +89,7 @@
</constraints>
<properties>
<selected value="false"/>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.from.imports.join.with.same.source"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.from.imports.join.with.same.source"/>
</properties>
</component>
<component id="3e7e6" class="com.intellij.ui.components.JBRadioButton" binding="myAlwaysSplitFromImports" default-binding="true">
@@ -97,7 +97,7 @@
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.imports.panel.from.imports.always.split"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.imports.panel.from.imports.always.split"/>
</properties>
</component>
</children>

View File

@@ -36,7 +36,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.panel.dict.alignment.label"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.panel.dict.alignment.label"/>
</properties>
</component>
<component id="b4945" class="com.intellij.ui.components.JBCheckBox" binding="myAddTrailingBlankLineCheckbox" default-binding="true">
@@ -44,7 +44,7 @@
<grid row="2" column="0" row-span="1" col-span="3" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.panel.add.trailing.line.feed"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.panel.add.trailing.line.feed"/>
</properties>
</component>
<component id="ca8eb" class="com.intellij.openapi.ui.ComboBox" binding="myDictAlignmentCombo">
@@ -62,14 +62,14 @@
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/PyBundle" title-key="formatter.panel.use.continuation.indent.for.title"/>
<border type="etched" title-resource-bundle="messages/PySyntaxBundle" title-key="formatter.panel.use.continuation.indent.for.title"/>
<children>
<component id="9e329" class="com.intellij.ui.components.JBCheckBox" binding="myUseContinuationIndentForArguments" default-binding="true">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.panel.use.continuation.indent.for.arguments"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.panel.use.continuation.indent.for.arguments"/>
</properties>
</component>
<component id="6f4f2" class="com.intellij.ui.components.JBCheckBox" binding="myUseContinuationIndentForParameters" default-binding="true">
@@ -77,7 +77,7 @@
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.panel.use.continuation.indent.for.parameters"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.panel.use.continuation.indent.for.parameters"/>
</properties>
</component>
<component id="44647" class="com.intellij.ui.components.JBCheckBox" binding="myUseContinuationIndentForCollectionsAndComprehensions">
@@ -85,7 +85,7 @@
<grid row="2" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/PyBundle" key="formatter.panel.use.continuation.indent.for.collection.literals"/>
<text resource-bundle="messages/PySyntaxBundle" key="formatter.panel.use.continuation.indent.for.collection.literals"/>
</properties>
</component>
</children>