From 6dfac8f29a3460863e60bd72b3f309ecdb081f3d Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Tue, 21 Apr 2015 13:09:45 +0300 Subject: [PATCH] IDEA-116486 Option to link console font setting to editor wanted i18n --- .../application/options/colors/NewColorAndFontPanel.java | 3 ++- .../src/messages/ApplicationBundle.properties | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/application/options/colors/NewColorAndFontPanel.java b/platform/lang-impl/src/com/intellij/application/options/colors/NewColorAndFontPanel.java index e66f2cccafc0..48c7ae4072f4 100644 --- a/platform/lang-impl/src/com/intellij/application/options/colors/NewColorAndFontPanel.java +++ b/platform/lang-impl/src/com/intellij/application/options/colors/NewColorAndFontPanel.java @@ -16,6 +16,7 @@ package com.intellij.application.options.colors; +import com.intellij.openapi.application.ApplicationBundle; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.colors.EditorColorsScheme; import com.intellij.openapi.options.colors.ColorSettingsPage; @@ -55,7 +56,7 @@ public class NewColorAndFontPanel extends JPanel { top.add(myOptionsPanel.getPanel(), BorderLayout.CENTER); if (optionsPanel instanceof ConsoleFontOptions) { JPanel wrapper = new JPanel(new FlowLayout(FlowLayout.TRAILING)); - wrapper.add(new JButton(new AbstractAction("Apply editor font settings") { + wrapper.add(new JButton(new AbstractAction(ApplicationBundle.message("action.apply.editor.font.settings")) { @Override public void actionPerformed(ActionEvent e) { EditorColorsScheme scheme = ((ConsoleFontOptions)myOptionsPanel).getCurrentScheme(); diff --git a/platform/platform-resources-en/src/messages/ApplicationBundle.properties b/platform/platform-resources-en/src/messages/ApplicationBundle.properties index ae135a02a1b7..77629d645a0e 100644 --- a/platform/platform-resources-en/src/messages/ApplicationBundle.properties +++ b/platform/platform-resources-en/src/messages/ApplicationBundle.properties @@ -503,6 +503,7 @@ error.scheme.must.have.a.name=Scheme must have a name error.illegal.scheme.name=Illegal scheme name error.a.scheme.with.this.name.already.exists.or.was.deleted.without.applying.the.changes=A scheme with this name already exists or was deleted without applying the changes title.select.font=Select Font +action.apply.editor.font.settings=Apply editor font settings checkbox.show.only.monospaced.fonts=Show only monospaced fonts primary.font=Primary font: secondary.font=Secondary font: