- Timestamp:
- 2003-08-29T12:00:36+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/collection/SaveCollectionBox.java
r4675 r5355 67 67 // Dialog setup 68 68 this.setModal(true); 69 this.setTitle(get(" Title"));69 this.setTitle(get("SaveCollectionBox.Title")); 70 70 this.setSize(360,100); 71 71 } … … 103 103 String args[] = new String[1]; 104 104 args[0] = name; 105 JLabel save_label = new JLabel(get(" Label", args));105 JLabel save_label = new JLabel(get("SaveCollectionBox.Label", args)); 106 106 content_pane.add(save_label); 107 107 JPanel button_pane = new JPanel(new GridLayout(1,3)); -
trunk/gli/src/org/greenstone/gatherer/gui/Filter.java
r5301 r5355 106 106 } 107 107 combobox.setEditable(true); 108 label = new JLabel(get("Filter _Tree"));108 label = new JLabel(get("Filter.Filter_Tree")); 109 109 label.setPreferredSize(SIZE); 110 110 // Add listeners. … … 246 246 ///ystem.err.println("Filter = " + temp_str); 247 247 // Ignore any string which matches a predefined filter, starting with All Files. 248 if(temp_str.equals(get(" All_Files"))) {248 if(temp_str.equals(get("Filter.All_Files"))) { 249 249 } 250 250 // HTM & HTML 251 else if(temp_str.equals(get(" 0"))) {251 else if(temp_str.equals(get("Filter.0"))) { 252 252 } 253 253 // XML 254 else if(temp_str.equals(get(" 1"))) {254 else if(temp_str.equals(get("Filter.1"))) { 255 255 } 256 256 // Text files 257 else if(temp_str.equals(get(" 2"))) {257 else if(temp_str.equals(get("Filter.2"))) { 258 258 } 259 259 // Images 260 else if(temp_str.equals(get(" 3"))) {260 else if(temp_str.equals(get("Filter.3"))) { 261 261 } 262 262 else { … … 281 281 catch (PatternSyntaxException error) { 282 282 if(first) { 283 JOptionPane.showMessageDialog(Gatherer.g_man, get(" Invalid_Pattern"), get("General.Error"), JOptionPane.ERROR_MESSAGE);283 JOptionPane.showMessageDialog(Gatherer.g_man, get("Filter.Invalid_Pattern"), get("General.Error"), JOptionPane.ERROR_MESSAGE); 284 284 } 285 285 } … … 326 326 } 327 327 else if(pattern == null) { 328 result = get(" All_Files");328 result = get("Filter.All_Files"); 329 329 } 330 330 else { -
trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionMetadataPrompt.java
r5159 r5355 35 35 setModal(true); 36 36 setSize(size); 37 setTitle(get(" Title"));37 setTitle(get("NewCollectionPrompt.Title")); 38 38 39 39 // And the remaining metadata sets. … … 53 53 54 54 JPanel instructions_panel = new JPanel(); 55 JLabel instructions_label1 = new JLabel(get(" Metadata_Instructions1"));56 JLabel instructions_label2 = new JLabel(get(" Metadata_Instructions2"));55 JLabel instructions_label1 = new JLabel(get("NewCollectionPrompt.Metadata_Instructions1")); 56 JLabel instructions_label2 = new JLabel(get("NewCollectionPrompt.Metadata_Instructions2")); 57 57 58 58 JPanel center_pane = new JPanel(); 59 59 60 60 JPanel sets_list_pane = new JPanel(); 61 JLabel sets_list_label = new JLabel(get(" Select_MDS"));61 JLabel sets_list_label = new JLabel(get("NewCollectionPrompt.Select_MDS")); 62 62 sets_list_label.setOpaque(false); 63 63 sets_list = new CheckList(sets, true); 64 64 65 65 JPanel elements_list_pane = new JPanel(); 66 JLabel elements_list_label = new JLabel(get(" Metadata_Elements"));66 JLabel elements_list_label = new JLabel(get("NewCollectionPrompt.Metadata_Elements")); 67 67 elements_list = new JList(); 68 68 elements_list.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false)); -
trunk/gli/src/org/greenstone/gatherer/msm/ExportMDSPrompt.java
r4674 r5355 97 97 if(export) { 98 98 setSize(EXPORT_SIZE); 99 setTitle(get(" Export_Title"));99 setTitle(get("MSMPrompt.Export_Title")); 100 100 setJMenuBar(new SimpleMenuBar("0")); // need to find an appropriate help page to open at 101 101 } 102 102 else { 103 103 setSize(IMPORT_SIZE); 104 setTitle(get(" Import_Title"));104 setTitle(get("MSMPrompt.Import_Title")); 105 105 setJMenuBar(new SimpleMenuBar("0")); // need to find an appropriate help page to open at 106 106 } 107 107 JPanel content_pane = (JPanel) getContentPane(); 108 108 JPanel control_pane = new JPanel(); 109 JLabel set_label = new JLabel(get(" Export_Set"));109 JLabel set_label = new JLabel(get("MSMPrompt.Export_Set")); 110 110 sets = new JComboBox(manager.getSets()); 111 JLabel condition_label = new JLabel(get(" Export_Conditions"));111 JLabel condition_label = new JLabel(get("MSMPrompt.Export_Conditions")); 112 112 JPanel condition_pane = new JPanel(); 113 113 ButtonGroup condition_group = new ButtonGroup(); 114 all_values = new JRadioButton(get(" Export_All_Values"));114 all_values = new JRadioButton(get("MSMPrompt.Export_All_Values")); 115 115 all_values.setOpaque(false); 116 116 condition_group.add(all_values); 117 no_values = new JRadioButton(get(" Export_No_Values"));117 no_values = new JRadioButton(get("MSMPrompt.Export_No_Values")); 118 118 no_values.setOpaque(false); 119 119 condition_group.add(no_values); 120 structure_only = new JRadioButton(get(" Export_Subjects_Only"));120 structure_only = new JRadioButton(get("MSMPrompt.Export_Subjects_Only")); 121 121 structure_only.setOpaque(false); 122 122 condition_group.add(structure_only); 123 123 all_values.setSelected(true); 124 JLabel file_label = new JLabel(get(" Export_File"));124 JLabel file_label = new JLabel(get("MSMPrompt.Export_File")); 125 125 JPanel file_pane = new JPanel(); 126 126 file_name = new JTextField(Utility.METADATA_DIR); … … 128 128 JPanel button_pane = new JPanel(); 129 129 if(export) { 130 export_button = new JButton(get(" File_Export"));130 export_button = new JButton(get("MSMPrompt.File_Export")); 131 131 export_button.setEnabled(false); 132 132 } 133 133 else { 134 export_button = new JButton(get(" File_Import"));134 export_button = new JButton(get("MSMPrompt.File_Import")); 135 135 export_button.setEnabled(true); 136 136 }
Note:
See TracChangeset
for help on using the changeset viewer.