PY-40431 Extract messages to the message bundles for i18n

GitOrigin-RevId: c7b652bab17e0b37959d71fe7335212395212bdb
This commit is contained in:
Lada Gagina
2020-02-18 22:54:41 +03:00
committed by intellij-monorepo-bot
parent b2a9afdc69
commit 8a29a375f3
18 changed files with 94 additions and 27 deletions

View File

@@ -9,6 +9,7 @@ import com.intellij.openapi.module.Module;
import com.intellij.openapi.roots.ModifiableRootModel;
import com.intellij.openapi.roots.libraries.Library;
import com.intellij.openapi.ui.LabeledComponent;
import com.jetbrains.python.PyBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -25,7 +26,7 @@ public class PythonFrameworkSupportConfigurable extends FrameworkSupportConfigur
public PythonFrameworkSupportConfigurable(FrameworkSupportModel model) {
mySdkComboBox = new PythonSdkComboBox();
mySdkComboBox.setProject(model.getProject());
myMainPanel = LabeledComponent.create(mySdkComboBox, "Python SDK:");
myMainPanel = LabeledComponent.create(mySdkComboBox, PyBundle.message("framework.support.python.sdk.combobox.label"));
((LabeledComponent)myMainPanel).setLabelLocation(BorderLayout.WEST);
}