Changeset 3821 in josm


Ignore:
Timestamp:
Jan 26, 2011 10:45:51 AM (2 years ago)
Author:
stoecker
Message:

fix strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/ProjectionInfo.java

    r3779 r3821  
    3939        if (!(proj instanceof ProjectionSubPrefs)) 
    4040            throw new IllegalStateException(tr( 
    41                     "Projection code mismatch in '{0}': toCode() returns ''{1}'', expected ''{2}''", 
     41                    "Projection code mismatch in ''{0}'': toCode() returns ''{1}'', expected ''{2}''.", 
    4242                    proj.getClass().toString(), proj.toCode(), code)); 
    4343        ProjectionSubPrefs projSub = recreateProj((ProjectionSubPrefs)proj); 
     
    4848        if (!code.equals(projSub.toCode())) 
    4949            throw new IllegalStateException(tr( 
    50                     "Bad implementation of '{0}' projection class: cannot set preferences to match code ''{1}''", 
     50                    "Bad implementation of ''{0}'' projection class: cannot set preferences to match code ''{1}''.", 
    5151                    projSub.getClass().toString(), code)); 
    5252        allCodes.put(code, projSub); 
Note: See TracChangeset for help on using the changeset viewer.