Change plot warning message name

This commit is contained in:
May 2023-04-26 14:57:05 -04:00
parent 8d1ce46d09
commit ff47b8117a
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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");
}