mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show warning in settings UI when user enables ligatures, and IDE is not launched using bundled JRE (further updates)
This commit is contained in:
@@ -105,7 +105,7 @@ public class FontOptions extends JPanel implements OptionsPanel{
|
||||
myEnableLigaturesCheckbox.setBorder(null);
|
||||
panel.add(myEnableLigaturesCheckbox);
|
||||
JLabel warningIcon = new JLabel(AllIcons.General.BalloonWarning);
|
||||
warningIcon.setToolTipText(ApplicationBundle.message("ligatures.jre.warning", ApplicationNamesInfo.getInstance().getProductName()));
|
||||
warningIcon.setToolTipText(ApplicationBundle.message("ligatures.jre.warning", ApplicationNamesInfo.getInstance().getFullProductName()));
|
||||
warningIcon.setBorder(JBUI.Borders.emptyLeft(5));
|
||||
updateWarningIconVisibility(warningIcon);
|
||||
panel.add(warningIcon);
|
||||
|
||||
@@ -533,7 +533,7 @@ checkbox.show.only.monospaced.fonts=Show only monospaced fonts
|
||||
primary.font=Primary font:
|
||||
secondary.font=Secondary font:
|
||||
use.ligatures=Enable font ligatures
|
||||
ligatures.jre.warning=Running {0} with bundled JRE is recommended.\nOther JREs have known functional and performance issues\nrelated to ligatures support.
|
||||
ligatures.jre.warning=The JRE you are running {0} with might have\nfunctional and performance issues related to ligatures support.\nTo avoid such issues, run IntelliJ IDEA with the bundled JRE.
|
||||
editbox.enter.tag.name=Enter tag name:
|
||||
title.tag.name=Tag Name
|
||||
title.xml=XML
|
||||
|
||||
Reference in New Issue
Block a user