geoprocess_missing_i18n.patch

Antonio Falciano, 01/02/2015 07:15 PM

Download (11.3 KB)

View differences:

org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.buffer/src/main/java/org/gvsig/geoprocess/algorithm/buffer/BufferParametersPanel.java (copia locale)
131 131
				final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects();
132 132
				final Output out = ooSet.getOutput(BufferAlgorithm.RESULT);
133 133
				outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters());
134
				outputPanel.add(new JLabel(" Buffer [Vectorial]               "), BorderLayout.WEST);
134
				outputPanel.add(new JLabel(" " + GeoProcessLocator.getGeoProcessManager().getTranslation("Buffer") +
135
						" [" + GeoProcessLocator.getGeoProcessManager().getTranslation("Vectorial") +
136
						"]               "), BorderLayout.WEST);
135 137
				outputPanel.add(outputChannelSelectionPanel, BorderLayout.CENTER);
136 138
			} catch (final Exception e) {
137 139
				Sextante.addErrorToLog(e);
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.dissolve/src/main/java/org/gvsig/geoprocess/algorithm/dissolve/DissolveParametersPanel.java (copia locale)
137 137
				final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects();
138 138
				final Output out = ooSet.getOutput(DissolveAlgorithm.RESULT);
139 139
				outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters());
140
				outputPanel.add(new JLabel(" Dissolve [Vectorial]               "), BorderLayout.WEST);
140
				outputPanel.add(new JLabel(" " + GeoProcessLocator.getGeoProcessManager().getTranslation("Dissolve") +
141
						" [" + GeoProcessLocator.getGeoProcessManager().getTranslation("Vectorial") +
142
						"]               "), BorderLayout.WEST);
141 143
				outputPanel.add(outputChannelSelectionPanel, BorderLayout.CENTER);
142 144
			} catch (final Exception e) {
143 145
				Sextante.addErrorToLog(e);
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.fusespatially/src/main/java/org/gvsig/geoprocess/algorithm/fusespatially/FuseSpatiallyAlgorithm.java (copia locale)
68 68
		try {
69 69
			m_Parameters.addInputVectorLayer(LAYER, getTranslation("Input_layer"), IVectorLayer.SHAPE_TYPE_WRONG, true);
70 70
			m_Parameters.addBoolean(SELECTED_GEOM, getTranslation("Selected_geometries_fuse"), false);
71
			addOutputVectorLayer(RESULT, getTranslation("fuse_spatially"), OutputVectorLayer.SHAPE_TYPE_UNDEFINED);
72
			addOutputVectorLayer(RESULT_TABLE, getTranslation("fuse_spatially") + "_Table", OutputVectorLayer.SHAPE_TYPE_UNDEFINED);
71
			addOutputVectorLayer(RESULT, getTranslation("fuse_spatially") + " ", OutputVectorLayer.SHAPE_TYPE_UNDEFINED);
72
			addOutputVectorLayer(RESULT_TABLE, getTranslation("fuse_spatially") + "_" + getTranslation("Table") + " ", OutputVectorLayer.SHAPE_TYPE_UNDEFINED);
73 73
		} catch (RepeatedParameterNameException e) {
74 74
			Sextante.addErrorToLog(e);
75 75
		}
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.groupby/src/main/java/org/gvsig/geoprocess/algorithm/groupby/GroupByParametersPanel.java (copia locale)
162 162
				final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects();
163 163
				final Output out = ooSet.getOutput(GroupByAlgorithm.RESULT);
164 164
				outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters());
165
				outputPanel.add(new JLabel("GroupBy [Vectorial]                        "), BorderLayout.WEST);
165
				outputPanel.add(new JLabel(GeoProcessLocator.getGeoProcessManager().getTranslation("GroupBy") +
166
						" [" + GeoProcessLocator.getGeoProcessManager().getTranslation("Vectorial") + "]                       "),
167
						BorderLayout.WEST);
166 168
				outputPanel.add(outputChannelSelectionPanel, BorderLayout.CENTER);
167 169
			} catch (final Exception e) {
168 170
				Sextante.addErrorToLog(e);
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.lateralbuffer/src/main/java/org/gvsig/geoprocess/algorithm/lateralbuffer/LateralBufferParametersPanel.java (copia locale)
133 133
				final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects();
134 134
				final Output out = ooSet.getOutput(LateralBufferAlgorithm.RESULT);
135 135
				outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters());
136
				outputPanel.add(new JLabel(" Buffer [Vectorial]               "), BorderLayout.WEST);
136
				outputPanel.add(new JLabel(" " + GeoProcessLocator.getGeoProcessManager().getTranslation("lateral_buffer") +
137
						" [" + GeoProcessLocator.getGeoProcessManager().getTranslation("Vectorial") +
138
						"]               "), BorderLayout.WEST);
137 139
				outputPanel.add(outputChannelSelectionPanel, BorderLayout.CENTER);
138 140
			} catch (final Exception e) {
139 141
				Sextante.addErrorToLog(e);
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.merge/src/main/java/org/gvsig/geoprocess/algorithm/merge/MergeParametersPanel.java (copia locale)
139 139
				gbc.weightx = 1;
140 140
				gbc.gridx = 0;
141 141
				gbc.gridy = 0;
142
				outputPanel.add(new JLabel(" " + label + " [Polygon]               "), gbc);
142
				outputPanel.add(new JLabel(" " + label + " [" + 
143
						GeoProcessLocator.getGeoProcessManager().getTranslation("Polygon") + "]               "), gbc);
143 144
				
144 145
				gbc.gridx = 0;
145 146
				gbc.gridy = 1;
146
				outputPanel.add(new JLabel(" " + label + " [Line]               "), gbc);
147
				outputPanel.add(new JLabel(" " + label + " [" +
148
						GeoProcessLocator.getGeoProcessManager().getTranslation("Line") + "]               "), gbc);
147 149
				
148 150
				gbc.gridx = 0;
149 151
				gbc.gridy = 2;
150
				outputPanel.add(new JLabel(" " + label + " [Point]               "), gbc);
152
				outputPanel.add(new JLabel(" " + label + " [" +
153
						GeoProcessLocator.getGeoProcessManager().getTranslation("Point") + "]               "), gbc);
151 154
				
152 155
				gbc.fill = GridBagConstraints.HORIZONTAL;
153 156
				gbc.weightx = 1;
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.reproject/src/main/java/org/gvsig/geoprocess/algorithm/reproject/ReprojectParametersPanel.java (copia locale)
144 144
				gbc.weightx = 1;
145 145
				gbc.gridx = 0;
146 146
				gbc.gridy = 0;
147
				outputPanel.add(new JLabel(" " + label + " [Polygon]               "), gbc);
147
				outputPanel.add(new JLabel(" " + label + " [" +
148
						GeoProcessLocator.getGeoProcessManager().getTranslation("Polygon") + "]               "), gbc);
148 149
				
149 150
				gbc.gridx = 0;
150 151
				gbc.gridy = 1;
151
				outputPanel.add(new JLabel(" " + label + " [Line]               "), gbc);
152
				outputPanel.add(new JLabel(" " + label + " [" +
153
						GeoProcessLocator.getGeoProcessManager().getTranslation("Line") + "]               "), gbc);
152 154
				
153 155
				gbc.gridx = 0;
154 156
				gbc.gridy = 2;
155
				outputPanel.add(new JLabel(" " + label + " [Point]               "), gbc);
157
				outputPanel.add(new JLabel(" " + label + " [" +
158
						GeoProcessLocator.getGeoProcessManager().getTranslation("Point") + "]               "), gbc);
156 159
				
157 160
				gbc.fill = GridBagConstraints.HORIZONTAL;
158 161
				gbc.weightx = 1;
......
281 284
	private void init() {
282 285
		IVectorLayer layer = getSelectedVectorLayer();
283 286
		IProjection currentProj = (IProjection)layer.getCRS();
284
		getCurrentProjLabel().setText("Proj: " + currentProj.getAbrev());
287
		getCurrentProjLabel().setText(GeoProcessLocator.getGeoProcessManager().getTranslation("current_proj") + ": " + currentProj.getAbrev());
285 288
	}
286 289
	
287 290
	/*
org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.spatialjoin/src/main/java/org/gvsig/geoprocess/algorithm/spatialjoin/SpatialJoinParametersPanel.java (copia locale)
139 139
				final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects();
140 140
				final Output out = ooSet.getOutput(SpatialJoinAlgorithm.RESULT);
141 141
				outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters());
142
				outputPanel.add(new JLabel("Join [Vectorial]                        "), BorderLayout.WEST);
142
				outputPanel.add(new JLabel(GeoProcessLocator.getGeoProcessManager().getTranslation("Spatialjoin") +
143
						" [" + GeoProcessLocator.getGeoProcessManager().getTranslation("Vectorial") +"]                        "), BorderLayout.WEST);
143 144
				outputPanel.add(outputChannelSelectionPanel, BorderLayout.CENTER);
144 145
			} catch (final Exception e) {
145 146
				Sextante.addErrorToLog(e);