Revision 8304 trunk/libraries/libJCRS/src/org/gvsig/crs/gui/CRSMainTrPanel.java
CRSMainTrPanel.java | ||
---|---|---|
165 | 165 |
private JLabel getJLabelTrans(){ |
166 | 166 |
JLabel jLabelTrans = new JLabel(); |
167 | 167 |
jLabelTrans.setPreferredSize(new Dimension(180, 25)); |
168 |
jLabelTrans.setText(PluginServices.getText(this, "seleccione_transformaci?n: "));
|
|
168 |
jLabelTrans.setText(PluginServices.getText(this, "seleccione_transformacion"));
|
|
169 | 169 |
return jLabelTrans; |
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
public JComboBox getJComboOptions(){ |
173 | 173 |
if (jComboOptions == null){ |
174 |
String[] selection = {"Sin transformacion", "Transformacion manual", |
|
175 |
"+nadgrids", "Transformacion EPSG"}; |
|
174 |
String[] selection = {PluginServices.getText(this, "sin_transformacion"), |
|
175 |
PluginServices.getText(this, "transformacion_manual"), |
|
176 |
"+"+PluginServices.getText(this, "nadgrids"), |
|
177 |
PluginServices.getText(this, "transformacion_epsg")}; |
|
176 | 178 |
jComboOptions = new JComboBox(selection); |
177 | 179 |
jComboOptions.setPreferredSize(new Dimension(150,25)); |
178 | 180 |
jComboOptions.setEnabled(false); |
... | ... | |
260 | 262 |
if (sin_tr) { |
261 | 263 |
ICrs crs; |
262 | 264 |
try { |
263 |
if (getDataSource().equals("EPSG")){
|
|
265 |
if (getDataSource().equals(PluginServices.getText(this,"EPSG"))){
|
|
264 | 266 |
crs = new CrsFactory().getCRS(crsMainPanel.getEpsgPanel().getCodeCRS(),crsMainPanel.getEpsgPanel().getWKT()); |
265 | 267 |
} |
266 |
else if (getDataSource().equals("IAU2000")){
|
|
268 |
else if (getDataSource().equals(PluginServices.getText(this,"IAU2000"))){
|
|
267 | 269 |
crs = new CrsFactory().getCRS(crsMainPanel.getIauPanel().getCodeCRS(),crsMainPanel.getIauPanel().getWKT()); |
268 | 270 |
} |
269 |
else if (getDataSource().equals("Recientes")){
|
|
271 |
else if (getDataSource().equals(PluginServices.getText(this,"recientes"))){
|
|
270 | 272 |
crs = new CrsFactory().getCRS(crsMainPanel.getRecentsPanel().getCodeCRS(),crsMainPanel.getRecentsPanel().getWKT()); |
271 | 273 |
} else { |
272 | 274 |
sin_tr = false; |
Also available in: Unified diff