~lemonboy/pantheon-photos/pantheon-photos

« back to all changes in this revision

Viewing changes to src/Commands.vala

  • Committer: Lucas Beeler
  • Author(s): Joseph Bylund
  • Date: 2013-04-12 19:59:51 UTC
  • Revision ID: git-v1:7239f72c6f9627cd24562b88b759991e07e4254e
Fixes a grammatical error in the flagging photos progress dialog box. Closes #6457.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2397
2397
    private const int MIN_PROGRESS_BAR_THRESHOLD = 1000;
2398
2398
    private const string FLAG_SELECTED_STRING = _("Flag selected photos");
2399
2399
    private const string UNFLAG_SELECTED_STRING = _("Unflag selected photos");
 
2400
    private const string FLAG_PROGRESS = _("Flagging selected photos");
 
2401
    private const string UNFLAG_PROGRESS = _("Unflagging selected photos");
2400
2402
    
2401
2403
    private bool flag;
2402
2404
    private ProgressDialog progress_dialog = null;
2410
2412
        
2411
2413
        if (sources.size >= MIN_PROGRESS_BAR_THRESHOLD) {
2412
2414
            progress_dialog = new ProgressDialog(null,
2413
 
                flag ? FLAG_SELECTED_STRING : UNFLAG_SELECTED_STRING);
 
2415
                flag ? FLAG_PROGRESS : UNFLAG_PROGRESS);
2414
2416
            
2415
2417
            progress_dialog.show_all();
2416
2418
        }