Changeset 2877 in josm for trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
- Timestamp:
- 2010-01-18T22:28:36+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r2861 r2877 435 435 int retCode = connection.getResponseCode(); 436 436 if (retCode != HttpURLConnection.HTTP_MOVED_TEMP) 437 throw new OsmOAuthAuthorizationException(tr("Failed to authori se OAuth request ''{0}''", requestToken.getKey()));437 throw new OsmOAuthAuthorizationException(tr("Failed to authorize OAuth request ''{0}''", requestToken.getKey())); 438 438 } catch(MalformedURLException e) { 439 439 throw new OsmOAuthAuthorizationException(e); … … 482 482 } 483 483 try { 484 monitor.beginTask(tr("Authori sing OAuth Request token ''{0}'' at the OSM website ...", requestToken.getKey()));484 monitor.beginTask(tr("Authorizing OAuth Request token ''{0}'' at the OSM website ...", requestToken.getKey())); 485 485 monitor.setTicksCount(4); 486 486 monitor.indeterminateSubTask(tr("Initializing a session at the OSM website...")); … … 496 496 monitor.worked(1); 497 497 498 monitor.indeterminateSubTask(tr("Authori sing request token ''{0}''...", requestToken.getKey()));498 monitor.indeterminateSubTask(tr("Authorizing request token ''{0}''...", requestToken.getKey())); 499 499 sendAuthorisationRequest(sessionId, requestToken, privileges); 500 500 if (canceled)
Note:
See TracChangeset
for help on using the changeset viewer.