IDEA-116486 Option to link console font setting to editor wanted

i18n
This commit is contained in:
Vassiliy.Kudryashov
2015-04-21 13:11:08 +03:00
parent 9e3eef2fab
commit 6dfac8f29a
2 changed files with 3 additions and 1 deletions
@@ -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();
@@ -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: