Revision 457 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.swing/org.gvsig.scripting.swing.impl/src/main/java/org/gvsig/scripting/swing/impl/composer/JHelpSelection.java
JHelpSelection.java | ||
---|---|---|
125 | 125 |
setPreferredSize(new Dimension(300, 150)); |
126 | 126 |
} else { |
127 | 127 |
JTextField textfield = new JTextField( |
128 |
"There isn't any help to the text '" + text + "'.");
|
|
128 |
this.uimanager.getTranslation("help_key")+" '" + text + "'.");
|
|
129 | 129 |
textfield.setEditable(false); |
130 | 130 |
add(textfield, BorderLayout.CENTER); |
131 | 131 |
setPreferredSize(new Dimension(300, 50)); |
... | ... | |
138 | 138 |
public void actionAccept() { |
139 | 139 |
ScriptingHelpClass helpClass = (ScriptingHelpClass) list.getSelectedValue(); |
140 | 140 |
if ( helpClass == null ) { |
141 |
JOptionPane.showMessageDialog(null, "Please, select any help",
|
|
142 |
"Error", JOptionPane.ERROR_MESSAGE);
|
|
141 |
JOptionPane.showMessageDialog(null, this.uimanager.getTranslation("Error_help"),
|
|
142 |
this.uimanager.getTranslation("Error"), JOptionPane.ERROR_MESSAGE);
|
|
143 | 143 |
return; |
144 | 144 |
} |
145 | 145 |
setVisible(false); |
Also available in: Unified diff