Revision 23858
branches/v10/extensions/extJCRS/config/text.properties | ||
---|---|---|
1 | 1 |
#Translations for language [es] |
2 | 2 |
#Mon Sep 25 09:47:23 CEST 2006 |
3 |
metre=Metros |
|
4 |
degree=Grados |
|
5 | 3 |
scale_factor=Factor de Escala |
6 | 4 |
abrir=Abrir |
7 | 5 |
advertencia_nad=IMPORTANTE: La transformaci\u00f3n se aplicar\u00e1 dentro de los l\u00edmites de las rejillas. |
... | ... | |
218 | 216 |
nuevo=Nuevo |
219 | 217 |
eliminar=Eliminar |
220 | 218 |
more_info=M\u00e1s informaci\u00f3n del Crs seleccionado |
221 |
buscar_por_criterio_seleccion=B\u00fasqueda de un Crs seg\u00fan el criterio seleccionado |
|
219 |
buscar_por_criterio_seleccion=B\u00fasqueda de un Crs seg\u00fan el criterio seleccionado |
|
220 |
|
|
221 |
#UNIDADES ANGULARES: |
|
222 |
|
|
223 |
radian=radianes (RAD) |
|
224 |
degree=grados sexagesimales (DEG) |
|
225 |
arc-minute=minutos de arco |
|
226 |
arc-second=segundos de arco |
|
227 |
grad=grados centesimales (GRAD) |
|
228 |
gon=grados centesimales (GRAD) |
|
229 |
degree_minute_second=grados minutos segundos (sexagesimales) |
|
230 |
degree_minute_second_hemisphere= grados minutos segundos hemnisferio (sexagesimales) |
|
231 |
microradian=microradianes |
|
232 |
sexagesimal_DMS=sexagesimal seudo gg.mmssfs |
|
233 |
sexagesimal_DM=sexagesimal seudo gg.mmfm |
|
234 |
centesimal_minute=minutos centesimales |
|
235 |
centesimal_second=segundos centesimales |
|
236 |
mil_6400=mil?sima artillera |
|
237 |
degree_minute=minutos sexagesimales |
|
238 |
degree_hemisphere=minutos sexagesimales y hemisferio |
|
239 |
hemisphere_degree= grados sexagesimales y hemisferio |
|
240 |
degree_minute_hemisphere=grados sexagesimales (DM) y hemisferio |
|
241 |
hemisphere_degree_minute=sexagesimal (DM) y hemisferio |
|
242 |
hemisphere_degree_minute_second=sexagesimal (DMS) y hemisferio |
|
243 |
sexagesimal_DMS.s=sexagesimal seudo gg.mmssfs |
|
244 |
degree_(supplier_to_define_representation)=grados sexagesimales (DEG) |
|
245 |
|
|
246 |
#UNIDADES LONGITUD: |
|
247 |
metre=metros |
|
248 |
foot=pies |
|
249 |
US_survey_foot=pies topogr\u00e1ficos estadounidenses |
|
250 |
Clarke's_foot=pies de Clarke |
|
251 |
fathom=brazas |
|
252 |
nautical_mile=millas na\u00faticas |
|
253 |
German_legal_metre=metros legales alemanes |
|
254 |
US_survey_chain=cadenas topogr\u00e1ficas estadounidenses |
|
255 |
US_survey_link=eslabones topogr\u00e1ficos estadounidenses |
|
256 |
US_survey_mile=millas topogr\u00e1ficas estadounidenses |
|
257 |
kilometre=kil\u00f3metros |
|
258 |
Clarke's_yard=yardas de Clarke |
|
259 |
Clarke's_chain=cadenas de Clarke |
|
260 |
Clarke's_link=eslabones de Clarke |
|
261 |
British_yard_(Sears_1922)=yardas brit\u00e1nicas (Sears 1922) |
|
262 |
British_foot_(Sears_1922)=pies brit\u00e1nicos (Sears 1922) |
|
263 |
British_chain_(Sears_1922)=cadenas brit\u00e1nicas (Sears 1922) |
|
264 |
British_link_(Sears_1922)=eslabones brit\u00e1nicos (Sears 1922) |
|
265 |
British_yard_(Benoit_1895_A)=yardas brit\u00e1nicas (Benoit 1895 A) |
|
266 |
British_foot_(Benoit_1895_A)=pies brit\u00e1nicos (Benoit 1895 A) |
|
267 |
British_chain_(Benoit_1895_A)=cadenas brit\u00e1nicas (Benoit 1895 A) |
|
268 |
British_link_(Benoit_1895_A)=eslabones brit\u00e1nicos (Benoit 1895 A) |
|
269 |
British_yard_(Benoit_1895_B)=yardas brit\u00e1nicas (Benoit 1895 B) |
|
270 |
British_foot_(Benoit_1895_B)=pies brit\u00e1nicos (Benoit 1895 B) |
|
271 |
British_chain_(Benoit_1895_B)=cadenas brit\u00e1nicos (Benoit 1895 B) |
|
272 |
British_link_(Benoit_1895_B)=eslabones brit\u00e1nicos (Benoit 1895 B) |
|
273 |
British_foot_(1865)=pies brit\u00e1nicos (1865) |
|
274 |
Indian_foot=pies indios |
|
275 |
Indian_foot_(1937)=pies indios (1937) |
|
276 |
Indian_foot_(1962)=pies indios (1962) |
|
277 |
Indian_foot_(1975)=pies indios (1975) |
|
278 |
Indian_yard=yardas indias |
|
279 |
Indian_yard_(1937)=yardas indias (1937) |
|
280 |
Indian_yard_(1962)=yardas indias (1962) |
|
281 |
Indian_yard_(1975)=yardas indias (1975) |
|
282 |
Statute_mile=millas (Statute) |
|
283 |
Gold_Coast_foot=pies (Gold Coast) |
|
284 |
British_foot_(1936)=pies brit\u00e1nicos (1936) |
|
285 |
yard=yardas |
|
286 |
chain=cadenas |
|
287 |
link=eslabones |
|
288 |
Link=eslabones |
|
289 |
British_yard_(Sears_1922_truncated)=yardas brit\u00e1nicas (Sears 1922 truncadas) |
|
290 |
Bin_width_330_US_survey_feet=pies (Bin width 330 US survey) |
|
291 |
Bin_width_165_US_survey_feet=pies (Bin_width 165 US survey) |
|
292 |
Bin_width_82.5_US_survey_feet=pies (Bin width 82.5 US survey) |
|
293 |
Bin_width_37.5_metres=metros (Bin width 37.5) |
|
294 |
Bin_width_25_metres=metros (Bin width 25) |
|
295 |
Bin_width_12.5_metres=metros (Bin width 12.5) |
|
296 |
Bin_width_6.25_metres=metros (Bin width 6.25) |
|
297 |
Bin_width_3.125_metres=metros (Bin width 3.125) |
|
298 |
British_foot_(Sears_1922_truncated)=pies brit\u00e1nicos (Sears 1922 truncados) |
|
299 |
British_chain_(Sears_1922_truncated)=cadenas brit\u00e1nicas (Sears 1922 truncados) |
|
300 |
British_link_(Sears_1922_truncated)=eslabones brit\u00e1nicos (Sears 1922 truncados) |
branches/v10/extensions/extJCRS/config/text_en.properties | ||
---|---|---|
163 | 163 |
xmin=Minimum X |
164 | 164 |
ymax=Maximum Y |
165 | 165 |
ymin=Minimum Y |
166 |
|
|
167 |
#UNIDADES ANGULARES: |
|
168 |
|
|
169 |
radian=radians |
|
170 |
degree=sexagesimal degrees |
|
171 |
arc-minute=minutes of arc |
|
172 |
arc-second=seconds of arc |
|
173 |
grad=centesimal degrees |
|
174 |
gon=centesimal degrees |
|
175 |
degree_minute_second=degree minute second (sexagesimal) |
|
176 |
degree_minute_second_hemisphere=degree minute second hemisphere (sexagesimal) |
|
177 |
microradian=microradians |
|
178 |
sexagesimal_DMS=sexagesimal DMS |
|
179 |
sexagesimal_DM=sexagesimal DM |
|
180 |
centesimal_minute=centesimal minutes |
|
181 |
centesimal_second=centesimal seconds |
|
182 |
mil_6400=mil 6400 |
|
183 |
degree_minute=sexagesimal minutes |
|
184 |
degree_hemisphere=sexagesimal minutes hemisphere |
|
185 |
hemisphere_degree= sexagesimal degrees hemisferio |
|
186 |
degree_minute_hemisphere=-- |
|
187 |
hemisphere_degree_minute=-- |
|
188 |
hemisphere_degree_minute_second=-- |
|
189 |
sexagesimal_DMS.s=sexagesimal DMS.s |
|
190 |
degree_(supplier_to_define_representation)=sexagesimal degrees(DEG) |
|
191 |
|
|
192 |
|
|
193 |
#UNIDADES LINEALES: |
|
194 |
|
|
195 |
metre=meters |
|
196 |
foot=feet |
|
197 |
US_survey_foot=US survey feet |
|
198 |
Clarke's_foot=Clarke's feet |
|
199 |
fathom=fathoms |
|
200 |
nautical_mile=nautical miles |
|
201 |
German_legal_metre=German legal metres |
|
202 |
US_survey_chain=US survey chains |
|
203 |
US_survey_link=US survey link |
|
204 |
US_survey_mile=US surveymiles |
|
205 |
kilometre=kilometres |
|
206 |
Clarke's_yard=Clarke's yards |
|
207 |
Clarke's_chain=Clarke's chains |
|
208 |
Clarke's_link=Clarke's links |
|
209 |
British_yard_(Sears_1922)=British yards (Sears 1922) |
|
210 |
British_foot_(Sears_1922)=British feet(Sears 1922) |
|
211 |
British_chain_(Sears_1922)=British chains (Sears 1922) |
|
212 |
British_link_(Sears_1922)=British links (Sears 1922) |
|
213 |
British_yard_(Benoit_1895_A)=British yards (Benoit 1895 A) |
|
214 |
British_foot_(Benoit_1895_A)=British feet (Benoit 1895 A) |
|
215 |
British_chain_(Benoit_1895_A)=British chains (Benoit 1895 A) |
|
216 |
British_link_(Benoit_1895_A)=British links(Benoit 1895 A) |
|
217 |
British_yard_(Benoit_1895_B)=British yards(Benoit 1895 B) |
|
218 |
British_foot_(Benoit_1895_B)=Britishfeet(Benoit 1895 B) |
|
219 |
British_chain_(Benoit_1895_B)=British chains (Benoit 1895 B) |
|
220 |
British_link_(Benoit_1895_B)=British links (Benoit 1895 B) |
|
221 |
British_foot_(1865)=Britishfeet (1865) |
|
222 |
Indian_foot=Indian feet |
|
223 |
Indian_foot_(1937)=Indian feet(1937) |
|
224 |
Indian_foot_(1962)=Indian feet(1962) |
|
225 |
Indian_foot_(1975)=Indian feet(1975) |
|
226 |
Indian_yard=Indian yards |
|
227 |
Indian_yard_(1937)=Indian yards(1937) |
|
228 |
Indian_yard_(1962)=Indian yards(1962) |
|
229 |
Indian_yard_(1975)=Indian yards(1975) |
|
230 |
Statute_mile=Statute miles |
|
231 |
Gold_Coast_foot=Gold Coast feet |
|
232 |
British_foot_(1936)=British feet (1936) |
|
233 |
yard=yards |
|
234 |
chain=chains |
|
235 |
link=links |
|
236 |
British_yard_(Sears_1922_truncated)=British yards (Sears 1922 truncated) |
|
237 |
Bin_width_330_US_survey_feet=Bin width 330 US survey feet |
|
238 |
Bin_width_165_US_survey_feet=Bin width 165 US survey feet |
|
239 |
Bin_width_82.5_US_survey_feet=Bin width 82.5 US survey feet |
|
240 |
Bin_width_37.5_metres=Bin width 37.5 metres |
|
241 |
Bin_width_25_metres=Bin width 25 metres |
|
242 |
Bin_width_12.5_metres=Bin width 12.5 metres |
|
243 |
Bin_width_6.25_metresBin width 6.25 metres |
|
244 |
Bin_width_3.125_metres=Bin width 3.125 metres |
|
245 |
British_foot_(Sears_1922_truncated)=British feet (Sears 1922 truncated) |
|
246 |
British_chain_(Sears_1922_truncated)=British chains (Sears 1922 truncated) |
|
247 |
British_link_(Sears_1922_truncated)=British links (Sears 1922 truncated) |
branches/v10/extensions/extJCRS/src/org/gvsig/crs/gui/panels/wizard/DefinirDatum.java | ||
---|---|---|
41 | 41 |
package org.gvsig.crs.gui.panels.wizard; |
42 | 42 |
|
43 | 43 |
import java.awt.BorderLayout; |
44 |
import java.awt.Component; |
|
44 | 45 |
import java.awt.Dimension; |
45 | 46 |
import java.awt.FlowLayout; |
46 | 47 |
import java.awt.GridLayout; |
... | ... | |
60 | 61 |
import javax.swing.ButtonGroup; |
61 | 62 |
import javax.swing.JButton; |
62 | 63 |
import javax.swing.JLabel; |
64 |
import javax.swing.JList; |
|
63 | 65 |
import javax.swing.JOptionPane; |
64 | 66 |
import javax.swing.JPanel; |
65 | 67 |
import javax.swing.JRadioButton; |
66 | 68 |
import javax.swing.JTextField; |
69 |
import javax.swing.plaf.basic.BasicComboBoxRenderer; |
|
67 | 70 |
import javax.units.ConversionException; |
68 | 71 |
import javax.units.Unit; |
69 | 72 |
|
... | ... | |
312 | 315 |
if (cbLong==null){ |
313 | 316 |
ArrayList units = obtenerItemsUnidadesAngle(); |
314 | 317 |
String[] items = new String[units.size()]; |
318 |
String[] tooltips = new String[units.size()]; |
|
315 | 319 |
for (int i=0;i<units.size();i++){ |
316 |
items[i] = units.get(i).toString(); |
|
320 |
items[i] = tooltips[i] = units.get(i).toString();
|
|
317 | 321 |
} |
318 | 322 |
cbLong=new JComboBox(items); |
323 |
cbLong.setRenderer(new ComboBoxTootipRenderer(tooltips)); |
|
319 | 324 |
cbLong.setPreferredSize(new Dimension(230, 25)); |
320 | 325 |
/*Seleccionar un item por defecto*/ |
321 | 326 |
cbLong.setSelectedIndex(1); |
... | ... | |
332 | 337 |
if (cbSemMay==null){ |
333 | 338 |
ArrayList units = obtenerItemsUnidades(); |
334 | 339 |
String[] items = new String[units.size()]; |
340 |
String[] tooltips = new String[units.size()]; |
|
335 | 341 |
for (int i=0;i<units.size();i++){ |
336 |
items[i] = units.get(i).toString(); |
|
342 |
items[i] = tooltips[i] = units.get(i).toString();
|
|
337 | 343 |
} |
338 | 344 |
cbSemMay=new JComboBox(items); |
345 |
cbSemMay.setRenderer(new ComboBoxTootipRenderer(tooltips)); |
|
346 |
cbSemMay.setPreferredSize(new Dimension(230, 25)); |
|
339 | 347 |
/*Seleccionar un item por defecto*/ |
340 | 348 |
cbSemMay.setSelectedIndex(0); |
341 | 349 |
cbSemMay.addItemListener(this); |
... | ... | |
351 | 359 |
if (cbSemMen==null){ |
352 | 360 |
ArrayList units = obtenerItemsUnidades(); |
353 | 361 |
String[] items = new String[units.size()]; |
362 |
String[] tooltips = new String[units.size()]; |
|
354 | 363 |
for (int i=0;i<units.size();i++){ |
355 |
items[i] = units.get(i).toString(); |
|
364 |
items[i] = tooltips[i] = units.get(i).toString();
|
|
356 | 365 |
} |
357 | 366 |
cbSemMen=new JComboBox(items); |
367 |
cbSemMen.setRenderer(new ComboBoxTootipRenderer(tooltips)); |
|
368 |
cbSemMen.setPreferredSize(new Dimension(230, 25)); |
|
358 | 369 |
/*Seleccionar un item por defecto*/ |
359 | 370 |
cbSemMen.setSelectedIndex(0); |
360 | 371 |
cbSemMen.addItemListener(this); |
... | ... | |
406 | 417 |
|
407 | 418 |
String sentence = "SELECT unit_of_meas_name " + |
408 | 419 |
"FROM epsg_unitofmeasure " + |
409 |
"WHERE unit_of_meas_type = 'angle'"; |
|
420 |
"WHERE unit_of_meas_type = 'angle' and factor_b is not null and factor_c is not null";
|
|
410 | 421 |
EpsgConnection connect = new EpsgConnection(); |
411 | 422 |
connect.setConnectionEPSG(); |
412 | 423 |
ResultSet result = Query.select(sentence,connect.getConnection()); |
... | ... | |
1341 | 1352 |
} |
1342 | 1353 |
} |
1343 | 1354 |
} |
1355 |
|
|
1356 |
class ComboBoxTootipRenderer extends BasicComboBoxRenderer { |
|
1344 | 1357 |
|
1358 |
private String[] tooltips = null; |
|
1359 |
|
|
1360 |
public ComboBoxTootipRenderer(String[] tooltips) { |
|
1361 |
super(); |
|
1362 |
this.tooltips = tooltips; |
|
1363 |
} |
|
1364 |
|
|
1365 |
public Component getListCellRendererComponent(JList list, Object value, |
|
1366 |
int index, boolean isSelected, boolean cellHasFocus) { |
|
1367 |
if (isSelected) { |
|
1368 |
setBackground(list.getSelectionBackground()); |
|
1369 |
setForeground(list.getSelectionForeground()); |
|
1370 |
if (-1 < index) { |
|
1371 |
list.setToolTipText(tooltips[index]); |
|
1372 |
} |
|
1373 |
} else { |
|
1374 |
setBackground(list.getBackground()); |
|
1375 |
setForeground(list.getForeground()); |
|
1376 |
} |
|
1377 |
setFont(list.getFont()); |
|
1378 |
setText((value == null) ? "" : value.toString()); |
|
1379 |
return this; |
|
1380 |
} |
|
1381 |
} |
|
1382 |
|
|
1345 | 1383 |
} |
Also available in: Unified diff