[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:
parent
201ab91e47
commit
a1ba014f33
@ -285,6 +285,7 @@ pref.dlg.RASPfiles = RASP motor files (*.eng)
|
|||||||
pref.dlg.RockSimfiles = RockSim engine files (*.rse)
|
pref.dlg.RockSimfiles = RockSim engine files (*.rse)
|
||||||
pref.dlg.ZIParchives = ZIP archives (*.zip)
|
pref.dlg.ZIParchives = ZIP archives (*.zip)
|
||||||
pref.dlg.checkbox.Checkupdates = Check for software updates at startup
|
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.ttip.Checkupdatesnow = Check for software updates now
|
||||||
pref.dlg.lbl.Selectprefunits = Select your preferred units:
|
pref.dlg.lbl.Selectprefunits = Select your preferred units:
|
||||||
pref.dlg.lbl.Rocketinfofontsize = Size of text in rocket design panel:
|
pref.dlg.lbl.Rocketinfofontsize = Size of text in rocket design panel:
|
||||||
|
@ -24,8 +24,7 @@ import net.sf.openrocket.util.ComparablePair;
|
|||||||
import net.sf.openrocket.gui.widgets.SelectColorButton;
|
import net.sf.openrocket.gui.widgets.SelectColorButton;
|
||||||
|
|
||||||
public class UpdateInfoDialog extends JDialog {
|
public class UpdateInfoDialog extends JDialog {
|
||||||
|
private final JCheckBox checkAtStartup;
|
||||||
private final JCheckBox remind;
|
|
||||||
private static final Translator trans = Application.getTranslator();
|
private static final Translator trans = Application.getTranslator();
|
||||||
|
|
||||||
public UpdateInfoDialog(UpdateInfo info) {
|
public UpdateInfoDialog(UpdateInfo info) {
|
||||||
@ -66,12 +65,12 @@ public class UpdateInfoDialog extends JDialog {
|
|||||||
"gaptop para, alignx 50%, wrap unrel");
|
"gaptop para, alignx 50%, wrap unrel");
|
||||||
panel.add(new URLLabel(AboutDialog.OPENROCKET_URL), "alignx 50%, wrap para");
|
panel.add(new URLLabel(AboutDialog.OPENROCKET_URL), "alignx 50%, wrap para");
|
||||||
|
|
||||||
//// Remind me later
|
//// Check for software updates at startup
|
||||||
remind = new JCheckBox("Remind me later");
|
checkAtStartup = new JCheckBox(trans.get("pref.dlg.checkbox.Checkupdates"));
|
||||||
//// Show this update also the next time you start OpenRocket
|
//// Check for software updates every time you start up OpenRocket
|
||||||
remind.setToolTipText("Show this update also the next time you start OpenRocket");
|
checkAtStartup.setToolTipText(trans.get("pref.dlg.checkbox.Checkupdates.ttip"));
|
||||||
remind.setSelected(true);
|
checkAtStartup.setSelected(true);
|
||||||
panel.add(remind);
|
panel.add(checkAtStartup);
|
||||||
|
|
||||||
// Cancel button
|
// Cancel button
|
||||||
JButton button = new SelectColorButton(trans.get("button.cancel"));
|
JButton button = new SelectColorButton(trans.get("button.cancel"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user