Ignore:
Timestamp:
2009-08-30T15:41:28+02:00 (10 years ago)
Author:
Gubaer
Message:

new: tag conflict resolution when pasting tags (only if necessary)
fixed #2611: cant copy'n'past tags from a relation to ways or other way round
fixed #3137: Paste Tags does not work for relations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/ChangePropertyCommand.java

    r1990 r2008  
    100100            if (value == null) {
    101101                switch(OsmPrimitiveType.from(primitive)) {
    102                 case NODE: msg = marktr("Remove \"{0}\" for node ''{1}''"); break;
    103                 case WAY: msg = marktr("Remove \"{0}\" for way ''{1}''"); break;
    104                 case RELATION: msg = marktr("Remove \"{0}\" for relation ''{1}''"); break;
     102                    case NODE: msg = marktr("Remove \"{0}\" for node ''{1}''"); break;
     103                    case WAY: msg = marktr("Remove \"{0}\" for way ''{1}''"); break;
     104                    case RELATION: msg = marktr("Remove \"{0}\" for relation ''{1}''"); break;
    105105                }
    106106                text = tr(msg, key, primitive.getDisplayName(DefaultNameFormatter.getInstance()));
    107107            } else {
    108108                switch(OsmPrimitiveType.from(primitive)) {
    109                 case NODE: msg = marktr("Set {0}={1} for node ''{2}''"); break;
    110                 case WAY: msg = marktr("Set {0}={1} for way ''{2}''"); break;
    111                 case RELATION: msg = marktr("Set {0}={1} for relation ''{2}''"); break;
     109                    case NODE: msg = marktr("Set {0}={1} for node ''{2}''"); break;
     110                    case WAY: msg = marktr("Set {0}={1} for way ''{2}''"); break;
     111                    case RELATION: msg = marktr("Set {0}={1} for relation ''{2}''"); break;
    112112                }
    113113                text = tr(msg, key, value, primitive.getDisplayName(DefaultNameFormatter.getInstance()));
    114114            }
    115         }
    116         else
    117         {
     115        } else {
    118116            text = value == null
    119117            ? tr("Remove \"{0}\" for {1} {2}", key, objects.size(), trn("object","objects",objects.size()))
Note: See TracChangeset for help on using the changeset viewer.