- Timestamp:
- 2003-08-29T11:38:22+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/MetadataSetView.java
r5090 r5350 197 197 // Create visual components 198 198 central_pane = new JPanel(); 199 element_label = new JLabel(get(" Elements"));199 element_label = new JLabel(get("CDM.MetadataSetManager.Elements")); 200 200 element_label.setHorizontalAlignment(JLabel.CENTER); 201 201 element_label.setOpaque(true); … … 204 204 element_pane = new JPanel(); 205 205 header_pane = new JPanel(); 206 instructions = new JTextArea(get(" Instructions"));206 instructions = new JTextArea(get("CDM.MetadataSetManager.Instructions")); 207 207 instructions.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false)); 208 208 instructions.setEditable(false); … … 210 210 instructions.setRows(6); 211 211 instructions.setWrapStyleWord(true); 212 set_label = new JLabel(get(" Sets"));212 set_label = new JLabel(get("CDM.MetadataSetManager.Sets")); 213 213 set_label.setHorizontalAlignment(JLabel.CENTER); 214 214 set_label.setOpaque(true); … … 216 216 set_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 217 217 set_pane = new JPanel(); 218 title = new JLabel(get(" Title"));218 title = new JLabel(get("CDM.MetadataSetManager.Title")); 219 219 title.setHorizontalAlignment(JLabel.CENTER); 220 220 title.setOpaque(true); -
trunk/gli/src/org/greenstone/gatherer/gui/CollectionPane.java
r5327 r5350 565 565 } 566 566 if(tree == collection_tree && node != null && node.getFile() != null && node.getFile().isDirectory() && !node.isReadOnly()) { 567 new_folder = new JMenuItem(get(" New_Folder"), KeyEvent.VK_N);567 new_folder = new JMenuItem(get("CollectionPopupMenu.New_Folder"), KeyEvent.VK_N); 568 568 new_folder.addActionListener(this); 569 569 add(new_folder); … … 571 571 } 572 572 if(node == null || (node != null && !node.isReadOnly())) { 573 delete = new JMenuItem(get(" Delete"), KeyEvent.VK_D);573 delete = new JMenuItem(get("CollectionPopupMenu.Delete"), KeyEvent.VK_D); 574 574 delete.addActionListener(this); 575 575 add(delete); -
trunk/gli/src/org/greenstone/gatherer/gui/OptionsPane.java
r5164 r5350 179 179 log_list.addListSelectionListener(new LogListListener()); 180 180 181 JLabel log_history_label = new JLabel(get(" LogHistory"));181 JLabel log_history_label = new JLabel(get("OptionsPane.LogHistory")); 182 182 JPanel log_history_pane = new JPanel(); 183 183 log_history_pane.setPreferredSize(new Dimension(600, 100)); … … 562 562 switch (success) { 563 563 case SUCCESSFUL: 564 d.append(get(" Successful"));564 d.append(get("OptionsPane.Successful")); 565 565 break; 566 566 case UNSUCCESSFUL: 567 d.append(get(" Unsuccessful"));567 d.append(get("OptionsPane.Unsuccessful")); 568 568 break; 569 569 case CANCELLED: 570 d.append(get(" Cancelled"));570 d.append(get("OptionsPane.Cancelled")); 571 571 break; 572 572 default: 573 d.append(get(" Unknown"));573 d.append(get("OptionsPane.Unknown")); 574 574 } 575 575 display = d.toString(); -
trunk/gli/src/org/greenstone/gatherer/sarm/SearchAndReplace.java
r5183 r5350 137 137 setModal(false); 138 138 setSize(SIZE); 139 setTitle(get(" Title"));139 setTitle(get("SearchAndReplace.Title")); 140 140 setJMenuBar(new SimpleMenuBar("10.1")); 141 141 JPanel content_pane = (JPanel) getContentPane(); … … 144 144 145 145 JPanel search_pane = new JPanel(); 146 JLabel search_label = new JLabel(get("Search "));146 JLabel search_label = new JLabel(get("SearchAndReplace.Search")); 147 147 search_label.setPreferredSize(LABEL_SIZE); 148 148 search = new JTextField(""); 149 149 150 150 JPanel replace_pane = new JPanel(); 151 JLabel replace_label = new JLabel(get(" Replace"));151 JLabel replace_label = new JLabel(get("SearchAndReplace.Replace")); 152 152 replace_label.setPreferredSize(LABEL_SIZE); 153 153 replace = new JTextField(""); … … 158 158 159 159 JPanel options_pane = new JPanel(); 160 JLabel options_label = new JLabel(get(" Options"));160 JLabel options_label = new JLabel(get("SearchAndReplace.Options")); 161 161 options_label.setPreferredSize(LABEL_SIZE); 162 162 JPanel inner_options_pane = new JPanel(); 163 case_sensitive = new JCheckBox(get(" Case_Sensitive"));164 regular_expression = new JCheckBox(get(" Regular_Expression"));163 case_sensitive = new JCheckBox(get("SearchAndReplace.Case_Sensitive")); 164 regular_expression = new JCheckBox(get("SearchAndReplace.Regular_Expression")); 165 165 166 166 JPanel options2_pane = new JPanel(); 167 JLabel options2_label = new JLabel(get("Search _In"));167 JLabel options2_label = new JLabel(get("SearchAndReplace.Search_In")); 168 168 options2_label.setPreferredSize(LABEL_SIZE); 169 169 JPanel inner_options2_pane = new JPanel(); 170 search_elements = new JCheckBox(get("Search _Elements"));170 search_elements = new JCheckBox(get("SearchAndReplace.Search_Elements")); 171 171 search_elements.setSelected(true); 172 search_records = new JCheckBox(get("Search _Records"));172 search_records = new JCheckBox(get("SearchAndReplace.Search_Records")); 173 173 search_records.setSelected(true); 174 search_values = new JCheckBox(get("Search _Values"));174 search_values = new JCheckBox(get("SearchAndReplace.Search_Values")); 175 175 search_values.setSelected(true); 176 176 177 177 JPanel results_pane = new JPanel(); 178 status = new JLabel(get("S tatus"));178 status = new JLabel(get("SearchAndReplace.Status")); 179 179 180 180 JPanel buttons_pane = new JPanel(); 181 find_button = new JButton(get(" Find_Button"));181 find_button = new JButton(get("SearchAndReplace.Find_Button")); 182 182 find_button.setMnemonic(KeyEvent.VK_F); 183 find_next_button = new JButton(get(" Find_Next_Button"));183 find_next_button = new JButton(get("SearchAndReplace.Find_Next_Button")); 184 184 find_next_button.setEnabled(false); 185 185 find_next_button.setMnemonic(KeyEvent.VK_N); 186 replace_button = new JButton(get(" Replace_Button"));186 replace_button = new JButton(get("SearchAndReplace.Replace_Button")); 187 187 replace_button.setEnabled(false); 188 188 replace_button.setMnemonic(KeyEvent.VK_R); 189 replace_all_button = new JButton(get(" Replace_All_Button"));189 replace_all_button = new JButton(get("SearchAndReplace.Replace_All_Button")); 190 190 replace_all_button.setEnabled(false); 191 191 replace_all_button.setMnemonic(KeyEvent.VK_N); 192 reset_button = new JButton(get(" Reset"));192 reset_button = new JButton(get("SearchAndReplace.Reset")); 193 193 reset_button.setEnabled(false); 194 194 reset_button.setMnemonic(KeyEvent.VK_ESCAPE); 195 undo_button = new JButton(get(" Undo"));195 undo_button = new JButton(get("SearchAndReplace.Undo")); 196 196 undo_button.setEnabled(false); 197 197 undo_button.setMnemonic(KeyEvent.VK_U); 198 redo_button = new JButton(get(" Redo"));198 redo_button = new JButton(get("SearchAndReplace.Redo")); 199 199 redo_button.setEnabled(false); 200 200 redo_button.setMnemonic(KeyEvent.VK_D); … … 293 293 if(key != null) { 294 294 args[0] = search.getText(); 295 status.setText(get("S tatus") + ": " + get(key, args));295 status.setText(get("SearchAndReplace.Status") + ": " + get(key, args)); 296 296 } 297 297 else { 298 status.setText(get("S tatus"));298 status.setText(get("SearchAndReplace.Status")); 299 299 } 300 300 }
Note:
See TracChangeset
for help on using the changeset viewer.