Make "All Stages" entry in stage selection dropdown more explicit; also connect to localization.

This commit is contained in:
JoePfeiffer 2024-01-09 17:58:30 -07:00
parent 843c2e6d22
commit 31a638b2ed
2 changed files with 3 additions and 1 deletions

View File

@ -1612,6 +1612,8 @@ PlotDialog.lbl.Chart = left click drag to zoom area. mouse wheel to zoom. ctrl-m
PlotDialog.lbl.timeSeriesWarning = The data is plotted in time order even though the X axis type is not time.
PlotDialog.btn.exportImage = Export Image
PlotDialog.StageDropDown.allStages = All Stages
ComponentTree.ttip.massoverride = mass overriden
ComponentTree.ttip.cgoverride = CG overriden
ComponentTree.ttip.cdoverride = <html>C<sub>D</sub> overriden</html>

View File

@ -114,7 +114,7 @@ public class SimulationPlotDialog extends JDialog {
//// Add series selection box
ArrayList<String> stages = new ArrayList<String>();
stages.add("All");
stages.add(trans.get("PlotDialog.StageDropDown.allStages"));
stages.addAll(Util.generateSeriesLabels(simulation));
final JComboBox<String> stageSelection = new JComboBox<>(stages.toArray(new String[0]));