Ignore:
Timestamp:
2011-08-11T00:45:56+02:00 (13 years ago)
Author:
stoecker
Message:

i18n fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGui.java

    r24236 r26509  
    9898    private static final String uploadTraceText = tr("Upload Trace");
    9999
    100     private boolean cancelled = false;
     100    private boolean canceled = false;
    101101   
    102102    public UploadDataGui() {
     
    225225            flushToServer(bais, conn.getOutputStream(), progressMonitor);
    226226
    227             if (cancelled) {
     227            if (canceled) {
    228228                conn.disconnect();
    229                 OutputDisplay.setText(tr("Upload cancelled"));
     229                OutputDisplay.setText(tr("Upload canceled"));
    230230                buttons.get(0).setEnabled(true);
    231                 cancelled = false;
     231                canceled = false;
    232232            }
    233233            else {
     
    318318                progressMonitor.subTask(getProgressText(cur, progressMonitor));
    319319
    320                 if(cancelled)
     320                if(canceled)
    321321                    break;
    322322            }
    323323        }
    324         if(!cancelled)
     324        if(!canceled)
    325325            out.flush();
    326326        progressMonitor.subTask("Waiting for server reply...");
     
    406406            @Override protected void finish() {}
    407407            @Override protected void cancel() {
    408                 cancelled = true;
     408                canceled = true;
    409409            }
    410410        };
Note: See TracChangeset for help on using the changeset viewer.