Changeset 30513 in osm for applications/editors/josm/plugins/geochat
- Timestamp:
- 2014-07-07T08:44:22+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/geochat/src/geochat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/geochat/src/geochat/ChatServerConnection.java
r30262 r30513 129 129 LatLon pos = getPosition(); 130 130 if( pos == null ) { 131 fireLoginFailed(" Position is unknown");131 fireLoginFailed("Zoom level is too low"); 132 132 return; 133 133 } … … 235 235 LatLon pos = getPosition(); 236 236 if( pos == null ) { 237 fireMessageFailed(" Position is unknown");237 fireMessageFailed("Zoom level is too low"); 238 238 return; 239 239 } … … 250 250 fireMessageFailed(tr("Could not get server response, check logs")); 251 251 else if( json.get("error") != null ) 252 fireMessageFailed( tr("Failed to send message:") + "\n" +json.getString("error"));252 fireMessageFailed(json.getString("error")); 253 253 } 254 254 }); -
applications/editors/josm/plugins/geochat/src/geochat/GeoChatPanel.java
r30511 r30513 249 249 @Override 250 250 public void run() { 251 new Notification(tr("GeoChat ") + ":" + reason).show();251 new Notification(tr("Failed to log in to GeoChat:") + "\n" + reason).show(); 252 252 } 253 253 }); … … 267 267 @Override 268 268 public void run() { 269 new Notification(tr(" GeoChat") + ":" + reason).show();269 new Notification(tr("Failed to send message:") + "\n" + reason).show(); 270 270 } 271 271 });
Note:
See TracChangeset
for help on using the changeset viewer.