Making WordPress.org

Changeset 1777


Ignore:
Timestamp:
07/22/2015 10:30:05 AM (11 years ago)
Author:
ocean90
Message:

Translate: Round percent_complete up.

see #1091.

File:
1 edited

Legend:

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

    r1749 r1777  
    248248
    249249                        if ( $status->all_count ) {
    250                                 $status->percent_complete = floor( $status->current_count / $status->all_count * 100 );
     250                                $status->percent_complete = ceil( $status->current_count / $status->all_count * 100 );
    251251                        }
    252252                }
Note: See TracChangeset for help on using the changeset viewer.