Changeset 2791


Ignore:
Timestamp:
07/31/12 09:31:52 (2 years ago)
Author:
lowjoel
Message:

Don't give duplicate information: there's no need to put the progress percentage as a string when there's already a progress bar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.BlackBox/BlackBoxUploadForm.cs

    r2788 r2791  
    9090            //Upload the report. 
    9191            UploadWorker.ReportProgress((int)(overallProgress.Progress * 100), 
    92                 S._("Compressing Report {0}: {1:#0.00%}", report.Name, 0)); 
     92                S._("Compressing Report {0}", report.Name)); 
    9393 
    9494            reportProgress.Total = int.MaxValue; 
     
    102102                    UploadWorker.ReportProgress((int)(overallProgress.Progress * 100), 
    103103                        step == 0 ? 
    104                             S._("Compressing Report {0}: {1:#0.00%}", 
    105                                 report.Name, reportSteps.CurrentStep.Progress.Progress) : 
    106                             S._("Uploading Report {0}: {1:#0.00%}", 
    107                                 report.Name, reportSteps.CurrentStep.Progress.Progress)); 
     104                            S._("Compressing Report {0}", report.Name) : 
     105                            S._("Uploading Report {0}", report.Name)); 
    108106 
    109107                    if (UploadWorker.CancellationPending) 
Note: See TracChangeset for help on using the changeset viewer.