general_tab_i18n.patch

Antonio Falciano, 10/28/2014 08:03 AM

Download (5.64 KB)

View differences:

org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/properties/panel/GeneralPanel.java (copia locale)
515 515
			}
516 516
			html = setHTMLTable(html);
517 517
		} else {
518
			html += setHTMLTitleTable("Estadisticas no calculadas", 2);
518
			html += setHTMLTitleTable(Messages.getText("no_statistics_computed"), 2);
519 519
			html = setHTMLTable(html);
520 520
		}
521 521
		getJEditorStatsPanel().setText(html);
org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/properties/panel/NoDataPanel.java (copia locale)
55 55
public class NoDataPanel extends BasePanel implements ActionListener {
56 56
	private static final long   serialVersionUID       = 7645641060812458944L;
57 57
	private Logger              log                    = LoggerFactory.getLogger(NoDataPanel.class);
58
	private static final String NULL_NODATA            = "Not Defined";
58
	private static final String NULL_NODATA            = "not_defined";
59 59
	private static final String NAN_NODATA             = "NaN";
60 60
	private JLabel              jLabelValue            = null;
61 61
	private JButton             buttonSave             = null;
......
204 204
		if(text == null) 
205 205
			text = getCheckBoxValue();
206 206
		
207
		if(text == null || text.compareTo(NULL_NODATA) == 0) {
207
		if(text == null || text.compareTo(getText(this, NULL_NODATA)) == 0) {
208 208
			noData.setValue(null);
209 209
			noData.save();
210 210
			return;
......
282 282
		if (e.getSource() == getButtonDelete()) {
283 283
			noData.delete();
284 284
			noData.save();
285
			getTextFieldValue().setText(NULL_NODATA);
285
			getTextFieldValue().setText(getText(this, NULL_NODATA));
286 286
		}
287 287
		
288 288
		//Restores original nodata value
......
292 292
			if(noData.isDefined()) {
293 293
				setCheckBoxValue(noData.getValue().doubleValue());
294 294
			} else {
295
				getTextFieldValue().setText(NULL_NODATA);
295
				getTextFieldValue().setText(getText(this, NULL_NODATA));
296 296
			}
297 297
		}
298 298
		
......
323 323
		if(noData.isDefined()) {
324 324
			setCheckBoxValue(noData.getValue().doubleValue());
325 325
		} else {
326
			getTextFieldValue().setText(NULL_NODATA);
326
			getTextFieldValue().setText(getText(this, NULL_NODATA));
327 327
		}
328 328
		getCheckBoxNoDataEnabled().setSelected(noData.isNoDataTransparent());
329 329
	}
org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/properties/panel/TranspByPixelPanel.java (copia locale)
203 203
	 */
204 204
	public JButton getBAdd() {
205 205
		if (bAdd == null) {
206
			bAdd = new JButton("A?adir");
206
			bAdd = new JButton(PluginServices.getText(this, "add"));
207 207
			bAdd.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
208 208
			bAdd.setIcon(RasterToolsUtil.getIcon("forward-icon"));
209 209
		}
......
217 217
	 */
218 218
	public JButton getBRemove() {
219 219
		if (bRemove == null) {
220
			bRemove = new JButton("Quitar");
220
			bRemove = new JButton(PluginServices.getText(this, "remove"));
221 221
			bRemove.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
222 222
			bRemove.setIcon(RasterToolsUtil.getIcon("backward-icon"));
223 223
			bRemove.setEnabled(false);
org.gvsig.raster.tools.app.basic/src/main/resources-plugin/text.properties (copia locale)
605 605
save_as=Exportar
606 606
overviews=Overviews
607 607
layer_datatype=Cambiar tipo de dato
608
no_statistics_computed=Estadisticas no calculadas
609
not_defined=No definido
org.gvsig.raster.tools.app.basic/src/main/resources-plugin/text_en.properties (copia locale)
591 591
clip_raster=Clip
592 592
save_as=Export
593 593
overviews=Overviews
594
layer_datatype=Change data type
594
layer_datatype=Change data type
595
no_statistics_computed=No statistics computed
596
not_defined=Not defined
org.gvsig.raster.tools.app.basic/src/main/resources-plugin/text_it.properties (copia locale)
36 36
time=Tempo
37 37
width=Larghezza
38 38
yes=Si
39
no_statistics_computed=Statistiche non calcolate
40
not_defined=Non definito