Add translation message for plot warning
This commit is contained in:
parent
508160f88b
commit
3ab2c13b4c
@ -767,6 +767,8 @@ 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
|
||||
|
@ -76,10 +76,7 @@ public class SimulationPlotDialog extends JDialog {
|
||||
|
||||
// Add warning if X axis type is not time
|
||||
if (config.getDomainAxisType() != FlightDataType.TYPE_TIME) {
|
||||
// TODO: LOW: This translation message doesn't use the proper tense (simple future when it would be present)
|
||||
// There is currently no translation message representing this dialog.
|
||||
// Such a message should be added, and this code should be updated to use it.
|
||||
JLabel msg = new StyledLabel(trans.get("simplotpanel.Desc"), -2);
|
||||
JLabel msg = new StyledLabel(trans.get("simplotpanel.Warning"), -2);
|
||||
msg.setForeground(Color.DARK_RED.toAWTColor());
|
||||
panel.add(msg, "wrap");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user