Changeset 104 in josm for src/org/openstreetmap/josm/data/conflict
- Timestamp:
- 2006-07-03T00:31:24+02:00 (20 years ago)
- Location:
- src/org/openstreetmap/josm/data/conflict
- Files:
-
- 6 edited
-
ConflictItem.java (modified) (2 diffs)
-
DeleteConflict.java (modified) (2 diffs)
-
FromConflict.java (modified) (2 diffs)
-
PositionConflict.java (modified) (2 diffs)
-
SegmentConflict.java (modified) (2 diffs)
-
ToConflict.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/data/conflict/ConflictItem.java
r86 r104 1 1 package org.openstreetmap.josm.data.conflict; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.util.Collection; … … 29 31 value = v; 30 32 else if (!value.equals(v)) { 31 value = "<html><i><different></i></html>"; 33 value = "<html><i><"+tr("different")+"></i></html>"; 32 34 break; 33 35 } -
src/org/openstreetmap/josm/data/conflict/DeleteConflict.java
r86 r104 1 1 package org.openstreetmap.josm.data.conflict; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 10 12 11 13 @Override public String key() { 12 return "deleted| deleted";14 return "deleted|"+tr("deleted"); 13 15 } 14 16 15 17 @Override protected String str(OsmPrimitive osm) { 16 return osm.deleted ? "true" :"false";18 return osm.deleted ? tr("true") : tr("false"); 17 19 } 18 20 -
src/org/openstreetmap/josm/data/conflict/FromConflict.java
r86 r104 1 1 package org.openstreetmap.josm.data.conflict; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 15 17 16 18 @Override public String key() { 17 return "segment| from";19 return "segment|"+tr("from"); 18 20 } 19 21 -
src/org/openstreetmap/josm/data/conflict/PositionConflict.java
r86 r104 1 1 package org.openstreetmap.josm.data.conflict; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import org.openstreetmap.josm.data.osm.Node; … … 15 17 16 18 @Override public String key() { 17 return "node|position"; 19 return "node|"+tr("position"); 18 20 } 19 21 -
src/org/openstreetmap/josm/data/conflict/SegmentConflict.java
r86 r104 1 1 package org.openstreetmap.josm.data.conflict; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 17 19 for (Segment ls : ((Way)osm).segments) 18 20 s += ls.id + ","; 19 return s.equals("") ? "<html><i>< none></i></html>" : s.substring(0, s.length()-1);21 return s.equals("") ? "<html><i><"+tr("none")+"></i></html>" : s.substring(0, s.length()-1); 20 22 } 21 23 22 24 @Override public String key() { 23 return "way|segments"; 25 return "way|"+tr("segments"); 24 26 } 25 27 -
src/org/openstreetmap/josm/data/conflict/ToConflict.java
r86 r104 1 /**2 *3 */4 1 package org.openstreetmap.josm.data.conflict; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 5 4 6 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 18 17 19 18 @Override public String key() { 20 return "segment| to";19 return "segment|"+tr("to"); 21 20 } 22 21
Note:
See TracChangeset
for help on using the changeset viewer.
