Making WordPress.org


Ignore:
Timestamp:
02/24/2017 06:30:31 PM (8 years ago)
Author:
coffee2code
Message:

Plugin Directory: i18n cleanup.

Props SergeyBiryukov.
Fixes #2534.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php

    r5000 r5001  
    2525            $text = __( 'Less than 10', 'wporg-plugins' );
    2626        } elseif ( $count >= 1000000 ) {
     27            $million_count = intdiv( $count, 1000000 );
    2728            /* translators: %d: The integer number of million active installs */
    28             $text = sprintf( __( '%d+ million', 'wporg-plugins' ), intdiv( $count, 1000000 ) );
     29            $text = sprintf( _n( '%d+ million', '%d+ million', $million_count, 'wporg-plugins' ), $million_count );
    2930        } else {
    3031            $text = number_format_i18n( $count ) . '+';
Note: See TracChangeset for help on using the changeset viewer.