Changeset 10439 in osm for applications/editors/josm/plugins/measurement/src/org/openstreetmap
- Timestamp:
- 2008-09-03T10:11:37+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java
r10410 r10439 78 78 JPanel valuePanel = new JPanel(new GridLayout(0,2)); 79 79 80 valuePanel.add(new JLabel( "Path Length"));80 valuePanel.add(new JLabel(tr("Path Length"))); 81 81 82 82 pathLengthLabel = new JLabel("0 m"); 83 83 valuePanel.add(pathLengthLabel); 84 84 85 valuePanel.add(new JLabel( "Selection Length"));85 valuePanel.add(new JLabel(tr("Selection Length"))); 86 86 87 87 selectLengthLabel = new JLabel("0 m"); 88 88 valuePanel.add(selectLengthLabel); 89 89 90 valuePanel.add(new JLabel( "Selection Area"));90 valuePanel.add(new JLabel(tr("Selection Area"))); 91 91 92 selectAreaLabel = new JLabel("0 m ²");92 selectAreaLabel = new JLabel("0 m\uc2b2"); 93 93 valuePanel.add(selectAreaLabel); 94 94 95 JLabel angle = new JLabel( "Angle");95 JLabel angle = new JLabel(tr("Angle")); 96 96 angle.setToolTipText(tr("Angle between two selected Nodes")); 97 97 valuePanel.add(angle); 98 98 99 segAngleLabel = new JLabel("- °");99 segAngleLabel = new JLabel("- \uc2b0"); 100 100 valuePanel.add(segAngleLabel); 101 101 … … 144 144 dlg.selectLengthLabel.setText(new DecimalFormat("#0.00").format(length) + " m"); 145 145 146 dlg.segAngleLabel.setText(new DecimalFormat("#0.0").format(segAngle) + " °");147 dlg.selectAreaLabel.setText(new DecimalFormat("#0.00").format(area) + " m ²");146 dlg.segAngleLabel.setText(new DecimalFormat("#0.0").format(segAngle) + " \uc2b0"); 147 dlg.selectAreaLabel.setText(new DecimalFormat("#0.00").format(area) + " m\uc2b2"); 148 148 149 149 }
Note:
See TracChangeset
for help on using the changeset viewer.