diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index 7c81230ca..615319afe 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -767,8 +767,6 @@ simplotpanel.but.NewYaxisplottype = New Y axis plot type simplotpanel.lbl.Axis = Axis: simplotpanel.but.ttip.Deletethisplot = Delete this plot simplotpanel.Desc = The data will be plotted in time order even if the X axis type is not time. -! Fix this name -simplotpanel.Warning = The data is plotted in time order even though the X axis type is not time. simplotpanel.OptionPane.lbl1 = A maximum of 15 plots is allowed. simplotpanel.OptionPane.lbl2 = Cannot add plot simplotpanel.AUTO_NAME = Auto @@ -1506,6 +1504,7 @@ TCMotorSelPan.btn.close = Close ! PlotDialog PlotDialog.CheckBox.Showdatapoints = Show data points PlotDialog.lbl.Chart = left click drag to zoom area. mouse wheel to zoom. ctrl-mouse wheel to zoom x axis only. ctrl-left click drag to pan. right click drag to zoom dynamically. +PlotDialog.lbl.timeSeriesWarning = The data is plotted in time order even though the X axis type is not time. PlotDialog.btn.exportImage = Export Image ComponentTree.ttip.massoverride = mass overriden diff --git a/swing/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java b/swing/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java index b6f204770..db19ab496 100644 --- a/swing/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java +++ b/swing/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java @@ -76,7 +76,7 @@ public class SimulationPlotDialog extends JDialog { // Add warning if X axis type is not time if (config.getDomainAxisType() != FlightDataType.TYPE_TIME) { - JLabel msg = new StyledLabel(trans.get("simplotpanel.Warning"), -2); + JLabel msg = new StyledLabel(trans.get("PlotDialog.lbl.timeSeriesWarning"), -2); msg.setForeground(Color.DARK_RED.toAWTColor()); panel.add(msg, "wrap"); }