Changeset 2734 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-01-03T13:32:26+01:00 (15 years ago)
Author:
framm
Message:

message fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r2641 r2734  
    7979        String serverUrl = Main.pref.get("osm-server.url", "http://api.openstreetmap.org/api");
    8080        if (serverUrl == null)
    81             throw new IllegalStateException(tr("Preference ''{0}'' missing. Can''t initialize OsmApi.", "osm-server.url"));
     81            throw new IllegalStateException(tr("Preference ''{0}'' missing. Cannot initialize OsmApi.", "osm-server.url"));
    8282        return getOsmApi(serverUrl);
    8383    }
     
    627627    protected void ensureValidChangeset() throws OsmTransferException {
    628628        if (changeset == null)
    629             throw new OsmTransferException(tr("Current changeset is null. Can't upload data."));
     629            throw new OsmTransferException(tr("Current changeset is null. Cannot upload data."));
    630630        if (changeset.getId() <= 0)
    631631            throw new OsmTransferException(tr("ID of current changeset > 0 required. Current ID is {0}.", changeset.getId()));
Note: See TracChangeset for help on using the changeset viewer.