Revision 2170 branches/gvSIG_GisPlanet/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Panels/PropertiesRasterDialog.java

View differences:

PropertiesRasterDialog.java
277 277
	private void setTranslation(){
278 278
		this.getBandSetup().getFileList().getJButton2().setText(PluginServices.getText(this,"Anadir"));
279 279
		this.getBandSetup().getFileList().getJButton3().setText(PluginServices.getText(this,"Eliminar"));
280
		
280
			
281 281
		RasterTransparencyPanel tpan = this.getTransparencyPanel();
282 282
		if(tpan.nBands==1)
283 283
			tpan.jLabel1.setText(PluginServices.getText(this,"Valor_banda"));
......
288 288
		tpan.getTransparencyCheck().setText(PluginServices.getText(this,"transparencia"));
289 289
		tpan.getOpacityCheck().setText(PluginServices.getText(this,"opacidad"));
290 290
		tpan.jLabel3.setText(PluginServices.getText(this,"usar_rango"));
291
		
291
				
292 292
		EnhancedPanel ep = this.getEnhancedPanel();
293 293
		ep.jLabel.setText(PluginServices.getText(this,"lineal_directo"));
294 294
		ep.jLabel1.setText(PluginServices.getText(this,"recorte_colas"));
295 295
		ep.jLabel2.setText(PluginServices.getText(this,"sin_realce"));
296 296
		ep.jLabel4.setText(PluginServices.getText(this,"recorte"));
297 297
		ep.jLabel5.setText(PluginServices.getText(this,"eliminar_extremos"));
298
		
299
		
300
		
301
		
298
				
299
		//Recorremos los Tab y traducimos el nombre
300
		for(int i=0;i<this.getTab().getTabCount();i++){
301
			if(this.getTab().getTitleAt(i).equals("Info"))
302
				this.getTab().setTitleAt(i,PluginServices.getText(this,"Info"));
303
			if(this.getTab().getTitleAt(i).equals("Transparencia"))
304
				this.getTab().setTitleAt(i,PluginServices.getText(this,"Transparencia"));
305
			if(this.getTab().getTitleAt(i).equals("Bandas"))
306
				this.getTab().setTitleAt(i,PluginServices.getText(this,"Bandas"));
307
			if(this.getTab().getTitleAt(i).equals("Realce"))
308
				this.getTab().setTitleAt(i,PluginServices.getText(this,"realce"));
309
		}
302 310
	}
303 311
	
304 312
	/**

Also available in: Unified diff