- Timestamp:
- 2006-07-10T15:02:33+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/BuildTypeManager.java
r12102 r12123 103 103 104 104 JPanel main_panel = new JPanel(); 105 label = new JLabel(); 106 label.setText(Dictionary.get("CDM.BuildTypeManager.Current_Type", getBuildTypeString(getBuildType()))); 107 change_button = new GLIButton(); 108 Dictionary.registerBoth(change_button, "CDM.BuildTypeManager.Change", "CDM.BuildTypeManager.Change_Tooltip"); 109 105 label = new JLabel(Dictionary.get("CDM.BuildTypeManager.Current_Type", getBuildTypeString(getBuildType()))); 106 change_button = new GLIButton(Dictionary.get("CDM.BuildTypeManager.Change"), Dictionary.get("CDM.BuildTypeManager.Change_Tooltip")); 107 110 108 change_button.addActionListener(new ActionListener() { 111 109 public void actionPerformed(ActionEvent event) { … … 167 165 this.self = this; 168 166 setSize(DIALOG_SIZE); 169 Dictionary.setText(this, "CDM.BuildTypeManager.Title");167 setTitle(Dictionary.get("CDM.BuildTypeManager.Title")); 170 168 171 169 mg_button = new JRadioButton(BUILD_TYPE_MG_STR); … … 205 203 description_textarea.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 206 204 description_textarea.setText(Dictionary.get("CDM.BuildTypeManager."+current_build_type+"_Description")); 207 cancel_button = new GLIButton( );208 Dictionary.setBoth(cancel_button, "General.Cancel", "General.Cancel_Tooltip");205 cancel_button = new GLIButton(Dictionary.get("General.Cancel"), Dictionary.get("General.Cancel_Tooltip")); 206 209 207 cancel_button.addActionListener(new ActionListener() { 210 208 public void actionPerformed(ActionEvent event) { … … 213 211 }); 214 212 215 ok_button = new GLIButton( );216 Dictionary.setBoth(ok_button, "General.OK", "General.OK_Tooltip");213 ok_button = new GLIButton(Dictionary.get("General.OK"), Dictionary.get("General.OK_Tooltip")); 214 217 215 ok_button.addActionListener(new ActionListener() { 218 216 public void actionPerformed(ActionEvent event) {
Note:
See TracChangeset
for help on using the changeset viewer.