mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-14962 Move messages shown on "Other" panel to the bundle
This commit is contained in:
@@ -918,3 +918,9 @@ commandLine.commandNotFound={0}: command not found
|
||||
windowWithActions.closeWindow=Close window
|
||||
# "Stop" button title
|
||||
windowWithActions.stopProcess=Stop currently running process
|
||||
|
||||
formatter.panel.dict.alignment.do.not.align=Do not align
|
||||
formatter.panel.dict.alignment.align.on.colon=Align on colon
|
||||
formatter.panel.dict.alignment.align.on.value=Align on value
|
||||
formatter.panel.dict.alignment.label=Dict alignment:
|
||||
formatter.panel.add.trailing.line.feed=Add line feed at the end of file
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="0" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<text value="Dict alignment:"/>
|
||||
<text resource-bundle="com/jetbrains/python/PyBundle" key="formatter.panel.dict.alignment.label"/>
|
||||
</properties>
|
||||
</component>
|
||||
<component id="b4945" class="com.intellij.ui.components.JBCheckBox" binding="myAddTrailingBlankLineCheckbox" default-binding="true">
|
||||
@@ -50,7 +50,7 @@
|
||||
<grid row="1" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="0" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<text value="Add line feed at the end of file"/>
|
||||
<text resource-bundle="com/jetbrains/python/PyBundle" key="formatter.panel.add.trailing.line.feed"/>
|
||||
</properties>
|
||||
</component>
|
||||
</children>
|
||||
|
||||
@@ -17,6 +17,7 @@ package com.jetbrains.python.formatter;
|
||||
|
||||
import com.intellij.psi.codeStyle.CodeStyleSettings;
|
||||
import com.intellij.psi.codeStyle.CustomCodeStyleSettings;
|
||||
import com.jetbrains.python.PyBundle;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
@@ -24,9 +25,9 @@ import com.intellij.psi.codeStyle.CustomCodeStyleSettings;
|
||||
public class PyCodeStyleSettings extends CustomCodeStyleSettings {
|
||||
|
||||
public enum DictAlignment {
|
||||
NONE("Do not align"),
|
||||
ON_VALUE("Align on value"),
|
||||
ON_COLON("Align on colon");
|
||||
NONE(PyBundle.message("formatter.panel.dict.alignment.do.not.align")),
|
||||
ON_VALUE(PyBundle.message("formatter.panel.dict.alignment.align.on.value")),
|
||||
ON_COLON(PyBundle.message("formatter.panel.dict.alignment.align.on.colon"));
|
||||
|
||||
String description;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user