diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index 654e5492b..145b86628 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -56,6 +56,7 @@ RocketPanel.lbl.ViewType = View Type: RocketPanel.lbl.Zoom = Zoom: RocketPanel.lbl.Stability = Stability: RocketPanel.checkbox.ShowCGCP = Show CG/CP +RocketPanel.checkbox.ShowCGCP.ttip = Disabling this checkbox hides the CG and CP markings in the rocket view. RocketPanel.lbl.Stages = Stages: RocketPanel.ttip.Rotation = Change the rocket's roll rotation (only affects the rocket view) diff --git a/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java b/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java index 1b0cb50a8..aa78e630d 100644 --- a/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java +++ b/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java @@ -337,6 +337,7 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change JCheckBox showCGCP = new JCheckBox(); showCGCP.setText(trans.get("RocketPanel.checkbox.ShowCGCP")); showCGCP.setSelected(true); + showCGCP.setToolTipText(trans.get("RocketPanel.checkbox.ShowCGCP.ttip")); ribbon.add(new JLabel(trans.get("RocketPanel.lbl.Stability")), "cell 4 0, gapleft para"); ribbon.add(showCGCP, "cell 4 1, gapleft para");