Changeset 2854 in josm


Ignore:
Timestamp:
2010-01-13T21:28:24+01:00 (15 years ago)
Author:
mjulius
Message:

fix some translation contexts

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r2842 r2854  
    320320        @Override
    321321        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*/
    324326            return "\"" + text + "\" (" + cs + rx + ", " + mode + ")";
    325327        }
  • trunk/src/org/openstreetmap/josm/data/osm/Filters.java

    r2845 r2854  
    140140    public String getColumnName(int column){
    141141        String[] names = { /* translators notes must be in front */
    142                 /* column header: enable filter */             trc("enable filter","E"),
    143                 /* column header: hide filter */               trc("hide filter", "H"),
     142                /* column header: enable filter */             trc("filter","E"),
     143                /* column header: hide filter */               trc("filter", "H"),
    144144                /* column header: filter text */               trc("filter", "Text"),
    145                 /* column header: apply filter for children */ trc("filter children", "C"),
    146                 /* column header: inverted filter */           trc("invert filter", "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")
    148148        };
    149149        return names[column];
     
    208208        case 5:
    209209            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");
    214214            }
    215215        }
Note: See TracChangeset for help on using the changeset viewer.