[fixes #825] Change update dialog checkbox text

This is in line with what is displayed in the preference window of OR
This commit is contained in:
Sibo Van Gool 2022-01-24 00:14:26 +01:00
parent 201ab91e47
commit a1ba014f33
2 changed files with 8 additions and 8 deletions

View File

@ -285,6 +285,7 @@ pref.dlg.RASPfiles = RASP motor files (*.eng)
pref.dlg.RockSimfiles = RockSim engine files (*.rse)
pref.dlg.ZIParchives = ZIP archives (*.zip)
pref.dlg.checkbox.Checkupdates = Check for software updates at startup
pref.dlg.checkbox.Checkupdates.ttip = Check for software updates every time you start up OpenRocket
pref.dlg.ttip.Checkupdatesnow = Check for software updates now
pref.dlg.lbl.Selectprefunits = Select your preferred units:
pref.dlg.lbl.Rocketinfofontsize = Size of text in rocket design panel:

View File

@ -24,8 +24,7 @@ import net.sf.openrocket.util.ComparablePair;
import net.sf.openrocket.gui.widgets.SelectColorButton;
public class UpdateInfoDialog extends JDialog {
private final JCheckBox remind;
private final JCheckBox checkAtStartup;
private static final Translator trans = Application.getTranslator();
public UpdateInfoDialog(UpdateInfo info) {
@ -66,12 +65,12 @@ public class UpdateInfoDialog extends JDialog {
"gaptop para, alignx 50%, wrap unrel");
panel.add(new URLLabel(AboutDialog.OPENROCKET_URL), "alignx 50%, wrap para");
//// Remind me later
remind = new JCheckBox("Remind me later");
//// Show this update also the next time you start OpenRocket
remind.setToolTipText("Show this update also the next time you start OpenRocket");
remind.setSelected(true);
panel.add(remind);
//// Check for software updates at startup
checkAtStartup = new JCheckBox(trans.get("pref.dlg.checkbox.Checkupdates"));
//// Check for software updates every time you start up OpenRocket
checkAtStartup.setToolTipText(trans.get("pref.dlg.checkbox.Checkupdates.ttip"));
checkAtStartup.setSelected(true);
panel.add(checkAtStartup);
// Cancel button
JButton button = new SelectColorButton(trans.get("button.cancel"));