Added two localization keys - appearance tab, and rocket panel, view

type.
This commit is contained in:
kruland2607 2013-04-28 18:15:38 -05:00
parent fee17f3878
commit d2822b5fc6
3 changed files with 8 additions and 9 deletions

View File

@ -54,7 +54,7 @@ RocketPanel.FigTypeAct.Unfinished = 3D Unfinished
RocketPanel.lbl.Flightcfg = Flight configuration:
RocketPanel.but.FlightcfgEdit = Edit
RocketPanel.lbl.infoMessage = <html>Click to select &nbsp;&nbsp; Shift+click to select other &nbsp;&nbsp; Double-click to edit &nbsp;&nbsp; Click+drag to move
RocketPanel.lbl.ViewType = View Type:
! BasicFrame
BasicFrame.tab.Rocketdesign = Rocket design
@ -766,6 +766,7 @@ RocketCompCfg.tab.Figure = Figure
RocketCompCfg.tab.Figstyleopt = Figure style options
RocketCompCfg.tab.Comment = Comment
RocketCompCfg.tab.Specifyacomment = Specify a comment for the component
RocketCompCfg.tab.Appearance = Appearance
RocketCompCfg.lbl.Mass = Mass:
RocketCompCfg.lbl.Componentmass = Component mass:
RocketCompCfg.lbl.overriddento = (overridden to

View File

@ -64,7 +64,7 @@ public class RocketComponentConfig extends JPanel {
protected final JTextField componentNameField;
protected JTextArea commentTextArea;
private final TextFieldListener textFieldListener;
private JPanel buttonPanel;
private JLabel infoLabel;
@ -106,10 +106,10 @@ public class RocketComponentConfig extends JPanel {
tabbedPane.addTab(trans.get("RocketCompCfg.tab.Override"), null, overrideTab(),
trans.get("RocketCompCfg.tab.MassandCGoverride"));
if (component.isMassive())
//// Appearance options
tabbedPane.addTab("Appearance", null, new AppearancePanel(document,component),
"Appearance Tool Tip");
//// Appearance options
tabbedPane.addTab(trans.get("RocketCompCfg.tab.Appearance"), null, new AppearancePanel(document, component),
"Appearance Tool Tip");
//// Comment and Specify a comment for the component
tabbedPane.addTab(trans.get("RocketCompCfg.tab.Comment"), null, commentTab(),

View File

@ -301,7 +301,7 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
}
}
};
add(new JLabel("View Type:"), "spanx, split");
add(new JLabel(trans.get("RocketPanel.lbl.ViewType")), "spanx, split");
add(new JComboBox(cm));
@ -368,8 +368,6 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
addExtras();
}
public RocketFigure getFigure() {
return figure;
}