Changeset 2854 in josm for trunk/src/org
- Timestamp:
- 2010-01-13T21:28:24+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r2842 r2854 320 320 @Override 321 321 public String toString() { 322 String cs = caseSensitive ? trc("case sensitive", "CS") : trc("case insensitive", "CI"); 323 String rx = regexSearch ? (", " + trc("regex search", "RX")) : ""; 322 String cs = caseSensitive ? 323 trc("search", "CS") : /*case sensitive*/ 324 trc("search", "CI"); /*case insensitive*/ 325 String rx = regexSearch ? (", " + trc("search", "RX")) : ""; /*regex search*/ 324 326 return "\"" + text + "\" (" + cs + rx + ", " + mode + ")"; 325 327 } -
trunk/src/org/openstreetmap/josm/data/osm/Filters.java
r2845 r2854 140 140 public String getColumnName(int column){ 141 141 String[] names = { /* translators notes must be in front */ 142 /* column header: enable filter */ trc(" enablefilter","E"),143 /* column header: hide filter */ trc(" hidefilter", "H"),142 /* column header: enable filter */ trc("filter","E"), 143 /* column header: hide filter */ trc("filter", "H"), 144 144 /* column header: filter text */ trc("filter", "Text"), 145 /* column header: apply filter for children */ trc("filter children", "C"),146 /* column header: inverted filter */ trc(" invertfilter", "I"),147 /* column header: filter mode */ trc("filter mode", "M")145 /* column header: apply filter for children */ trc("filter", "C"), 146 /* column header: inverted filter */ trc("filter", "I"), 147 /* column header: filter mode */ trc("filter", "M") 148 148 }; 149 149 return names[column]; … … 208 208 case 5: 209 209 switch(f.mode){ /* translators notes must be in front */ 210 case replace: /* filter mode: replace */ return trc("filter mode replace", "R");211 case add: /* filter mode: add */ return trc("filter mode add", "A");212 case remove: /* filter mode: remove */ return trc("filter mode remove", "D");213 case in_selection: /* filter mode: in selection */ return trc("filter mode in selection", "F");210 case replace: /* filter mode: replace */ return trc("filter", "R"); 211 case add: /* filter mode: add */ return trc("filter", "A"); 212 case remove: /* filter mode: remove */ return trc("filter", "D"); 213 case in_selection: /* filter mode: in selection */ return trc("filter", "F"); 214 214 } 215 215 }
Note:
See TracChangeset
for help on using the changeset viewer.