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/JDialogContent.java
JDialogContent.java | ||
---|---|---|
82 | 82 |
content.getJComponent().addComponentListener(this); |
83 | 83 |
|
84 | 84 |
if(content.isVisibleAccept()){ |
85 |
accept = new JButton("Accept");
|
|
85 |
accept = new JButton(this.uimanager.getTranslation("Accept"));
|
|
86 | 86 |
accept.addActionListener(new ActionListener(){ |
87 | 87 |
public void actionPerformed(ActionEvent arg0) { |
88 | 88 |
content.actionAccept(); |
... | ... | |
94 | 94 |
} |
95 | 95 |
|
96 | 96 |
if(content.isVisibleCancel()){ |
97 |
JButton cancel = new JButton("Cancel");
|
|
97 |
JButton cancel = new JButton(this.uimanager.getTranslation("Cancel"));
|
|
98 | 98 |
cancel.addActionListener(new ActionListener(){ |
99 | 99 |
public void actionPerformed(ActionEvent arg0) { |
100 | 100 |
content.actionCancel(); |
... | ... | |
106 | 106 |
} |
107 | 107 |
|
108 | 108 |
if( content.isVisibleApply()){ |
109 |
JButton apply = new JButton("Apply");
|
|
109 |
JButton apply = new JButton(this.uimanager.getTranslation("Apply"));
|
|
110 | 110 |
apply.addActionListener(new ActionListener(){ |
111 | 111 |
public void actionPerformed(ActionEvent arg0) { |
112 | 112 |
content.actionApply(); |
Also available in: Unified diff