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/SubcollectionManager.java

    r5310 r5342  
    188188        JPanel border_pane = new JPanel();
    189189        JPanel header_pane = new JPanel();
    190         instructions_area = new JTextArea(get("Instructions"));
     190        instructions_area = new JTextArea(get("CDM.SubcollectionManager.Instructions"));
    191191        instructions_area.setEditable(false);
    192192        instructions_area.setLineWrap(true);
     
    194194        instructions_area.setWrapStyleWord(true);
    195195        tabbed_pane = new JTabbedPane();
    196         JLabel title = new JLabel(get("Title"));
     196        JLabel title = new JLabel(get("CDM.SubcollectionManager.Title"));
    197197        title.setHorizontalAlignment(JLabel.CENTER);
    198198       
    199199        JPanel button_pane_3 = new JPanel();
    200         add_button = new JButton(get("Add"));
     200        add_button = new JButton(get("CDM.SubcollectionManager.Add"));
    201201        add_button.setMnemonic(KeyEvent.VK_A);
    202202        add_button.setEnabled(false);
    203         remove_button = new JButton(get("Remove"));
     203        remove_button = new JButton(get("CDM.SubcollectionManager.Remove"));
    204204        remove_button.setMnemonic(KeyEvent.VK_R);
    205205        remove_button.setEnabled(false);
    206         update_button = new JButton(get("Replace"));
     206        update_button = new JButton(get("CDM.SubcollectionManager.Replace"));
    207207        update_button.setMnemonic(KeyEvent.VK_U);
    208208        update_button.setEnabled(false);
     
    210210        JPanel button_pane = new JPanel();
    211211        JPanel button_pane_1 = new JPanel();
    212         include_button = new JRadioButton(get("Include"));
     212        include_button = new JRadioButton(get("CDM.SubcollectionManager.Include"));
    213213        include_button.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false));
    214214        include_button.setMnemonic(KeyEvent.VK_I);
    215215        include_button.setOpaque(false);
    216         exclude_button = new JRadioButton(get("Exclude"));
     216        exclude_button = new JRadioButton(get("CDM.SubcollectionManager.Exclude"));
    217217        exclude_button.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false));
    218218        exclude_button.setMnemonic(KeyEvent.VK_X);
    219219        exclude_button.setOpaque(false);
    220220        flags_field = new NonWhitespaceField();
    221         JLabel flags_label = new JLabel(get("Flags"));
    222         JLabel inclusive_label = new JLabel(get("Inclusive"));
     221        JLabel flags_label = new JLabel(get("CDM.SubcollectionManager.Flags"));
     222        JLabel inclusive_label = new JLabel(get("CDM.SubcollectionManager.Inclusive"));
    223223        JPanel inclusive_pane = new JPanel();
    224224        match_field = new JTextField();
    225         JLabel match_label = new JLabel(get("Match"));
     225        JLabel match_label = new JLabel(get("CDM.SubcollectionManager.Match"));
    226226        name_field = new NonWhitespaceField();
    227         JLabel name_label = new JLabel(get("Name"));
     227        JLabel name_label = new JLabel(get("CDM.SubcollectionManager.Name"));
    228228        Vector source_model = Gatherer.c_man.getCollection().msm.getAssignedElements();
    229229        source_model.add(0, StaticStrings.FILENAME_STR);
    230230        source_combobox = new JComboBox(source_model);
    231         JLabel source_label = new JLabel(get("Source"));
     231        JLabel source_label = new JLabel(get("CDM.SubcollectionManager.Source"));
    232232        subcollection_list = new JList(model);
    233233        subcollection_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
     
    238238        include_button.setSelected(true);
    239239        JPanel subcollection_list_pane = new JPanel();
    240         JLabel subcollection_list_label = new JLabel(get("Assigned"));
     240        JLabel subcollection_list_label = new JLabel(get("CDM.SubcollectionManager.Assigned"));
    241241
    242242        // Add listeners
     
    296296        subcollection_pane.add(button_pane, BorderLayout.SOUTH);
    297297
    298         tabbed_pane.addTab(get("Subcollection_Controls"), subcollection_pane);
    299         tabbed_pane.addTab(get("Subindex_Controls"), (JPanel) CollectionDesignManager.subcollectionindex_manager.getControls());
    300         tabbed_pane.addTab(get("Language_Controls"), (JPanel) CollectionDesignManager.language_manager.getControls());
     298        tabbed_pane.addTab(get("CDM.SubcollectionManager.Subcollection_Controls"), subcollection_pane);
     299        tabbed_pane.addTab(get("CDM.SubcollectionManager.Subindex_Controls"), (JPanel) CollectionDesignManager.subcollectionindex_manager.getControls());
     300        tabbed_pane.addTab(get("CDM.SubcollectionManager.Language_Controls"), (JPanel) CollectionDesignManager.language_manager.getControls());
    301301
    302302        border_pane.setBorder(BorderFactory.createEmptyBorder(0,5,5,5));
Note: See TracChangeset for help on using the changeset viewer.