frame = new JDialog(Desktop.instance, true);
- frame.setTitle("Edit parameters for " + service.getActionText());
+ frame.setTitle(MessageManager.formatMessage("label.edit_params_for", new String[]{service.getActionText()}));
Rectangle deskr = Desktop.instance.getBounds();
Dimension pref = this.getPreferredSize();
frame.setBounds(new Rectangle(
public void run()
{
JOptionPane.showMessageDialog(ourframe,
- "Invalid name - preset already exists.",
- "Invalid name", JOptionPane.WARNING_MESSAGE);
+ MessageManager.getString("label.invalid_name_preset_exists"),
+ MessageManager.getString("label.invalid_name"), JOptionPane.WARNING_MESSAGE);
}
});