Making WordPress.org


Ignore:
Timestamp:
09/11/2015 05:12:39 AM (11 years ago)
Author:
dd32
Message:

Translate: Include fuzzy strings in the Waiting tabs. Although these are not Waiting strings submitted by users, they're waiting strings located by GlotPress, it makes sense that these should be included in the reviews.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/routes/locale.php

    r1848 r1872  
    430430                        if ( $can_approve_for_all ) {
    431431                                // The current user can approve for all projects, so just grab all with any waiting strings.
    432                                 $parent_project_sql = 'AND stats.waiting > 0';
     432                                $parent_project_sql = 'AND ( stats.waiting > 0 OR stats.fuzzy > 0 )';
    433433
    434434                        } elseif ( $allowed_projects ) {
     
    480480
    481481                        case 'strings-waiting':
    482                                 $filter_where = 'AND stats.waiting > 0';
    483                                 $filter_order_by = 'stats.waiting DESC, tp.name ASC';
     482                                $filter_where = 'AND (stats.waiting > 0 OR stats.fuzzy > 0 )';
     483                                $filter_order_by = 'stats.fuzzy DESC, stats.waiting DESC, tp.name ASC';
    484484                                break;
    485485
Note: See TracChangeset for help on using the changeset viewer.