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

    r5210 r5342  
    8888    setModal(true);
    8989    setSize(SIZE);
    90     setTitle(get("Title"));
     90    setTitle(get("CDM.ArgumentConfiguration.Title"));
    9191    setJMenuBar(new SimpleMenuBar("7.0")); // can we tell whether we are doing a classifier or plugin, to make the help more specific??
    9292    JPanel button_pane = new JPanel();
     
    101101        custom = new JTextField();
    102102    }
    103     JLabel custom_label = new JLabel(get("Custom"));
     103    JLabel custom_label = new JLabel(get("CDM.ArgumentConfiguration.Custom"));
    104104    custom_label.setPreferredSize(LABEL_SIZE);
    105105    JPanel custom_pane = new JPanel();
    106106    String args[] = new String[1];
    107107    args[0] = data.getName();
    108     JLabel header = new JLabel(get("Header",args));
     108    JLabel header = new JLabel(get("CDM.ArgumentConfiguration.Header",args));
    109109    args = null;
    110110    header.setHorizontalAlignment(JLabel.CENTER);
     
    418418            model.addElement(values.get(i));
    419419        }
    420         one = new JButton(get("Add"));
     420        one = new JButton(get("CDM.ArgumentConfiguration.Add"));
    421421        one.addActionListener(new AddListener((JComboBox)value, list));
    422         two = new JButton(get("Remove"));
     422        two = new JButton(get("CDM.ArgumentConfiguration.Remove"));
    423423        two.addActionListener(new RemoveListener(list));
    424424        if(argument.getValues().size() > 0 || argument.isRequired()) {
     
    537537                String args[] = new String[1];
    538538                args[0] = argument.getName();
    539                 JOptionPane.showMessageDialog(self, get("Required_Argument", args), get("Error_Title"), JOptionPane.ERROR_MESSAGE);
     539                JOptionPane.showMessageDialog(self, get("CDM.ArgumentConfiguration.Required_Argument", args), get("CDM.ArgumentConfiguration.Error_Title"), JOptionPane.ERROR_MESSAGE);
    540540                args = null;
    541541                return false;
     
    560560                args[0] = argument.getName();
    561561                args[1] = result;
    562                 JOptionPane.showMessageDialog(self, get("Bad_Integer", args), get("Error_Title"), JOptionPane.ERROR_MESSAGE);
     562                JOptionPane.showMessageDialog(self, get("CDM.ArgumentConfiguration.Bad_Integer", args), get("CDM.ArgumentConfiguration.Error_Title"), JOptionPane.ERROR_MESSAGE);
    563563                args = null;
    564564                return false;
     
    570570                String args[] = new String[1];
    571571                args[0] = argument.getName();
    572                 JOptionPane.showMessageDialog(self, get("Required_Argument", args), get("Error_Title"), JOptionPane.ERROR_MESSAGE);
     572                JOptionPane.showMessageDialog(self, get("CDM.ArgumentConfiguration.Required_Argument", args), get("CDM.ArgumentConfiguration.Error_Title"), JOptionPane.ERROR_MESSAGE);
    573573                args = null;
    574574                return false;
     
    609609                String args[] = new String[1];
    610610                args[0] = argument.getName();
    611                 JOptionPane.showMessageDialog(self, get("Required_Argument", args), get("Error_Title"), JOptionPane.ERROR_MESSAGE);
     611                JOptionPane.showMessageDialog(self, get("CDM.ArgumentConfiguration.Required_Argument", args), get("CDM.ArgumentConfiguration.Error_Title"), JOptionPane.ERROR_MESSAGE);
    612612                return false;
    613613            }
Note: See TracChangeset for help on using the changeset viewer.