From d2ccb186fda0a2ddc27787807324f32ffe4e8609 Mon Sep 17 00:00:00 2001 From: Sibo Van Gool Date: Wed, 29 Sep 2021 00:26:13 +0200 Subject: [PATCH 1/2] [fixes #1038] Change title plot/export simulation window --- core/resources/l10n/messages.properties | 1 + .../net/sf/openrocket/gui/simulation/SimulationEditDialog.java | 1 + 2 files changed, 2 insertions(+) diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index c770f3471..fecd1b5c6 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -637,6 +637,7 @@ MotorPlot.txt.Delays = Delays: MotorPlot.txt.Comment = Comment:\n ! Simulation plot panel +simplotpanel.title.Plotsim = Plot / export simulation simplotpanel.lbl.Presetplotconf = Preset plot configurations: simplotpanel.lbl.Xaxistype = X axis type: simplotpanel.lbl.Unit = Unit: diff --git a/swing/src/net/sf/openrocket/gui/simulation/SimulationEditDialog.java b/swing/src/net/sf/openrocket/gui/simulation/SimulationEditDialog.java index f7fcfa456..b308c5df9 100644 --- a/swing/src/net/sf/openrocket/gui/simulation/SimulationEditDialog.java +++ b/swing/src/net/sf/openrocket/gui/simulation/SimulationEditDialog.java @@ -81,6 +81,7 @@ public class SimulationEditDialog extends JDialog { if (!allowsPlotMode()) { return; } + setTitle(trans.get("simplotpanel.title.Plotsim")); CardLayout cl = (CardLayout) (cards.getLayout()); cl.show(cards, PLOTMODE); cards.validate(); From d6bdb42847be27dd97221c1159918d5f4f9415d5 Mon Sep 17 00:00:00 2001 From: Sibo Van Gool Date: Thu, 14 Oct 2021 17:50:36 +0200 Subject: [PATCH 2/2] Use capital Export in export simulation button and window --- core/resources/l10n/messages.properties | 4 ++-- core/resources/l10n/messages_nl.properties | 2 +- core/resources/l10n/messages_uk_UA.properties | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index fecd1b5c6..27e72eb75 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -463,7 +463,7 @@ simpanel.but.newsimulation = New simulation simpanel.but.editsimulation = Edit simulation simpanel.but.runsimulations = Run simulations simpanel.but.deletesimulations = Delete simulations -simpanel.but.plotexport = Plot / export +simpanel.but.plotexport = Plot / Export simpanel.but.ttip.newsimulation = Add a new simulation simpanel.but.ttip.editsim = Edit the selected simulation simpanel.but.ttip.runsimu = Re-run the selected simulations @@ -637,7 +637,7 @@ MotorPlot.txt.Delays = Delays: MotorPlot.txt.Comment = Comment:\n ! Simulation plot panel -simplotpanel.title.Plotsim = Plot / export simulation +simplotpanel.title.Plotsim = Plot / Export simulation simplotpanel.lbl.Presetplotconf = Preset plot configurations: simplotpanel.lbl.Xaxistype = X axis type: simplotpanel.lbl.Unit = Unit: diff --git a/core/resources/l10n/messages_nl.properties b/core/resources/l10n/messages_nl.properties index 8d1555bb0..6f2c3df5e 100644 --- a/core/resources/l10n/messages_nl.properties +++ b/core/resources/l10n/messages_nl.properties @@ -461,7 +461,7 @@ simpanel.but.newsimulation = Nieuwe simulatie simpanel.but.editsimulation = Pas simulatie aan simpanel.but.runsimulations = Voer simulaties uit simpanel.but.deletesimulations = Verwijder simulaties -simpanel.but.plotexport = Plot / exporteer +simpanel.but.plotexport = Plot / Exporteer simpanel.but.ttip.newsimulation = Voeg een nieuwe simulatie toe simpanel.but.ttip.editsim = Pas de geselecteerde simulatie aan simpanel.but.ttip.runsimu = Voer de geselecteerde simulaties opnieuw uit diff --git a/core/resources/l10n/messages_uk_UA.properties b/core/resources/l10n/messages_uk_UA.properties index ed4b301c9..e9ed97f8b 100644 --- a/core/resources/l10n/messages_uk_UA.properties +++ b/core/resources/l10n/messages_uk_UA.properties @@ -417,7 +417,7 @@ simpanel.but.newsimulation = New simulation simpanel.but.editsimulation = Edit simulation simpanel.but.runsimulations = Run simulations simpanel.but.deletesimulations = Delete simulations -simpanel.but.plotexport = Plot / export +simpanel.but.plotexport = Plot / Export simpanel.but.ttip.newsimulation = Add a new simulation simpanel.but.ttip.editsim = Edit the selected simulation simpanel.but.ttip.runsimu = Re-run the selected simulations