Ignore:
Timestamp:
2003-08-29T10:17:44+12:00 (21 years ago)
Author:
mdewsnip
Message:

Changed dictionary get()s to have the whole key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java

    r5307 r5342  
    249249        // Create
    250250        JPanel instructions_pane = new JPanel();
    251         JLabel title_label = new JLabel(get("Title"));
     251        JLabel title_label = new JLabel(get("CDM.FormatManager.Title"));
    252252        title_label.setHorizontalAlignment(JLabel.CENTER);
    253253        title_label.setOpaque(true);
    254         instructions_textarea = new JTextArea(get("Instructions"));
     254        instructions_textarea = new JTextArea(get("CDM.FormatManager.Instructions"));
    255255        instructions_textarea.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false));
    256256        instructions_textarea.setEditable(false);
     
    259259        instructions_textarea.setWrapStyleWord(true);
    260260
    261         JLabel format_label = new JLabel(get("Assigned_Formats"));
     261        JLabel format_label = new JLabel(get("CDM.FormatManager.Assigned_Formats"));
    262262        format_list = new JList(model);
    263263
    264264        selection_pane = new JPanel();
    265265        JPanel feature_pane = new JPanel();
    266         JLabel feature_label = new JLabel(get("Feature"));
     266        JLabel feature_label = new JLabel(get("CDM.FormatManager.Feature"));
    267267        feature_label.setPreferredSize(Utility.LABEL_SIZE);
    268268        feature_combobox = new JComboBox(feature_model.toArray());
    269269        feature_combobox.setEditable(false);
    270270        part_pane = new JPanel();
    271         JLabel part_label = new JLabel(get("Part"));
     271        JLabel part_label = new JLabel(get("CDM.FormatManager.Part"));
    272272        part_label.setPreferredSize(Utility.LABEL_SIZE);
    273273        part_combobox = new JComboBox(part_model.toArray());
     
    283283        JPanel editor_pane = new JPanel();
    284284        JPanel editor_header_pane = new JPanel();
    285         JLabel editor_label = new JLabel(get("Editor"));
     285        JLabel editor_label = new JLabel(get("CDM.FormatManager.Editor"));
    286286        //reset_button = new JButton(get("Reset"));
    287287        //reset_button.setMnemonic(KeyEvent.VK_T);
     
    294294
    295295        JPanel variable_pane = new JPanel();
    296         JLabel variable_label = new JLabel(get("Variable"));
     296        JLabel variable_label = new JLabel(get("CDM.FormatManager.Variable"));
    297297        variable_combobox = new JComboBox(variable_model.toArray());
    298         insert_button = new JButton(get("Insert"));
     298        insert_button = new JButton(get("CDM.FormatManager.Insert"));
    299299        insert_button.setMnemonic(KeyEvent.VK_I);
    300300
    301301        JPanel flag_pane = new JPanel();
    302         enabled_checkbox = new JCheckBox(get("Enabled"));
     302        enabled_checkbox = new JCheckBox(get("CDM.FormatManager.Enabled"));
    303303
    304304        JPanel button_pane = new JPanel();
    305         add_button = new JButton(get("Add"));
     305        add_button = new JButton(get("CDM.FormatManager.Add"));
    306306        add_button.setEnabled(false);
    307307        add_button.setMnemonic(KeyEvent.VK_A);
    308         replace_button = new JButton(get("Replace"));
     308        replace_button = new JButton(get("CDM.FormatManager.Replace"));
    309309        replace_button.setEnabled(false);
    310310        replace_button.setMnemonic(KeyEvent.VK_C);
    311         remove_button = new JButton(get("Remove"));
     311        remove_button = new JButton(get("CDM.FormatManager.Remove"));
    312312        remove_button.setEnabled(false);
    313313        remove_button.setMnemonic(KeyEvent.VK_R);
     
    372372        button_pane.add(remove_button);
    373373
    374         center_pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder(get("Editing_Controls")), BorderFactory.createEmptyBorder(2,2,2,2)));
     374        center_pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder(get("CDM.FormatManager.Editing_Controls")), BorderFactory.createEmptyBorder(2,2,2,2)));
    375375        center_pane.setLayout(new BorderLayout());
    376376        center_pane.add(selection_pane, BorderLayout.NORTH);
Note: See TracChangeset for help on using the changeset viewer.