Changeset 2845 in josm for trunk/src/org/openstreetmap/josm/data/coor
- Timestamp:
- 2010-01-13T19:55:07+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r2711 r2845 9 9 import static java.lang.Math.toRadians; 10 10 import static org.openstreetmap.josm.tools.I18n.tr; 11 import static org.openstreetmap.josm.tools.I18n.trc; 11 12 12 13 import java.text.DecimalFormat; … … 83 84 case DECIMAL_DEGREES: return cDdFormatter.format(y); 84 85 case DEGREES_MINUTES_SECONDS: return dms(y) + ((y < 0) ? 85 /* short symbol for South */ tr ("S") :86 /* short symbol for North */ tr ("N"));86 /* short symbol for South */ trc("compass", "S") : 87 /* short symbol for North */ trc("compass", "N")); 87 88 default: return "ERR"; 88 89 } … … 97 98 case DECIMAL_DEGREES: return cDdFormatter.format(x); 98 99 case DEGREES_MINUTES_SECONDS: return dms(x) + ((x < 0) ? 99 /* short symbol for West */ tr ("W") :100 /* short symbol for East */ tr ("E"));100 /* short symbol for West */ trc("compass", "W") : 101 /* short symbol for East */ trc("compass", "E")); 101 102 default: return "ERR"; 102 103 }
Note:
See TracChangeset
for help on using the changeset viewer.