Changeset 7184 in josm for trunk/src/org


Ignore:
Timestamp:
2014-05-28T23:41:31+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #10077 - typos in error messages

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

Legend:

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

    r7005 r7184  
    187187                }
    188188                if (!Param.paramsByKey.containsKey(key))
    189                     throw new ProjectionConfigurationException(tr("Unkown parameter: ''{0}''.", key));
     189                    throw new ProjectionConfigurationException(tr("Unknown parameter: ''{0}''.", key));
    190190                if (Param.paramsByKey.get(key).hasValue && value == null)
    191191                    throw new ProjectionConfigurationException(tr("Value expected for parameter ''{0}''.", key));
     
    279279        if (datumId != null) {
    280280            Datum datum = Projections.getDatum(datumId);
    281             if (datum == null) throw new ProjectionConfigurationException(tr("Unkown datum identifier: ''{0}''", datumId));
     281            if (datum == null) throw new ProjectionConfigurationException(tr("Unknown datum identifier: ''{0}''", datumId));
    282282            return datum;
    283283        }
     
    337337
    338338        Proj proj =  Projections.getBaseProjection(id);
    339         if (proj == null) throw new ProjectionConfigurationException(tr("Unkown projection identifier: ''{0}''", id));
     339        if (proj == null) throw new ProjectionConfigurationException(tr("Unknown projection identifier: ''{0}''", id));
    340340
    341341        ProjParameters projParams = new ProjParameters();
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java

    r6889 r7184  
    6262        String pref = Projections.getInit(code);
    6363        if (pref == null)
    64             throw new AssertionError("Error: Unkown projection code");
     64            throw new AssertionError("Error: Unknown projection code");
    6565        return new CustomProjection(getProjectionName(), code, pref, getCacheDir());
    6666    }
Note: See TracChangeset for help on using the changeset viewer.